From 0532e9898cbce7ed3ad91d53201d2ea1f2cff7d6 Mon Sep 17 00:00:00 2001 From: "joel@joellee.org" Date: Sun, 2 Apr 2023 21:33:10 +0800 Subject: [PATCH] fix: update enrichments and transforms --- spec/api_v0_openapi.json | 561 +- spec/common-client-libs-sections.json | 5 +- spec/enrichments/tsdoc_v2/combined.json | 25323 +++++++++------- spec/enrichments/tsdoc_v2/functions.json | 160 +- .../tsdoc_v2/functions_dereferenced.json | 208 +- spec/enrichments/tsdoc_v2/gotrue.json | 6501 ++-- .../tsdoc_v2/gotrue_dereferenced.json | 9539 +++--- spec/enrichments/tsdoc_v2/postgrest.json | 2035 +- .../tsdoc_v2/postgrest_dereferenced.json | 3050 +- spec/enrichments/tsdoc_v2/realtime.json | 2666 +- .../tsdoc_v2/realtime_dereferenced.json | 12106 ++++---- spec/enrichments/tsdoc_v2/storage.json | 163 +- .../tsdoc_v2/storage_dereferenced.json | 250 +- spec/enrichments/tsdoc_v2/supabase.json | 158 +- .../tsdoc_v2/supabase_dereferenced.json | 158 +- spec/storage_v0_openapi.json | 144 +- spec/supabase_swift_v1.yml | 8 +- spec/transforms/api_v0_openapi_deparsed.json | 2113 +- .../storage_v0_openapi_deparsed.json | 235 + 19 files changed, 37036 insertions(+), 28347 deletions(-) diff --git a/spec/api_v0_openapi.json b/spec/api_v0_openapi.json index 3b1688724e9..2dbdb6aa566 100644 --- a/spec/api_v0_openapi.json +++ b/spec/api_v0_openapi.json @@ -34,6 +34,12 @@ } }, "responses": { + "200": { + "description": "", + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/ProjectResponse" } } + } + }, "201": { "description": "", "content": { @@ -1048,6 +1054,301 @@ "tags": ["vanity subdomain (beta)"], "security": [{ "bearer": [] }] } + }, + "/v1/projects/{ref}/upgrade": { + "post": { + "operationId": "upgradeProject", + "summary": "Upgrades the project's Postgres version", + "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/UpgradeDatabaseBody" } } + } + }, + "responses": { + "201": { "description": "" }, + "403": { "description": "" }, + "500": { "description": "Failed to initiate project upgrade" } + }, + "tags": ["database version upgrade (beta)"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/upgrade/eligibility": { + "get": { + "operationId": "upgradeEligibilityInformation", + "summary": "Returns the project's eligibility for upgrades", + "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/ProjectUpgradeEligibilityResponse" } + } + } + }, + "403": { "description": "" }, + "500": { "description": "Failed to determine project upgrade eligibility" } + }, + "tags": ["database version upgrade (beta)"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/upgrade/status": { + "get": { + "operationId": "getUpgradeStatus", + "summary": "Gets the latest status of the project's upgrade", + "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/DatabaseUpgradeStatusResponse" } + } + } + }, + "403": { "description": "" }, + "500": { "description": "Failed to retrieve project upgrade status" } + }, + "tags": ["database version upgrade (beta)"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/readonly": { + "get": { + "operationId": "getReadOnlyModeStatus", + "summary": "Returns project's readonly mode status", + "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/ReadOnlyStatusResponse" } + } + } + }, + "500": { "description": "Failed to get project readonly mode status" } + }, + "tags": ["database readonly mode"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/readonly/temporary-disable": { + "post": { + "operationId": "temporarilyDisableReadonlyMode", + "summary": "Disables project's readonly mode for the next 15 minutes", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "type": "string" } + } + ], + "responses": { + "201": { "description": "" }, + "500": { "description": "Failed to disable project's readonly mode" } + }, + "tags": ["database readonly mode"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/config/auth/sso/providers": { + "post": { + "operationId": "createProviderForProject", + "summary": "Creates a new SSO provider", + "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/CreateProviderBody" } } + } + }, + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/CreateProviderResponse" } + } + } + }, + "403": { "description": "" }, + "404": { "description": "SAML 2.0 support is not enabled for this project" } + }, + "tags": ["sso"], + "security": [{ "bearer": [] }] + }, + "get": { + "operationId": "listAllProviders", + "summary": "Lists all SSO providers", + "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/ListProvidersResponse" } + } + } + }, + "403": { "description": "" }, + "404": { "description": "SAML 2.0 support is not enabled for this project" } + }, + "tags": ["sso"], + "security": [{ "bearer": [] }] + } + }, + "/v1/projects/{ref}/config/auth/sso/providers/{provider_id}": { + "get": { + "operationId": "getProviderById", + "summary": "Gets a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "type": "string" } + }, + { "name": "provider_id", "required": true, "in": "path", "schema": { "type": "string" } } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/GetProviderResponse" } + } + } + }, + "403": { "description": "" }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [{ "bearer": [] }] + }, + "put": { + "operationId": "updateProviderById", + "summary": "Updates a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "type": "string" } + }, + { "name": "provider_id", "required": true, "in": "path", "schema": { "type": "string" } } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { "schema": { "$ref": "#/components/schemas/UpdateProviderBody" } } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/UpdateProviderResponse" } + } + } + }, + "403": { "description": "" }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [{ "bearer": [] }] + }, + "delete": { + "operationId": "removeProviderById", + "summary": "Removes a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { "minLength": 20, "maxLength": 20, "type": "string" } + }, + { "name": "provider_id", "required": true, "in": "path", "schema": { "type": "string" } } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/DeleteProviderResponse" } + } + } + }, + "403": { "description": "" }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [{ "bearer": [] }] + } } }, "info": { "title": "Supabase API (v1)", "description": "", "version": "1.0.0", "contact": {} }, @@ -1061,17 +1362,28 @@ "schemas": { "DatabaseResponse": { "type": "object", - "properties": { "host": { "type": "string" }, "version": { "type": "string" } }, + "properties": { + "host": { "type": "string", "description": "Database host" }, + "version": { "type": "string", "description": "Database version" } + }, "required": ["host", "version"] }, "ProjectResponse": { "type": "object", "properties": { - "id": { "type": "string" }, - "organization_id": { "type": "string" }, - "name": { "type": "string" }, - "region": { "type": "string" }, - "created_at": { "type": "string" }, + "id": { "type": "string", "description": "Id of your project" }, + "organization_id": { "type": "string", "description": "Slug of your organization" }, + "name": { "type": "string", "description": "Name of your project" }, + "region": { + "type": "string", + "description": "Region of your project", + "example": "us-east-1" + }, + "created_at": { + "type": "string", + "description": "Creation timestamp", + "example": "2023-03-29T16:32:59Z" + }, "database": { "$ref": "#/components/schemas/DatabaseResponse" } }, "required": ["id", "organization_id", "name", "region", "created_at"] @@ -1079,15 +1391,24 @@ "CreateProjectBody": { "type": "object", "properties": { - "db_pass": { "type": "string" }, - "name": { "type": "string" }, - "organization_id": { "type": "string" }, - "plan": { "type": "string", "enum": ["free", "pro"] }, + "db_pass": { "type": "string", "description": "Database password" }, + "name": { + "type": "string", + "description": "Name of your project, should not contain dots" + }, + "organization_id": { "type": "string", "description": "Slug of your organization" }, + "plan": { + "type": "string", + "enum": ["free", "pro"], + "description": "Subscription plan", + "example": "free" + }, "region": { "type": "string", "enum": [ "us-east-1", "us-west-1", + "us-west-2", "ap-southeast-1", "ap-northeast-1", "ap-northeast-2", @@ -1099,7 +1420,9 @@ "ca-central-1", "ap-south-1", "sa-east-1" - ] + ], + "description": "Region you want your server to reside in", + "example": "us-east-1" }, "kps_enabled": { "type": "boolean" } }, @@ -1208,6 +1531,7 @@ "properties": { "entitlement": { "enum": ["disallowed", "allowed"], "type": "string" }, "config": { "$ref": "#/components/schemas/NetworkRestrictionsRequest" }, + "old_config": { "$ref": "#/components/schemas/NetworkRestrictionsRequest" }, "status": { "enum": ["stored", "applied"], "type": "string" } }, "required": ["entitlement", "config", "status"] @@ -1297,6 +1621,221 @@ "type": "object", "properties": { "custom_domain": { "type": "string" } }, "required": ["custom_domain"] + }, + "UpgradeDatabaseBody": { + "type": "object", + "properties": { "target_version": { "type": "number" } }, + "required": ["target_version"] + }, + "ProjectVersion": { + "type": "object", + "properties": { + "postgres_version": { "type": "number" }, + "app_version": { "type": "string" } + }, + "required": ["postgres_version", "app_version"] + }, + "ProjectUpgradeEligibilityResponse": { + "type": "object", + "properties": { + "eligible": { "type": "boolean" }, + "current_app_version": { "type": "string" }, + "latest_app_version": { "type": "string" }, + "target_upgrade_versions": { + "type": "array", + "items": { "$ref": "#/components/schemas/ProjectVersion" } + }, + "requires_manual_intervention": { "type": "string", "nullable": true }, + "potential_breaking_changes": { "type": "array", "items": { "type": "string" } } + }, + "required": [ + "eligible", + "current_app_version", + "latest_app_version", + "target_upgrade_versions", + "requires_manual_intervention", + "potential_breaking_changes" + ] + }, + "DatabaseUpgradeStatus": { + "type": "object", + "properties": { + "initiated_at": { "type": "string" }, + "target_version": { "type": "number" }, + "error": { + "type": "string", + "enum": [ + "1_upgraded_instance_launch_failed", + "2_volume_detachchment_from_upgraded_instance_failed", + "3_volume_attachment_to_original_instance_failed", + "4_data_upgrade_initiation_failed", + "5_data_upgrade_completion_failed", + "6_volume_detachchment_from_original_instance_failed", + "7_volume_attachment_to_upgraded_instance_failed", + "8_upgrade_completion_failed" + ] + }, + "progress": { + "type": "string", + "enum": [ + "1_started", + "2_launched_upgraded_instance", + "3_detached_volume_from_upgraded_instance", + "4_attached_volume_to_original_instance", + "5_initiated_data_upgrade", + "6_completed_data_upgrade", + "7_detached_volume_from_original_instance", + "8_attached_volume_to_upgraded_instance", + "9_completed_upgrade" + ] + }, + "status": { "type": "number", "enum": [0, 1, 2] } + }, + "required": ["initiated_at", "target_version", "status"] + }, + "DatabaseUpgradeStatusResponse": { + "type": "object", + "properties": { + "databaseUpgradeStatus": { + "nullable": true, + "allOf": [{ "$ref": "#/components/schemas/DatabaseUpgradeStatus" }] + } + }, + "required": ["databaseUpgradeStatus"] + }, + "ReadOnlyStatusResponse": { + "type": "object", + "properties": { + "enabled": { "type": "boolean" }, + "override_enabled": { "type": "boolean" }, + "override_active_until": { "type": "string" } + }, + "required": ["enabled", "override_enabled", "override_active_until"] + }, + "AttributeValue": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "names": { "type": "array", "items": { "type": "string" } }, + "default": { "type": "object" } + } + }, + "AttributeMapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { "$ref": "#/components/schemas/AttributeValue" } + } + }, + "required": ["keys"] + }, + "CreateProviderBody": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["saml"], + "description": "What type of provider will be created" + }, + "metadata_xml": { "type": "string" }, + "metadata_url": { "type": "string" }, + "domains": { "type": "array", "items": { "type": "string" } }, + "attribute_mapping": { "$ref": "#/components/schemas/AttributeMapping" } + }, + "required": ["type"] + }, + "SamlDescriptor": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "entity_id": { "type": "string" }, + "metadata_url": { "type": "string" }, + "metadata_xml": { "type": "string" }, + "attribute_mapping": { "$ref": "#/components/schemas/AttributeMapping" } + }, + "required": ["id", "entity_id"] + }, + "Domain": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "domain": { "type": "string" }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] + }, + "CreateProviderResponse": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "saml": { "$ref": "#/components/schemas/SamlDescriptor" }, + "domains": { "type": "array", "items": { "$ref": "#/components/schemas/Domain" } }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] + }, + "Provider": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "saml": { "$ref": "#/components/schemas/SamlDescriptor" }, + "domains": { "type": "array", "items": { "$ref": "#/components/schemas/Domain" } }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] + }, + "ListProvidersResponse": { + "type": "object", + "properties": { + "items": { "type": "array", "items": { "$ref": "#/components/schemas/Provider" } } + }, + "required": ["items"] + }, + "GetProviderResponse": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "saml": { "$ref": "#/components/schemas/SamlDescriptor" }, + "domains": { "type": "array", "items": { "$ref": "#/components/schemas/Domain" } }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] + }, + "UpdateProviderBody": { + "type": "object", + "properties": { + "metadata_xml": { "type": "string" }, + "metadata_url": { "type": "string" }, + "domains": { "type": "array", "items": { "type": "string" } }, + "attribute_mapping": { "$ref": "#/components/schemas/AttributeMapping" } + } + }, + "UpdateProviderResponse": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "saml": { "$ref": "#/components/schemas/SamlDescriptor" }, + "domains": { "type": "array", "items": { "$ref": "#/components/schemas/Domain" } }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] + }, + "DeleteProviderResponse": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "saml": { "$ref": "#/components/schemas/SamlDescriptor" }, + "domains": { "type": "array", "items": { "$ref": "#/components/schemas/Domain" } }, + "created_at": { "type": "string" }, + "updated_at": { "type": "string" } + }, + "required": ["id"] } } } diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json index 6b14c2d3ffe..5cb3c4f12ce 100644 --- a/spec/common-client-libs-sections.json +++ b/spec/common-client-libs-sections.json @@ -858,10 +858,7 @@ }, { "title": "Misc", - "excludes": [ - "reference_dart_v1", - "reference_dart_v0" - ], + "excludes": ["reference_dart_v1", "reference_dart_v0"], "items": [ { "title": "Release Notes", diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json index 06f1d93beed..5cdb21aba70 100644 --- a/spec/enrichments/tsdoc_v2/combined.json +++ b/spec/enrichments/tsdoc_v2/combined.json @@ -703,7 +703,7 @@ } }, { - "id": 115, + "id": 116, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -713,7 +713,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 57, + "line": 58, "character": 12 } ], @@ -790,10 +790,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -832,7 +843,7 @@ } }, { - "id": 117, + "id": 118, "name": "functionsUrl", "kind": 1024, "kindString": "Property", @@ -842,7 +853,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 59, + "line": 60, "character": 12 } ], @@ -901,18 +912,16 @@ } }, { - "id": 118, + "id": 114, "name": "realtime", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 12 + "line": 55, + "character": 2 } ], "type": { @@ -923,7 +932,7 @@ } }, { - "id": 114, + "id": 115, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -933,7 +942,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 56, + "line": 57, "character": 12 } ], @@ -1034,7 +1043,7 @@ } }, { - "id": 116, + "id": 117, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -1044,7 +1053,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 58, + "line": 59, "character": 12 } ], @@ -1430,10 +1439,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -1831,6 +1851,10 @@ "elementType": { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1838,10 +1862,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -1901,6 +1921,10 @@ { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1908,10 +1932,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -2215,7 +2235,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131] + "children": [113, 116, 126, 121, 118, 127, 114, 115, 119, 120, 117, 132, 131] }, { "title": "Accessors", @@ -3217,10 +3237,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3282,10 +3313,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3377,10 +3419,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3442,10 +3495,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -5984,14 +6048,14 @@ "originalName": "", "children": [ { - "id": 750, + "id": 786, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 751, + "id": 787, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6005,14 +6069,14 @@ ], "signatures": [ { - "id": 752, + "id": 788, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 753, + "id": 789, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6023,7 +6087,7 @@ } }, { - "id": 754, + "id": 790, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6036,24 +6100,24 @@ ], "type": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 755, + "id": 791, "name": "status", "kind": 1024, "kindString": "Property", @@ -6071,12 +6135,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 756, + "id": 792, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6090,7 +6154,7 @@ ], "signatures": [ { - "id": 757, + "id": 793, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6098,14 +6162,14 @@ "type": { "type": "reflection", "declaration": { - "id": 758, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 760, + "id": 796, "name": "message", "kind": 1024, "kindString": "Property", @@ -6124,7 +6188,7 @@ "defaultValue": "..." }, { - "id": 759, + "id": 795, "name": "name", "kind": 1024, "kindString": "Property", @@ -6143,7 +6207,7 @@ "defaultValue": "..." }, { - "id": 761, + "id": 797, "name": "status", "kind": 1024, "kindString": "Property", @@ -6166,7 +6230,7 @@ { "title": "Properties", "kind": 1024, - "children": [760, 759, 761] + "children": [796, 795, 797] } ] } @@ -6179,17 +6243,17 @@ { "title": "Constructors", "kind": 512, - "children": [751] + "children": [787] }, { "title": "Properties", "kind": 1024, - "children": [755] + "children": [791] }, { "title": "Methods", "kind": 2048, - "children": [756] + "children": [792] } ], "sources": [ @@ -6202,20 +6266,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 743, + "id": 779, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 744, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6229,14 +6293,14 @@ ], "signatures": [ { - "id": 745, + "id": 781, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 746, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6247,7 +6311,7 @@ } }, { - "id": 747, + "id": 783, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6262,7 +6326,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, "overwrites": { @@ -6277,7 +6341,7 @@ } }, { - "id": 748, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -6308,12 +6372,12 @@ { "title": "Constructors", "kind": 512, - "children": [744] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [748] + "children": [784] } ], "sources": [ @@ -6334,30 +6398,30 @@ "extendedBy": [ { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 812, + "id": 848, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6371,14 +6435,14 @@ ], "signatures": [ { - "id": 813, + "id": 849, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 814, + "id": 850, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6389,7 +6453,7 @@ } }, { - "id": 815, + "id": 851, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -6404,14 +6468,14 @@ { "type": "reflection", "declaration": { - "id": 816, + "id": 852, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 854, "name": "code", "kind": 1024, "kindString": "Property", @@ -6429,7 +6493,7 @@ } }, { - "id": 817, + "id": 853, "name": "error", "kind": 1024, "kindString": "Property", @@ -6451,7 +6515,7 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [854, 853] } ] } @@ -6463,24 +6527,24 @@ ], "type": { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 819, + "id": 855, "name": "details", "kind": 1024, "kindString": "Property", @@ -6502,14 +6566,14 @@ { "type": "reflection", "declaration": { - "id": 820, + "id": 856, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 822, + "id": 858, "name": "code", "kind": 1024, "kindString": "Property", @@ -6527,7 +6591,7 @@ } }, { - "id": 821, + "id": 857, "name": "error", "kind": 1024, "kindString": "Property", @@ -6549,7 +6613,7 @@ { "title": "Properties", "kind": 1024, - "children": [822, 821] + "children": [858, 857] } ] } @@ -6559,7 +6623,7 @@ "defaultValue": "null" }, { - "id": 833, + "id": 869, "name": "name", "kind": 1024, "kindString": "Property", @@ -6577,12 +6641,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 834, + "id": 870, "name": "status", "kind": 1024, "kindString": "Property", @@ -6600,12 +6664,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 823, + "id": 859, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6619,7 +6683,7 @@ ], "signatures": [ { - "id": 824, + "id": 860, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6627,14 +6691,14 @@ "type": { "type": "reflection", "declaration": { - "id": 825, + "id": 861, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 829, + "id": 865, "name": "details", "kind": 1024, "kindString": "Property", @@ -6656,14 +6720,14 @@ { "type": "reflection", "declaration": { - "id": 830, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 832, + "id": 868, "name": "code", "kind": 1024, "kindString": "Property", @@ -6681,7 +6745,7 @@ } }, { - "id": 831, + "id": 867, "name": "error", "kind": 1024, "kindString": "Property", @@ -6703,7 +6767,7 @@ { "title": "Properties", "kind": 1024, - "children": [832, 831] + "children": [868, 867] } ] } @@ -6713,7 +6777,7 @@ "defaultValue": "..." }, { - "id": 827, + "id": 863, "name": "message", "kind": 1024, "kindString": "Property", @@ -6732,7 +6796,7 @@ "defaultValue": "..." }, { - "id": 826, + "id": 862, "name": "name", "kind": 1024, "kindString": "Property", @@ -6751,7 +6815,7 @@ "defaultValue": "..." }, { - "id": 828, + "id": 864, "name": "status", "kind": 1024, "kindString": "Property", @@ -6774,21 +6838,21 @@ { "title": "Properties", "kind": 1024, - "children": [829, 827, 826, 828] + "children": [865, 863, 862, 864] } ] } }, "overwrites": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -6797,17 +6861,17 @@ { "title": "Constructors", "kind": 512, - "children": [812] + "children": [848] }, { "title": "Properties", "kind": 1024, - "children": [819, 833, 834] + "children": [855, 869, 870] }, { "title": "Methods", "kind": 2048, - "children": [823] + "children": [859] } ], "sources": [ @@ -6820,20 +6884,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 799, + "id": 835, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6847,14 +6911,14 @@ ], "signatures": [ { - "id": 800, + "id": 836, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 801, + "id": 837, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6867,24 +6931,24 @@ ], "type": { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 802, + "id": 838, "name": "name", "kind": 1024, "kindString": "Property", @@ -6902,12 +6966,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 803, + "id": 839, "name": "status", "kind": 1024, "kindString": "Property", @@ -6925,12 +6989,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 804, + "id": 840, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -6944,7 +7008,7 @@ ], "signatures": [ { - "id": 805, + "id": 841, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -6952,14 +7016,14 @@ "type": { "type": "reflection", "declaration": { - "id": 806, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 844, "name": "message", "kind": 1024, "kindString": "Property", @@ -6978,7 +7042,7 @@ "defaultValue": "..." }, { - "id": 807, + "id": 843, "name": "name", "kind": 1024, "kindString": "Property", @@ -6997,7 +7061,7 @@ "defaultValue": "..." }, { - "id": 809, + "id": 845, "name": "status", "kind": 1024, "kindString": "Property", @@ -7020,21 +7084,21 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807, 809] + "children": [844, 843, 845] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -7043,17 +7107,17 @@ { "title": "Constructors", "kind": 512, - "children": [799] + "children": [835] }, { "title": "Properties", "kind": 1024, - "children": [802, 803] + "children": [838, 839] }, { "title": "Methods", "kind": 2048, - "children": [804] + "children": [840] } ], "sources": [ @@ -7066,20 +7130,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 836, + "id": 872, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 837, + "id": 873, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7093,14 +7157,14 @@ ], "signatures": [ { - "id": 838, + "id": 874, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 839, + "id": 875, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7111,7 +7175,7 @@ } }, { - "id": 840, + "id": 876, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7124,24 +7188,24 @@ ], "type": { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 841, + "id": 877, "name": "name", "kind": 1024, "kindString": "Property", @@ -7159,12 +7223,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 842, + "id": 878, "name": "status", "kind": 1024, "kindString": "Property", @@ -7182,12 +7246,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 843, + "id": 879, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7201,7 +7265,7 @@ ], "signatures": [ { - "id": 844, + "id": 880, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7209,14 +7273,14 @@ "type": { "type": "reflection", "declaration": { - "id": 845, + "id": 881, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 847, + "id": 883, "name": "message", "kind": 1024, "kindString": "Property", @@ -7235,7 +7299,7 @@ "defaultValue": "..." }, { - "id": 846, + "id": 882, "name": "name", "kind": 1024, "kindString": "Property", @@ -7254,7 +7318,7 @@ "defaultValue": "..." }, { - "id": 848, + "id": 884, "name": "status", "kind": 1024, "kindString": "Property", @@ -7277,21 +7341,21 @@ { "title": "Properties", "kind": 1024, - "children": [847, 846, 848] + "children": [883, 882, 884] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -7300,17 +7364,17 @@ { "title": "Constructors", "kind": 512, - "children": [837] + "children": [873] }, { "title": "Properties", "kind": 1024, - "children": [841, 842] + "children": [877, 878] }, { "title": "Methods", "kind": 2048, - "children": [843] + "children": [879] } ], "sources": [ @@ -7323,20 +7387,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 786, + "id": 822, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 787, + "id": 823, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7350,31 +7414,31 @@ ], "signatures": [ { - "id": 788, + "id": 824, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 789, + "id": 825, "name": "name", "kind": 1024, "kindString": "Property", @@ -7392,12 +7456,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 790, + "id": 826, "name": "status", "kind": 1024, "kindString": "Property", @@ -7415,12 +7479,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 791, + "id": 827, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7434,7 +7498,7 @@ ], "signatures": [ { - "id": 792, + "id": 828, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7442,14 +7506,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 831, "name": "message", "kind": 1024, "kindString": "Property", @@ -7468,7 +7532,7 @@ "defaultValue": "..." }, { - "id": 794, + "id": 830, "name": "name", "kind": 1024, "kindString": "Property", @@ -7487,7 +7551,7 @@ "defaultValue": "..." }, { - "id": 796, + "id": 832, "name": "status", "kind": 1024, "kindString": "Property", @@ -7510,21 +7574,21 @@ { "title": "Properties", "kind": 1024, - "children": [795, 794, 796] + "children": [831, 830, 832] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -7533,17 +7597,17 @@ { "title": "Constructors", "kind": 512, - "children": [787] + "children": [823] }, { "title": "Properties", "kind": 1024, - "children": [789, 790] + "children": [825, 826] }, { "title": "Methods", "kind": 2048, - "children": [791] + "children": [827] } ], "sources": [ @@ -7556,20 +7620,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 763, + "id": 799, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 764, + "id": 800, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7583,14 +7647,14 @@ ], "signatures": [ { - "id": 765, + "id": 801, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 766, + "id": 802, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7601,7 +7665,7 @@ } }, { - "id": 767, + "id": 803, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -7614,24 +7678,24 @@ ], "type": { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 768, + "id": 804, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -7649,7 +7713,7 @@ } }, { - "id": 769, + "id": 805, "name": "status", "kind": 1024, "kindString": "Property", @@ -7676,7 +7740,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } } @@ -7685,12 +7749,12 @@ { "title": "Constructors", "kind": 512, - "children": [764] + "children": [800] }, { "title": "Properties", "kind": 1024, - "children": [768, 769] + "children": [804, 805] } ], "sources": [ @@ -7703,20 +7767,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 771, + "id": 807, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 772, + "id": 808, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7730,14 +7794,14 @@ ], "signatures": [ { - "id": 773, + "id": 809, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 774, + "id": 810, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7748,7 +7812,7 @@ } }, { - "id": 775, + "id": 811, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -7759,7 +7823,7 @@ } }, { - "id": 776, + "id": 812, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7772,24 +7836,24 @@ ], "type": { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 777, + "id": 813, "name": "name", "kind": 1024, "kindString": "Property", @@ -7811,7 +7875,7 @@ } }, { - "id": 778, + "id": 814, "name": "status", "kind": 1024, "kindString": "Property", @@ -7829,12 +7893,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 779, + "id": 815, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -7848,7 +7912,7 @@ ], "signatures": [ { - "id": 780, + "id": 816, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -7856,14 +7920,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 819, "name": "message", "kind": 1024, "kindString": "Property", @@ -7882,7 +7946,7 @@ "defaultValue": "..." }, { - "id": 782, + "id": 818, "name": "name", "kind": 1024, "kindString": "Property", @@ -7901,7 +7965,7 @@ "defaultValue": "..." }, { - "id": 784, + "id": 820, "name": "status", "kind": 1024, "kindString": "Property", @@ -7924,7 +7988,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782, 784] + "children": [819, 818, 820] } ] } @@ -7937,17 +8001,17 @@ { "title": "Constructors", "kind": 512, - "children": [772] + "children": [808] }, { "title": "Properties", "kind": 1024, - "children": [777, 778] + "children": [813, 814] }, { "title": "Methods", "kind": 2048, - "children": [779] + "children": [815] } ], "sources": [ @@ -7960,29 +8024,29 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" } ] @@ -8225,10 +8289,10 @@ ], "type": { "type": "reference", - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -8244,14 +8308,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -8271,17 +8335,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -8297,21 +8361,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -8322,7 +8386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -8332,7 +8396,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -8343,7 +8407,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -8357,13 +8421,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -8378,7 +8442,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -8390,14 +8454,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -8407,17 +8471,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -8433,21 +8497,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -8458,7 +8522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -8472,13 +8536,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -8493,7 +8557,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -8509,13 +8573,13 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] @@ -8554,17 +8618,17 @@ "flags": {}, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -8578,7 +8642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -8588,7 +8652,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -8602,7 +8666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -8612,36 +8676,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -8654,7 +8689,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -8664,12 +8699,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -8683,7 +8717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -8693,7 +8727,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -8706,7 +8740,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -8716,12 +8750,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -8734,7 +8767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -8744,12 +8777,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -8763,7 +8795,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -8773,7 +8805,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -8782,12 +8814,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -8801,21 +8833,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -8827,7 +8871,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -8897,7 +8941,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -8940,10 +8984,10 @@ "flags": {}, "type": { "type": "reference", - "id": 552, + "id": 588, "name": "GenerateLinkParams", "dereferenced": { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8951,7 +8995,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -8959,7 +9003,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8967,21 +9011,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -8989,7 +9033,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -8999,7 +9043,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -9009,7 +9053,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -9018,7 +9062,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -9041,7 +9085,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -9049,7 +9093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -9059,7 +9103,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -9067,7 +9111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -9081,13 +9125,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -9095,7 +9139,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9103,21 +9147,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -9128,7 +9172,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -9138,7 +9182,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -9148,7 +9192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -9157,7 +9201,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -9180,7 +9224,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -9188,7 +9232,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -9211,13 +9255,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -9225,7 +9269,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9233,21 +9277,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -9258,7 +9302,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -9268,7 +9312,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -9278,7 +9322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -9287,7 +9331,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -9301,7 +9345,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -9309,7 +9353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -9323,13 +9367,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -9337,7 +9381,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9345,21 +9389,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -9370,7 +9414,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -9380,7 +9424,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -9391,7 +9435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -9401,7 +9445,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -9411,7 +9455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -9420,7 +9464,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -9434,7 +9478,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -9442,7 +9486,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -9465,13 +9509,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -9489,7 +9533,7 @@ "typeArguments": [ { "type": "reference", - "id": 553, + "id": 589, "name": "GenerateLinkResponse" } ], @@ -9544,7 +9588,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -9672,7 +9716,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -9721,10 +9765,10 @@ }, "type": { "type": "reference", - "id": 733, + "id": 769, "name": "PageParams", "dereferenced": { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -9732,21 +9776,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -9759,7 +9803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -9769,7 +9813,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -9782,7 +9826,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -9796,13 +9840,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -9887,7 +9931,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -9904,7 +9948,7 @@ }, { "type": "reference", - "id": 726, + "id": 762, "name": "Pagination" } ] @@ -10012,7 +10056,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -10127,7 +10171,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -10197,17 +10241,17 @@ }, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -10221,7 +10265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -10231,7 +10275,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -10245,7 +10289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -10255,36 +10299,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -10297,7 +10312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -10307,12 +10322,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -10326,7 +10340,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -10336,7 +10350,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -10349,7 +10363,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -10359,12 +10373,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10377,7 +10390,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -10387,12 +10400,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -10406,7 +10418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -10416,7 +10428,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -10425,12 +10437,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -10444,21 +10456,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -10470,7 +10494,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -10523,7 +10547,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 135, + "line": 140, "character": 2 } ], @@ -10546,10 +10570,10 @@ "flags": {}, "type": { "type": "reference", - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "dereferenced": { - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -10557,21 +10581,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 330, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -10581,7 +10605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 45, "character": 2 } ], @@ -10591,7 +10615,7 @@ } }, { - "id": 304, + "id": 329, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -10601,7 +10625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -10611,7 +10635,7 @@ } }, { - "id": 308, + "id": 333, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -10621,7 +10645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -10631,7 +10655,7 @@ } }, { - "id": 299, + "id": 324, "name": "headers", "kind": 1024, "kindString": "Property", @@ -10641,14 +10665,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 300, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10656,19 +10680,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 12 } ], "indexSignature": { - "id": 301, + "id": 326, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 302, + "id": 327, "name": "key", "kind": 32768, "flags": {}, @@ -10687,7 +10711,7 @@ } }, { - "id": 306, + "id": 331, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -10697,7 +10721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -10707,7 +10731,7 @@ } }, { - "id": 307, + "id": 332, "name": "storage", "kind": 1024, "kindString": "Property", @@ -10717,16 +10741,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 49, "character": 2 } ], "type": { "type": "reference", - "id": 715, + "id": 751, "name": "SupportedStorage", "dereferenced": { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -10734,7 +10758,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -10779,7 +10803,7 @@ } }, { - "id": 303, + "id": 328, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -10789,7 +10813,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 41, "character": 2 } ], @@ -10799,7 +10823,7 @@ } }, { - "id": 298, + "id": 323, "name": "url", "kind": 1024, "kindString": "Property", @@ -10809,7 +10833,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 37, "character": 2 } ], @@ -10823,13 +10847,13 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304, 308, 299, 306, 307, 303, 298] + "children": [330, 329, 333, 324, 331, 332, 328, 323] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 34 } ] @@ -10859,7 +10883,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 96, + "line": 95, "character": 2 } ], @@ -11105,10 +11129,10 @@ ], "type": { "type": "reference", - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -11124,14 +11148,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -11151,17 +11175,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -11177,21 +11201,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -11202,7 +11226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -11212,7 +11236,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -11223,7 +11247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -11237,13 +11261,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -11258,7 +11282,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -11270,14 +11294,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -11287,17 +11311,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -11313,21 +11337,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -11338,7 +11362,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -11352,13 +11376,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -11373,7 +11397,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -11389,13 +11413,13 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] @@ -11434,17 +11458,17 @@ "flags": {}, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -11458,7 +11482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -11468,7 +11492,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -11482,7 +11506,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -11492,36 +11516,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -11534,7 +11529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -11544,12 +11539,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -11563,7 +11557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -11573,7 +11567,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -11586,7 +11580,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -11596,12 +11590,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11614,7 +11607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -11624,12 +11617,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -11643,7 +11635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -11653,7 +11645,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -11662,12 +11654,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -11681,21 +11673,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -11707,7 +11711,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -11777,7 +11781,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -11820,10 +11824,10 @@ "flags": {}, "type": { "type": "reference", - "id": 552, + "id": 588, "name": "GenerateLinkParams", "dereferenced": { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11831,7 +11835,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -11839,7 +11843,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11847,21 +11851,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -11869,7 +11873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -11879,7 +11883,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -11889,7 +11893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -11898,7 +11902,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -11921,7 +11925,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -11929,7 +11933,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -11939,7 +11943,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -11947,7 +11951,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -11961,13 +11965,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -11975,7 +11979,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11983,21 +11987,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -12008,7 +12012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -12018,7 +12022,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -12028,7 +12032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -12037,7 +12041,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -12060,7 +12064,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -12068,7 +12072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -12091,13 +12095,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -12105,7 +12109,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -12113,21 +12117,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -12138,7 +12142,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -12148,7 +12152,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -12158,7 +12162,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -12167,7 +12171,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -12181,7 +12185,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -12189,7 +12193,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -12203,13 +12207,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -12217,7 +12221,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -12225,21 +12229,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -12250,7 +12254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -12260,7 +12264,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -12271,7 +12275,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -12281,7 +12285,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -12291,7 +12295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -12300,7 +12304,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -12314,7 +12318,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -12322,7 +12326,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -12345,13 +12349,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -12369,7 +12373,7 @@ "typeArguments": [ { "type": "reference", - "id": 553, + "id": 589, "name": "GenerateLinkResponse" } ], @@ -12424,7 +12428,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -12552,7 +12556,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -12601,10 +12605,10 @@ }, "type": { "type": "reference", - "id": 733, + "id": 769, "name": "PageParams", "dereferenced": { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -12612,21 +12616,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -12639,7 +12643,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -12649,7 +12653,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -12662,7 +12666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -12676,13 +12680,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -12767,7 +12771,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -12784,7 +12788,7 @@ }, { "type": "reference", - "id": 726, + "id": 762, "name": "Pagination" } ] @@ -12892,7 +12896,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -13007,7 +13011,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -13077,17 +13081,17 @@ }, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -13101,7 +13105,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -13111,7 +13115,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -13125,7 +13129,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -13135,36 +13139,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -13177,7 +13152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -13187,12 +13162,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -13206,7 +13180,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -13216,7 +13190,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -13229,7 +13203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -13239,12 +13213,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13257,7 +13230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -13267,12 +13240,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13286,7 +13258,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -13296,7 +13268,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13305,12 +13277,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -13324,21 +13296,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -13350,7 +13334,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -13401,16 +13385,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 100, + "line": 99, "character": 2 } ], "type": { "type": "reference", - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "dereferenced": { - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -13420,14 +13404,14 @@ }, "children": [ { - "id": 667, + "id": 703, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 668, + "id": 704, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -13437,17 +13421,17 @@ }, "parameters": [ { - "id": 669, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 587, + "id": 623, "name": "MFAChallengeParams", "dereferenced": { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -13455,21 +13439,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13480,7 +13464,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -13494,13 +13478,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -13515,7 +13499,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 667, "name": "AuthMFAChallengeResponse" } ], @@ -13527,14 +13511,14 @@ ] }, { - "id": 676, + "id": 712, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 677, + "id": 713, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -13544,17 +13528,17 @@ }, "parameters": [ { - "id": 678, + "id": 714, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -13562,21 +13546,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -13587,7 +13571,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -13597,7 +13581,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13608,7 +13592,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -13622,13 +13606,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -13643,7 +13627,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -13655,14 +13639,14 @@ ] }, { - "id": 664, + "id": 700, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 665, + "id": 701, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -13673,17 +13657,17 @@ }, "parameters": [ { - "id": 666, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 574, + "id": 610, "name": "MFAEnrollParams", "dereferenced": { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -13691,21 +13675,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -13716,7 +13700,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -13726,7 +13710,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -13739,7 +13723,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -13749,7 +13733,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -13762,7 +13746,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -13776,13 +13760,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -13797,7 +13781,7 @@ "typeArguments": [ { "type": "reference", - "id": 607, + "id": 643, "name": "AuthMFAEnrollResponse" } ], @@ -13809,14 +13793,14 @@ ] }, { - "id": 681, + "id": 717, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 682, + "id": 718, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -13830,7 +13814,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 688, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -13842,14 +13826,14 @@ ] }, { - "id": 679, + "id": 715, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 680, + "id": 716, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -13876,7 +13860,7 @@ "typeArguments": [ { "type": "reference", - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse" } ], @@ -13888,14 +13872,14 @@ ] }, { - "id": 673, + "id": 709, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 674, + "id": 710, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -13905,17 +13889,17 @@ }, "parameters": [ { - "id": 675, + "id": 711, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "dereferenced": { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -13923,21 +13907,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13948,7 +13932,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -13962,13 +13946,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -13983,7 +13967,7 @@ "typeArguments": [ { "type": "reference", - "id": 622, + "id": 658, "name": "AuthMFAUnenrollResponse" } ], @@ -13995,14 +13979,14 @@ ] }, { - "id": 670, + "id": 706, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 671, + "id": 707, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -14012,17 +13996,17 @@ }, "parameters": [ { - "id": 672, + "id": 708, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 582, + "id": 618, "name": "MFAVerifyParams", "dereferenced": { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -14030,21 +14014,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -14055,7 +14039,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -14065,7 +14049,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -14076,7 +14060,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -14086,7 +14070,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -14097,7 +14081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -14111,13 +14095,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -14132,7 +14116,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -14148,13 +14132,13 @@ { "title": "Methods", "kind": 2048, - "children": [667, 676, 664, 681, 679, 673, 670] + "children": [703, 712, 700, 717, 715, 709, 706] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 778, "character": 17 } ] @@ -14162,7 +14146,59 @@ } }, { - "id": 125, + "id": 120, + "name": "exchangeCodeForSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 399, + "character": 8 + } + ], + "signatures": [ + { + "id": 121, + "name": "exchangeCodeForSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 122, + "name": "authCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 135, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -14170,13 +14206,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 511, + "line": 610, "character": 8 } ], "signatures": [ { - "id": 126, + "id": 136, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -14190,184 +14226,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 127, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 128, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 513, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 130, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 514, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 355, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [130] - } - ] - } - } - }, - { - "id": 131, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 516, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [128, 131] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 132, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 133, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 519, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 135, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 520, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [135] - } - ] - } - } - }, - { - "id": 136, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 522, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [133, 136] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -14386,7 +14244,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 525, + "line": 612, "character": 8 } ], @@ -14408,13 +14266,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 526, + "line": 613, "character": 10 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 380, + "name": "Session" } } ], @@ -14437,7 +14296,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 528, + "line": 615, "character": 8 } ], @@ -14455,6 +14314,183 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 143, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 144, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 145, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 619, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [145] + } + ] + } + } + }, + { + "id": 146, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 621, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [143, 146] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 148, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 624, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 625, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [150] + } + ] + } + } + }, + { + "id": 151, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 627, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [148, 151] + } + ] + } } ] } @@ -14467,7 +14503,7 @@ ] }, { - "id": 142, + "id": 152, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -14475,13 +14511,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 574, + "line": 673, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 153, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -14491,7 +14527,7 @@ }, "parameters": [ { - "id": 144, + "id": 154, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -14512,7 +14548,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -14524,7 +14560,7 @@ ] }, { - "id": 103, + "id": 107, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -14532,13 +14568,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 171, + "line": 191, "character": 2 } ], "signatures": [ { - "id": 104, + "id": 108, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -14551,7 +14587,7 @@ "typeArguments": [ { "type": "reference", - "id": 716, + "id": 752, "name": "InitializeResult" } ], @@ -14563,7 +14599,7 @@ ] }, { - "id": 186, + "id": 199, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -14571,13 +14607,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 859, + "line": 964, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 200, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -14587,7 +14623,7 @@ }, "parameters": [ { - "id": 188, + "id": 201, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -14598,33 +14634,33 @@ "type": { "type": "reflection", "declaration": { - "id": 189, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 190, + "id": 203, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 191, + "id": 204, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent" } }, { - "id": 192, + "id": 205, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14638,7 +14674,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -14658,14 +14694,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 207, "name": "data", "kind": 1024, "kindString": "Property", @@ -14673,21 +14709,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 209, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -14695,23 +14731,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 12 } ], "type": { "type": "reference", - "id": 429, + "id": 454, "name": "Subscription", "dereferenced": { - "id": 429, + "id": 454, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 430, + "id": 455, "name": "id", "kind": 1024, "kindString": "Property", @@ -14722,7 +14758,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 314, "character": 2 } ], @@ -14732,7 +14768,7 @@ } }, { - "id": 431, + "id": 456, "name": "callback", "kind": 2048, "kindString": "Method", @@ -14740,13 +14776,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 318, "character": 2 } ], "signatures": [ { - "id": 432, + "id": 457, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -14756,17 +14792,17 @@ }, "parameters": [ { - "id": 433, + "id": 458, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent", "dereferenced": { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -14781,6 +14817,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -14806,7 +14846,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -14829,7 +14869,7 @@ } }, { - "id": 434, + "id": 459, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14843,7 +14883,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -14858,7 +14898,7 @@ ] }, { - "id": 435, + "id": 460, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -14866,13 +14906,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 322, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 461, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -14892,18 +14932,18 @@ { "title": "Properties", "kind": 1024, - "children": [430] + "children": [455] }, { "title": "Methods", "kind": 2048, - "children": [431, 435] + "children": [456, 460] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 309, + "line": 310, "character": 17 } ] @@ -14915,7 +14955,7 @@ { "title": "Properties", "kind": 1024, - "children": [196] + "children": [209] } ] } @@ -14926,7 +14966,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [207] } ] } @@ -14935,7 +14975,7 @@ ] }, { - "id": 161, + "id": 174, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -14943,13 +14983,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 8 } ], "signatures": [ { - "id": 162, + "id": 175, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -14959,7 +14999,7 @@ }, "parameters": [ { - "id": 163, + "id": 176, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -14972,14 +15012,14 @@ "type": { "type": "reflection", "declaration": { - "id": 164, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 178, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -14987,7 +15027,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 42 } ], @@ -15001,7 +15041,7 @@ { "title": "Properties", "kind": 1024, - "children": [165] + "children": [178] } ] } @@ -15013,7 +15053,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -15025,7 +15065,7 @@ ] }, { - "id": 197, + "id": 213, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -15033,13 +15073,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 882, + "line": 1004, "character": 8 } ], "signatures": [ { - "id": 198, + "id": 214, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -15049,7 +15089,7 @@ }, "parameters": [ { - "id": 199, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -15063,7 +15103,7 @@ } }, { - "id": 200, + "id": 216, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15071,14 +15111,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 217, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 219, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15091,7 +15131,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 1008, "character": 6 } ], @@ -15101,7 +15141,7 @@ } }, { - "id": 202, + "id": 218, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15114,7 +15154,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 885, + "line": 1007, "character": 6 } ], @@ -15128,7 +15168,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 202] + "children": [219, 218] } ] } @@ -15145,14 +15185,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 205, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -15160,14 +15200,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 890, + "line": 1012, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 206, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15176,7 +15216,7 @@ } }, { - "id": 207, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -15184,7 +15224,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 891, + "line": 1013, "character": 8 } ], @@ -15198,7 +15238,7 @@ { "title": "Properties", "kind": 1024, - "children": [205, 207] + "children": [221, 223] } ] } @@ -15206,14 +15246,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -15221,7 +15261,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 8 } ], @@ -15231,7 +15271,7 @@ } }, { - "id": 210, + "id": 226, "name": "error", "kind": 1024, "kindString": "Property", @@ -15239,13 +15279,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 20 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -15254,7 +15294,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [225, 226] } ] } @@ -15270,7 +15310,7 @@ ] }, { - "id": 155, + "id": 168, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -15278,13 +15318,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 650, + "line": 755, "character": 8 } ], "signatures": [ { - "id": 156, + "id": 169, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -15294,7 +15334,7 @@ }, "parameters": [ { - "id": 157, + "id": 170, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -15305,14 +15345,14 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 171, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 172, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -15320,7 +15360,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 651, + "line": 756, "character": 4 } ], @@ -15330,7 +15370,7 @@ } }, { - "id": 160, + "id": 173, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -15338,7 +15378,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 757, "character": 4 } ], @@ -15352,7 +15392,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 160] + "children": [172, 173] } ] } @@ -15364,7 +15404,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -15376,7 +15416,245 @@ ] }, { - "id": 113, + "id": 123, + "name": "signInWithIdToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 429, + "character": 8 + } + ], + "signatures": [ + { + "id": 124, + "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": 125, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 526, + "name": "SignInWithIdTokenCredentials", + "dereferenced": { + "id": 526, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "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": 458, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 531, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 533, + "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": 461, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [533] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 12 + } + ] + } + } + }, + { + "id": 528, + "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": 454, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 529, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 531, 528, 529] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 43 + } + ] + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 117, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -15384,13 +15662,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 358, + "line": 384, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 118, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -15400,17 +15678,17 @@ }, "parameters": [ { - "id": 115, + "id": 119, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 486, + "id": 513, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 486, + "id": 513, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -15425,14 +15703,14 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -15449,14 +15727,65 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 525, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to 'pkce' PKCE flow. Defaults to the 'implicit' flow otherwise" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "OAuthFlowType", + "dereferenced": { + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + } + } + }, + { + "id": 520, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -15476,7 +15805,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15489,14 +15818,14 @@ } ], "indexSignature": { - "id": 495, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -15515,7 +15844,7 @@ } }, { - "id": 491, + "id": 518, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15538,7 +15867,7 @@ } }, { - "id": 492, + "id": 519, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -15561,7 +15890,7 @@ } }, { - "id": 497, + "id": 524, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -15588,7 +15917,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 491, 492, 497] + "children": [525, 520, 518, 519, 524] } ], "sources": [ @@ -15602,7 +15931,7 @@ } }, { - "id": 488, + "id": 515, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15619,10 +15948,10 @@ ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider", "dereferenced": { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -15714,7 +16043,7 @@ { "title": "Properties", "kind": 1024, - "children": [489, 488] + "children": [516, 515] } ], "sources": [ @@ -15735,7 +16064,7 @@ "typeArguments": [ { "type": "reference", - "id": 322, + "id": 347, "name": "OAuthResponse" } ], @@ -15747,7 +16076,7 @@ ] }, { - "id": 116, + "id": 126, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -15755,34 +16084,34 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 379, + "line": 477, "character": 8 } ], "signatures": [ { - "id": 117, + "id": 127, "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" + "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": 118, + "id": 128, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -15790,7 +16119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 397, + "line": 394, "character": 12 } ], @@ -15800,14 +16129,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 497, "name": "email", "kind": 1024, "kindString": "Property", @@ -15818,7 +16147,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 400, + "line": 397, "character": 6 } ], @@ -15828,7 +16157,7 @@ } }, { - "id": 473, + "id": 498, "name": "options", "kind": 1024, "kindString": "Property", @@ -15838,21 +16167,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 499, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 503, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15865,7 +16194,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 413, + "line": 410, "character": 8 } ], @@ -15875,7 +16204,7 @@ } }, { - "id": 477, + "id": 502, "name": "data", "kind": 1024, "kindString": "Property", @@ -15889,7 +16218,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 411, + "line": 408, "character": 8 } ], @@ -15899,7 +16228,7 @@ } }, { - "id": 475, + "id": 500, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -15912,7 +16241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 400, "character": 8 } ], @@ -15922,7 +16251,7 @@ } }, { - "id": 476, + "id": 501, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -15935,7 +16264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 402, "character": 8 } ], @@ -15949,13 +16278,13 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 475, 476] + "children": [503, 502, 500, 501] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 16 } ] @@ -15967,13 +16296,13 @@ { "title": "Properties", "kind": 1024, - "children": [472, 473] + "children": [497, 498] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 395, "character": 4 } ] @@ -15982,14 +16311,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 481, + "id": 506, "name": "options", "kind": 1024, "kindString": "Property", @@ -15999,21 +16328,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 507, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 510, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16026,7 +16355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 429, + "line": 426, "character": 8 } ], @@ -16036,7 +16365,39 @@ } }, { - "id": 484, + "id": 511, + "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": 428, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -16050,7 +16411,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 427, + "line": 424, "character": 8 } ], @@ -16060,7 +16421,7 @@ } }, { - "id": 483, + "id": 508, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -16073,7 +16434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 418, "character": 8 } ], @@ -16087,13 +16448,13 @@ { "title": "Properties", "kind": 1024, - "children": [485, 484, 483] + "children": [510, 511, 509, 508] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 16 } ] @@ -16101,7 +16462,7 @@ } }, { - "id": 480, + "id": 505, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16112,7 +16473,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 415, "character": 6 } ], @@ -16126,13 +16487,13 @@ { "title": "Properties", "kind": 1024, - "children": [481, 480] + "children": [506, 505] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 413, "character": 4 } ] @@ -16149,7 +16510,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -16161,7 +16522,7 @@ ] }, { - "id": 110, + "id": 114, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -16169,34 +16530,34 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 306, + "line": 333, "character": 8 } ], "signatures": [ { - "id": 111, + "id": 115, "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 distingish\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" + "text": "Be aware that you may get back an error message that will not distingish\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. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n" }, "parameters": [ { - "id": 112, + "id": 116, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16204,7 +16565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 363, + "line": 364, "character": 12 } ], @@ -16214,14 +16575,14 @@ { "type": "reflection", "declaration": { - "id": 456, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 482, "name": "email", "kind": 1024, "kindString": "Property", @@ -16232,7 +16593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 367, "character": 6 } ], @@ -16242,7 +16603,7 @@ } }, { - "id": 459, + "id": 484, "name": "options", "kind": 1024, "kindString": "Property", @@ -16252,21 +16613,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 485, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 462, + "id": 486, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16279,7 +16640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 372, "character": 8 } ], @@ -16287,43 +16648,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 461, - "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": 375, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [462, 461] + "children": [486] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 16 } ] @@ -16331,7 +16668,7 @@ } }, { - "id": 458, + "id": 483, "name": "password", "kind": 1024, "kindString": "Property", @@ -16342,7 +16679,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 368, + "line": 369, "character": 6 } ], @@ -16356,13 +16693,13 @@ { "title": "Properties", "kind": 1024, - "children": [457, 459, 458] + "children": [482, 484, 483] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 364, + "line": 365, "character": 4 } ] @@ -16371,14 +16708,14 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 490, "name": "options", "kind": 1024, "kindString": "Property", @@ -16388,21 +16725,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 467, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 493, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16415,7 +16752,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 393, + "line": 388, "character": 8 } ], @@ -16425,7 +16762,39 @@ } }, { - "id": 468, + "id": 494, + "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": 390, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 492, "name": "data", "kind": 1024, "kindString": "Property", @@ -16439,7 +16808,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 391, + "line": 386, "character": 8 } ], @@ -16453,13 +16822,13 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468] + "children": [493, 494, 492] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 16 } ] @@ -16467,7 +16836,7 @@ } }, { - "id": 465, + "id": 489, "name": "password", "kind": 1024, "kindString": "Property", @@ -16478,7 +16847,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 379, "character": 6 } ], @@ -16488,7 +16857,7 @@ } }, { - "id": 464, + "id": 488, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16499,7 +16868,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 377, "character": 6 } ], @@ -16513,13 +16882,13 @@ { "title": "Properties", "kind": 1024, - "children": [466, 465, 464] + "children": [490, 489, 488] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 375, "character": 4 } ] @@ -16536,7 +16905,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -16548,7 +16917,7 @@ ] }, { - "id": 122, + "id": 132, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -16556,13 +16925,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 482, + "line": 581, "character": 8 } ], "signatures": [ { - "id": 123, + "id": 133, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -16579,17 +16948,17 @@ }, "parameters": [ { - "id": 124, + "id": 134, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 553, "name": "SignInWithSSO", "dereferenced": { - "id": 517, + "id": 553, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -16597,7 +16966,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 12 } ], @@ -16607,14 +16976,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 555, "name": "options", "kind": 1024, "kindString": "Property", @@ -16624,21 +16993,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 558, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16651,7 +17020,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 508, "character": 4 } ], @@ -16661,7 +17030,7 @@ } }, { - "id": 521, + "id": 557, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -16674,7 +17043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 506, "character": 4 } ], @@ -16688,13 +17057,13 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [558, 557] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 12 } ] @@ -16706,13 +17075,13 @@ { "title": "Properties", "kind": 1024, - "children": [519] + "children": [555] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 28 } ] @@ -16724,14 +17093,14 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 559, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 524, + "id": 560, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -16742,7 +17111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 496, + "line": 513, "character": 6 } ], @@ -16756,13 +17125,13 @@ { "title": "Properties", "kind": 1024, - "children": [524] + "children": [560] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 494, + "line": 511, "character": 4 } ] @@ -16771,14 +17140,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 562, "name": "domain", "kind": 1024, "kindString": "Property", @@ -16789,7 +17158,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 517, "character": 6 } ], @@ -16803,13 +17172,13 @@ { "title": "Properties", "kind": 1024, - "children": [526] + "children": [562] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 515, "character": 4 } ] @@ -16828,7 +17197,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 360, "name": "SSOResponse" } ], @@ -16840,7 +17209,7 @@ ] }, { - "id": 182, + "id": 195, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -16848,13 +17217,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 8 } ], "signatures": [ { - "id": 183, + "id": 196, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -16869,14 +17238,14 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 185, + "id": 198, "name": "error", "kind": 1024, "kindString": "Property", @@ -16884,7 +17253,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 29 } ], @@ -16897,7 +17266,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -16908,7 +17277,7 @@ { "title": "Properties", "kind": 1024, - "children": [185] + "children": [198] } ] } @@ -16922,7 +17291,7 @@ ] }, { - "id": 107, + "id": 111, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -16930,13 +17299,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 238, + "line": 262, "character": 8 } ], "signatures": [ { - "id": 108, + "id": 112, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -16948,17 +17317,17 @@ }, "parameters": [ { - "id": 109, + "id": 113, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16966,7 +17335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 329, "character": 12 } ], @@ -16976,14 +17345,14 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 466, "name": "email", "kind": 1024, "kindString": "Property", @@ -16994,7 +17363,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 331, + "line": 332, "character": 6 } ], @@ -17004,7 +17373,7 @@ } }, { - "id": 443, + "id": 468, "name": "options", "kind": 1024, "kindString": "Property", @@ -17014,21 +17383,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 469, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 447, + "id": 472, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17041,7 +17410,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 345, "character": 8 } ], @@ -17051,7 +17420,7 @@ } }, { - "id": 446, + "id": 471, "name": "data", "kind": 1024, "kindString": "Property", @@ -17065,7 +17434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 343, "character": 8 } ], @@ -17075,7 +17444,7 @@ } }, { - "id": 445, + "id": 470, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17088,7 +17457,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 337, "character": 8 } ], @@ -17102,13 +17471,13 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 445] + "children": [472, 471, 470] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 16 } ] @@ -17116,7 +17485,7 @@ } }, { - "id": 442, + "id": 467, "name": "password", "kind": 1024, "kindString": "Property", @@ -17127,7 +17496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 334, "character": 6 } ], @@ -17141,13 +17510,13 @@ { "title": "Properties", "kind": 1024, - "children": [441, 443, 442] + "children": [466, 468, 467] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 330, "character": 4 } ] @@ -17156,14 +17525,14 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 476, "name": "options", "kind": 1024, "kindString": "Property", @@ -17173,21 +17542,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 454, + "id": 479, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17200,7 +17569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 361, "character": 8 } ], @@ -17210,7 +17579,7 @@ } }, { - "id": 453, + "id": 478, "name": "data", "kind": 1024, "kindString": "Property", @@ -17224,7 +17593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 359, "character": 8 } ], @@ -17238,13 +17607,13 @@ { "title": "Properties", "kind": 1024, - "children": [454, 453] + "children": [479, 478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 16 } ] @@ -17252,7 +17621,7 @@ } }, { - "id": 450, + "id": 475, "name": "password", "kind": 1024, "kindString": "Property", @@ -17263,7 +17632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 352, "character": 6 } ], @@ -17273,7 +17642,7 @@ } }, { - "id": 449, + "id": 474, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17284,7 +17653,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 349, + "line": 350, "character": 6 } ], @@ -17298,13 +17667,13 @@ { "title": "Properties", "kind": 1024, - "children": [451, 450, 449] + "children": [476, 475, 474] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 347, + "line": 348, "character": 4 } ] @@ -17321,7 +17690,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -17333,7 +17702,7 @@ ] }, { - "id": 252, + "id": 276, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -17341,20 +17710,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1106, + "line": 1293, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 277, "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.\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" + "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 desireable. 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", @@ -17372,7 +17741,7 @@ ] }, { - "id": 254, + "id": 278, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -17380,19 +17749,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1121, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 255, + "id": 279, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Stops an active auto refresh process running in the background (if any).\nSee {@link #startAutoRefresh} for more details." + "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", @@ -17410,7 +17780,7 @@ ] }, { - "id": 145, + "id": 155, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -17418,40 +17788,40 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 603, + "line": 702, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 156, "name": "updateUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Updates user data, if there is a logged in user." + "shortText": "Updates user data for a logged in user." }, "parameters": [ { - "id": 147, + "id": 157, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 414, + "id": 440, "name": "UserAttributes", "dereferenced": { - "id": 414, + "id": 440, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 418, + "id": 444, "name": "data", "kind": 1024, "kindString": "Property", @@ -17465,7 +17835,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 257, "character": 2 } ], @@ -17475,7 +17845,7 @@ } }, { - "id": 415, + "id": 441, "name": "email", "kind": 1024, "kindString": "Property", @@ -17488,7 +17858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -17498,7 +17868,7 @@ } }, { - "id": 417, + "id": 443, "name": "password", "kind": 1024, "kindString": "Property", @@ -17511,7 +17881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -17521,7 +17891,7 @@ } }, { - "id": 416, + "id": 442, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17534,7 +17904,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -17548,25 +17918,65 @@ { "title": "Properties", "kind": 1024, - "children": [418, 415, 417, 416] + "children": [444, 441, 443, 442] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 233, + "line": 235, "character": 17 } - ], - "extendedBy": [ - { - "type": "reference", - "id": 419, - "name": "AdminUserAttributes" - } ] } } + }, + { + "id": 158, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 160, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 705, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [160] + } + ] + } + }, + "defaultValue": "{}" } ], "type": { @@ -17574,7 +17984,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -17586,7 +17996,7 @@ ] }, { - "id": 119, + "id": 129, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -17594,13 +18004,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 423, + "line": 522, "character": 8 } ], "signatures": [ { - "id": 120, + "id": 130, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -17610,17 +18020,17 @@ }, "parameters": [ { - "id": 121, + "id": 131, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 534, "name": "VerifyOtpParams", "dereferenced": { - "id": 498, + "id": 534, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -17628,7 +18038,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 465, "character": 12 } ], @@ -17636,14 +18046,14 @@ "type": "union", "types": [ { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -17653,21 +18063,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17686,7 +18096,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -17696,7 +18106,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17709,7 +18119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -17723,14 +18133,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17741,7 +18151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -17751,7 +18161,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -17762,7 +18172,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -17772,7 +18182,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -17783,16 +18193,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17800,7 +18210,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -17825,26 +18235,26 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -17855,7 +18265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -17865,7 +18275,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -17875,21 +18285,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17902,7 +18312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -17912,7 +18322,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17925,7 +18335,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -17939,14 +18349,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -17957,7 +18367,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -17967,7 +18377,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -17978,16 +18388,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17995,7 +18405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -18032,13 +18442,13 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] @@ -18054,7 +18464,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -18081,20 +18491,21 @@ "title": "Methods", "kind": 2048, "children": [ - 125, 142, 103, 186, 161, 197, 155, 113, 116, 110, 122, 182, 107, 252, 254, 145, 119 + 120, 135, 152, 107, 199, 174, 213, 168, 123, 117, 126, 114, 132, 195, 111, 276, 278, + 155, 129 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 91, + "line": 90, "character": 21 } ] }, { - "id": 364, + "id": 389, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -18111,7 +18522,7 @@ }, "children": [ { - "id": 365, + "id": 390, "name": "method", "kind": 1024, "kindString": "Property", @@ -18122,7 +18533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 152, + "line": 153, "character": 2 } ], @@ -18132,7 +18543,7 @@ } }, { - "id": 366, + "id": 391, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -18143,7 +18554,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 159, "character": 2 } ], @@ -18157,26 +18568,26 @@ { "title": "Properties", "kind": 1024, - "children": [365, 366] + "children": [390, 391] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 150, + "line": 151, "character": 17 } ] }, { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -18190,7 +18601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -18200,7 +18611,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -18214,7 +18625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -18224,36 +18635,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -18266,7 +18648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -18276,12 +18658,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -18295,7 +18676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -18305,7 +18686,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -18318,7 +18699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -18328,12 +18709,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18346,7 +18726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -18356,12 +18736,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -18375,7 +18754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -18385,7 +18764,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -18394,12 +18773,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -18413,26 +18792,38 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] }, { - "id": 378, + "id": 403, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -18456,7 +18847,7 @@ }, "children": [ { - "id": 383, + "id": 408, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -18464,7 +18855,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 197, "character": 2 } ], @@ -18474,7 +18865,7 @@ } }, { - "id": 381, + "id": 406, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -18485,7 +18876,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 192, "character": 2 } ], @@ -18495,7 +18886,7 @@ } }, { - "id": 380, + "id": 405, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -18508,7 +18899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 186, "character": 2 } ], @@ -18518,7 +18909,7 @@ } }, { - "id": 379, + "id": 404, "name": "id", "kind": 1024, "kindString": "Property", @@ -18529,7 +18920,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 183, "character": 2 } ], @@ -18539,7 +18930,7 @@ } }, { - "id": 382, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -18550,7 +18941,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 195, "character": 2 } ], @@ -18569,7 +18960,7 @@ } }, { - "id": 384, + "id": 409, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -18577,7 +18968,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 198, "character": 2 } ], @@ -18591,26 +18982,26 @@ { "title": "Properties", "kind": 1024, - "children": [383, 381, 380, 379, 382, 384] + "children": [408, 406, 405, 404, 407, 409] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 181, "character": 17 } ] }, { - "id": 549, + "id": 585, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 550, + "id": 586, "name": "data", "kind": 1024, "kindString": "Property", @@ -18624,7 +19015,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 559, "character": 2 } ], @@ -18634,7 +19025,7 @@ } }, { - "id": 551, + "id": 587, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18647,7 +19038,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 544, + "line": 561, "character": 2 } ], @@ -18661,19 +19052,19 @@ { "title": "Properties", "kind": 1024, - "children": [550, 551] + "children": [586, 587] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 553, "character": 17 } ] }, { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -18689,14 +19080,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -18716,17 +19107,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -18742,21 +19133,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -18767,7 +19158,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -18777,7 +19168,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -18788,7 +19179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -18802,13 +19193,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -18823,7 +19214,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -18835,14 +19226,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -18852,17 +19243,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -18878,21 +19269,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -18903,7 +19294,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -18917,13 +19308,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -18938,7 +19329,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -18954,19 +19345,19 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] }, { - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -18976,14 +19367,14 @@ }, "children": [ { - "id": 667, + "id": 703, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 668, + "id": 704, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -18993,17 +19384,17 @@ }, "parameters": [ { - "id": 669, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 587, + "id": 623, "name": "MFAChallengeParams", "dereferenced": { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -19011,21 +19402,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19036,7 +19427,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -19050,13 +19441,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -19071,7 +19462,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 667, "name": "AuthMFAChallengeResponse" } ], @@ -19083,14 +19474,14 @@ ] }, { - "id": 676, + "id": 712, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 677, + "id": 713, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -19100,17 +19491,17 @@ }, "parameters": [ { - "id": 678, + "id": 714, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -19118,21 +19509,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -19143,7 +19534,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -19153,7 +19544,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19164,7 +19555,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -19178,13 +19569,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -19199,7 +19590,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -19211,14 +19602,14 @@ ] }, { - "id": 664, + "id": 700, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 665, + "id": 701, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -19229,17 +19620,17 @@ }, "parameters": [ { - "id": 666, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 574, + "id": 610, "name": "MFAEnrollParams", "dereferenced": { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -19247,21 +19638,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -19272,7 +19663,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -19282,7 +19673,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -19295,7 +19686,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -19305,7 +19696,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -19318,7 +19709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -19332,13 +19723,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -19353,7 +19744,7 @@ "typeArguments": [ { "type": "reference", - "id": 607, + "id": 643, "name": "AuthMFAEnrollResponse" } ], @@ -19365,14 +19756,14 @@ ] }, { - "id": 681, + "id": 717, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 682, + "id": 718, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -19386,7 +19777,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 688, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -19398,14 +19789,14 @@ ] }, { - "id": 679, + "id": 715, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 680, + "id": 716, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -19432,7 +19823,7 @@ "typeArguments": [ { "type": "reference", - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse" } ], @@ -19444,14 +19835,14 @@ ] }, { - "id": 673, + "id": 709, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 674, + "id": 710, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -19461,17 +19852,17 @@ }, "parameters": [ { - "id": 675, + "id": 711, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "dereferenced": { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -19479,21 +19870,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19504,7 +19895,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -19518,13 +19909,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -19539,7 +19930,7 @@ "typeArguments": [ { "type": "reference", - "id": 622, + "id": 658, "name": "AuthMFAUnenrollResponse" } ], @@ -19551,14 +19942,14 @@ ] }, { - "id": 670, + "id": 706, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 671, + "id": 707, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -19568,17 +19959,17 @@ }, "parameters": [ { - "id": 672, + "id": 708, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 582, + "id": 618, "name": "MFAVerifyParams", "dereferenced": { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -19586,21 +19977,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -19611,7 +20002,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -19621,7 +20012,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -19632,7 +20023,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -19642,7 +20033,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19653,7 +20044,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -19667,13 +20058,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -19688,7 +20079,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -19704,26 +20095,26 @@ { "title": "Methods", "kind": 2048, - "children": [667, 676, 664, 681, 679, 673, 670] + "children": [703, 712, 700, 717, 715, 709, 706] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 778, "character": 17 } ] }, { - "id": 355, + "id": 380, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 383, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -19734,7 +20125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 125, + "line": 126, "character": 2 } ], @@ -19744,7 +20135,7 @@ } }, { - "id": 361, + "id": 386, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -19757,7 +20148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 138, "character": 2 } ], @@ -19767,7 +20158,7 @@ } }, { - "id": 360, + "id": 385, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -19778,7 +20169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 134, "character": 2 } ], @@ -19788,7 +20179,7 @@ } }, { - "id": 357, + "id": 382, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -19801,7 +20192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 121, + "line": 122, "character": 2 } ], @@ -19820,7 +20211,7 @@ } }, { - "id": 356, + "id": 381, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -19833,7 +20224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 117, "character": 2 } ], @@ -19852,7 +20243,7 @@ } }, { - "id": 359, + "id": 384, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19863,7 +20254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 129, + "line": 130, "character": 2 } ], @@ -19873,29 +20264,11 @@ } }, { - "id": 362, + "id": 387, "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 138, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -19903,392 +20276,43 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2 + } + ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User", "dereferenced": { - "id": 392, + "id": 417, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 402, + "id": 428, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "UserAppMetadata", - "dereferenced": { - "id": 385, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 386, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 201, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [386] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 200, - "character": 17 - } - ], - "indexSignature": { - "id": 387, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 388, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 396, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 213, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 367, - "name": "UserIdentity" - } - } - }, - { - "id": 401, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 217, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -20302,17 +20326,100 @@ } }, { - "id": 408, - "name": "phone_confirmed_at", + "id": 419, + "name": "app_metadata", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 212, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 410, + "name": "UserAppMetadata", + "dereferenced": { + "id": 410, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 411, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 202, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 201, + "character": 17 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 421, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, "character": 2 } ], @@ -20322,8 +20429,8 @@ } }, { - "id": 398, - "name": "recovery_sent_at", + "id": 422, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20342,8 +20449,8 @@ } }, { - "id": 410, - "name": "role", + "id": 432, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20352,7 +20459,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 227, + "line": 225, "character": 2 } ], @@ -20362,8 +20469,172 @@ } }, { - "id": 411, - "name": "updated_at", + "id": 431, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "UserIdentity" + } + } + }, + { + "id": 427, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -20382,7 +20653,147 @@ } }, { - "id": 395, + "id": 425, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -20390,16 +20801,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 212, + "line": 213, "character": 2 } ], "type": { "type": "reference", - "id": 389, + "id": 414, "name": "UserMetadata", "dereferenced": { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -20407,19 +20818,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -20443,15 +20854,15 @@ "title": "Properties", "kind": 1024, "children": [ - 402, 394, 396, 397, 406, 405, 403, 399, 407, 413, 393, 412, 401, 409, 400, - 404, 408, 398, 410, 411, 395 + 428, 419, 421, 422, 432, 431, 429, 424, 433, 439, 418, 438, 427, 435, 425, + 426, 430, 434, 423, 436, 437, 420 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 210, "character": 17 } ] @@ -20463,26 +20874,26 @@ { "title": "Properties", "kind": 1024, - "children": [358, 361, 360, 357, 356, 359, 362, 363] + "children": [383, 386, 385, 382, 381, 384, 387, 388] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 113, "character": 17 } ] }, { - "id": 429, + "id": 454, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 430, + "id": 455, "name": "id", "kind": 1024, "kindString": "Property", @@ -20493,7 +20904,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 314, "character": 2 } ], @@ -20503,7 +20914,7 @@ } }, { - "id": 431, + "id": 456, "name": "callback", "kind": 2048, "kindString": "Method", @@ -20511,13 +20922,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 318, "character": 2 } ], "signatures": [ { - "id": 432, + "id": 457, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -20527,17 +20938,17 @@ }, "parameters": [ { - "id": 433, + "id": 458, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent", "dereferenced": { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -20552,6 +20963,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -20577,7 +20992,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -20600,7 +21015,7 @@ } }, { - "id": 434, + "id": 459, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -20614,7 +21029,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -20629,7 +21044,7 @@ ] }, { - "id": 435, + "id": 460, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -20637,13 +21052,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 322, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 461, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -20663,31 +21078,31 @@ { "title": "Properties", "kind": 1024, - "children": [430] + "children": [455] }, { "title": "Methods", "kind": 2048, - "children": [431, 435] + "children": [456, 460] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 309, + "line": 310, "character": 17 } ] }, { - "id": 437, + "id": 462, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 438, + "id": 463, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -20695,7 +21110,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 326, "character": 2 } ], @@ -20709,399 +21124,32 @@ { "title": "Properties", "kind": 1024, - "children": [438] + "children": [463] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 324, + "line": 325, "character": 17 } ] }, { - "id": 392, + "id": 417, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 402, + "id": 428, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "UserAppMetadata", - "dereferenced": { - "id": 385, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 386, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 201, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [386] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 200, - "character": 17 - } - ], - "indexSignature": { - "id": 387, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 388, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 396, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 213, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 367, - "name": "UserIdentity" - } - } - }, - { - "id": 401, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 217, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -21115,17 +21163,100 @@ } }, { - "id": 408, - "name": "phone_confirmed_at", + "id": 419, + "name": "app_metadata", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 212, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 410, + "name": "UserAppMetadata", + "dereferenced": { + "id": 410, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 411, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 202, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 201, + "character": 17 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 421, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, "character": 2 } ], @@ -21135,8 +21266,8 @@ } }, { - "id": 398, - "name": "recovery_sent_at", + "id": 422, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21155,8 +21286,8 @@ } }, { - "id": 410, - "name": "role", + "id": 432, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21165,7 +21296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 227, + "line": 225, "character": 2 } ], @@ -21175,8 +21306,172 @@ } }, { - "id": 411, - "name": "updated_at", + "id": 431, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "UserIdentity" + } + } + }, + { + "id": 427, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21195,7 +21490,147 @@ } }, { - "id": 395, + "id": 425, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -21203,16 +21638,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 212, + "line": 213, "character": 2 } ], "type": { "type": "reference", - "id": 389, + "id": 414, "name": "UserMetadata", "dereferenced": { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21220,19 +21655,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -21256,28 +21691,28 @@ "title": "Properties", "kind": 1024, "children": [ - 402, 394, 396, 397, 406, 405, 403, 399, 407, 413, 393, 412, 401, 409, 400, 404, 408, - 398, 410, 411, 395 + 428, 419, 421, 422, 432, 431, 429, 424, 433, 439, 418, 438, 427, 435, 425, 426, 430, + 434, 423, 436, 437, 420 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 210, "character": 17 } ] }, { - "id": 385, + "id": 410, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 386, + "id": 411, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21287,7 +21722,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 202, "character": 2 } ], @@ -21301,25 +21736,25 @@ { "title": "Properties", "kind": 1024, - "children": [386] + "children": [411] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 200, + "line": 201, "character": 17 } ], "indexSignature": { - "id": 387, + "id": 412, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 413, "name": "key", "kind": 32768, "flags": {}, @@ -21336,14 +21771,14 @@ } }, { - "id": 414, + "id": 440, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 418, + "id": 444, "name": "data", "kind": 1024, "kindString": "Property", @@ -21357,7 +21792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 257, "character": 2 } ], @@ -21367,7 +21802,7 @@ } }, { - "id": 415, + "id": 441, "name": "email", "kind": 1024, "kindString": "Property", @@ -21380,7 +21815,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -21390,7 +21825,7 @@ } }, { - "id": 417, + "id": 443, "name": "password", "kind": 1024, "kindString": "Property", @@ -21403,7 +21838,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -21413,7 +21848,7 @@ } }, { - "id": 416, + "id": 442, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21426,7 +21861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -21440,41 +21875,36 @@ { "title": "Properties", "kind": 1024, - "children": [418, 415, 417, 416] + "children": [444, 441, 443, 442] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 233, + "line": 235, "character": 17 } - ], - "extendedBy": [ - { - "type": "reference", - "id": 419, - "name": "AdminUserAttributes" - } ] }, { - "id": 367, + "id": 392, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 375, + "id": 400, "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 168, + "line": 169, "character": 2 } ], @@ -21484,7 +21914,7 @@ } }, { - "id": 368, + "id": 393, "name": "id", "kind": 1024, "kindString": "Property", @@ -21492,7 +21922,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 163, "character": 2 } ], @@ -21502,35 +21932,37 @@ } }, { - "id": 370, + "id": 395, "name": "identity_data", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, + "line": 165, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 372, + "id": 397, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 373, + "id": 398, "name": "key", "kind": 32768, "flags": {}, @@ -21549,46 +21981,10 @@ } }, { - "id": 376, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 169, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 374, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 377, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -21605,7 +22001,45 @@ } }, { - "id": 369, + "id": 399, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 168, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 402, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -21613,7 +22047,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 164, "character": 2 } ], @@ -21627,19 +22061,19 @@ { "title": "Properties", "kind": 1024, - "children": [375, 368, 370, 376, 374, 377, 369] + "children": [400, 393, 395, 401, 399, 402, 394] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 161, + "line": 162, "character": 17 } ] }, { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21647,19 +22081,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -21676,14 +22110,14 @@ } }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -21694,7 +22128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -21704,7 +22138,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -21714,21 +22148,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21741,7 +22175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -21751,7 +22185,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21764,7 +22198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -21778,14 +22212,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -21796,7 +22230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -21806,7 +22240,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -21817,16 +22251,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21834,7 +22268,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -21871,26 +22305,26 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] }, { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -21900,21 +22334,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21933,7 +22367,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -21943,7 +22377,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21956,7 +22390,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -21970,14 +22404,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -21988,7 +22422,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -21998,7 +22432,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -22009,7 +22443,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -22019,7 +22453,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -22030,16 +22464,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -22047,7 +22481,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -22072,19 +22506,19 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -22099,6 +22533,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -22124,7 +22562,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -22145,7 +22583,7 @@ } }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -22163,7 +22601,7 @@ } }, { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -22179,21 +22617,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -22204,7 +22642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -22214,7 +22652,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -22225,7 +22663,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -22239,13 +22677,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -22253,7 +22691,7 @@ } }, { - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -22269,7 +22707,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 844, "character": 12 } ], @@ -22279,14 +22717,14 @@ { "type": "reflection", "declaration": { - "id": 684, + "id": 720, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 685, + "id": 721, "name": "data", "kind": 1024, "kindString": "Property", @@ -22294,21 +22732,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 686, + "id": 722, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 723, "name": "id", "kind": 1024, "kindString": "Property", @@ -22319,7 +22757,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 848, "character": 8 } ], @@ -22333,13 +22771,13 @@ { "title": "Properties", "kind": 1024, - "children": [687] + "children": [723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 12 } ] @@ -22347,7 +22785,7 @@ } }, { - "id": 688, + "id": 724, "name": "error", "kind": 1024, "kindString": "Property", @@ -22355,7 +22793,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 850, "character": 6 } ], @@ -22369,18 +22807,890 @@ { "title": "Properties", "kind": 1024, - "children": [685, 688] + "children": [721, 724] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 828, + "line": 845, "character": 4 } ] } }, + { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 726, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 727, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [726, 727] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 741, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 742, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 743, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 883, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [743] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 44 + } + ] + } + } + }, + { + "id": 732, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 733, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 734, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 735, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 736, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 872, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [736] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 12 + } + ] + } + } + }, + { + "id": 737, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 874, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [734, 737] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 869, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 738, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 739, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 740, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [739, 740] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 667, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 721, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "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": 728, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 671, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 12 + } + ] + } + } + }, + { + "id": 673, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 730, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 676, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675, 676] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 643, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 645, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "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": 682, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 649, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 650, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 651, + "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": 692, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 652, + "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": 697, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "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": 701, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [651, 652, 653] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 14 + } + ] + } + } + }, + { + "id": 648, + "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": 685, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 649, 648] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ] + } + } + }, + { + "id": 654, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 704, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [645, 654] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 679, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 707, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 657, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 708, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 657] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 688, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 749, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { "type": "reflection", "declaration": { @@ -22399,893 +23709,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 835, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 691, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 691] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 705, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 706, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 707, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 866, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [707] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 44 - } - ] - } - } - }, - { - "id": 696, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 851, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 697, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 698, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, + "line": 751, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 699, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 700, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, - "character": 12 - } - ] - } - } - }, - { - "id": 701, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [698, 701] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 852, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 702, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 703, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [703, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 631, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 704, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 636, - "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": 711, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 635, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 12 - } - ] - } - } - }, - { - "id": 637, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 713, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 637] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 705, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 638, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 639, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 640, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [639, 640] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 607, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 661, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 608, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 609, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "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": 665, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 613, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 614, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "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": 675, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 616, - "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": 680, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 617, - "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": 684, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 616, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 14 - } - ] - } - } - }, - { - "id": 612, - "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": 668, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 613, 612] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 12 - } - ] - } - } - }, - { - "id": 618, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 687, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [609, 618] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 620, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 691, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [620, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 689, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 652, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 732, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 653, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 654, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 734, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 655, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 658, + "id": 694, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -23296,7 +23734,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 768, "character": 8 } ], @@ -23304,13 +23742,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 364, + "id": 389, "name": "AMREntry" } } }, { - "id": 656, + "id": 692, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -23321,7 +23759,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 753, "character": 8 } ], @@ -23330,7 +23768,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -23341,7 +23779,7 @@ } }, { - "id": 657, + "id": 693, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -23358,7 +23796,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 761, "character": 8 } ], @@ -23367,7 +23805,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -23382,13 +23820,13 @@ { "title": "Properties", "kind": 1024, - "children": [658, 656, 657] + "children": [694, 692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 751, "character": 12 } ] @@ -23396,7 +23834,7 @@ } }, { - "id": 659, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -23404,7 +23842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 770, "character": 6 } ], @@ -23418,13 +23856,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [690, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 750, "character": 4 } ] @@ -23433,14 +23871,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -23448,7 +23886,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 6 } ], @@ -23458,7 +23896,7 @@ } }, { - "id": 662, + "id": 698, "name": "error", "kind": 1024, "kindString": "Property", @@ -23466,13 +23904,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -23481,13 +23919,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 662] + "children": [697, 698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 4 } ] @@ -23497,7 +23935,7 @@ } }, { - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -23505,7 +23943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 734, "character": 12 } ], @@ -23515,14 +23953,335 @@ { "type": "reflection", "declaration": { - "id": 642, + "id": 678, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 643, + "id": 679, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 682, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 12 + } + ] + } + } + }, + { + "id": 683, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 683] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 735, + "character": 4 + } + ] + } + }, + { + "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": 745, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 686, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 658, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 659, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 660, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully unenrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 715, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [662] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 12 + } + ] + } + } + }, + { + "id": 663, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [660, 663] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 712, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 664, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, "name": "data", "kind": 1024, "kindString": "Property", @@ -23535,84 +24294,12 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 644, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 645, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 721, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 646, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 724, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [645, 646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 719, - "character": 12 - } - ] - } + "type": "literal", + "value": null } }, { - "id": 647, + "id": 666, "name": "error", "kind": 1024, "kindString": "Property", @@ -23620,75 +24307,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [643, 647] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 648, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 649, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 650, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -23697,13 +24322,13 @@ { "title": "Properties", "kind": 1024, - "children": [649, 650] + "children": [665, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 4 } ] @@ -23713,194 +24338,7 @@ } }, { - "id": 622, - "name": "AuthMFAUnenrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 694, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 623, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 624, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully unenrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 698, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 12 - } - ] - } - } - }, - { - "id": 627, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 700, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [624, 627] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 695, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 628, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 629, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 630, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [629, 630] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -23908,7 +24346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 653, "character": 12 } ], @@ -23918,14 +24356,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 631, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 632, "name": "data", "kind": 1024, "kindString": "Property", @@ -23933,21 +24371,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 598, + "id": 634, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -23958,7 +24396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 657, "character": 8 } ], @@ -23968,7 +24406,7 @@ } }, { - "id": 600, + "id": 636, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -23979,7 +24417,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 663, "character": 8 } ], @@ -23989,7 +24427,7 @@ } }, { - "id": 601, + "id": 637, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -24000,7 +24438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 666, "character": 8 } ], @@ -24010,7 +24448,7 @@ } }, { - "id": 599, + "id": 635, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -24021,7 +24459,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 643, + "line": 660, "character": 8 } ], @@ -24031,7 +24469,7 @@ } }, { - "id": 602, + "id": 638, "name": "user", "kind": 1024, "kindString": "Property", @@ -24042,13 +24480,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 669, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -24057,13 +24495,13 @@ { "title": "Properties", "kind": 1024, - "children": [598, 600, 601, 599, 602] + "children": [634, 636, 637, 635, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 12 } ] @@ -24071,7 +24509,7 @@ } }, { - "id": 603, + "id": 639, "name": "error", "kind": 1024, "kindString": "Property", @@ -24079,7 +24517,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 671, "character": 6 } ], @@ -24093,13 +24531,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 603] + "children": [632, 639] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 654, "character": 4 } ] @@ -24108,14 +24546,14 @@ { "type": "reflection", "declaration": { - "id": 604, + "id": 640, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 641, "name": "data", "kind": 1024, "kindString": "Property", @@ -24123,7 +24561,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 674, "character": 6 } ], @@ -24133,7 +24571,7 @@ } }, { - "id": 606, + "id": 642, "name": "error", "kind": 1024, "kindString": "Property", @@ -24141,13 +24579,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 675, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -24156,13 +24594,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606] + "children": [641, 642] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 673, "character": 4 } ] @@ -24172,7 +24610,7 @@ } }, { - "id": 309, + "id": 334, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -24180,7 +24618,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 54, "character": 12 } ], @@ -24190,14 +24628,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 336, "name": "data", "kind": 1024, "kindString": "Property", @@ -24205,25 +24643,53 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 312, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 339, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 338, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -24236,35 +24702,7 @@ "types": [ { "type": "reference", - "id": 355, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 313, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 392, + "id": 417, "name": "User" }, { @@ -24279,13 +24717,13 @@ { "title": "Properties", "kind": 1024, - "children": [314, 313] + "children": [339, 338] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ] @@ -24293,7 +24731,7 @@ } }, { - "id": 315, + "id": 340, "name": "error", "kind": 1024, "kindString": "Property", @@ -24301,7 +24739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 6 } ], @@ -24315,13 +24753,13 @@ { "title": "Properties", "kind": 1024, - "children": [311, 315] + "children": [336, 340] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 54, + "line": 55, "character": 4 } ] @@ -24330,14 +24768,14 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -24345,25 +24783,43 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 345, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 65, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 344, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -24375,37 +24831,19 @@ "type": "literal", "value": null } - }, - { - "id": 319, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 63, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [320, 319] + "children": [345, 344] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 12 } ] @@ -24413,7 +24851,7 @@ } }, { - "id": 321, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -24421,13 +24859,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 67, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -24436,13 +24874,13 @@ { "title": "Properties", "kind": 1024, - "children": [317, 321] + "children": [342, 346] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 4 } ] @@ -24452,7 +24890,7 @@ } }, { - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -24460,7 +24898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 747, "character": 12 } ], @@ -24479,7 +24917,7 @@ } }, { - "id": 719, + "id": 755, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -24487,7 +24925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 905, + "line": 922, "character": 12 } ], @@ -24497,14 +24935,14 @@ { "type": "reflection", "declaration": { - "id": 720, + "id": 756, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 722, + "id": 758, "name": "error", "kind": 1024, "kindString": "Property", @@ -24512,7 +24950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 925, "character": 6 } ], @@ -24522,7 +24960,7 @@ } }, { - "id": 721, + "id": 757, "name": "session", "kind": 1024, "kindString": "Property", @@ -24530,13 +24968,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 924, "character": 6 } ], "type": { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } } @@ -24545,13 +24983,13 @@ { "title": "Properties", "kind": 1024, - "children": [722, 721] + "children": [758, 757] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 923, "character": 4 } ] @@ -24560,14 +24998,14 @@ { "type": "reflection", "declaration": { - "id": 723, + "id": 759, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 725, + "id": 761, "name": "error", "kind": 1024, "kindString": "Property", @@ -24575,18 +25013,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 929, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } }, { - "id": 724, + "id": 760, "name": "session", "kind": 1024, "kindString": "Property", @@ -24594,7 +25032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 928, "character": 6 } ], @@ -24608,13 +25046,13 @@ { "title": "Properties", "kind": 1024, - "children": [725, 724] + "children": [761, 760] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 927, "character": 4 } ] @@ -24624,7 +25062,7 @@ } }, { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24632,7 +25070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -24663,7 +25101,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -24671,21 +25109,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -24696,7 +25134,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -24706,7 +25144,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -24717,7 +25155,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -24727,7 +25165,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -24737,7 +25175,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -24746,7 +25184,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -24760,7 +25198,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -24768,7 +25206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -24791,13 +25229,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -24805,7 +25243,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -24813,21 +25251,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -24838,7 +25276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -24848,7 +25286,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -24858,7 +25296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -24867,7 +25305,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -24890,7 +25328,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -24898,7 +25336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -24921,13 +25359,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -24935,7 +25373,7 @@ } }, { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -24943,7 +25381,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -24951,7 +25389,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -24959,21 +25397,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -24981,7 +25419,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -24991,7 +25429,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -25001,7 +25439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -25010,7 +25448,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -25033,7 +25471,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -25041,7 +25479,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -25051,7 +25489,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -25059,7 +25497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -25073,13 +25511,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -25087,7 +25525,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -25095,21 +25533,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -25120,7 +25558,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -25130,7 +25568,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -25140,7 +25578,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -25149,7 +25587,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -25172,7 +25610,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -25180,7 +25618,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -25203,13 +25641,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -25217,7 +25655,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -25225,21 +25663,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -25250,7 +25688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -25260,7 +25698,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -25270,7 +25708,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -25279,7 +25717,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -25293,7 +25731,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -25301,7 +25739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -25315,13 +25753,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -25329,7 +25767,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -25337,21 +25775,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -25362,7 +25800,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -25372,7 +25810,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -25383,7 +25821,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -25393,7 +25831,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -25403,7 +25841,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -25412,7 +25850,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -25426,7 +25864,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -25434,7 +25872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -25457,13 +25895,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -25474,7 +25912,7 @@ } }, { - "id": 566, + "id": 602, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -25485,21 +25923,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 603, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 604, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -25510,7 +25948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 592, "character": 2 } ], @@ -25520,7 +25958,7 @@ } }, { - "id": 569, + "id": 605, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -25531,7 +25969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 597, "character": 2 } ], @@ -25541,7 +25979,7 @@ } }, { - "id": 570, + "id": 606, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -25552,7 +25990,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 601, "character": 2 } ], @@ -25562,7 +26000,7 @@ } }, { - "id": 571, + "id": 607, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -25573,7 +26011,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 586, + "line": 603, "character": 2 } ], @@ -25583,7 +26021,7 @@ } }, { - "id": 572, + "id": 608, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -25594,16 +26032,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 605, "character": 2 } ], "type": { "type": "reference", - "id": 573, + "id": 609, "name": "GenerateLinkType", "dereferenced": { - "id": 573, + "id": 609, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -25611,7 +26049,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 608, "character": 12 } ], @@ -25652,13 +26090,13 @@ { "title": "Properties", "kind": 1024, - "children": [568, 569, 570, 571, 572] + "children": [604, 605, 606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 37 } ] @@ -25666,7 +26104,7 @@ } }, { - "id": 553, + "id": 589, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -25674,7 +26112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 553, + "line": 570, "character": 12 } ], @@ -25684,14 +26122,14 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 591, "name": "data", "kind": 1024, "kindString": "Property", @@ -25699,21 +26137,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 593, "name": "properties", "kind": 1024, "kindString": "Property", @@ -25721,18 +26159,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 556, + "line": 573, "character": 8 } ], "type": { "type": "reference", - "id": 566, + "id": 602, "name": "GenerateLinkProperties" } }, { - "id": 558, + "id": 594, "name": "user", "kind": 1024, "kindString": "Property", @@ -25740,13 +26178,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 557, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -25755,13 +26193,13 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [593, 594] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 12 } ] @@ -25769,7 +26207,7 @@ } }, { - "id": 559, + "id": 595, "name": "error", "kind": 1024, "kindString": "Property", @@ -25777,7 +26215,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 559, + "line": 576, "character": 6 } ], @@ -25791,13 +26229,13 @@ { "title": "Properties", "kind": 1024, - "children": [555, 559] + "children": [591, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 571, "character": 4 } ] @@ -25806,14 +26244,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -25821,21 +26259,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 563, + "id": 599, "name": "properties", "kind": 1024, "kindString": "Property", @@ -25843,7 +26281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 563, + "line": 580, "character": 8 } ], @@ -25853,7 +26291,7 @@ } }, { - "id": 564, + "id": 600, "name": "user", "kind": 1024, "kindString": "Property", @@ -25861,7 +26299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 564, + "line": 581, "character": 8 } ], @@ -25875,13 +26313,13 @@ { "title": "Properties", "kind": 1024, - "children": [563, 564] + "children": [599, 600] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 12 } ] @@ -25889,7 +26327,7 @@ } }, { - "id": 565, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -25897,13 +26335,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 566, + "line": 583, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -25912,13 +26350,13 @@ { "title": "Properties", "kind": 1024, - "children": [561, 565] + "children": [597, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 578, "character": 4 } ] @@ -25928,7 +26366,7 @@ } }, { - "id": 573, + "id": 609, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -25936,7 +26374,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 608, "character": 12 } ], @@ -25971,7 +26409,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -25979,21 +26417,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -26004,7 +26442,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -26014,7 +26452,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -26024,7 +26462,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -26033,7 +26471,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -26047,7 +26485,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -26055,7 +26493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -26069,13 +26507,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -26083,7 +26521,7 @@ } }, { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -26091,21 +26529,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -26113,7 +26551,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -26123,7 +26561,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -26133,7 +26571,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -26142,7 +26580,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -26165,7 +26603,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -26173,7 +26611,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -26183,7 +26621,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -26191,7 +26629,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -26205,13 +26643,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -26219,7 +26657,7 @@ } }, { - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -26227,21 +26665,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 330, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -26251,7 +26689,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 45, "character": 2 } ], @@ -26261,7 +26699,7 @@ } }, { - "id": 304, + "id": 329, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -26271,7 +26709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -26281,7 +26719,7 @@ } }, { - "id": 308, + "id": 333, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -26291,7 +26729,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -26301,7 +26739,7 @@ } }, { - "id": 299, + "id": 324, "name": "headers", "kind": 1024, "kindString": "Property", @@ -26311,14 +26749,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 300, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -26326,19 +26764,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 12 } ], "indexSignature": { - "id": 301, + "id": 326, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 302, + "id": 327, "name": "key", "kind": 32768, "flags": {}, @@ -26357,7 +26795,7 @@ } }, { - "id": 306, + "id": 331, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -26367,7 +26805,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -26377,7 +26815,7 @@ } }, { - "id": 307, + "id": 332, "name": "storage", "kind": 1024, "kindString": "Property", @@ -26387,16 +26825,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 49, "character": 2 } ], "type": { "type": "reference", - "id": 715, + "id": 751, "name": "SupportedStorage", "dereferenced": { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -26404,7 +26842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -26449,7 +26887,7 @@ } }, { - "id": 303, + "id": 328, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -26459,7 +26897,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 41, "character": 2 } ], @@ -26469,7 +26907,7 @@ } }, { - "id": 298, + "id": 323, "name": "url", "kind": 1024, "kindString": "Property", @@ -26479,7 +26917,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 37, "character": 2 } ], @@ -26493,13 +26931,13 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304, 308, 299, 306, 307, 303, 298] + "children": [330, 329, 333, 324, 331, 332, 328, 323] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 34 } ] @@ -26507,7 +26945,7 @@ } }, { - "id": 716, + "id": 752, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -26515,21 +26953,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 717, + "id": 753, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 718, + "id": 754, "name": "error", "kind": 1024, "kindString": "Property", @@ -26537,7 +26975,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 33 } ], @@ -26546,7 +26984,7 @@ "types": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, { @@ -26561,13 +26999,13 @@ { "title": "Properties", "kind": 1024, - "children": [718] + "children": [754] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 31 } ] @@ -26575,7 +27013,7 @@ } }, { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -26583,21 +27021,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -26608,7 +27046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -26618,7 +27056,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26629,7 +27067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -26643,13 +27081,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -26657,7 +27095,7 @@ } }, { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -26665,21 +27103,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26690,7 +27128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -26704,13 +27142,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -26718,7 +27156,7 @@ } }, { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -26726,21 +27164,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26751,7 +27189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -26761,7 +27199,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26774,7 +27212,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -26784,7 +27222,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -26797,7 +27235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -26811,13 +27249,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -26825,7 +27263,7 @@ } }, { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -26833,21 +27271,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26858,7 +27296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -26872,13 +27310,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -26886,7 +27324,7 @@ } }, { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -26894,21 +27332,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -26919,7 +27357,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -26929,7 +27367,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -26940,7 +27378,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -26950,7 +27388,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26961,7 +27399,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -26975,13 +27413,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -26989,7 +27427,7 @@ } }, { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -26997,7 +27435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -27016,7 +27454,34 @@ } }, { - "id": 322, + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 347, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -27024,7 +27489,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 12 } ], @@ -27034,14 +27499,14 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 349, "name": "data", "kind": 1024, "kindString": "Property", @@ -27049,21 +27514,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 325, + "id": 350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 326, + "id": 351, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27071,18 +27536,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 72, + "line": 73, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 327, + "id": 352, "name": "url", "kind": 1024, "kindString": "Property", @@ -27090,7 +27555,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 74, "character": 8 } ], @@ -27104,13 +27569,13 @@ { "title": "Properties", "kind": 1024, - "children": [326, 327] + "children": [351, 352] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 12 } ] @@ -27118,7 +27583,7 @@ } }, { - "id": 328, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -27126,7 +27591,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 76, "character": 6 } ], @@ -27140,13 +27605,13 @@ { "title": "Properties", "kind": 1024, - "children": [324, 328] + "children": [349, 353] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 70, + "line": 71, "character": 4 } ] @@ -27155,14 +27620,14 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -27170,21 +27635,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 331, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 332, + "id": 357, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27192,18 +27657,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 79, + "line": 80, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 333, + "id": 358, "name": "url", "kind": 1024, "kindString": "Property", @@ -27211,7 +27676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 81, "character": 8 } ], @@ -27225,13 +27690,13 @@ { "title": "Properties", "kind": 1024, - "children": [332, 333] + "children": [357, 358] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 12 } ] @@ -27239,7 +27704,7 @@ } }, { - "id": 334, + "id": 359, "name": "error", "kind": 1024, "kindString": "Property", @@ -27247,13 +27712,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 83, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -27262,13 +27727,13 @@ { "title": "Properties", "kind": 1024, - "children": [330, 334] + "children": [355, 359] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 78, "character": 4 } ] @@ -27278,7 +27743,7 @@ } }, { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -27286,21 +27751,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -27313,7 +27778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -27323,7 +27788,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -27336,7 +27801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -27350,13 +27815,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -27364,7 +27829,7 @@ } }, { - "id": 726, + "id": 762, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -27372,21 +27837,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 763, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 729, + "id": 765, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -27394,7 +27859,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 935, "character": 2 } ], @@ -27404,7 +27869,7 @@ } }, { - "id": 728, + "id": 764, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -27412,7 +27877,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 934, "character": 2 } ], @@ -27431,7 +27896,7 @@ } }, { - "id": 730, + "id": 766, "name": "total", "kind": 1024, "kindString": "Property", @@ -27439,7 +27904,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 936, "character": 2 } ], @@ -27453,25 +27918,25 @@ { "title": "Properties", "kind": 1024, - "children": [729, 728, 730] + "children": [765, 764, 766] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 25 } ], "indexSignature": { - "id": 731, + "id": 767, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 732, + "id": 768, "name": "key", "kind": 32768, "flags": {}, @@ -27490,7 +27955,7 @@ } }, { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -27576,7 +28041,7 @@ } }, { - "id": 335, + "id": 360, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -27584,7 +28049,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 85, + "line": 86, "character": 12 } ], @@ -27594,14 +28059,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 362, "name": "data", "kind": 1024, "kindString": "Property", @@ -27609,21 +28074,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 364, "name": "url", "kind": 1024, "kindString": "Property", @@ -27634,7 +28099,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 89, + "line": 90, "character": 8 } ], @@ -27648,13 +28113,13 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [364] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 12 } ] @@ -27662,7 +28127,7 @@ } }, { - "id": 340, + "id": 365, "name": "error", "kind": 1024, "kindString": "Property", @@ -27670,7 +28135,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 92, "character": 6 } ], @@ -27684,13 +28149,13 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [362, 365] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 87, "character": 4 } ] @@ -27699,36 +28164,18 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 366, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 367, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 343, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -27736,9 +28183,27 @@ "character": 6 } ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 368, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 96, + "character": 6 + } + ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -27747,13 +28212,13 @@ { "title": "Properties", "kind": 1024, - "children": [342, 343] + "children": [367, 368] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 94, "character": 4 } ] @@ -27763,7 +28228,186 @@ } }, { - "id": 486, + "id": 526, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "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": 458, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 531, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 533, + "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": 461, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [533] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 12 + } + ] + } + } + }, + { + "id": 528, + "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": 454, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 529, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 531, 528, 529] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 43 + } + ] + } + } + }, + { + "id": 513, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -27778,14 +28422,14 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -27802,14 +28446,65 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 525, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to 'pkce' PKCE flow. Defaults to the 'implicit' flow otherwise" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "OAuthFlowType", + "dereferenced": { + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + } + } + }, + { + "id": 520, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -27829,7 +28524,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -27842,14 +28537,14 @@ } ], "indexSignature": { - "id": 495, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -27868,7 +28563,7 @@ } }, { - "id": 491, + "id": 518, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -27891,7 +28586,7 @@ } }, { - "id": 492, + "id": 519, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -27914,7 +28609,7 @@ } }, { - "id": 497, + "id": 524, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -27941,7 +28636,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 491, 492, 497] + "children": [525, 520, 518, 519, 524] } ], "sources": [ @@ -27955,7 +28650,7 @@ } }, { - "id": 488, + "id": 515, "name": "provider", "kind": 1024, "kindString": "Property", @@ -27972,10 +28667,10 @@ ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider", "dereferenced": { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -28067,7 +28762,7 @@ { "title": "Properties", "kind": 1024, - "children": [489, 488] + "children": [516, 515] } ], "sources": [ @@ -28081,7 +28776,7 @@ } }, { - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -28089,7 +28784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 363, + "line": 364, "character": 12 } ], @@ -28099,14 +28794,14 @@ { "type": "reflection", "declaration": { - "id": 456, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 482, "name": "email", "kind": 1024, "kindString": "Property", @@ -28117,7 +28812,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 367, "character": 6 } ], @@ -28127,7 +28822,7 @@ } }, { - "id": 459, + "id": 484, "name": "options", "kind": 1024, "kindString": "Property", @@ -28137,21 +28832,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 485, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 462, + "id": 486, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28164,7 +28859,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 372, "character": 8 } ], @@ -28172,43 +28867,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 461, - "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": 375, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [462, 461] + "children": [486] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 16 } ] @@ -28216,7 +28887,7 @@ } }, { - "id": 458, + "id": 483, "name": "password", "kind": 1024, "kindString": "Property", @@ -28227,7 +28898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 368, + "line": 369, "character": 6 } ], @@ -28241,13 +28912,13 @@ { "title": "Properties", "kind": 1024, - "children": [457, 459, 458] + "children": [482, 484, 483] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 364, + "line": 365, "character": 4 } ] @@ -28256,14 +28927,14 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 490, "name": "options", "kind": 1024, "kindString": "Property", @@ -28273,21 +28944,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 467, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 493, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28300,7 +28971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 393, + "line": 388, "character": 8 } ], @@ -28310,7 +28981,39 @@ } }, { - "id": 468, + "id": 494, + "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": 390, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 492, "name": "data", "kind": 1024, "kindString": "Property", @@ -28324,7 +29027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 391, + "line": 386, "character": 8 } ], @@ -28338,13 +29041,13 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468] + "children": [493, 494, 492] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 16 } ] @@ -28352,7 +29055,7 @@ } }, { - "id": 465, + "id": 489, "name": "password", "kind": 1024, "kindString": "Property", @@ -28363,7 +29066,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 379, "character": 6 } ], @@ -28373,7 +29076,7 @@ } }, { - "id": 464, + "id": 488, "name": "phone", "kind": 1024, "kindString": "Property", @@ -28384,7 +29087,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 377, "character": 6 } ], @@ -28398,13 +29101,13 @@ { "title": "Properties", "kind": 1024, - "children": [466, 465, 464] + "children": [490, 489, 488] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 375, "character": 4 } ] @@ -28414,7 +29117,7 @@ } }, { - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -28422,7 +29125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 397, + "line": 394, "character": 12 } ], @@ -28432,14 +29135,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 497, "name": "email", "kind": 1024, "kindString": "Property", @@ -28450,7 +29153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 400, + "line": 397, "character": 6 } ], @@ -28460,7 +29163,7 @@ } }, { - "id": 473, + "id": 498, "name": "options", "kind": 1024, "kindString": "Property", @@ -28470,21 +29173,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 499, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 503, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28497,7 +29200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 413, + "line": 410, "character": 8 } ], @@ -28507,7 +29210,7 @@ } }, { - "id": 477, + "id": 502, "name": "data", "kind": 1024, "kindString": "Property", @@ -28521,7 +29224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 411, + "line": 408, "character": 8 } ], @@ -28531,7 +29234,7 @@ } }, { - "id": 475, + "id": 500, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -28544,7 +29247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 400, "character": 8 } ], @@ -28554,7 +29257,7 @@ } }, { - "id": 476, + "id": 501, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -28567,7 +29270,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 402, "character": 8 } ], @@ -28581,13 +29284,13 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 475, 476] + "children": [503, 502, 500, 501] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 16 } ] @@ -28599,13 +29302,13 @@ { "title": "Properties", "kind": 1024, - "children": [472, 473] + "children": [497, 498] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 395, "character": 4 } ] @@ -28614,14 +29317,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 481, + "id": 506, "name": "options", "kind": 1024, "kindString": "Property", @@ -28631,21 +29334,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 507, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 510, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28658,7 +29361,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 429, + "line": 426, "character": 8 } ], @@ -28668,7 +29371,39 @@ } }, { - "id": 484, + "id": 511, + "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": 428, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -28682,7 +29417,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 427, + "line": 424, "character": 8 } ], @@ -28692,7 +29427,7 @@ } }, { - "id": 483, + "id": 508, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -28705,7 +29440,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 418, "character": 8 } ], @@ -28719,13 +29454,13 @@ { "title": "Properties", "kind": 1024, - "children": [485, 484, 483] + "children": [510, 511, 509, 508] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 16 } ] @@ -28733,7 +29468,7 @@ } }, { - "id": 480, + "id": 505, "name": "phone", "kind": 1024, "kindString": "Property", @@ -28744,7 +29479,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 415, "character": 6 } ], @@ -28758,13 +29493,13 @@ { "title": "Properties", "kind": 1024, - "children": [481, 480] + "children": [506, 505] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 413, "character": 4 } ] @@ -28774,7 +29509,7 @@ } }, { - "id": 517, + "id": 553, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -28782,7 +29517,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 12 } ], @@ -28792,14 +29527,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 555, "name": "options", "kind": 1024, "kindString": "Property", @@ -28809,21 +29544,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 558, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -28836,7 +29571,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 508, "character": 4 } ], @@ -28846,7 +29581,7 @@ } }, { - "id": 521, + "id": 557, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -28859,7 +29594,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 506, "character": 4 } ], @@ -28873,13 +29608,13 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [558, 557] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 12 } ] @@ -28891,13 +29626,13 @@ { "title": "Properties", "kind": 1024, - "children": [519] + "children": [555] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 28 } ] @@ -28909,14 +29644,14 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 559, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 524, + "id": 560, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -28927,7 +29662,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 496, + "line": 513, "character": 6 } ], @@ -28941,13 +29676,13 @@ { "title": "Properties", "kind": 1024, - "children": [524] + "children": [560] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 494, + "line": 511, "character": 4 } ] @@ -28956,14 +29691,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 562, "name": "domain", "kind": 1024, "kindString": "Property", @@ -28974,7 +29709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 517, "character": 6 } ], @@ -28988,13 +29723,13 @@ { "title": "Properties", "kind": 1024, - "children": [526] + "children": [562] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 515, "character": 4 } ] @@ -29006,7 +29741,7 @@ } }, { - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -29014,7 +29749,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 329, "character": 12 } ], @@ -29024,14 +29759,14 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 466, "name": "email", "kind": 1024, "kindString": "Property", @@ -29042,7 +29777,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 331, + "line": 332, "character": 6 } ], @@ -29052,7 +29787,7 @@ } }, { - "id": 443, + "id": 468, "name": "options", "kind": 1024, "kindString": "Property", @@ -29062,21 +29797,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 469, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 447, + "id": 472, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29089,7 +29824,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 345, "character": 8 } ], @@ -29099,7 +29834,7 @@ } }, { - "id": 446, + "id": 471, "name": "data", "kind": 1024, "kindString": "Property", @@ -29113,7 +29848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 343, "character": 8 } ], @@ -29123,7 +29858,7 @@ } }, { - "id": 445, + "id": 470, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -29136,7 +29871,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 337, "character": 8 } ], @@ -29150,13 +29885,13 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 445] + "children": [472, 471, 470] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 16 } ] @@ -29164,7 +29899,7 @@ } }, { - "id": 442, + "id": 467, "name": "password", "kind": 1024, "kindString": "Property", @@ -29175,7 +29910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 334, "character": 6 } ], @@ -29189,13 +29924,13 @@ { "title": "Properties", "kind": 1024, - "children": [441, 443, 442] + "children": [466, 468, 467] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 330, "character": 4 } ] @@ -29204,14 +29939,14 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 476, "name": "options", "kind": 1024, "kindString": "Property", @@ -29221,21 +29956,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 454, + "id": 479, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29248,7 +29983,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 361, "character": 8 } ], @@ -29258,7 +29993,7 @@ } }, { - "id": 453, + "id": 478, "name": "data", "kind": 1024, "kindString": "Property", @@ -29272,7 +30007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 359, "character": 8 } ], @@ -29286,13 +30021,13 @@ { "title": "Properties", "kind": 1024, - "children": [454, 453] + "children": [479, 478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 16 } ] @@ -29300,7 +30035,7 @@ } }, { - "id": 450, + "id": 475, "name": "password", "kind": 1024, "kindString": "Property", @@ -29311,7 +30046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 352, "character": 6 } ], @@ -29321,7 +30056,7 @@ } }, { - "id": 449, + "id": 474, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29332,7 +30067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 349, + "line": 350, "character": 6 } ], @@ -29346,13 +30081,13 @@ { "title": "Properties", "kind": 1024, - "children": [451, 450, 449] + "children": [476, 475, 474] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 347, + "line": 348, "character": 4 } ] @@ -29362,7 +30097,7 @@ } }, { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -29370,7 +30105,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -29413,7 +30148,7 @@ } }, { - "id": 344, + "id": 369, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -29421,7 +30156,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 99, "character": 12 } ], @@ -29431,14 +30166,14 @@ { "type": "reflection", "declaration": { - "id": 345, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 346, + "id": 371, "name": "data", "kind": 1024, "kindString": "Property", @@ -29446,21 +30181,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 347, + "id": 372, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 348, + "id": 373, "name": "user", "kind": 1024, "kindString": "Property", @@ -29468,13 +30203,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 102, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -29483,13 +30218,13 @@ { "title": "Properties", "kind": 1024, - "children": [348] + "children": [373] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 12 } ] @@ -29497,7 +30232,7 @@ } }, { - "id": 349, + "id": 374, "name": "error", "kind": 1024, "kindString": "Property", @@ -29505,7 +30240,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 104, "character": 6 } ], @@ -29519,13 +30254,13 @@ { "title": "Properties", "kind": 1024, - "children": [346, 349] + "children": [371, 374] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 100, "character": 4 } ] @@ -29534,14 +30269,14 @@ { "type": "reflection", "declaration": { - "id": 350, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 376, "name": "data", "kind": 1024, "kindString": "Property", @@ -29549,21 +30284,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 377, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 378, "name": "user", "kind": 1024, "kindString": "Property", @@ -29571,7 +30306,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 107, + "line": 108, "character": 8 } ], @@ -29585,13 +30320,13 @@ { "title": "Properties", "kind": 1024, - "children": [353] + "children": [378] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 12 } ] @@ -29599,7 +30334,7 @@ } }, { - "id": 354, + "id": 379, "name": "error", "kind": 1024, "kindString": "Property", @@ -29607,13 +30342,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 110, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -29622,13 +30357,13 @@ { "title": "Properties", "kind": 1024, - "children": [351, 354] + "children": [376, 379] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 105, + "line": 106, "character": 4 } ] @@ -29638,7 +30373,7 @@ } }, { - "id": 498, + "id": 534, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -29646,7 +30381,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 465, "character": 12 } ], @@ -29654,14 +30389,14 @@ "type": "union", "types": [ { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -29671,21 +30406,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29704,7 +30439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -29714,7 +30449,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -29727,7 +30462,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -29741,14 +30476,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29759,7 +30494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -29769,7 +30504,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -29780,7 +30515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -29790,7 +30525,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -29801,16 +30536,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -29818,7 +30553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -29843,26 +30578,26 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -29873,7 +30608,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -29883,7 +30618,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -29893,21 +30628,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -29920,7 +30655,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -29930,7 +30665,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -29943,7 +30678,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -29957,14 +30692,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -29975,7 +30710,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -29985,7 +30720,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -29996,16 +30731,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -30013,7 +30748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -30050,13 +30785,13 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] @@ -30065,7 +30800,7 @@ } }, { - "id": 740, + "id": 776, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -30079,14 +30814,14 @@ ], "signatures": [ { - "id": 741, + "id": 777, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 742, + "id": 778, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -30103,7 +30838,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" } } @@ -30111,7 +30846,7 @@ ] }, { - "id": 737, + "id": 773, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -30125,14 +30860,14 @@ ], "signatures": [ { - "id": 738, + "id": 774, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 775, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -30149,7 +30884,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -30161,28 +30896,28 @@ { "title": "Classes", "kind": 128, - "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77] + "children": [786, 779, 847, 834, 872, 822, 799, 807, 1, 77] }, { "title": "Interfaces", "kind": 256, "children": [ - 364, 419, 378, 549, 708, 663, 355, 429, 437, 392, 385, 414, 367, 389, 507, 499 + 389, 445, 403, 585, 744, 699, 380, 454, 462, 417, 410, 440, 392, 414, 543, 535 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 295, 294, 692, 683, 705, 696, 631, 607, 652, 641, 622, 594, 309, 651, 719, 516, 543, - 533, 552, 566, 553, 573, 538, 527, 296, 716, 590, 587, 574, 579, 582, 515, 322, 733, - 726, 293, 335, 486, 455, 470, 517, 439, 715, 344, 498 + 320, 319, 728, 719, 741, 732, 667, 643, 688, 677, 658, 630, 334, 687, 755, 552, 579, + 569, 588, 602, 589, 609, 574, 563, 321, 752, 626, 623, 610, 615, 618, 551, 512, 347, + 769, 762, 318, 360, 526, 513, 480, 495, 553, 464, 751, 369, 534 ] }, { "title": "Functions", "kind": 64, - "children": [740, 737] + "children": [776, 773] } ], "sources": [ @@ -30202,7 +30937,7 @@ "originalName": "", "children": [ { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -30211,7 +30946,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -30225,14 +30960,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -30241,24 +30976,24 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -30270,17 +31005,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -30292,7 +31027,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -30302,7 +31037,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -30312,15 +31047,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -30334,11 +31069,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -30348,7 +31083,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -30368,7 +31103,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -30389,7 +31124,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -30406,21 +31141,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -30444,7 +31179,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -30479,7 +31214,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -30511,7 +31246,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -30552,7 +31287,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -30573,7 +31308,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -30594,7 +31329,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -30617,7 +31352,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -30639,7 +31374,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -30653,33 +31388,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -30691,90 +31426,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -30805,6 +31459,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -30820,7 +31555,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -30828,7 +31563,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -30854,12 +31589,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -30881,7 +31616,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -30895,7 +31630,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -30906,11 +31641,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -30924,17 +31659,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -30946,7 +31681,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -30956,7 +31691,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -30966,15 +31701,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -32216,7 +32951,7 @@ "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", @@ -32226,7 +32961,7 @@ ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -32235,7 +32970,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -32249,14 +32984,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -32265,18 +33000,18 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -32287,11 +33022,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -32301,7 +33036,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -32321,7 +33056,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -32342,7 +33077,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -32359,21 +33094,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -32397,7 +33132,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -32432,7 +33167,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -32464,7 +33199,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -32505,7 +33240,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -32526,7 +33261,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -32547,7 +33282,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -32570,7 +33305,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -32592,7 +33327,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -32606,33 +33341,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -32644,90 +33379,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -32758,6 +33412,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -32773,7 +33508,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -32781,7 +33516,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -32807,12 +33542,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -32834,7 +33569,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -32848,7 +33583,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -32859,11 +33594,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -32877,17 +33612,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -32899,7 +33634,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -32909,7 +33644,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -32919,15 +33654,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -32963,19 +33698,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 403, + "id": 405, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 402, + "id": 404, "name": "default.constructor" } }, { - "id": 383, + "id": 385, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -32995,12 +33730,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 480, + "id": 484, "name": "default.allowEmpty" } }, { - "id": 375, + "id": 377, "name": "body", "kind": 1024, "kindString": "Property", @@ -33021,12 +33756,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 472, + "id": 476, "name": "default.body" } }, { - "id": 378, + "id": 380, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -33043,21 +33778,21 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 381, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 380, + "id": 382, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 381, + "id": 383, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -33081,7 +33816,7 @@ } }, { - "id": 382, + "id": 384, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -33116,12 +33851,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 475, + "id": 479, "name": "default.fetch" } }, { - "id": 373, + "id": 375, "name": "headers", "kind": 1024, "kindString": "Property", @@ -33153,12 +33888,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 470, + "id": 474, "name": "default.headers" } }, { - "id": 371, + "id": 373, "name": "method", "kind": 1024, "kindString": "Property", @@ -33199,12 +33934,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 468, + "id": 472, "name": "default.method" } }, { - "id": 374, + "id": 376, "name": "schema", "kind": 1024, "kindString": "Property", @@ -33225,12 +33960,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 471, + "id": 475, "name": "default.schema" } }, { - "id": 376, + "id": 378, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -33251,12 +33986,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 473, + "id": 477, "name": "default.shouldThrowOnError" } }, { - "id": 377, + "id": 379, "name": "signal", "kind": 1024, "kindString": "Property", @@ -33279,12 +34014,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 474, + "id": 478, "name": "default.signal" } }, { - "id": 372, + "id": 374, "name": "url", "kind": 1024, "kindString": "Property", @@ -33306,7 +34041,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 469, + "id": 473, "name": "default.url" } }, @@ -33319,7 +34054,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], @@ -33375,14 +34110,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 443, + "id": 445, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 442, + "id": 444, "name": "default.abortSignal" } }, @@ -33827,7 +34562,7 @@ ] }, { - "id": 352, + "id": 354, "name": "csv", "kind": 2048, "kindString": "Method", @@ -33835,13 +34570,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 355, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -33851,33 +34586,25 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 450, + "id": 454, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 449, + "id": 453, "name": "default.csv" } }, @@ -34048,7 +34775,7 @@ ] }, { - "id": 356, + "id": 358, "name": "explain", "kind": 2048, "kindString": "Method", @@ -34056,13 +34783,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 357, + "id": 359, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -34072,7 +34799,7 @@ }, "parameters": [ { - "id": 358, + "id": 360, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -34084,14 +34811,14 @@ "type": { "type": "reflection", "declaration": { - "id": 359, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 362, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -34104,7 +34831,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -34114,7 +34841,7 @@ } }, { - "id": 363, + "id": 365, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -34127,7 +34854,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -34137,7 +34864,7 @@ } }, { - "id": 365, + "id": 367, "name": "format", "kind": 1024, "kindString": "Property", @@ -34150,7 +34877,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -34169,7 +34896,7 @@ } }, { - "id": 362, + "id": 364, "name": "settings", "kind": 1024, "kindString": "Property", @@ -34179,29 +34906,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 361, - "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", @@ -34215,7 +34919,30 @@ } }, { - "id": 364, + "id": 363, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 366, "name": "wal", "kind": 1024, "kindString": "Property", @@ -34228,7 +34955,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -34242,7 +34969,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 363, 365, 362, 361, 364] + "children": [362, 365, 367, 364, 363, 366] } ] } @@ -34255,66 +34982,53 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 454, + "id": 458, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 453, + "id": 457, "name": "default.explain" } }, @@ -34597,7 +35311,7 @@ ] }, { - "id": 354, + "id": 356, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -34605,13 +35319,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 357, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -34621,45 +35335,37 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 452, + "id": 456, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 451, + "id": 455, "name": "default.geojson" } }, @@ -35713,7 +36419,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], @@ -35775,7 +36481,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -35821,14 +36527,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 430, + "id": 432, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 429, + "id": 431, "name": "default.limit" } }, @@ -36320,7 +37026,7 @@ ] }, { - "id": 350, + "id": 351, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -36328,13 +37034,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 351, + "id": 352, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -36343,36 +37049,69 @@ "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": 353, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 117, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 448, + "id": 451, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 447, + "id": 450, "name": "default.maybeSingle" } }, @@ -36859,7 +37598,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], @@ -36938,7 +37677,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -36961,7 +37700,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -36984,7 +37723,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -37029,7 +37768,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 414, + "id": 416, "name": "default.order" } }, @@ -37092,7 +37831,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -37113,7 +37852,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -37136,7 +37875,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -37181,14 +37920,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 422, + "id": 424, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 413, + "id": 415, "name": "default.order" } }, @@ -37389,7 +38128,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], @@ -37465,7 +38204,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -37511,14 +38250,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 436, + "id": 438, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 435, + "id": 437, "name": "default.range" } }, @@ -38298,7 +39037,7 @@ ] }, { - "id": 368, + "id": 370, "name": "returns", "kind": 2048, "kindString": "Method", @@ -38306,13 +39045,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 369, + "id": 371, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -38322,7 +39061,7 @@ }, "typeParameter": [ { - "id": 370, + "id": 372, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -38334,7 +39073,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -38348,7 +39087,7 @@ }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -38356,19 +39095,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 466, + "id": 470, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 465, + "id": 469, "name": "default.returns" } }, { - "id": 366, + "id": 368, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -38376,13 +39115,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 369, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -38415,14 +39154,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 464, + "id": 468, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 463, + "id": 467, "name": "default.rollback" } }, @@ -38435,7 +39174,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], @@ -38468,7 +39207,7 @@ }, { "id": 314, - "name": "NewResult", + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -38517,7 +39256,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -38530,23 +39269,26 @@ "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 411, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 408, + "id": 410, "name": "default.select" } }, @@ -38559,7 +39301,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], @@ -38574,36 +39316,60 @@ "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": 350, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 446, + "id": 448, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 445, + "id": 447, "name": "default.single" } }, @@ -38943,7 +39709,7 @@ ] }, { - "id": 386, + "id": 388, "name": "then", "kind": 2048, "kindString": "Method", @@ -38957,21 +39723,21 @@ ], "signatures": [ { - "id": 387, + "id": 389, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 388, + "id": 390, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -38979,11 +39745,11 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 389, + "id": 391, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -38996,7 +39762,7 @@ ], "parameters": [ { - "id": 390, + "id": 392, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -39013,28 +39779,28 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 392, + "id": 394, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 395, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -39042,7 +39808,7 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } } ], @@ -39051,7 +39817,7 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { @@ -39059,7 +39825,7 @@ "typeArguments": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" } ], @@ -39077,7 +39843,7 @@ } }, { - "id": 394, + "id": 396, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -39094,21 +39860,21 @@ { "type": "reflection", "declaration": { - "id": 395, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 396, + "id": 398, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 399, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -39124,7 +39890,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -39132,7 +39898,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -39158,12 +39924,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -39175,19 +39941,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 484, + "id": 488, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 483, + "id": 487, "name": "default.then" } }, { - "id": 384, + "id": 386, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -39201,7 +39967,7 @@ ], "signatures": [ { - "id": 385, + "id": 387, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -39234,14 +40000,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 482, + "id": 486, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 481, + "id": 485, "name": "default.throwOnError" } } @@ -39255,15 +40021,15 @@ { "title": "Properties", "kind": 1024, - "children": [383, 375, 378, 373, 371, 374, 376, 377, 372] + "children": [385, 377, 380, 375, 373, 376, 378, 379, 374] }, { "title": "Methods", "kind": 2048, "children": [ - 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159, - 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348, - 263, 386, 384 + 345, 207, 199, 354, 119, 358, 301, 356, 135, 143, 175, 191, 183, 167, 332, 151, 159, + 279, 351, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 370, 368, 311, 348, + 263, 388, 386 ] } ], @@ -39276,7 +40042,7 @@ ], "typeParameter": [ { - "id": 398, + "id": 400, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -39287,7 +40053,7 @@ } }, { - "id": 399, + "id": 401, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -39310,7 +40076,7 @@ } }, { - "id": 400, + "id": 402, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -39320,7 +40086,7 @@ "extendedTypes": [ { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -39902,8 +40668,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -40079,8 +40845,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -40129,7 +40895,7 @@ }, { "id": 76, - "name": "Result", + "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -40173,7 +40939,7 @@ "isOptional": true }, "comment": { - "shortText": "The columns to retrieve, separated by commas\n" + "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n" }, "type": { "type": "reference", @@ -40295,9 +41061,12 @@ } }, { - "type": "reference", - "id": 76, - "name": "Result" + "type": "array", + "elementType": { + "type": "reference", + "id": 76, + "name": "ResultOne" + } } ], "name": "default" @@ -40461,8 +41230,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -40684,8 +41453,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -40753,28 +41522,28 @@ ] }, { - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 402, + "id": 404, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 403, + "id": 405, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 404, + "id": 406, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -40785,7 +41554,7 @@ } }, { - "id": 405, + "id": 407, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -40808,7 +41577,7 @@ } }, { - "id": 406, + "id": 408, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -40817,24 +41586,24 @@ ], "parameters": [ { - "id": 407, + "id": 409, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -40843,7 +41612,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -40857,14 +41626,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -40873,18 +41642,18 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -40895,11 +41664,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -40909,7 +41678,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -40929,7 +41698,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -40950,7 +41719,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -40967,21 +41736,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -41005,7 +41774,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -41040,7 +41809,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41072,7 +41841,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -41113,7 +41882,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -41134,7 +41903,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -41155,7 +41924,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -41178,7 +41947,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -41200,7 +41969,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -41214,33 +41983,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -41252,90 +42021,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -41366,6 +42054,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -41381,7 +42150,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -41389,7 +42158,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -41415,12 +42184,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -41442,7 +42211,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -41456,7 +42225,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -41467,11 +42236,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -41485,17 +42254,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -41507,7 +42276,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -41517,7 +42286,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -41527,15 +42296,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -41549,21 +42318,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -41571,19 +42340,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 500, + "id": 504, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 499, + "id": 503, "name": "default.constructor" } }, { - "id": 480, + "id": 484, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -41603,12 +42372,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 515, + "id": 519, "name": "default.allowEmpty" } }, { - "id": 472, + "id": 476, "name": "body", "kind": 1024, "kindString": "Property", @@ -41629,12 +42398,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 507, + "id": 511, "name": "default.body" } }, { - "id": 475, + "id": 479, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -41651,21 +42420,21 @@ "type": { "type": "reflection", "declaration": { - "id": 476, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 477, + "id": 481, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 478, + "id": 482, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -41689,7 +42458,7 @@ } }, { - "id": 479, + "id": 483, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -41724,12 +42493,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 510, + "id": 514, "name": "default.fetch" } }, { - "id": 470, + "id": 474, "name": "headers", "kind": 1024, "kindString": "Property", @@ -41761,12 +42530,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 505, + "id": 509, "name": "default.headers" } }, { - "id": 468, + "id": 472, "name": "method", "kind": 1024, "kindString": "Property", @@ -41807,12 +42576,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 507, "name": "default.method" } }, { - "id": 471, + "id": 475, "name": "schema", "kind": 1024, "kindString": "Property", @@ -41833,12 +42602,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 510, "name": "default.schema" } }, { - "id": 473, + "id": 477, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -41859,12 +42628,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 508, + "id": 512, "name": "default.shouldThrowOnError" } }, { - "id": 474, + "id": 478, "name": "signal", "kind": 1024, "kindString": "Property", @@ -41887,12 +42656,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 513, "name": "default.signal" } }, { - "id": 469, + "id": 473, "name": "url", "kind": 1024, "kindString": "Property", @@ -41914,12 +42683,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 504, + "id": 508, "name": "default.url" } }, { - "id": 442, + "id": 444, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -41927,13 +42696,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], "signatures": [ { - "id": 443, + "id": 445, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -41943,7 +42712,7 @@ }, "parameters": [ { - "id": 444, + "id": 446, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -41961,21 +42730,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -41985,7 +42754,7 @@ ] }, { - "id": 449, + "id": 453, "name": "csv", "kind": 2048, "kindString": "Method", @@ -41993,13 +42762,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 450, + "id": 454, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -42009,28 +42778,20 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 453, + "id": 457, "name": "explain", "kind": 2048, "kindString": "Method", @@ -42038,13 +42799,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 454, + "id": 458, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -42054,7 +42815,7 @@ }, "parameters": [ { - "id": 455, + "id": 459, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42066,14 +42827,14 @@ "type": { "type": "reflection", "declaration": { - "id": 456, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 461, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -42086,7 +42847,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -42096,7 +42857,7 @@ } }, { - "id": 460, + "id": 464, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -42109,7 +42870,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -42119,7 +42880,7 @@ } }, { - "id": 462, + "id": 466, "name": "format", "kind": 1024, "kindString": "Property", @@ -42132,7 +42893,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -42151,7 +42912,7 @@ } }, { - "id": 459, + "id": 463, "name": "settings", "kind": 1024, "kindString": "Property", @@ -42161,29 +42922,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 458, - "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", @@ -42197,7 +42935,30 @@ } }, { - "id": 461, + "id": 462, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 465, "name": "wal", "kind": 1024, "kindString": "Property", @@ -42210,7 +42971,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -42224,7 +42985,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 460, 462, 459, 458, 461] + "children": [461, 464, 466, 463, 462, 465] } ] } @@ -42237,53 +42998,40 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] } @@ -42291,7 +43039,7 @@ ] }, { - "id": 451, + "id": 455, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -42299,13 +43047,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 452, + "id": 456, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -42315,40 +43063,32 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 429, + "id": 431, "name": "limit", "kind": 2048, "kindString": "Method", @@ -42356,13 +43096,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], "signatures": [ { - "id": 430, + "id": 432, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -42372,7 +43112,7 @@ }, "parameters": [ { - "id": 431, + "id": 433, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -42386,7 +43126,7 @@ } }, { - "id": 432, + "id": 434, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42398,14 +43138,14 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 435, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -42418,7 +43158,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -42432,7 +43172,7 @@ { "title": "Properties", "kind": 1024, - "children": [434] + "children": [436] } ] } @@ -42442,21 +43182,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -42466,7 +43206,7 @@ ] }, { - "id": 447, + "id": 450, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -42474,13 +43214,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 448, + "id": 451, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -42489,31 +43229,64 @@ "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": 452, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 406, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 413, + "id": 415, "name": "order", "kind": 2048, "kindString": "Method", @@ -42521,13 +43294,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], "signatures": [ { - "id": 414, + "id": 416, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -42538,7 +43311,7 @@ }, "typeParameter": [ { - "id": 415, + "id": 417, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -42551,7 +43324,7 @@ ], "parameters": [ { - "id": 416, + "id": 418, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -42567,7 +43340,7 @@ } }, { - "id": 417, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42580,14 +43353,14 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 419, + "id": 421, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -42600,7 +43373,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -42610,7 +43383,7 @@ } }, { - "id": 421, + "id": 423, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -42623,7 +43396,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -42633,7 +43406,7 @@ } }, { - "id": 420, + "id": 422, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -42646,7 +43419,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -42660,7 +43433,7 @@ { "title": "Properties", "kind": 1024, - "children": [419, 421, 420] + "children": [421, 423, 422] } ] } @@ -42669,21 +43442,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -42691,7 +43464,7 @@ } }, { - "id": 422, + "id": 424, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -42702,7 +43475,7 @@ }, "parameters": [ { - "id": 423, + "id": 425, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -42716,7 +43489,7 @@ } }, { - "id": 424, + "id": 426, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42729,14 +43502,14 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 428, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -42749,7 +43522,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -42759,7 +43532,7 @@ } }, { - "id": 428, + "id": 430, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -42770,7 +43543,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -42780,7 +43553,7 @@ } }, { - "id": 427, + "id": 429, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -42793,7 +43566,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -42807,7 +43580,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 428, 427] + "children": [428, 430, 429] } ] } @@ -42816,21 +43589,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -42840,7 +43613,7 @@ ] }, { - "id": 435, + "id": 437, "name": "range", "kind": 2048, "kindString": "Method", @@ -42848,13 +43621,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 438, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -42864,7 +43637,7 @@ }, "parameters": [ { - "id": 437, + "id": 439, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -42878,7 +43651,7 @@ } }, { - "id": 438, + "id": 440, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -42892,7 +43665,7 @@ } }, { - "id": 439, + "id": 441, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -42904,14 +43677,14 @@ "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 442, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 443, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -42924,7 +43697,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -42938,7 +43711,7 @@ { "title": "Properties", "kind": 1024, - "children": [441] + "children": [443] } ] } @@ -42948,21 +43721,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -42972,7 +43745,7 @@ ] }, { - "id": 465, + "id": 469, "name": "returns", "kind": 2048, "kindString": "Method", @@ -42980,13 +43753,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 466, + "id": 470, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -42996,7 +43769,7 @@ }, "typeParameter": [ { - "id": 467, + "id": 471, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -43008,21 +43781,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -43032,7 +43805,7 @@ ] }, { - "id": 463, + "id": 467, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -43040,13 +43813,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 464, + "id": 468, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -43057,21 +43830,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -43081,7 +43854,7 @@ ] }, { - "id": 408, + "id": 410, "name": "select", "kind": 2048, "kindString": "Method", @@ -43089,13 +43862,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], "signatures": [ { - "id": 409, + "id": 411, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -43106,7 +43879,7 @@ }, "typeParameter": [ { - "id": 410, + "id": 412, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -43121,8 +43894,8 @@ } }, { - "id": 411, - "name": "NewResult", + "id": 413, + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -43131,12 +43904,12 @@ "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { @@ -43151,7 +43924,7 @@ ], "parameters": [ { - "id": 412, + "id": 414, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -43171,22 +43944,25 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" @@ -43195,7 +43971,7 @@ ] }, { - "id": 445, + "id": 447, "name": "single", "kind": 2048, "kindString": "Method", @@ -43203,13 +43979,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], "signatures": [ { - "id": 446, + "id": 448, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -43218,31 +43994,55 @@ "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": 449, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 483, + "id": 487, "name": "then", "kind": 2048, "kindString": "Method", @@ -43256,33 +44056,33 @@ ], "signatures": [ { - "id": 484, + "id": 488, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 485, + "id": 489, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 486, + "id": 490, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -43294,90 +44094,9 @@ } ], "parameters": [ - { - "id": 487, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 488, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 489, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 490, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 491, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -43408,6 +44127,87 @@ "parameters": [ { "id": 494, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 408, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 495, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 497, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 498, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -43423,7 +44223,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -43431,7 +44231,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -43457,12 +44257,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -43474,19 +44274,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 519, + "id": 523, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 518, + "id": 522, "name": "default.then" } }, { - "id": 481, + "id": 485, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -43500,7 +44300,7 @@ ], "signatures": [ { - "id": 482, + "id": 486, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -43511,21 +44311,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -43533,14 +44333,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 517, + "id": 521, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 516, + "id": 520, "name": "default.throwOnError" } } @@ -43549,29 +44349,29 @@ { "title": "Constructors", "kind": 512, - "children": [402] + "children": [404] }, { "title": "Properties", "kind": 1024, - "children": [480, 472, 475, 470, 468, 471, 473, 474, 469] + "children": [484, 476, 479, 474, 472, 475, 477, 478, 473] }, { "title": "Methods", "kind": 2048, - "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481] + "children": [444, 453, 457, 455, 431, 450, 415, 437, 469, 467, 410, 447, 487, 485] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 10, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 495, + "id": 499, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -43582,7 +44382,7 @@ } }, { - "id": 496, + "id": 500, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -43605,7 +44405,7 @@ } }, { - "id": 497, + "id": 501, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -43615,11 +44415,11 @@ "extendedTypes": [ { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -43636,6 +44436,397 @@ }, { "id": 537, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 540, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 554, + "name": "PostgrestError", + "dereferenced": { + "id": 554, + "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": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 559, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 557, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 556, + "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": [559, 557, 558, 556] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + } + } + }, + { + "id": 541, + "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": 542, + "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": [540, 539, 538, 541, 542] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 543, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 546, + "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": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 549, + "name": "T", + "dereferenced": {} + } + }, + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "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": 548, + "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": [546, 545, 544, 547, 548] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 549, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 554, "name": "PostgrestError", "kind": 4194304, "kindString": "Type alias", @@ -43654,14 +44845,14 @@ "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 555, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 542, + "id": 559, "name": "code", "kind": 1024, "kindString": "Property", @@ -43679,7 +44870,7 @@ } }, { - "id": 540, + "id": 557, "name": "details", "kind": 1024, "kindString": "Property", @@ -43697,7 +44888,7 @@ } }, { - "id": 541, + "id": 558, "name": "hint", "kind": 1024, "kindString": "Property", @@ -43715,7 +44906,7 @@ } }, { - "id": 539, + "id": 556, "name": "message", "kind": 1024, "kindString": "Property", @@ -43737,7 +44928,7 @@ { "title": "Properties", "kind": 1024, - "children": [542, 540, 541, 539] + "children": [559, 557, 558, 556] } ], "sources": [ @@ -43751,7 +44942,7 @@ } }, { - "id": 535, + "id": 552, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -43759,7 +44950,51 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 41, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 553, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 553, + "name": "T" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 535, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, "character": 12 } ], @@ -43774,55 +45009,22 @@ ], "type": { "type": "reference", - "id": 533, + "id": 550, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reference", - "id": 536, - "name": "T" - }, - { - "type": "literal", - "value": null - } - ] + "type": "array", + "elementType": { + "type": "reference", + "id": 536, + "name": "T" + } } ], "name": "PostgrestSingleResponse" } }, { - "id": 531, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 35, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 532, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [null, null] - } - }, - { - "id": 533, + "id": 550, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -43830,13 +45032,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 42, + "line": 38, "character": 12 } ], "typeParameter": [ { - "id": 534, + "id": 551, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -43845,7 +45047,399 @@ ], "type": { "type": "union", - "types": [null, null] + "types": [ + { + "id": 543, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 546, + "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": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 549, + "name": "T", + "dereferenced": {} + } + }, + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "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": 548, + "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": [546, 545, 544, 547, 548] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 549, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 537, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 540, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 554, + "name": "PostgrestError", + "dereferenced": { + "id": 554, + "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": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 559, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 557, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 556, + "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": [559, 557, 558, 556] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + } + } + }, + { + "id": 541, + "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": 542, + "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": [540, 539, 538, 541, 542] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + } + ] } } ], @@ -43853,12 +45447,17 @@ { "title": "Classes", "kind": 128, - "children": [498, 1, 112, 49, 401] + "children": [502, 1, 112, 49, 403] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [537, 543] }, { "title": "Type Aliases", "kind": 4194304, - "children": [537, 535, 531, 533] + "children": [554, 552, 535, 550] } ], "sources": [ @@ -43878,14 +45477,14 @@ "originalName": "", "children": [ { - "id": 516, + "id": 535, "name": "REALTIME_LISTEN_TYPES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 517, + "id": 536, "name": "BROADCAST", "kind": 16, "kindString": "Enumeration Member", @@ -43893,7 +45492,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 89, + "line": 93, "character": 2 } ], @@ -43904,7 +45503,7 @@ "defaultValue": "\"broadcast\"" }, { - "id": 519, + "id": 538, "name": "POSTGRES_CHANGES", "kind": 16, "kindString": "Enumeration Member", @@ -43915,7 +45514,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 94, + "line": 98, "character": 2 } ], @@ -43926,7 +45525,7 @@ "defaultValue": "\"postgres_changes\"" }, { - "id": 518, + "id": 537, "name": "PRESENCE", "kind": 16, "kindString": "Enumeration Member", @@ -43934,7 +45533,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 90, + "line": 94, "character": 2 } ], @@ -43949,26 +45548,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [517, 519, 518] + "children": [536, 538, 537] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 88, + "line": 92, "character": 12 } ] }, { - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 521, + "id": 540, "name": "ALL", "kind": 16, "kindString": "Enumeration Member", @@ -43976,7 +45575,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -43987,7 +45586,7 @@ "defaultValue": "\"*\"" }, { - "id": 524, + "id": 543, "name": "DELETE", "kind": 16, "kindString": "Enumeration Member", @@ -43995,7 +45594,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 85, + "line": 89, "character": 2 } ], @@ -44006,7 +45605,7 @@ "defaultValue": "\"DELETE\"" }, { - "id": 522, + "id": 541, "name": "INSERT", "kind": 16, "kindString": "Enumeration Member", @@ -44014,7 +45613,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 83, + "line": 87, "character": 2 } ], @@ -44025,7 +45624,7 @@ "defaultValue": "\"INSERT\"" }, { - "id": 523, + "id": 542, "name": "UPDATE", "kind": 16, "kindString": "Enumeration Member", @@ -44033,7 +45632,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 84, + "line": 88, "character": 2 } ], @@ -44048,26 +45647,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [521, 524, 522, 523] + "children": [540, 543, 541, 542] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 81, + "line": 85, "character": 12 } ] }, { - "id": 525, + "id": 544, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 527, + "id": 546, "name": "JOIN", "kind": 16, "kindString": "Enumeration Member", @@ -44075,7 +45674,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -44086,7 +45685,7 @@ "defaultValue": "\"join\"" }, { - "id": 528, + "id": 547, "name": "LEAVE", "kind": 16, "kindString": "Enumeration Member", @@ -44094,7 +45693,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 36, + "line": 38, "character": 2 } ], @@ -44105,7 +45704,7 @@ "defaultValue": "\"leave\"" }, { - "id": 526, + "id": 545, "name": "SYNC", "kind": 16, "kindString": "Enumeration Member", @@ -44113,7 +45712,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 34, + "line": 36, "character": 2 } ], @@ -44128,26 +45727,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [527, 528, 526] + "children": [546, 547, 545] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 33, + "line": 35, "character": 12 } ] }, { - "id": 529, + "id": 548, "name": "REALTIME_SUBSCRIBE_STATES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 533, + "id": 552, "name": "CHANNEL_ERROR", "kind": 16, "kindString": "Enumeration Member", @@ -44155,7 +45754,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 101, + "line": 105, "character": 2 } ], @@ -44166,7 +45765,7 @@ "defaultValue": "\"CHANNEL_ERROR\"" }, { - "id": 532, + "id": 551, "name": "CLOSED", "kind": 16, "kindString": "Enumeration Member", @@ -44174,7 +45773,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 100, + "line": 104, "character": 2 } ], @@ -44185,7 +45784,7 @@ "defaultValue": "\"CLOSED\"" }, { - "id": 530, + "id": 549, "name": "SUBSCRIBED", "kind": 16, "kindString": "Enumeration Member", @@ -44193,7 +45792,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -44204,7 +45803,7 @@ "defaultValue": "\"SUBSCRIBED\"" }, { - "id": 531, + "id": 550, "name": "TIMED_OUT", "kind": 16, "kindString": "Enumeration Member", @@ -44212,7 +45811,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 99, + "line": 103, "character": 2 } ], @@ -44227,19 +45826,19 @@ { "title": "Enumeration Members", "kind": 16, - "children": [533, 532, 530, 531] + "children": [552, 551, 549, 550] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 97, + "line": 101, "character": 12 } ] }, { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -44249,7 +45848,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44257,20 +45856,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -44281,17 +45880,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -44299,21 +45898,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -44321,21 +45920,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -44348,21 +45947,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -44372,7 +45971,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -44382,7 +45981,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -44392,7 +45991,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -44406,13 +46005,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -44420,7 +46019,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -44433,21 +46032,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -44457,7 +46056,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -44471,13 +46070,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -44489,13 +46088,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -44507,13 +46106,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -44524,24 +46123,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44549,13 +46148,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -44565,7 +46164,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -44579,7 +46178,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -44588,10 +46187,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -44599,27 +46198,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -44635,8 +46256,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -44657,105 +46354,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -44765,14 +46364,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -44780,19 +46379,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -44811,7 +46410,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -44821,7 +46420,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -44833,7 +46432,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -44843,7 +46442,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -44853,7 +46452,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -44863,7 +46462,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -44880,14 +46479,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -44899,14 +46498,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -44914,7 +46513,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -44934,7 +46533,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -44942,7 +46541,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -44950,14 +46549,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -44965,7 +46564,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -44987,11 +46586,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -45007,27 +46626,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -45035,7 +46634,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -45046,7 +46645,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -45054,7 +46653,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -45065,7 +46664,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -45075,27 +46674,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -45115,7 +46714,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -45123,7 +46722,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -45134,7 +46733,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -45142,7 +46741,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -45164,7 +46763,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -45172,7 +46771,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -45183,7 +46782,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -45191,7 +46790,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -45204,7 +46803,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -45214,27 +46813,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -45254,7 +46853,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -45262,7 +46861,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -45282,7 +46881,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -45290,7 +46889,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -45302,11 +46901,29 @@ } }, { - "id": 336, + "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", @@ -45314,24 +46931,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -45339,7 +46938,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -45347,7 +46946,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -45363,30 +46962,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -45394,44 +46974,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -45450,8 +47026,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -45473,7 +47049,30 @@ } }, { - "id": 346, + "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", @@ -45481,7 +47080,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -45500,7 +47099,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -45508,30 +47107,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -45539,6 +47119,25 @@ "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" @@ -45546,7 +47145,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -45554,20 +47153,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -45578,17 +47177,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -45596,21 +47195,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -45618,21 +47217,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -45645,21 +47244,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -45669,7 +47268,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -45679,7 +47278,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -45689,7 +47288,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -45703,13 +47302,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -45717,7 +47316,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -45730,21 +47329,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -45754,7 +47353,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -45768,13 +47367,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -45786,13 +47385,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -45804,13 +47403,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -45823,14 +47422,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -45838,13 +47437,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -45860,7 +47459,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -45868,13 +47467,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -45890,7 +47489,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -45898,13 +47497,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -45914,7 +47513,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -45930,7 +47529,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -45954,7 +47553,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -45962,13 +47561,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -45980,7 +47579,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -45988,7 +47587,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -45996,13 +47595,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -46018,7 +47617,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -46026,13 +47625,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -46043,7 +47642,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -46054,7 +47653,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -46065,7 +47664,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -46086,7 +47685,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -46094,13 +47693,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -46111,17 +47710,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -46129,25 +47728,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -46159,93 +47832,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -46272,7 +47871,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -46281,12 +47880,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -46301,7 +47900,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -46314,7 +47913,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -46322,13 +47921,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -46338,7 +47937,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -46348,10 +47947,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -46364,25 +47963,25 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, "children": [ - 71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90 + 80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99 ] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -46395,7 +47994,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -46407,7 +48006,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -46415,13 +48014,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -46431,7 +48030,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -46466,26 +48065,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, - 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -46495,14 +48094,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -46510,27 +48109,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -46545,14 +48144,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -46560,7 +48159,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -46572,7 +48171,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -46580,14 +48179,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -46595,19 +48194,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -46626,7 +48225,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -46636,7 +48235,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -46646,7 +48245,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -46654,7 +48253,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -46668,13 +48267,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -46687,7 +48286,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -46695,7 +48294,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -46705,7 +48304,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -46713,7 +48312,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -46724,7 +48323,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -46733,10 +48332,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -46744,21 +48343,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -46766,21 +48365,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -46793,21 +48392,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -46817,7 +48416,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -46827,7 +48426,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -46837,7 +48436,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -46851,13 +48450,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -46865,7 +48464,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -46878,21 +48477,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -46902,7 +48501,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -46916,13 +48515,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -46934,13 +48533,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -46952,13 +48551,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -46969,7 +48568,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -46977,7 +48576,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -46993,7 +48592,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -47001,13 +48600,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -47017,7 +48616,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -47027,10 +48626,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -47043,23 +48642,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -47067,7 +48666,7 @@ } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -47094,7 +48693,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -47102,21 +48701,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -47124,7 +48723,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -47136,7 +48735,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -47144,7 +48743,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -47156,7 +48755,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -47164,13 +48763,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -47187,12 +48786,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -47200,7 +48799,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -47209,10 +48808,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -47225,23 +48824,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -47249,7 +48848,7 @@ } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -47257,7 +48856,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -47277,7 +48876,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -47285,7 +48884,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -47299,7 +48898,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -47307,16 +48906,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -47328,10 +48939,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -47340,18 +49017,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -47365,6 +49042,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -47380,18 +49064,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -47399,7 +49083,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -47407,7 +49091,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -47421,7 +49105,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -47429,7 +49113,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -47439,7 +49123,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -47448,17 +49132,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -47466,13 +49150,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -47482,7 +49166,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -47496,7 +49180,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -47505,10 +49189,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -47516,225 +49200,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -47750,8 +49236,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -47760,7 +49246,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -47770,7 +49334,127 @@ } }, { - "id": 428, + "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", @@ -47780,7 +49464,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -47796,13 +49480,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -47814,14 +49498,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -47829,7 +49513,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -47849,7 +49533,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -47857,7 +49541,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -47865,14 +49549,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -47880,7 +49564,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -47902,11 +49586,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -47922,27 +49626,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -47950,7 +49634,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -47961,7 +49645,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -47969,7 +49653,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -47980,7 +49664,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -47990,27 +49674,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -48030,7 +49714,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -48038,7 +49722,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -48049,7 +49733,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -48057,7 +49741,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -48079,7 +49763,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -48087,7 +49771,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -48098,7 +49782,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -48106,7 +49790,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -48119,7 +49803,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -48129,27 +49813,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -48169,7 +49853,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -48177,7 +49861,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -48197,7 +49881,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -48205,7 +49889,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -48217,11 +49901,29 @@ } }, { - "id": 336, + "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", @@ -48229,24 +49931,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -48254,7 +49938,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -48262,7 +49946,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -48278,30 +49962,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -48309,44 +49974,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -48365,8 +50026,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -48388,7 +50049,30 @@ } }, { - "id": 346, + "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", @@ -48396,7 +50080,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -48415,7 +50099,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -48423,30 +50107,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -48454,6 +50119,25 @@ "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" @@ -48461,7 +50145,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -48469,20 +50153,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -48493,17 +50177,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -48511,21 +50195,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -48533,21 +50217,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -48560,21 +50244,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -48584,7 +50268,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -48594,7 +50278,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -48604,7 +50288,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -48618,13 +50302,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -48632,7 +50316,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -48645,21 +50329,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -48669,7 +50353,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -48683,13 +50367,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -48701,13 +50385,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -48719,13 +50403,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -48738,14 +50422,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -48753,13 +50437,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -48775,7 +50459,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -48783,13 +50467,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -48805,7 +50489,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -48813,13 +50497,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -48829,7 +50513,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -48845,7 +50529,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -48869,7 +50553,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -48877,13 +50561,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -48895,7 +50579,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -48903,7 +50587,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -48911,13 +50595,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -48933,7 +50617,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -48941,13 +50625,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -48958,7 +50642,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -48969,7 +50653,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -48980,7 +50664,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -49001,7 +50685,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -49009,13 +50693,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -49026,17 +50710,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -49044,25 +50728,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -49074,93 +50832,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -49187,7 +50871,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -49196,12 +50880,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -49216,7 +50900,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -49229,7 +50913,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -49237,13 +50921,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -49253,7 +50937,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -49263,10 +50947,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -49279,23 +50963,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -49308,7 +50992,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -49320,7 +51004,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -49328,13 +51012,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -49344,7 +51028,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -49379,26 +51063,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, 340, - 336, 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -49406,7 +51090,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -49414,7 +51098,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -49425,7 +51109,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -49433,7 +51117,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -49443,7 +51127,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -49456,7 +51140,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -49464,13 +51148,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -49480,7 +51164,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -49491,7 +51175,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -49499,14 +51183,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -49514,7 +51198,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -49528,14 +51212,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -49543,14 +51227,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -49567,19 +51251,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -49587,20 +51271,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -49621,7 +51305,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -49632,7 +51316,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -49640,14 +51324,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -49655,7 +51339,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -49669,14 +51353,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -49684,32 +51368,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -49729,19 +51413,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -49749,20 +51433,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -49783,7 +51467,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -49794,7 +51478,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -49802,14 +51486,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -49817,7 +51501,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -49831,14 +51515,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -49846,32 +51530,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -49891,19 +51575,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -49911,20 +51595,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -49945,7 +51629,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -49956,14 +51640,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -49972,7 +51656,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -49980,13 +51664,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -49998,7 +51682,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -50010,14 +51694,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -50028,19 +51712,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -50053,7 +51737,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -50063,7 +51747,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -50074,7 +51758,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -50084,7 +51768,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -50097,7 +51781,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -50111,14 +51795,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -50127,7 +51811,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -50135,32 +51819,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -50180,19 +51864,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50200,20 +51884,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -50234,7 +51918,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -50245,14 +51929,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -50261,7 +51945,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -50269,13 +51953,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50287,7 +51971,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -50299,14 +51983,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -50317,19 +52001,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -50342,7 +52026,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -50352,7 +52036,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -50363,7 +52047,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -50373,7 +52057,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -50386,7 +52070,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -50400,14 +52084,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -50416,7 +52100,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -50424,32 +52108,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -50469,19 +52153,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50489,20 +52173,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -50523,7 +52207,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -50534,14 +52218,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -50550,7 +52234,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -50558,13 +52242,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50576,7 +52260,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -50588,14 +52272,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -50606,19 +52290,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -50631,7 +52315,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -50641,7 +52325,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -50652,7 +52336,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -50662,7 +52346,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -50675,7 +52359,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -50689,14 +52373,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -50705,7 +52389,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -50713,32 +52397,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -50758,19 +52442,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50778,20 +52462,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -50812,7 +52496,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -50823,14 +52507,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -50839,7 +52523,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -50847,13 +52531,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -50865,7 +52549,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -50877,14 +52561,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -50895,19 +52579,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -50920,7 +52604,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -50930,7 +52614,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -50941,7 +52625,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -50951,7 +52635,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -50964,7 +52648,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -50978,14 +52662,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -50994,7 +52678,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -51002,32 +52686,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -51047,12 +52731,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -51062,7 +52746,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -51076,7 +52760,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -51087,14 +52771,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -51102,7 +52786,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -51116,14 +52800,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -51134,21 +52818,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -51156,14 +52840,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -51171,7 +52855,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -51181,7 +52865,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -51189,7 +52873,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -51203,18 +52887,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -51245,14 +52929,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -51260,27 +52944,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -51288,20 +53031,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -51309,14 +53052,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -51324,7 +53067,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -51338,18 +53081,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -51368,7 +53111,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -51376,20 +53119,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -51414,7 +53157,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -51426,7 +53169,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -51434,13 +53177,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -51450,7 +53193,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -51460,21 +53203,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -51502,7 +53245,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -51527,7 +53270,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -51541,14 +53284,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -51556,20 +53299,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -51577,20 +53320,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -51609,7 +53352,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -51617,20 +53360,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -51655,7 +53398,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -51667,7 +53410,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -51675,13 +53418,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -51692,7 +53435,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -51733,7 +53476,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -51741,20 +53484,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -51762,20 +53505,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -51800,7 +53543,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -51812,7 +53555,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -51820,20 +53563,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -51841,20 +53584,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -51885,36 +53628,36 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] }, { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -51922,13 +53665,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -51938,7 +53681,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -51952,7 +53695,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -51961,10 +53704,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -51972,225 +53715,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -52206,8 +53751,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -52216,7 +53761,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -52226,7 +53849,127 @@ } }, { - "id": 428, + "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", @@ -52236,7 +53979,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -52252,13 +53995,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -52270,14 +54013,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -52285,7 +54028,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -52305,7 +54048,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -52313,7 +54056,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -52321,14 +54064,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -52336,7 +54079,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -52358,11 +54101,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -52378,27 +54141,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -52406,7 +54149,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -52417,7 +54160,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -52425,7 +54168,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -52436,7 +54179,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -52446,27 +54189,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -52486,7 +54229,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -52494,7 +54237,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -52505,7 +54248,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -52513,7 +54256,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -52535,7 +54278,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -52543,7 +54286,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -52554,7 +54297,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -52562,7 +54305,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -52575,7 +54318,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -52585,27 +54328,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -52625,7 +54368,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -52633,7 +54376,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -52653,7 +54396,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -52661,7 +54404,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -52673,11 +54416,29 @@ } }, { - "id": 336, + "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", @@ -52685,24 +54446,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -52710,7 +54453,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -52718,7 +54461,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -52734,30 +54477,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -52765,44 +54489,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -52821,8 +54541,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -52844,7 +54564,30 @@ } }, { - "id": 346, + "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", @@ -52852,7 +54595,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -52871,7 +54614,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -52879,30 +54622,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -52910,6 +54634,25 @@ "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" @@ -52917,7 +54660,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -52925,20 +54668,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -52949,17 +54692,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -52967,21 +54710,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -52989,21 +54732,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -53016,21 +54759,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -53040,7 +54783,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -53050,7 +54793,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -53060,7 +54803,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -53074,13 +54817,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -53088,7 +54831,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -53101,21 +54844,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -53125,7 +54868,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -53139,13 +54882,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -53157,13 +54900,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -53175,13 +54918,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -53194,14 +54937,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -53209,13 +54952,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -53231,7 +54974,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -53239,13 +54982,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -53261,7 +55004,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -53269,13 +55012,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -53285,7 +55028,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -53301,7 +55044,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -53325,7 +55068,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -53333,13 +55076,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -53351,7 +55094,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -53359,7 +55102,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -53367,13 +55110,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -53389,7 +55132,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -53397,13 +55140,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -53414,7 +55157,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -53425,7 +55168,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -53436,7 +55179,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -53457,7 +55200,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -53465,13 +55208,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -53482,17 +55225,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -53500,25 +55243,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -53530,93 +55347,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -53643,7 +55386,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -53652,12 +55395,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -53672,7 +55415,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -53685,7 +55428,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -53693,13 +55436,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -53709,7 +55452,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -53719,10 +55462,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -53732,7 +55475,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -53740,20 +55483,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -53764,17 +55507,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -53782,21 +55525,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -53804,21 +55547,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -53831,21 +55574,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -53855,7 +55598,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -53865,7 +55608,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -53875,7 +55618,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -53889,13 +55632,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -53903,7 +55646,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -53916,21 +55659,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -53940,7 +55683,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -53954,13 +55697,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -53972,13 +55715,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -53990,13 +55733,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -54007,17 +55750,17 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -54027,30 +55770,30 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, - 351, 337, 326, 334, 340, 336, 335, 342, 343, 344, - 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, - 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, + 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -54060,14 +55803,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -54075,27 +55818,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -54110,14 +55853,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -54125,7 +55868,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -54137,7 +55880,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -54145,14 +55888,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -54160,19 +55903,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -54191,7 +55934,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -54201,7 +55944,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -54211,7 +55954,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -54219,7 +55962,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -54233,13 +55976,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -54252,7 +55995,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -54260,7 +56003,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -54270,7 +56013,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -54278,7 +56021,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -54289,7 +56032,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -54298,10 +56041,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -54309,21 +56052,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -54331,21 +56074,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -54358,21 +56101,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -54382,7 +56125,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -54392,7 +56135,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -54402,7 +56145,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -54416,13 +56159,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -54430,7 +56173,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -54443,21 +56186,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -54467,7 +56210,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -54481,13 +56224,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -54499,13 +56242,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -54517,13 +56260,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -54534,7 +56277,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -54542,7 +56285,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -54558,7 +56301,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -54566,13 +56309,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -54582,7 +56325,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -54592,13 +56335,13 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]" } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -54625,7 +56368,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -54633,21 +56376,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -54655,7 +56398,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -54667,7 +56410,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -54675,7 +56418,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -54687,7 +56430,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -54695,13 +56438,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -54718,12 +56461,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -54731,7 +56474,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -54740,13 +56483,13 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]" } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -54754,7 +56497,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -54774,7 +56517,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -54782,7 +56525,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -54796,7 +56539,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -54804,16 +56547,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -54825,10 +56580,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -54837,18 +56658,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -54862,6 +56683,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -54877,18 +56705,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -54896,7 +56724,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -54904,7 +56732,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -54918,11 +56746,99 @@ "defaultValue": "[]" }, { - "id": 87, + "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", + "dereferenced": { + "id": 328, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": "[Circular ~.children.5.children]", + "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": 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", @@ -54930,101 +56846,13 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 92, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 314, - "name": "default", - "dereferenced": { - "id": 314, - "name": "RealtimeClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": "[Circular ~.children.5.children]", - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [315] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, - 326, 334, 340, 336, 335, 342, 343, 344, 330, 331 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 40, - "character": 21 - } - ] - } - } - }, - { - "id": 84, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 119, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 83, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 118, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -55037,7 +56865,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -55045,13 +56873,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -55061,7 +56889,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -55072,7 +56900,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -55080,14 +56908,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -55095,7 +56923,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -55109,14 +56937,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -55124,14 +56952,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -55148,19 +56976,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55168,20 +56996,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -55202,7 +57030,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -55213,7 +57041,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -55221,14 +57049,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -55236,7 +57064,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -55250,14 +57078,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -55265,32 +57093,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -55310,19 +57138,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55330,20 +57158,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -55364,7 +57192,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -55375,7 +57203,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -55383,14 +57211,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -55398,7 +57226,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -55412,14 +57240,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -55427,32 +57255,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -55472,19 +57300,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55492,20 +57320,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -55526,7 +57354,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -55537,14 +57365,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -55553,7 +57381,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -55561,13 +57389,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55579,7 +57407,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -55591,14 +57419,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -55609,19 +57437,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -55634,7 +57462,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -55644,7 +57472,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -55655,7 +57483,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -55665,7 +57493,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -55678,7 +57506,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -55692,14 +57520,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -55708,7 +57536,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -55716,32 +57544,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -55761,19 +57589,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55781,20 +57609,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -55815,7 +57643,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -55826,14 +57654,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -55842,7 +57670,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -55850,13 +57678,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -55868,7 +57696,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -55880,14 +57708,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -55898,19 +57726,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -55923,7 +57751,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -55933,7 +57761,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -55944,7 +57772,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -55954,7 +57782,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -55967,7 +57795,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -55981,14 +57809,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -55997,7 +57825,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -56005,32 +57833,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -56050,19 +57878,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -56070,20 +57898,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -56104,7 +57932,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -56115,14 +57943,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -56131,7 +57959,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -56139,13 +57967,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -56157,7 +57985,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -56169,14 +57997,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -56187,19 +58015,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -56212,7 +58040,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -56222,7 +58050,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -56233,7 +58061,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -56243,7 +58071,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -56256,7 +58084,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -56270,14 +58098,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -56286,7 +58114,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -56294,32 +58122,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -56339,19 +58167,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -56359,20 +58187,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -56393,7 +58221,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -56404,14 +58232,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -56420,7 +58248,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -56428,13 +58256,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -56446,7 +58274,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -56458,14 +58286,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -56476,19 +58304,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -56501,7 +58329,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -56511,7 +58339,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -56522,7 +58350,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -56532,7 +58360,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -56545,7 +58373,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -56559,14 +58387,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -56575,7 +58403,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -56583,32 +58411,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -56628,12 +58456,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -56643,7 +58471,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -56657,7 +58485,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -56668,14 +58496,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -56683,7 +58511,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -56697,14 +58525,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -56715,21 +58543,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -56737,14 +58565,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -56752,7 +58580,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -56762,7 +58590,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -56770,7 +58598,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -56784,18 +58612,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -56826,14 +58654,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -56841,27 +58669,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -56869,20 +58756,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -56890,14 +58777,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -56905,7 +58792,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -56919,18 +58806,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -56949,7 +58836,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -56957,20 +58844,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -56995,7 +58882,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -57007,7 +58894,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -57015,13 +58902,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -57031,7 +58918,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -57041,21 +58928,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57083,7 +58970,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -57108,7 +58995,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -57122,14 +59009,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -57137,20 +59024,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -57158,20 +59045,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -57190,7 +59077,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -57198,20 +59085,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -57236,7 +59123,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -57248,7 +59135,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -57256,13 +59143,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -57273,7 +59160,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -57314,7 +59201,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -57322,20 +59209,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -57343,20 +59230,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -57381,7 +59268,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -57393,7 +59280,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -57401,20 +59288,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -57422,20 +59309,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -57466,23 +59353,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -57495,7 +59382,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -57507,7 +59394,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -57515,13 +59402,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -57531,7 +59418,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -57566,26 +59453,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, 340, 336, 335, - 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -57598,7 +59485,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57606,13 +59493,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -57622,7 +59509,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -57632,10 +59519,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -57645,7 +59532,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57653,20 +59540,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -57677,17 +59564,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -57695,21 +59582,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -57717,21 +59604,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -57744,21 +59631,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -57768,7 +59655,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -57778,7 +59665,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -57788,7 +59675,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -57802,13 +59689,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -57816,7 +59703,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -57829,21 +59716,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -57853,7 +59740,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -57867,13 +59754,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -57885,13 +59772,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -57903,13 +59790,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -57920,24 +59807,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57945,13 +59832,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -57961,7 +59848,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -57975,7 +59862,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -57984,10 +59871,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -57995,27 +59882,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -58031,8 +59940,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -58053,105 +60038,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -58161,14 +60048,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -58176,19 +60063,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -58207,7 +60094,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -58217,7 +60104,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -58229,7 +60116,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -58239,7 +60126,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -58249,7 +60136,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -58259,7 +60146,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -58276,15 +60163,15 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, - 434, 429, 428 + 447, 446, 449, 444, 445, 453, + 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -58296,14 +60183,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -58311,7 +60198,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -58331,7 +60218,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -58339,7 +60226,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -58347,14 +60234,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -58362,7 +60249,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -58384,11 +60271,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -58404,27 +60311,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -58432,7 +60319,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -58443,7 +60330,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -58451,7 +60338,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -58462,7 +60349,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -58472,27 +60359,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -58512,7 +60399,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -58520,7 +60407,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -58531,7 +60418,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -58539,7 +60426,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -58561,7 +60448,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -58569,7 +60456,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -58580,7 +60467,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -58588,7 +60475,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -58601,7 +60488,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -58611,27 +60498,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -58651,7 +60538,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -58659,7 +60546,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -58679,7 +60566,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -58687,7 +60574,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -58699,11 +60586,29 @@ } }, { - "id": 336, + "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", @@ -58711,24 +60616,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -58736,7 +60623,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -58744,7 +60631,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -58760,30 +60647,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -58791,44 +60659,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -58847,8 +60711,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -58870,7 +60734,30 @@ } }, { - "id": 346, + "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", @@ -58878,7 +60765,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -58897,7 +60784,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -58905,30 +60792,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -58936,6 +60804,25 @@ "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" @@ -58943,7 +60830,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -58951,20 +60838,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -58975,17 +60862,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -58993,21 +60880,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -59015,21 +60902,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -59042,21 +60929,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -59066,7 +60953,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -59076,7 +60963,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -59086,7 +60973,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -59101,14 +60988,14 @@ "title": "Properties", "kind": 1024, "children": [ - 309, 308 + 323, 322 ] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -59116,7 +61003,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -59129,21 +61016,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -59153,7 +61040,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -59167,13 +61054,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -59185,13 +61072,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -59203,13 +61090,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -59222,14 +61109,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -59237,13 +61124,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -59259,7 +61146,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -59267,13 +61154,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -59289,7 +61176,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -59297,13 +61184,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -59313,7 +61200,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -59329,7 +61216,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -59353,7 +61240,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -59361,13 +61248,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -59379,7 +61266,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -59387,7 +61274,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -59395,13 +61282,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -59417,7 +61304,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -59425,13 +61312,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -59442,7 +61329,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -59453,7 +61340,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -59464,7 +61351,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -59485,7 +61372,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -59493,13 +61380,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -59510,17 +61397,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -59528,25 +61415,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -59558,80 +61519,6 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ @@ -59639,14 +61526,14 @@ "title": "Properties", "kind": 1024, "children": [ - 446, 449, 447, 448, 445 + 460, 463, 461, 462, 459 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -59673,7 +61560,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -59682,12 +61569,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -59702,7 +61589,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -59715,7 +61602,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -59723,13 +61610,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -59739,7 +61626,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -59749,7 +61636,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]" } @@ -59760,7 +61647,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -59772,7 +61659,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -59780,13 +61667,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -59796,7 +61683,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -59831,30 +61718,30 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, - 351, 337, 326, 334, 340, 336, 335, 342, 343, 344, - 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, - 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, + 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -59864,14 +61751,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -59879,27 +61766,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -59914,14 +61801,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -59929,7 +61816,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -59941,7 +61828,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -59949,14 +61836,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -59964,19 +61851,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -59995,7 +61882,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -60005,7 +61892,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -60015,7 +61902,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -60023,7 +61910,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -60037,13 +61924,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -60056,7 +61943,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -60064,7 +61951,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -60074,7 +61961,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -60082,7 +61969,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -60093,7 +61980,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -60102,10 +61989,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -60113,21 +62000,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -60135,21 +62022,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -60162,21 +62049,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -60186,7 +62073,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -60196,7 +62083,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -60206,7 +62093,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -60220,13 +62107,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -60234,7 +62121,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -60247,21 +62134,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -60271,7 +62158,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -60285,13 +62172,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -60303,13 +62190,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -60321,13 +62208,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -60338,7 +62225,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -60346,7 +62233,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -60365,18 +62252,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -60384,7 +62271,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -60392,7 +62279,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -60406,7 +62293,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -60414,7 +62301,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -60424,7 +62311,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -60433,17 +62320,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -60451,13 +62338,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -60467,7 +62354,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -60481,7 +62368,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -60490,10 +62377,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -60501,27 +62388,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -60537,8 +62446,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -60559,105 +62544,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -60667,14 +62554,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -60682,19 +62569,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -60713,7 +62600,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -60723,7 +62610,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -60735,7 +62622,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -60745,7 +62632,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -60755,7 +62642,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -60765,7 +62652,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -60782,15 +62669,15 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, - 428 + 447, 446, 449, 444, 445, 453, 448, 443, + 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -60802,14 +62689,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -60817,7 +62704,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -60837,7 +62724,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -60845,7 +62732,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -60853,14 +62740,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -60868,7 +62755,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -60890,11 +62777,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -60910,27 +62817,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -60938,7 +62825,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -60949,7 +62836,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -60957,7 +62844,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -60968,7 +62855,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -60978,27 +62865,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -61018,7 +62905,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -61026,7 +62913,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -61037,7 +62924,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -61045,7 +62932,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -61067,7 +62954,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -61075,7 +62962,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -61086,7 +62973,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -61094,7 +62981,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -61107,7 +62994,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -61117,27 +63004,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -61157,7 +63044,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -61165,7 +63052,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -61185,7 +63072,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -61193,7 +63080,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -61205,11 +63092,29 @@ } }, { - "id": 336, + "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", @@ -61217,24 +63122,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -61242,7 +63129,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -61250,7 +63137,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -61266,30 +63153,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -61297,44 +63165,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -61353,8 +63217,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -61376,7 +63240,30 @@ } }, { - "id": 346, + "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", @@ -61384,7 +63271,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -61403,7 +63290,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -61411,30 +63298,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -61442,6 +63310,25 @@ "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" @@ -61449,7 +63336,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -61457,20 +63344,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -61481,17 +63368,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -61499,21 +63386,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -61521,21 +63408,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -61548,21 +63435,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -61572,7 +63459,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -61582,7 +63469,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -61592,7 +63479,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -61606,13 +63493,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -61620,7 +63507,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -61633,21 +63520,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -61657,7 +63544,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -61671,13 +63558,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -61689,13 +63576,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -61707,13 +63594,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -61726,14 +63613,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -61741,13 +63628,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -61763,7 +63650,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -61771,13 +63658,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -61793,7 +63680,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -61801,13 +63688,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -61817,7 +63704,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -61833,7 +63720,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -61857,7 +63744,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -61865,13 +63752,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -61883,7 +63770,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -61891,7 +63778,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -61899,13 +63786,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -61921,7 +63808,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -61929,13 +63816,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -61946,7 +63833,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -61957,7 +63844,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -61968,7 +63855,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -61989,7 +63876,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -61997,13 +63884,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -62014,17 +63901,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -62032,25 +63919,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -62062,93 +64023,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -62175,7 +64062,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -62184,12 +64071,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -62204,7 +64091,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -62217,7 +64104,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -62225,13 +64112,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -62241,7 +64128,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -62251,7 +64138,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]" } @@ -62262,7 +64149,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -62274,7 +64161,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -62282,13 +64169,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -62298,7 +64185,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -62333,28 +64220,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, - 326, 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -62362,7 +64249,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -62370,7 +64257,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -62381,7 +64268,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -62389,7 +64276,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -62399,7 +64286,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -62412,7 +64299,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -62420,13 +64307,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -62436,7 +64323,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -62447,7 +64334,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -62455,14 +64342,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -62470,7 +64357,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -62484,14 +64371,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -62499,14 +64386,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -62523,19 +64410,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -62543,20 +64430,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -62577,7 +64464,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -62588,7 +64475,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -62596,14 +64483,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -62611,7 +64498,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -62625,14 +64512,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -62640,32 +64527,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -62685,19 +64572,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -62705,20 +64592,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -62739,7 +64626,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -62750,7 +64637,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -62758,14 +64645,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -62773,7 +64660,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -62787,14 +64674,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -62802,32 +64689,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -62847,19 +64734,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -62867,20 +64754,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -62901,7 +64788,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -62912,14 +64799,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -62928,7 +64815,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -62936,13 +64823,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -62954,7 +64841,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -62966,14 +64853,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -62984,19 +64871,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -63009,7 +64896,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -63019,7 +64906,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -63030,7 +64917,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -63040,7 +64927,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -63053,7 +64940,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -63067,14 +64954,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -63083,7 +64970,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -63091,32 +64978,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -63136,19 +65023,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63156,20 +65043,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -63190,7 +65077,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -63201,14 +65088,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -63217,7 +65104,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -63225,13 +65112,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63243,7 +65130,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -63255,14 +65142,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -63273,19 +65160,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -63298,7 +65185,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -63308,7 +65195,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -63319,7 +65206,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -63329,7 +65216,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -63342,7 +65229,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -63356,14 +65243,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -63372,7 +65259,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -63380,32 +65267,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -63425,19 +65312,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63445,20 +65332,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -63479,7 +65366,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -63490,14 +65377,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -63506,7 +65393,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -63514,13 +65401,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63532,7 +65419,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -63544,14 +65431,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -63562,19 +65449,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -63587,7 +65474,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -63597,7 +65484,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -63608,7 +65495,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -63618,7 +65505,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -63631,7 +65518,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -63645,14 +65532,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -63661,7 +65548,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -63669,32 +65556,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -63714,19 +65601,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63734,20 +65621,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -63768,7 +65655,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -63779,14 +65666,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -63795,7 +65682,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -63803,13 +65690,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -63821,7 +65708,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -63833,14 +65720,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -63851,19 +65738,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -63876,7 +65763,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -63886,7 +65773,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -63897,7 +65784,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -63907,7 +65794,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -63920,7 +65807,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -63934,14 +65821,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -63950,7 +65837,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -63958,32 +65845,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -64003,12 +65890,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -64018,7 +65905,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -64032,7 +65919,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -64043,14 +65930,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -64058,7 +65945,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -64072,14 +65959,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -64090,21 +65977,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -64112,14 +65999,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -64127,7 +66014,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -64137,7 +66024,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -64145,7 +66032,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -64159,18 +66046,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -64201,14 +66088,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -64216,27 +66103,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -64244,20 +66190,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -64265,14 +66211,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -64280,7 +66226,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -64294,18 +66240,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -64324,7 +66270,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -64332,20 +66278,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -64370,7 +66316,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -64382,7 +66328,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -64390,13 +66336,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -64406,7 +66352,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -64416,21 +66362,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -64458,7 +66404,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -64483,7 +66429,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -64497,14 +66443,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -64512,20 +66458,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -64533,20 +66479,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -64565,7 +66511,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -64573,20 +66519,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -64611,7 +66557,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -64623,7 +66569,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -64631,13 +66577,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -64648,7 +66594,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -64689,7 +66635,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -64697,20 +66643,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -64718,20 +66664,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -64756,7 +66702,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -64768,7 +66714,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -64776,20 +66722,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -64797,20 +66743,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -64841,23 +66787,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -64865,7 +66811,7 @@ } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -64892,7 +66838,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -64900,21 +66846,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -64922,7 +66868,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -64934,7 +66880,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -64942,7 +66888,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -64954,7 +66900,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -64962,13 +66908,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -64985,12 +66931,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -64998,7 +66944,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -65007,10 +66953,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -65020,7 +66966,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -65028,20 +66974,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -65052,17 +66998,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -65070,21 +67016,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -65092,21 +67038,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -65119,21 +67065,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -65143,7 +67089,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -65153,7 +67099,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -65163,7 +67109,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -65177,13 +67123,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -65191,7 +67137,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -65204,21 +67150,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -65228,7 +67174,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -65242,13 +67188,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -65260,13 +67206,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -65278,13 +67224,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -65295,24 +67241,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -65320,13 +67266,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -65336,7 +67282,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -65350,7 +67296,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -65359,10 +67305,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -65370,27 +67316,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -65406,8 +67374,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -65428,105 +67472,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -65536,14 +67482,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -65551,19 +67497,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -65582,7 +67528,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -65592,7 +67538,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -65604,7 +67550,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -65614,7 +67560,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -65624,7 +67570,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -65634,7 +67580,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -65651,15 +67597,15 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, - 428 + 447, 446, 449, 444, 445, 453, 448, 443, + 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -65671,14 +67617,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -65686,7 +67632,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -65706,7 +67652,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -65714,7 +67660,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -65722,14 +67668,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -65737,7 +67683,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -65759,11 +67705,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -65779,27 +67745,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -65807,7 +67753,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -65818,7 +67764,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -65826,7 +67772,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -65837,7 +67783,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -65847,27 +67793,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -65887,7 +67833,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -65895,7 +67841,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -65906,7 +67852,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -65914,7 +67860,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -65936,7 +67882,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -65944,7 +67890,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -65955,7 +67901,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -65963,7 +67909,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -65976,7 +67922,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -65986,27 +67932,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -66026,7 +67972,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -66034,7 +67980,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -66054,7 +68000,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -66062,7 +68008,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -66074,11 +68020,29 @@ } }, { - "id": 336, + "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", @@ -66086,24 +68050,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -66111,7 +68057,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -66119,7 +68065,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -66135,30 +68081,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -66166,44 +68093,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -66222,8 +68145,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -66245,7 +68168,30 @@ } }, { - "id": 346, + "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", @@ -66253,7 +68199,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -66272,7 +68218,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -66280,30 +68226,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -66311,6 +68238,25 @@ "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" @@ -66318,7 +68264,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -66326,20 +68272,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -66350,17 +68296,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -66368,21 +68314,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -66390,21 +68336,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -66417,21 +68363,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -66441,7 +68387,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -66451,7 +68397,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -66461,7 +68407,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -66475,13 +68421,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -66489,7 +68435,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -66502,21 +68448,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -66526,7 +68472,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -66540,13 +68486,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -66558,13 +68504,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -66576,13 +68522,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -66595,14 +68541,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -66610,13 +68556,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -66632,7 +68578,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -66640,13 +68586,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -66662,7 +68608,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -66670,13 +68616,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -66686,7 +68632,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -66702,7 +68648,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -66726,7 +68672,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -66734,13 +68680,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -66752,7 +68698,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -66760,7 +68706,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -66768,13 +68714,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -66790,7 +68736,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -66798,13 +68744,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -66815,7 +68761,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -66826,7 +68772,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -66837,7 +68783,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -66858,7 +68804,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -66866,13 +68812,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -66883,17 +68829,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -66901,25 +68847,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -66931,93 +68951,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -67044,7 +68990,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -67053,12 +68999,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -67073,7 +69019,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -67086,7 +69032,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -67094,13 +69040,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -67110,7 +69056,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -67120,7 +69066,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]" } @@ -67131,7 +69077,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -67143,7 +69089,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -67151,13 +69097,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -67167,7 +69113,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -67202,28 +69148,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, - 326, 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -67233,14 +69179,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -67248,27 +69194,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -67283,14 +69229,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -67298,7 +69244,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -67310,7 +69256,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -67318,14 +69264,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -67333,19 +69279,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -67364,7 +69310,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -67374,7 +69320,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -67384,7 +69330,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -67392,7 +69338,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -67406,13 +69352,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -67425,7 +69371,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -67433,7 +69379,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -67443,7 +69389,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -67451,7 +69397,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -67462,7 +69408,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -67471,10 +69417,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -67482,21 +69428,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -67504,21 +69450,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -67531,21 +69477,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -67555,7 +69501,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -67565,7 +69511,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -67575,7 +69521,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -67589,13 +69535,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -67603,7 +69549,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -67616,21 +69562,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -67640,7 +69586,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -67654,13 +69600,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -67672,13 +69618,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -67690,13 +69636,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -67707,7 +69653,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -67715,7 +69661,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -67734,18 +69680,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -67753,7 +69699,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -67761,7 +69707,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -67775,7 +69721,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -67783,7 +69729,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -67793,7 +69739,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -67802,17 +69748,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -67820,13 +69766,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -67836,7 +69782,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -67850,7 +69796,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -67859,10 +69805,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -67870,27 +69816,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -67906,8 +69874,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -67928,105 +69972,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -68036,14 +69982,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -68051,19 +69997,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -68082,7 +70028,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -68092,7 +70038,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -68104,7 +70050,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -68114,7 +70060,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -68124,7 +70070,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -68134,7 +70080,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -68151,14 +70097,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -68170,14 +70116,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -68185,7 +70131,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -68205,7 +70151,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -68213,7 +70159,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -68221,14 +70167,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -68236,7 +70182,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -68258,11 +70204,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -68278,27 +70244,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -68306,7 +70252,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -68317,7 +70263,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -68325,7 +70271,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -68336,7 +70282,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -68346,27 +70292,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -68386,7 +70332,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -68394,7 +70340,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -68405,7 +70351,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -68413,7 +70359,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -68435,7 +70381,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -68443,7 +70389,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -68454,7 +70400,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -68462,7 +70408,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -68475,7 +70421,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -68485,27 +70431,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -68525,7 +70471,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -68533,7 +70479,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -68553,7 +70499,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -68561,7 +70507,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -68573,11 +70519,29 @@ } }, { - "id": 336, + "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", @@ -68585,24 +70549,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -68610,7 +70556,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -68618,7 +70564,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -68634,30 +70580,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -68665,44 +70592,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -68721,8 +70644,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -68744,7 +70667,30 @@ } }, { - "id": 346, + "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", @@ -68752,7 +70698,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -68771,7 +70717,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -68779,30 +70725,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -68810,6 +70737,25 @@ "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" @@ -68817,7 +70763,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -68825,20 +70771,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -68849,17 +70795,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -68867,21 +70813,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -68889,21 +70835,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -68916,21 +70862,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -68940,7 +70886,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -68950,7 +70896,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -68960,7 +70906,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -68974,13 +70920,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -68988,7 +70934,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -69001,21 +70947,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -69025,7 +70971,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -69039,13 +70985,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -69057,13 +71003,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -69075,13 +71021,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -69094,14 +71040,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -69109,13 +71055,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -69131,7 +71077,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -69139,13 +71085,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -69161,7 +71107,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -69169,13 +71115,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -69185,7 +71131,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -69201,7 +71147,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -69225,7 +71171,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -69233,13 +71179,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -69251,7 +71197,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -69259,7 +71205,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -69267,13 +71213,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -69289,7 +71235,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -69297,13 +71243,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -69314,7 +71260,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -69325,7 +71271,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -69336,7 +71282,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -69357,7 +71303,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -69365,13 +71311,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -69382,17 +71328,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -69400,25 +71346,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -69430,93 +71450,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -69543,7 +71489,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -69552,12 +71498,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -69572,7 +71518,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -69585,7 +71531,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -69593,13 +71539,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -69609,7 +71555,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -69619,7 +71565,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]" } @@ -69630,7 +71576,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -69642,7 +71588,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -69650,13 +71596,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -69666,7 +71612,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -69701,26 +71647,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, - 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -69728,7 +71674,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -69736,7 +71682,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -69747,7 +71693,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -69755,7 +71701,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -69765,7 +71711,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -69778,7 +71724,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -69786,13 +71732,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -69802,7 +71748,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -69813,7 +71759,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -69821,14 +71767,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -69836,7 +71782,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -69850,14 +71796,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -69865,14 +71811,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -69889,19 +71835,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -69909,20 +71855,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -69943,7 +71889,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -69954,7 +71900,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -69962,14 +71908,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -69977,7 +71923,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -69991,14 +71937,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -70006,32 +71952,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -70051,19 +71997,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70071,20 +72017,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -70105,7 +72051,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -70116,7 +72062,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -70124,14 +72070,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -70139,7 +72085,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -70153,14 +72099,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -70168,32 +72114,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -70213,19 +72159,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70233,20 +72179,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -70267,7 +72213,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -70278,14 +72224,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -70294,7 +72240,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -70302,13 +72248,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70320,7 +72266,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -70332,14 +72278,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -70350,19 +72296,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -70375,7 +72321,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -70385,7 +72331,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -70396,7 +72342,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -70406,7 +72352,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -70419,7 +72365,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -70433,14 +72379,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -70449,7 +72395,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -70457,32 +72403,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -70502,19 +72448,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70522,20 +72468,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -70556,7 +72502,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -70567,14 +72513,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -70583,7 +72529,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -70591,13 +72537,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70609,7 +72555,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -70621,14 +72567,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -70639,19 +72585,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -70664,7 +72610,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -70674,7 +72620,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -70685,7 +72631,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -70695,7 +72641,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -70708,7 +72654,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -70722,14 +72668,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -70738,7 +72684,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -70746,32 +72692,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -70791,19 +72737,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70811,20 +72757,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -70845,7 +72791,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -70856,14 +72802,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -70872,7 +72818,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -70880,13 +72826,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -70898,7 +72844,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -70910,14 +72856,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -70928,19 +72874,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -70953,7 +72899,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -70963,7 +72909,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -70974,7 +72920,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -70984,7 +72930,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -70997,7 +72943,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -71011,14 +72957,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -71027,7 +72973,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -71035,32 +72981,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -71080,19 +73026,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -71100,20 +73046,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -71134,7 +73080,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -71145,14 +73091,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -71161,7 +73107,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -71169,13 +73115,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -71187,7 +73133,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -71199,14 +73145,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -71217,19 +73163,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -71242,7 +73188,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -71252,7 +73198,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -71263,7 +73209,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -71273,7 +73219,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -71286,7 +73232,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -71300,14 +73246,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -71316,7 +73262,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -71324,32 +73270,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -71369,12 +73315,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -71384,7 +73330,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -71398,7 +73344,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -71409,14 +73355,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -71424,7 +73370,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -71438,14 +73384,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -71456,21 +73402,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -71478,14 +73424,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -71493,7 +73439,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -71503,7 +73449,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -71511,7 +73457,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -71525,18 +73471,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -71567,14 +73513,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -71582,27 +73528,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -71610,20 +73615,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -71631,14 +73636,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -71646,7 +73651,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -71660,18 +73665,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -71690,7 +73695,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -71698,20 +73703,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -71736,7 +73741,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -71748,7 +73753,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -71756,13 +73761,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -71772,7 +73777,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -71782,21 +73787,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -71824,7 +73829,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -71849,7 +73854,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -71863,14 +73868,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -71878,20 +73883,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -71899,20 +73904,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -71931,7 +73936,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -71939,20 +73944,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -71977,7 +73982,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -71989,7 +73994,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -71997,13 +74002,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -72014,7 +74019,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -72055,7 +74060,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -72063,20 +74068,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -72084,20 +74089,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -72122,7 +74127,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -72134,7 +74139,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -72142,20 +74147,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -72163,20 +74168,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -72207,23 +74212,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -72231,7 +74236,7 @@ } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -72239,7 +74244,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -72259,7 +74264,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -72267,7 +74272,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -72281,7 +74286,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -72289,16 +74294,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -72310,10 +74327,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -72322,18 +74405,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -72347,6 +74430,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -72362,24 +74452,24 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] }, { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -72387,21 +74477,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -72409,21 +74499,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -72436,21 +74526,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -72460,7 +74550,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -72470,7 +74560,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -72480,7 +74570,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -72494,13 +74584,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -72508,7 +74598,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -72521,21 +74611,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -72545,7 +74635,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -72559,13 +74649,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -72577,13 +74667,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -72595,13 +74685,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -72609,7 +74699,7 @@ } }, { - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse", "kind": 4194304, "kindString": "Type alias", @@ -72617,7 +74707,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 79, + "line": 83, "character": 12 } ], @@ -72640,7 +74730,7 @@ } }, { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -72648,225 +74738,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -72882,8 +74774,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -72892,7 +74784,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -72902,7 +74872,127 @@ } }, { - "id": 428, + "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", @@ -72912,7 +75002,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -72928,13 +75018,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -72942,7 +75032,7 @@ } }, { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -72950,25 +75040,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -72980,93 +75144,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -73074,7 +75164,7 @@ } }, { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -73082,13 +75172,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73100,7 +75190,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -73112,14 +75202,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -73130,19 +75220,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -73155,7 +75245,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -73165,7 +75255,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -73176,7 +75266,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -73186,7 +75276,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -73199,7 +75289,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -73213,21 +75303,21 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } } }, { - "id": 457, + "id": 471, "name": "RealtimePostgresChangesPayload", "kind": 4194304, "kindString": "Type alias", @@ -73235,13 +75325,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 12 } ], "typeParameter": [ { - "id": 461, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73249,7 +75339,7 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73257,19 +75347,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 53 } ], "indexSignature": { - "id": 459, + "id": 473, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 460, + "id": 474, "name": "key", "kind": 32768, "flags": {}, @@ -73292,7 +75382,7 @@ "type": "union", "types": [ { - "id": 462, + "id": 476, "name": "RealtimePostgresInsertPayload", "kind": 4194304, "kindString": "Type alias", @@ -73300,13 +75390,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 12 } ], "typeParameter": [ { - "id": 471, + "id": 485, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73314,7 +75404,7 @@ "type": { "type": "reflection", "declaration": { - "id": 468, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73322,19 +75412,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 52 } ], "indexSignature": { - "id": 469, + "id": 483, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 470, + "id": 484, "name": "key", "kind": 32768, "flags": {}, @@ -73363,65 +75453,18 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 464, + "id": 478, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 522, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 465, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 471, - "name": "T" - } - }, - { - "id": 466, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -73429,10 +75472,57 @@ "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": 467, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73440,7 +75530,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 38, + "line": 40, "character": 9 } ] @@ -73452,13 +75542,13 @@ { "title": "Properties", "kind": 1024, - "children": [464, 465, 466] + "children": [478, 479, 480] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 35, + "line": 37, "character": 39 } ] @@ -73468,7 +75558,7 @@ } }, { - "id": 472, + "id": 486, "name": "RealtimePostgresUpdatePayload", "kind": 4194304, "kindString": "Type alias", @@ -73476,13 +75566,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 12 } ], "typeParameter": [ { - "id": 480, + "id": 494, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73490,7 +75580,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73498,19 +75588,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 52 } ], "indexSignature": { - "id": 478, + "id": 492, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 479, + "id": 493, "name": "key", "kind": 32768, "flags": {}, @@ -73539,65 +75629,18 @@ { "type": "reflection", "declaration": { - "id": 473, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 474, + "id": 488, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 523, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 475, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "T" - } - }, - { - "id": 476, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -73605,12 +75648,59 @@ "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": 480, + "id": 494, "name": "T" } ], @@ -73624,13 +75714,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 476] + "children": [488, 489, 490] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 42, + "line": 44, "character": 39 } ] @@ -73640,7 +75730,7 @@ } }, { - "id": 481, + "id": 495, "name": "RealtimePostgresDeletePayload", "kind": 4194304, "kindString": "Type alias", @@ -73648,13 +75738,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 12 } ], "typeParameter": [ { - "id": 490, + "id": 504, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73662,7 +75752,7 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73670,19 +75760,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 52 } ], "indexSignature": { - "id": 488, + "id": 502, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 489, + "id": 503, "name": "key", "kind": 32768, "flags": {}, @@ -73711,77 +75801,18 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, + "id": 497, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 524, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 484, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 486, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -73789,12 +75820,71 @@ "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": 490, + "id": 504, "name": "T" } ], @@ -73808,13 +75898,13 @@ { "title": "Properties", "kind": 1024, - "children": [483, 484, 486] + "children": [497, 498, 500] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 49, + "line": 51, "character": 39 } ] @@ -73827,7 +75917,7 @@ } }, { - "id": 481, + "id": 495, "name": "RealtimePostgresDeletePayload", "kind": 4194304, "kindString": "Type alias", @@ -73835,13 +75925,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 12 } ], "typeParameter": [ { - "id": 490, + "id": 504, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -73849,7 +75939,7 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -73857,19 +75947,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 52 } ], "indexSignature": { - "id": 488, + "id": 502, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 489, + "id": 503, "name": "key", "kind": 32768, "flags": {}, @@ -73898,77 +75988,18 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, + "id": 497, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 524, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 484, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 486, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -73976,12 +76007,71 @@ "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": 490, + "id": 504, "name": "T" } ], @@ -73995,13 +76085,13 @@ { "title": "Properties", "kind": 1024, - "children": [483, 484, 486] + "children": [497, 498, 500] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 49, + "line": 51, "character": 39 } ] @@ -74011,7 +76101,7 @@ } }, { - "id": 462, + "id": 476, "name": "RealtimePostgresInsertPayload", "kind": 4194304, "kindString": "Type alias", @@ -74019,13 +76109,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 12 } ], "typeParameter": [ { - "id": 471, + "id": 485, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -74033,7 +76123,7 @@ "type": { "type": "reflection", "declaration": { - "id": 468, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74041,19 +76131,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 52 } ], "indexSignature": { - "id": 469, + "id": 483, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 470, + "id": 484, "name": "key", "kind": 32768, "flags": {}, @@ -74082,65 +76172,18 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 464, + "id": 478, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 522, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 465, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 471, - "name": "T" - } - }, - { - "id": 466, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -74148,10 +76191,57 @@ "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": 467, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74159,7 +76249,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 38, + "line": 40, "character": 9 } ] @@ -74171,13 +76261,13 @@ { "title": "Properties", "kind": 1024, - "children": [464, 465, 466] + "children": [478, 479, 480] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 35, + "line": 37, "character": 39 } ] @@ -74187,7 +76277,7 @@ } }, { - "id": 472, + "id": 486, "name": "RealtimePostgresUpdatePayload", "kind": 4194304, "kindString": "Type alias", @@ -74195,13 +76285,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 12 } ], "typeParameter": [ { - "id": 480, + "id": 494, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -74209,7 +76299,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74217,19 +76307,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 52 } ], "indexSignature": { - "id": 478, + "id": 492, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 479, + "id": 493, "name": "key", "kind": 32768, "flags": {}, @@ -74258,65 +76348,18 @@ { "type": "reflection", "declaration": { - "id": 473, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 474, + "id": 488, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 523, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 475, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "T" - } - }, - { - "id": 476, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -74324,12 +76367,59 @@ "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": 480, + "id": 494, "name": "T" } ], @@ -74343,13 +76433,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 476] + "children": [488, 489, 490] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 42, + "line": 44, "character": 39 } ] @@ -74359,7 +76449,7 @@ } }, { - "id": 491, + "id": 505, "name": "RealtimePresenceJoinPayload", "kind": 4194304, "kindString": "Type alias", @@ -74367,13 +76457,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 12 } ], "typeParameter": [ { - "id": 500, + "id": 514, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -74381,7 +76471,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74389,19 +76479,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 50 } ], "indexSignature": { - "id": 498, + "id": 512, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 499, + "id": 513, "name": "key", "kind": 32768, "flags": {}, @@ -74423,18 +76513,46 @@ "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 506, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "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", @@ -74442,34 +76560,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 500, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 493, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -74477,7 +76567,7 @@ [ { "type": "reference", - "id": 527, + "id": 546, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, "" @@ -74486,29 +76576,11 @@ } }, { - "id": 494, + "id": 508, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 496, - "name": "newPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -74516,6 +76588,24 @@ "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": { @@ -74523,7 +76613,7 @@ "typeArguments": [ { "type": "reference", - "id": 500, + "id": 514, "name": "T" } ], @@ -74536,13 +76626,13 @@ { "title": "Properties", "kind": 1024, - "children": [495, 493, 494, 496] + "children": [509, 507, 508, 510] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 76 } ] @@ -74550,7 +76640,7 @@ } }, { - "id": 501, + "id": 515, "name": "RealtimePresenceLeavePayload", "kind": 4194304, "kindString": "Type alias", @@ -74558,13 +76648,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 12 } ], "typeParameter": [ { - "id": 510, + "id": 524, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -74572,7 +76662,7 @@ "type": { "type": "reflection", "declaration": { - "id": 507, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74580,19 +76670,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 51 } ], "indexSignature": { - "id": 508, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 509, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -74614,18 +76704,46 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 505, + "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", @@ -74633,34 +76751,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 510, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 503, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 27, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -74668,7 +76758,7 @@ [ { "type": "reference", - "id": 528, + "id": 547, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, "" @@ -74677,29 +76767,11 @@ } }, { - "id": 504, + "id": 518, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 506, - "name": "leftPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -74707,6 +76779,24 @@ "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": { @@ -74714,7 +76804,7 @@ "typeArguments": [ { "type": "reference", - "id": 510, + "id": 524, "name": "T" } ], @@ -74727,13 +76817,13 @@ { "title": "Properties", "kind": 1024, - "children": [505, 503, 504, 506] + "children": [519, 517, 518, 520] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 77 } ] @@ -74741,7 +76831,7 @@ } }, { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -74753,10 +76843,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -74765,18 +76921,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -74790,6 +76946,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -74798,7 +76961,7 @@ } }, { - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse", "kind": 4194304, "kindString": "Type alias", @@ -74806,7 +76969,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 12 } ], @@ -74833,17 +76996,17 @@ { "title": "Enumerations", "kind": 8, - "children": [516, 520, 525, 529] + "children": [535, 539, 544, 548] }, { "title": "Classes", "kind": 128, - "children": [55, 314, 1] + "children": [64, 328, 1] }, { "title": "Type Aliases", "kind": 4194304, - "children": [302, 313, 426, 443, 450, 457, 481, 462, 472, 491, 501, 511, 515] + "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] } ], "sources": [ @@ -74869,14 +77032,14 @@ "flags": {}, "children": [ { - "id": 403, + "id": 404, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 405, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -74890,14 +77053,14 @@ ], "signatures": [ { - "id": 405, + "id": 406, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 407, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -74908,7 +77071,7 @@ } }, { - "id": 407, + "id": 408, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -74921,24 +77084,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 409, "name": "status", "kind": 1024, "kindString": "Property", @@ -74956,7 +77119,7 @@ } }, { - "id": 409, + "id": 410, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -74970,7 +77133,7 @@ ], "signatures": [ { - "id": 410, + "id": 411, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -74978,14 +77141,14 @@ "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 412, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 413, + "id": 414, "name": "message", "kind": 1024, "kindString": "Property", @@ -75004,7 +77167,7 @@ "defaultValue": "..." }, { - "id": 412, + "id": 413, "name": "name", "kind": 1024, "kindString": "Property", @@ -75023,7 +77186,7 @@ "defaultValue": "..." }, { - "id": 414, + "id": 415, "name": "status", "kind": 1024, "kindString": "Property", @@ -75046,7 +77209,7 @@ { "title": "Properties", "kind": 1024, - "children": [413, 412, 414] + "children": [414, 413, 415] } ] } @@ -75059,17 +77222,17 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [405] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [409] }, { "title": "Methods", "kind": 2048, - "children": [409] + "children": [410] } ], "sources": [ @@ -75082,7 +77245,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -75462,7 +77625,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -75671,7 +77834,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -75880,7 +78043,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -76104,7 +78267,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -76268,7 +78431,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -76524,7 +78687,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -76587,14 +78750,14 @@ ] }, { - "id": 398, + "id": 399, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 399, + "id": 400, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -76608,14 +78771,14 @@ ], "signatures": [ { - "id": 400, + "id": 401, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 401, + "id": 402, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -76628,7 +78791,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" }, "overwrites": { @@ -76647,7 +78810,7 @@ { "title": "Constructors", "kind": 512, - "children": [399] + "children": [400] } ], "sources": [ @@ -76668,25 +78831,25 @@ "extendedBy": [ { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" } ] }, { - "id": 416, + "id": 417, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 417, + "id": 418, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -76700,14 +78863,14 @@ ], "signatures": [ { - "id": 418, + "id": 419, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 420, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -76718,7 +78881,7 @@ } }, { - "id": 420, + "id": 421, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -76731,24 +78894,24 @@ ], "type": { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 421, + "id": 422, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -76770,12 +78933,12 @@ { "title": "Constructors", "kind": 512, - "children": [417] + "children": [418] }, { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] } ], "sources": [ @@ -76788,7 +78951,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -77684,7 +79847,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -77698,7 +79861,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -77730,6 +79893,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -77794,7 +79980,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -77806,7 +79992,7 @@ ] }, { - "id": 395, + "id": 396, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -77820,14 +80006,14 @@ ], "signatures": [ { - "id": 396, + "id": 397, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 398, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -77844,7 +80030,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -77856,7 +80042,7 @@ { "title": "Classes", "kind": 128, - "children": [403, 266, 398, 416] + "children": [404, 266, 399, 417] }, { "title": "Interfaces", @@ -77866,7 +80052,7 @@ { "title": "Functions", "kind": 64, - "children": [395] + "children": [396] } ], "sources": [ @@ -78249,7 +80435,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -78448,7 +80634,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -78647,7 +80833,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -78814,7 +81000,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -78968,7 +81154,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -79214,7 +81400,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -79652,7 +81838,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -79807,7 +81993,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -79821,7 +82007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -79853,6 +82039,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -79917,7 +82126,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -80078,7 +82287,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -80409,7 +82618,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -80518,7 +82727,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -80532,7 +82741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -80564,6 +82773,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -80628,7 +82860,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -80758,7 +82990,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -80899,7 +83131,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -80913,7 +83145,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -80945,6 +83177,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -81009,7 +83264,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -81510,7 +83765,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -81723,7 +83978,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -81896,7 +84151,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -82282,7 +84537,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -82668,7 +84923,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -83172,7 +85427,7 @@ "flags": {}, "children": [ { - "id": 34, + "id": 35, "name": "body", "kind": 1024, "kindString": "Property", @@ -83185,7 +85440,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 56, "character": 2 } ], @@ -83311,13 +85566,57 @@ } } } + }, + { + "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": [34, 30] + "children": [35, 30, 34] } ], "sources": [ @@ -83339,7 +85638,7 @@ "typeArguments": [ { "type": "reference", - "id": 57, + "id": 58, "typeArguments": [ { "type": "reference", @@ -83430,14 +85729,14 @@ ] }, { - "id": 35, + "id": 36, "name": "FunctionsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 36, + "id": 37, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -83451,14 +85750,14 @@ ], "signatures": [ { - "id": 37, + "id": 38, "name": "new FunctionsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 38, + "id": 39, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -83469,7 +85768,7 @@ } }, { - "id": 39, + "id": 40, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -83481,7 +85780,7 @@ "defaultValue": "'FunctionsError'" }, { - "id": 40, + "id": 41, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -83496,7 +85795,7 @@ ], "type": { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" }, "overwrites": { @@ -83511,7 +85810,7 @@ } }, { - "id": 41, + "id": 42, "name": "context", "kind": 1024, "kindString": "Property", @@ -83533,12 +85832,12 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [37] }, { "title": "Properties", "kind": 1024, - "children": [41] + "children": [42] } ], "sources": [ @@ -83559,30 +85858,30 @@ "extendedBy": [ { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" } ] }, { - "id": 42, + "id": 43, "name": "FunctionsFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 43, + "id": 44, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -83596,14 +85895,14 @@ ], "signatures": [ { - "id": 44, + "id": 45, "name": "new FunctionsFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 45, + "id": 46, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -83616,24 +85915,24 @@ ], "type": { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 46, + "id": 47, "name": "context", "kind": 1024, "kindString": "Property", @@ -83651,7 +85950,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -83660,12 +85959,12 @@ { "title": "Constructors", "kind": 512, - "children": [43] + "children": [44] }, { "title": "Properties", "kind": 1024, - "children": [46] + "children": [47] } ], "sources": [ @@ -83678,20 +85977,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 47, + "id": 48, "name": "FunctionsHttpError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 48, + "id": 49, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -83705,14 +86004,14 @@ ], "signatures": [ { - "id": 49, + "id": 50, "name": "new FunctionsHttpError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 50, + "id": 51, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -83725,24 +86024,24 @@ ], "type": { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 51, + "id": 52, "name": "context", "kind": 1024, "kindString": "Property", @@ -83760,7 +86059,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -83769,12 +86068,12 @@ { "title": "Constructors", "kind": 512, - "children": [48] + "children": [49] }, { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ], "sources": [ @@ -83787,20 +86086,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 52, + "id": 53, "name": "FunctionsRelayError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 53, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -83814,14 +86113,14 @@ ], "signatures": [ { - "id": 54, + "id": 55, "name": "new FunctionsRelayError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 55, + "id": 56, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -83834,24 +86133,24 @@ ], "type": { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 56, + "id": 57, "name": "context", "kind": 1024, "kindString": "Property", @@ -83869,7 +86168,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -83878,12 +86177,12 @@ { "title": "Constructors", "kind": 512, - "children": [53] + "children": [54] }, { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ], "sources": [ @@ -83896,7 +86195,7 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] @@ -83924,7 +86223,7 @@ "flags": {}, "children": [ { - "id": 34, + "id": 35, "name": "body", "kind": 1024, "kindString": "Property", @@ -83937,7 +86236,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 56, "character": 2 } ], @@ -84063,13 +86362,57 @@ } } } + }, + { + "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": [34, 30] + "children": [35, 30, 34] } ], "sources": [ @@ -84083,7 +86426,7 @@ } }, { - "id": 57, + "id": 58, "name": "FunctionsResponse", "kind": 4194304, "kindString": "Type alias", @@ -84097,7 +86440,7 @@ ], "typeParameter": [ { - "id": 58, + "id": 59, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -84114,12 +86457,12 @@ { "title": "Classes", "kind": 128, - "children": [1, 35, 42, 47, 52] + "children": [1, 36, 43, 48, 53] }, { "title": "Type Aliases", "kind": 4194304, - "children": [28, 57] + "children": [28, 58] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/functions.json b/spec/enrichments/tsdoc_v2/functions.json index f116c400ea6..419e9def96f 100644 --- a/spec/enrichments/tsdoc_v2/functions.json +++ b/spec/enrichments/tsdoc_v2/functions.json @@ -418,7 +418,7 @@ "typeArguments": [ { "type": "reference", - "id": 57, + "id": 58, "typeArguments": [ { "type": "reference", @@ -509,14 +509,14 @@ ] }, { - "id": 35, + "id": 36, "name": "FunctionsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 36, + "id": 37, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -530,14 +530,14 @@ ], "signatures": [ { - "id": 37, + "id": 38, "name": "new FunctionsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 38, + "id": 39, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -548,7 +548,7 @@ } }, { - "id": 39, + "id": 40, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -560,7 +560,7 @@ "defaultValue": "'FunctionsError'" }, { - "id": 40, + "id": 41, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -575,7 +575,7 @@ ], "type": { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" }, "overwrites": { @@ -590,7 +590,7 @@ } }, { - "id": 41, + "id": 42, "name": "context", "kind": 1024, "kindString": "Property", @@ -612,12 +612,12 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [37] }, { "title": "Properties", "kind": 1024, - "children": [41] + "children": [42] } ], "sources": [ @@ -638,30 +638,30 @@ "extendedBy": [ { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" } ] }, { - "id": 42, + "id": 43, "name": "FunctionsFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 43, + "id": 44, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -675,14 +675,14 @@ ], "signatures": [ { - "id": 44, + "id": 45, "name": "new FunctionsFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 45, + "id": 46, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -695,24 +695,24 @@ ], "type": { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 46, + "id": 47, "name": "context", "kind": 1024, "kindString": "Property", @@ -730,7 +730,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -739,12 +739,12 @@ { "title": "Constructors", "kind": 512, - "children": [43] + "children": [44] }, { "title": "Properties", "kind": 1024, - "children": [46] + "children": [47] } ], "sources": [ @@ -757,20 +757,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 47, + "id": 48, "name": "FunctionsHttpError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 48, + "id": 49, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -784,14 +784,14 @@ ], "signatures": [ { - "id": 49, + "id": 50, "name": "new FunctionsHttpError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 50, + "id": 51, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -804,24 +804,24 @@ ], "type": { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 51, + "id": 52, "name": "context", "kind": 1024, "kindString": "Property", @@ -839,7 +839,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -848,12 +848,12 @@ { "title": "Constructors", "kind": 512, - "children": [48] + "children": [49] }, { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ], "sources": [ @@ -866,20 +866,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 52, + "id": 53, "name": "FunctionsRelayError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 53, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -893,14 +893,14 @@ ], "signatures": [ { - "id": 54, + "id": 55, "name": "new FunctionsRelayError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 55, + "id": 56, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -913,24 +913,24 @@ ], "type": { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 56, + "id": 57, "name": "context", "kind": 1024, "kindString": "Property", @@ -948,7 +948,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -957,12 +957,12 @@ { "title": "Constructors", "kind": 512, - "children": [53] + "children": [54] }, { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ], "sources": [ @@ -975,7 +975,7 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] @@ -1003,7 +1003,7 @@ "flags": {}, "children": [ { - "id": 34, + "id": 35, "name": "body", "kind": 1024, "kindString": "Property", @@ -1016,7 +1016,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 56, "character": 2 } ], @@ -1142,13 +1142,57 @@ } } } + }, + { + "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": [34, 30] + "children": [35, 30, 34] } ], "sources": [ @@ -1162,7 +1206,7 @@ } }, { - "id": 57, + "id": 58, "name": "FunctionsResponse", "kind": 4194304, "kindString": "Type alias", @@ -1176,7 +1220,7 @@ ], "typeParameter": [ { - "id": 58, + "id": 59, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1191,7 +1235,7 @@ "typeArguments": [ { "type": "reference", - "id": 58, + "id": 59, "name": "T" } ], @@ -1209,12 +1253,12 @@ { "title": "Classes", "kind": 128, - "children": [1, 35, 42, 47, 52] + "children": [1, 36, 43, 48, 53] }, { "title": "Type Aliases", "kind": 4194304, - "children": [28, 57] + "children": [28, 58] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/spec/enrichments/tsdoc_v2/functions_dereferenced.json index 65eb2310216..f648d5f02df 100644 --- a/spec/enrichments/tsdoc_v2/functions_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/functions_dereferenced.json @@ -432,7 +432,7 @@ "flags": {}, "children": [ { - "id": 34, + "id": 35, "name": "body", "kind": 1024, "kindString": "Property", @@ -445,7 +445,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 56, "character": 2 } ], @@ -571,13 +571,57 @@ } } } + }, + { + "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": [34, 30] + "children": [35, 30, 34] } ], "sources": [ @@ -599,7 +643,7 @@ "typeArguments": [ { "type": "reference", - "id": 57, + "id": 58, "typeArguments": [ { "type": "reference", @@ -690,14 +734,14 @@ ] }, { - "id": 35, + "id": 36, "name": "FunctionsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 36, + "id": 37, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -711,14 +755,14 @@ ], "signatures": [ { - "id": 37, + "id": 38, "name": "new FunctionsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 38, + "id": 39, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -729,7 +773,7 @@ } }, { - "id": 39, + "id": 40, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -741,7 +785,7 @@ "defaultValue": "'FunctionsError'" }, { - "id": 40, + "id": 41, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -756,7 +800,7 @@ ], "type": { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" }, "overwrites": { @@ -771,7 +815,7 @@ } }, { - "id": 41, + "id": 42, "name": "context", "kind": 1024, "kindString": "Property", @@ -793,12 +837,12 @@ { "title": "Constructors", "kind": 512, - "children": [36] + "children": [37] }, { "title": "Properties", "kind": 1024, - "children": [41] + "children": [42] } ], "sources": [ @@ -819,30 +863,30 @@ "extendedBy": [ { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" } ] }, { - "id": 42, + "id": 43, "name": "FunctionsFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 43, + "id": 44, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -856,14 +900,14 @@ ], "signatures": [ { - "id": 44, + "id": 45, "name": "new FunctionsFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 45, + "id": 46, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -876,24 +920,24 @@ ], "type": { "type": "reference", - "id": 42, + "id": 43, "name": "FunctionsFetchError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 46, + "id": 47, "name": "context", "kind": 1024, "kindString": "Property", @@ -911,7 +955,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -920,12 +964,12 @@ { "title": "Constructors", "kind": 512, - "children": [43] + "children": [44] }, { "title": "Properties", "kind": 1024, - "children": [46] + "children": [47] } ], "sources": [ @@ -938,20 +982,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 47, + "id": 48, "name": "FunctionsHttpError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 48, + "id": 49, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -965,14 +1009,14 @@ ], "signatures": [ { - "id": 49, + "id": 50, "name": "new FunctionsHttpError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 50, + "id": 51, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -985,24 +1029,24 @@ ], "type": { "type": "reference", - "id": 47, + "id": 48, "name": "FunctionsHttpError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 51, + "id": 52, "name": "context", "kind": 1024, "kindString": "Property", @@ -1020,7 +1064,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -1029,12 +1073,12 @@ { "title": "Constructors", "kind": 512, - "children": [48] + "children": [49] }, { "title": "Properties", "kind": 1024, - "children": [51] + "children": [52] } ], "sources": [ @@ -1047,20 +1091,20 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] }, { - "id": 52, + "id": 53, "name": "FunctionsRelayError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 53, + "id": 54, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1074,14 +1118,14 @@ ], "signatures": [ { - "id": 54, + "id": 55, "name": "new FunctionsRelayError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 55, + "id": 56, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -1094,24 +1138,24 @@ ], "type": { "type": "reference", - "id": 52, + "id": 53, "name": "FunctionsRelayError" }, "overwrites": { "type": "reference", - "id": 37, + "id": 38, "name": "FunctionsError.constructor" } } ], "overwrites": { "type": "reference", - "id": 36, + "id": 37, "name": "FunctionsError.constructor" } }, { - "id": 56, + "id": 57, "name": "context", "kind": 1024, "kindString": "Property", @@ -1129,7 +1173,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 41, + "id": 42, "name": "FunctionsError.context" } } @@ -1138,12 +1182,12 @@ { "title": "Constructors", "kind": 512, - "children": [53] + "children": [54] }, { "title": "Properties", "kind": 1024, - "children": [56] + "children": [57] } ], "sources": [ @@ -1156,7 +1200,7 @@ "extendedTypes": [ { "type": "reference", - "id": 35, + "id": 36, "name": "FunctionsError" } ] @@ -1184,7 +1228,7 @@ "flags": {}, "children": [ { - "id": 34, + "id": 35, "name": "body", "kind": 1024, "kindString": "Property", @@ -1197,7 +1241,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 56, "character": 2 } ], @@ -1323,13 +1367,57 @@ } } } + }, + { + "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": [34, 30] + "children": [35, 30, 34] } ], "sources": [ @@ -1343,7 +1431,7 @@ } }, { - "id": 57, + "id": 58, "name": "FunctionsResponse", "kind": 4194304, "kindString": "Type alias", @@ -1357,7 +1445,7 @@ ], "typeParameter": [ { - "id": 58, + "id": 59, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1374,12 +1462,12 @@ { "title": "Classes", "kind": 128, - "children": [1, 35, 42, 47, 52] + "children": [1, 36, 43, 48, 53] }, { "title": "Type Aliases", "kind": 4194304, - "children": [28, 57] + "children": [28, 58] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/spec/enrichments/tsdoc_v2/gotrue.json index 8575a7c1180..60de8172acf 100644 --- a/spec/enrichments/tsdoc_v2/gotrue.json +++ b/spec/enrichments/tsdoc_v2/gotrue.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 750, + "id": 786, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 751, + "id": 787, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 752, + "id": 788, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 753, + "id": 789, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 754, + "id": 790, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -59,24 +59,24 @@ ], "type": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 755, + "id": 791, "name": "status", "kind": 1024, "kindString": "Property", @@ -94,12 +94,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 756, + "id": 792, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -113,7 +113,7 @@ ], "signatures": [ { - "id": 757, + "id": 793, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -121,14 +121,14 @@ "type": { "type": "reflection", "declaration": { - "id": 758, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 760, + "id": 796, "name": "message", "kind": 1024, "kindString": "Property", @@ -147,7 +147,7 @@ "defaultValue": "..." }, { - "id": 759, + "id": 795, "name": "name", "kind": 1024, "kindString": "Property", @@ -166,7 +166,7 @@ "defaultValue": "..." }, { - "id": 761, + "id": 797, "name": "status", "kind": 1024, "kindString": "Property", @@ -189,7 +189,7 @@ { "title": "Properties", "kind": 1024, - "children": [760, 759, 761] + "children": [796, 795, 797] } ] } @@ -202,17 +202,17 @@ { "title": "Constructors", "kind": 512, - "children": [751] + "children": [787] }, { "title": "Properties", "kind": 1024, - "children": [755] + "children": [791] }, { "title": "Methods", "kind": 2048, - "children": [756] + "children": [792] } ], "sources": [ @@ -225,20 +225,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 743, + "id": 779, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 744, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -252,14 +252,14 @@ ], "signatures": [ { - "id": 745, + "id": 781, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 746, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -270,7 +270,7 @@ } }, { - "id": 747, + "id": 783, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -285,7 +285,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, "overwrites": { @@ -300,7 +300,7 @@ } }, { - "id": 748, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -331,12 +331,12 @@ { "title": "Constructors", "kind": 512, - "children": [744] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [748] + "children": [784] } ], "sources": [ @@ -357,30 +357,30 @@ "extendedBy": [ { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 812, + "id": 848, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -394,14 +394,14 @@ ], "signatures": [ { - "id": 813, + "id": 849, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 814, + "id": 850, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -412,7 +412,7 @@ } }, { - "id": 815, + "id": 851, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -427,14 +427,14 @@ { "type": "reflection", "declaration": { - "id": 816, + "id": 852, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 854, "name": "code", "kind": 1024, "kindString": "Property", @@ -452,7 +452,7 @@ } }, { - "id": 817, + "id": 853, "name": "error", "kind": 1024, "kindString": "Property", @@ -474,7 +474,7 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [854, 853] } ] } @@ -486,24 +486,24 @@ ], "type": { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 819, + "id": 855, "name": "details", "kind": 1024, "kindString": "Property", @@ -525,14 +525,14 @@ { "type": "reflection", "declaration": { - "id": 820, + "id": 856, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 822, + "id": 858, "name": "code", "kind": 1024, "kindString": "Property", @@ -550,7 +550,7 @@ } }, { - "id": 821, + "id": 857, "name": "error", "kind": 1024, "kindString": "Property", @@ -572,7 +572,7 @@ { "title": "Properties", "kind": 1024, - "children": [822, 821] + "children": [858, 857] } ] } @@ -582,7 +582,7 @@ "defaultValue": "null" }, { - "id": 833, + "id": 869, "name": "name", "kind": 1024, "kindString": "Property", @@ -600,12 +600,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 834, + "id": 870, "name": "status", "kind": 1024, "kindString": "Property", @@ -623,12 +623,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 823, + "id": 859, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -642,7 +642,7 @@ ], "signatures": [ { - "id": 824, + "id": 860, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -650,14 +650,14 @@ "type": { "type": "reflection", "declaration": { - "id": 825, + "id": 861, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 829, + "id": 865, "name": "details", "kind": 1024, "kindString": "Property", @@ -679,14 +679,14 @@ { "type": "reflection", "declaration": { - "id": 830, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 832, + "id": 868, "name": "code", "kind": 1024, "kindString": "Property", @@ -704,7 +704,7 @@ } }, { - "id": 831, + "id": 867, "name": "error", "kind": 1024, "kindString": "Property", @@ -726,7 +726,7 @@ { "title": "Properties", "kind": 1024, - "children": [832, 831] + "children": [868, 867] } ] } @@ -736,7 +736,7 @@ "defaultValue": "..." }, { - "id": 827, + "id": 863, "name": "message", "kind": 1024, "kindString": "Property", @@ -755,7 +755,7 @@ "defaultValue": "..." }, { - "id": 826, + "id": 862, "name": "name", "kind": 1024, "kindString": "Property", @@ -774,7 +774,7 @@ "defaultValue": "..." }, { - "id": 828, + "id": 864, "name": "status", "kind": 1024, "kindString": "Property", @@ -797,21 +797,21 @@ { "title": "Properties", "kind": 1024, - "children": [829, 827, 826, 828] + "children": [865, 863, 862, 864] } ] } }, "overwrites": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -820,17 +820,17 @@ { "title": "Constructors", "kind": 512, - "children": [812] + "children": [848] }, { "title": "Properties", "kind": 1024, - "children": [819, 833, 834] + "children": [855, 869, 870] }, { "title": "Methods", "kind": 2048, - "children": [823] + "children": [859] } ], "sources": [ @@ -843,20 +843,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 799, + "id": 835, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -870,14 +870,14 @@ ], "signatures": [ { - "id": 800, + "id": 836, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 801, + "id": 837, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -890,24 +890,24 @@ ], "type": { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 802, + "id": 838, "name": "name", "kind": 1024, "kindString": "Property", @@ -925,12 +925,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 803, + "id": 839, "name": "status", "kind": 1024, "kindString": "Property", @@ -948,12 +948,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 804, + "id": 840, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -967,7 +967,7 @@ ], "signatures": [ { - "id": 805, + "id": 841, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -975,14 +975,14 @@ "type": { "type": "reflection", "declaration": { - "id": 806, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 844, "name": "message", "kind": 1024, "kindString": "Property", @@ -1001,7 +1001,7 @@ "defaultValue": "..." }, { - "id": 807, + "id": 843, "name": "name", "kind": 1024, "kindString": "Property", @@ -1020,7 +1020,7 @@ "defaultValue": "..." }, { - "id": 809, + "id": 845, "name": "status", "kind": 1024, "kindString": "Property", @@ -1043,21 +1043,21 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807, 809] + "children": [844, 843, 845] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1066,17 +1066,17 @@ { "title": "Constructors", "kind": 512, - "children": [799] + "children": [835] }, { "title": "Properties", "kind": 1024, - "children": [802, 803] + "children": [838, 839] }, { "title": "Methods", "kind": 2048, - "children": [804] + "children": [840] } ], "sources": [ @@ -1089,20 +1089,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 836, + "id": 872, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 837, + "id": 873, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1116,14 +1116,14 @@ ], "signatures": [ { - "id": 838, + "id": 874, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 839, + "id": 875, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1134,7 +1134,7 @@ } }, { - "id": 840, + "id": 876, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1147,24 +1147,24 @@ ], "type": { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 841, + "id": 877, "name": "name", "kind": 1024, "kindString": "Property", @@ -1182,12 +1182,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 842, + "id": 878, "name": "status", "kind": 1024, "kindString": "Property", @@ -1205,12 +1205,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 843, + "id": 879, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1224,7 +1224,7 @@ ], "signatures": [ { - "id": 844, + "id": 880, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1232,14 +1232,14 @@ "type": { "type": "reflection", "declaration": { - "id": 845, + "id": 881, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 847, + "id": 883, "name": "message", "kind": 1024, "kindString": "Property", @@ -1258,7 +1258,7 @@ "defaultValue": "..." }, { - "id": 846, + "id": 882, "name": "name", "kind": 1024, "kindString": "Property", @@ -1277,7 +1277,7 @@ "defaultValue": "..." }, { - "id": 848, + "id": 884, "name": "status", "kind": 1024, "kindString": "Property", @@ -1300,21 +1300,21 @@ { "title": "Properties", "kind": 1024, - "children": [847, 846, 848] + "children": [883, 882, 884] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1323,17 +1323,17 @@ { "title": "Constructors", "kind": 512, - "children": [837] + "children": [873] }, { "title": "Properties", "kind": 1024, - "children": [841, 842] + "children": [877, 878] }, { "title": "Methods", "kind": 2048, - "children": [843] + "children": [879] } ], "sources": [ @@ -1346,20 +1346,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 786, + "id": 822, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 787, + "id": 823, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1373,31 +1373,31 @@ ], "signatures": [ { - "id": 788, + "id": 824, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 789, + "id": 825, "name": "name", "kind": 1024, "kindString": "Property", @@ -1415,12 +1415,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 790, + "id": 826, "name": "status", "kind": 1024, "kindString": "Property", @@ -1438,12 +1438,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 791, + "id": 827, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1457,7 +1457,7 @@ ], "signatures": [ { - "id": 792, + "id": 828, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1465,14 +1465,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 831, "name": "message", "kind": 1024, "kindString": "Property", @@ -1491,7 +1491,7 @@ "defaultValue": "..." }, { - "id": 794, + "id": 830, "name": "name", "kind": 1024, "kindString": "Property", @@ -1510,7 +1510,7 @@ "defaultValue": "..." }, { - "id": 796, + "id": 832, "name": "status", "kind": 1024, "kindString": "Property", @@ -1533,21 +1533,21 @@ { "title": "Properties", "kind": 1024, - "children": [795, 794, 796] + "children": [831, 830, 832] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1556,17 +1556,17 @@ { "title": "Constructors", "kind": 512, - "children": [787] + "children": [823] }, { "title": "Properties", "kind": 1024, - "children": [789, 790] + "children": [825, 826] }, { "title": "Methods", "kind": 2048, - "children": [791] + "children": [827] } ], "sources": [ @@ -1579,20 +1579,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 763, + "id": 799, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 764, + "id": 800, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1606,14 +1606,14 @@ ], "signatures": [ { - "id": 765, + "id": 801, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 766, + "id": 802, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1624,7 +1624,7 @@ } }, { - "id": 767, + "id": 803, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1637,24 +1637,24 @@ ], "type": { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 768, + "id": 804, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1672,7 +1672,7 @@ } }, { - "id": 769, + "id": 805, "name": "status", "kind": 1024, "kindString": "Property", @@ -1699,7 +1699,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } } @@ -1708,12 +1708,12 @@ { "title": "Constructors", "kind": 512, - "children": [764] + "children": [800] }, { "title": "Properties", "kind": 1024, - "children": [768, 769] + "children": [804, 805] } ], "sources": [ @@ -1726,20 +1726,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 771, + "id": 807, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 772, + "id": 808, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1753,14 +1753,14 @@ ], "signatures": [ { - "id": 773, + "id": 809, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 774, + "id": 810, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1771,7 +1771,7 @@ } }, { - "id": 775, + "id": 811, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -1782,7 +1782,7 @@ } }, { - "id": 776, + "id": 812, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1795,24 +1795,24 @@ ], "type": { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 777, + "id": 813, "name": "name", "kind": 1024, "kindString": "Property", @@ -1834,7 +1834,7 @@ } }, { - "id": 778, + "id": 814, "name": "status", "kind": 1024, "kindString": "Property", @@ -1852,12 +1852,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 779, + "id": 815, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1871,7 +1871,7 @@ ], "signatures": [ { - "id": 780, + "id": 816, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1879,14 +1879,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 819, "name": "message", "kind": 1024, "kindString": "Property", @@ -1905,7 +1905,7 @@ "defaultValue": "..." }, { - "id": 782, + "id": 818, "name": "name", "kind": 1024, "kindString": "Property", @@ -1924,7 +1924,7 @@ "defaultValue": "..." }, { - "id": 784, + "id": 820, "name": "status", "kind": 1024, "kindString": "Property", @@ -1947,7 +1947,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782, 784] + "children": [819, 818, 820] } ] } @@ -1960,17 +1960,17 @@ { "title": "Constructors", "kind": 512, - "children": [772] + "children": [808] }, { "title": "Properties", "kind": 1024, - "children": [777, 778] + "children": [813, 814] }, { "title": "Methods", "kind": 2048, - "children": [779] + "children": [815] } ], "sources": [ @@ -1983,29 +1983,29 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" } ] @@ -2248,7 +2248,7 @@ ], "type": { "type": "reference", - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi" } }, @@ -2284,7 +2284,7 @@ "flags": {}, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes" } } @@ -2294,7 +2294,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2364,7 +2364,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2407,7 +2407,7 @@ "flags": {}, "type": { "type": "reference", - "id": 552, + "id": 588, "name": "GenerateLinkParams" } } @@ -2417,7 +2417,7 @@ "typeArguments": [ { "type": "reference", - "id": 553, + "id": 589, "name": "GenerateLinkResponse" } ], @@ -2472,7 +2472,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2600,7 +2600,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2649,7 +2649,7 @@ }, "type": { "type": "reference", - "id": 733, + "id": 769, "name": "PageParams" } } @@ -2729,7 +2729,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -2746,7 +2746,7 @@ }, { "type": "reference", - "id": 726, + "id": 762, "name": "Pagination" } ] @@ -2854,7 +2854,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -2969,7 +2969,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -3039,7 +3039,7 @@ }, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes" } } @@ -3049,7 +3049,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -3102,7 +3102,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 135, + "line": 140, "character": 2 } ], @@ -3125,7 +3125,7 @@ "flags": {}, "type": { "type": "reference", - "id": 296, + "id": 321, "name": "GoTrueClientOptions" } } @@ -3150,7 +3150,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 96, + "line": 95, "character": 2 } ], @@ -3172,18 +3172,70 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 100, + "line": 99, "character": 2 } ], "type": { "type": "reference", - "id": 663, + "id": 699, "name": "GoTrueMFAApi" } }, { - "id": 125, + "id": 120, + "name": "exchangeCodeForSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 399, + "character": 8 + } + ], + "signatures": [ + { + "id": 121, + "name": "exchangeCodeForSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 122, + "name": "authCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 135, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -3191,13 +3243,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 511, + "line": 610, "character": 8 } ], "signatures": [ { - "id": 126, + "id": 136, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -3211,184 +3263,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 127, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 128, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 513, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 130, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 514, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 355, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [130] - } - ] - } - } - }, - { - "id": 131, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 516, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [128, 131] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 132, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 133, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 519, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 135, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 520, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [135] - } - ] - } - } - }, - { - "id": 136, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 522, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [133, 136] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -3407,7 +3281,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 525, + "line": 612, "character": 8 } ], @@ -3429,13 +3303,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 526, + "line": 613, "character": 10 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 380, + "name": "Session" } } ], @@ -3458,7 +3333,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 528, + "line": 615, "character": 8 } ], @@ -3476,6 +3351,183 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 143, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 144, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 145, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 619, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [145] + } + ] + } + } + }, + { + "id": 146, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 621, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [143, 146] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 148, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 624, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 625, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [150] + } + ] + } + } + }, + { + "id": 151, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 627, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [148, 151] + } + ] + } } ] } @@ -3488,7 +3540,7 @@ ] }, { - "id": 142, + "id": 152, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -3496,13 +3548,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 574, + "line": 673, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 153, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -3512,7 +3564,7 @@ }, "parameters": [ { - "id": 144, + "id": 154, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -3533,7 +3585,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -3545,7 +3597,7 @@ ] }, { - "id": 103, + "id": 107, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -3553,13 +3605,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 171, + "line": 191, "character": 2 } ], "signatures": [ { - "id": 104, + "id": 108, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -3572,7 +3624,7 @@ "typeArguments": [ { "type": "reference", - "id": 716, + "id": 752, "name": "InitializeResult" } ], @@ -3584,7 +3636,7 @@ ] }, { - "id": 186, + "id": 199, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -3592,13 +3644,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 859, + "line": 964, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 200, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -3608,7 +3660,7 @@ }, "parameters": [ { - "id": 188, + "id": 201, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -3619,33 +3671,33 @@ "type": { "type": "reflection", "declaration": { - "id": 189, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 190, + "id": 203, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 191, + "id": 204, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent" } }, { - "id": 192, + "id": 205, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -3659,7 +3711,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -3679,14 +3731,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 207, "name": "data", "kind": 1024, "kindString": "Property", @@ -3694,21 +3746,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 209, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -3716,13 +3768,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 12 } ], "type": { "type": "reference", - "id": 429, + "id": 454, "name": "Subscription" } } @@ -3731,7 +3783,7 @@ { "title": "Properties", "kind": 1024, - "children": [196] + "children": [209] } ] } @@ -3742,7 +3794,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [207] } ] } @@ -3751,7 +3803,7 @@ ] }, { - "id": 161, + "id": 174, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -3759,13 +3811,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 8 } ], "signatures": [ { - "id": 162, + "id": 175, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -3775,7 +3827,7 @@ }, "parameters": [ { - "id": 163, + "id": 176, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -3788,14 +3840,14 @@ "type": { "type": "reflection", "declaration": { - "id": 164, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 178, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -3803,7 +3855,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 42 } ], @@ -3817,7 +3869,7 @@ { "title": "Properties", "kind": 1024, - "children": [165] + "children": [178] } ] } @@ -3829,7 +3881,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -3841,7 +3893,7 @@ ] }, { - "id": 197, + "id": 213, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -3849,13 +3901,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 882, + "line": 1004, "character": 8 } ], "signatures": [ { - "id": 198, + "id": 214, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -3865,7 +3917,7 @@ }, "parameters": [ { - "id": 199, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -3879,7 +3931,7 @@ } }, { - "id": 200, + "id": 216, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3887,14 +3939,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 217, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 219, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -3907,7 +3959,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 1008, "character": 6 } ], @@ -3917,7 +3969,7 @@ } }, { - "id": 202, + "id": 218, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -3930,7 +3982,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 885, + "line": 1007, "character": 6 } ], @@ -3944,7 +3996,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 202] + "children": [219, 218] } ] } @@ -3961,14 +4013,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 205, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -3976,14 +4028,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 890, + "line": 1012, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 206, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3992,7 +4044,7 @@ } }, { - "id": 207, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -4000,7 +4052,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 891, + "line": 1013, "character": 8 } ], @@ -4014,7 +4066,7 @@ { "title": "Properties", "kind": 1024, - "children": [205, 207] + "children": [221, 223] } ] } @@ -4022,14 +4074,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -4037,7 +4089,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 8 } ], @@ -4047,7 +4099,7 @@ } }, { - "id": 210, + "id": 226, "name": "error", "kind": 1024, "kindString": "Property", @@ -4055,13 +4107,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 20 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -4070,7 +4122,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [225, 226] } ] } @@ -4086,7 +4138,7 @@ ] }, { - "id": 155, + "id": 168, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -4094,13 +4146,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 650, + "line": 755, "character": 8 } ], "signatures": [ { - "id": 156, + "id": 169, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -4110,7 +4162,7 @@ }, "parameters": [ { - "id": 157, + "id": 170, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -4121,14 +4173,14 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 171, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 172, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -4136,7 +4188,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 651, + "line": 756, "character": 4 } ], @@ -4146,7 +4198,7 @@ } }, { - "id": 160, + "id": 173, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -4154,7 +4206,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 757, "character": 4 } ], @@ -4168,7 +4220,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 160] + "children": [172, 173] } ] } @@ -4180,7 +4232,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -4192,7 +4244,66 @@ ] }, { - "id": 113, + "id": 123, + "name": "signInWithIdToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 429, + "character": 8 + } + ], + "signatures": [ + { + "id": 124, + "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": 125, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 526, + "name": "SignInWithIdTokenCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 117, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -4200,13 +4311,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 358, + "line": 384, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 118, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -4216,14 +4327,14 @@ }, "parameters": [ { - "id": 115, + "id": 119, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 486, + "id": 513, "name": "SignInWithOAuthCredentials" } } @@ -4233,7 +4344,7 @@ "typeArguments": [ { "type": "reference", - "id": 322, + "id": 347, "name": "OAuthResponse" } ], @@ -4245,7 +4356,7 @@ ] }, { - "id": 116, + "id": 126, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -4253,31 +4364,31 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 379, + "line": 477, "character": 8 } ], "signatures": [ { - "id": 117, + "id": 127, "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" + "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": 118, + "id": 128, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials" } } @@ -4287,7 +4398,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -4299,7 +4410,7 @@ ] }, { - "id": 110, + "id": 114, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -4307,31 +4418,31 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 306, + "line": 333, "character": 8 } ], "signatures": [ { - "id": 111, + "id": 115, "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 distingish\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" + "text": "Be aware that you may get back an error message that will not distingish\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. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n" }, "parameters": [ { - "id": 112, + "id": 116, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials" } } @@ -4341,7 +4452,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -4353,7 +4464,7 @@ ] }, { - "id": 122, + "id": 132, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -4361,13 +4472,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 482, + "line": 581, "character": 8 } ], "signatures": [ { - "id": 123, + "id": 133, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -4384,14 +4495,14 @@ }, "parameters": [ { - "id": 124, + "id": 134, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 553, "name": "SignInWithSSO" } } @@ -4401,7 +4512,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 360, "name": "SSOResponse" } ], @@ -4413,7 +4524,7 @@ ] }, { - "id": 182, + "id": 195, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -4421,13 +4532,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 8 } ], "signatures": [ { - "id": 183, + "id": 196, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -4442,14 +4553,14 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 185, + "id": 198, "name": "error", "kind": 1024, "kindString": "Property", @@ -4457,7 +4568,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 29 } ], @@ -4470,7 +4581,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -4481,7 +4592,7 @@ { "title": "Properties", "kind": 1024, - "children": [185] + "children": [198] } ] } @@ -4495,7 +4606,7 @@ ] }, { - "id": 107, + "id": 111, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -4503,13 +4614,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 238, + "line": 262, "character": 8 } ], "signatures": [ { - "id": 108, + "id": 112, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -4521,14 +4632,14 @@ }, "parameters": [ { - "id": 109, + "id": 113, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials" } } @@ -4538,7 +4649,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -4550,7 +4661,7 @@ ] }, { - "id": 252, + "id": 276, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -4558,20 +4669,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1106, + "line": 1293, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 277, "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.\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" + "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 desireable. 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", @@ -4589,7 +4700,7 @@ ] }, { - "id": 254, + "id": 278, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -4597,19 +4708,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1121, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 255, + "id": 279, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Stops an active auto refresh process running in the background (if any).\nSee {@link #startAutoRefresh} for more details." + "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", @@ -4627,7 +4739,7 @@ ] }, { - "id": 145, + "id": 155, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -4635,32 +4747,79 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 603, + "line": 702, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 156, "name": "updateUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Updates user data, if there is a logged in user." + "shortText": "Updates user data for a logged in user." }, "parameters": [ { - "id": 147, + "id": 157, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 414, + "id": 440, "name": "UserAttributes" } + }, + { + "id": 158, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 160, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 705, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [160] + } + ] + } + }, + "defaultValue": "{}" } ], "type": { @@ -4668,7 +4827,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -4680,7 +4839,7 @@ ] }, { - "id": 119, + "id": 129, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -4688,13 +4847,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 423, + "line": 522, "character": 8 } ], "signatures": [ { - "id": 120, + "id": 130, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -4704,14 +4863,14 @@ }, "parameters": [ { - "id": 121, + "id": 131, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 534, "name": "VerifyOtpParams" } } @@ -4721,7 +4880,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -4748,20 +4907,21 @@ "title": "Methods", "kind": 2048, "children": [ - 125, 142, 103, 186, 161, 197, 155, 113, 116, 110, 122, 182, 107, 252, 254, 145, 119 + 120, 135, 152, 107, 199, 174, 213, 168, 123, 117, 126, 114, 132, 195, 111, 276, 278, + 155, 129 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 91, + "line": 90, "character": 21 } ] }, { - "id": 364, + "id": 389, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -4778,7 +4938,7 @@ }, "children": [ { - "id": 365, + "id": 390, "name": "method", "kind": 1024, "kindString": "Property", @@ -4789,7 +4949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 152, + "line": 153, "character": 2 } ], @@ -4799,7 +4959,7 @@ } }, { - "id": 366, + "id": 391, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -4810,7 +4970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 159, "character": 2 } ], @@ -4824,26 +4984,26 @@ { "title": "Properties", "kind": 1024, - "children": [365, 366] + "children": [390, 391] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 150, + "line": 151, "character": 17 } ] }, { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -4857,7 +5017,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -4867,7 +5027,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -4881,7 +5041,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -4891,36 +5051,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -4933,7 +5064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -4943,12 +5074,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -4962,7 +5092,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -4972,7 +5102,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -4985,7 +5115,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -4995,12 +5125,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5013,7 +5142,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -5023,12 +5152,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -5042,7 +5170,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -5052,7 +5180,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -5061,12 +5189,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -5080,26 +5208,38 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] }, { - "id": 378, + "id": 403, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -5123,7 +5263,7 @@ }, "children": [ { - "id": 383, + "id": 408, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -5131,7 +5271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 197, "character": 2 } ], @@ -5141,7 +5281,7 @@ } }, { - "id": 381, + "id": 406, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -5152,7 +5292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 192, "character": 2 } ], @@ -5162,7 +5302,7 @@ } }, { - "id": 380, + "id": 405, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -5175,7 +5315,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 186, "character": 2 } ], @@ -5185,7 +5325,7 @@ } }, { - "id": 379, + "id": 404, "name": "id", "kind": 1024, "kindString": "Property", @@ -5196,7 +5336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 183, "character": 2 } ], @@ -5206,7 +5346,7 @@ } }, { - "id": 382, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -5217,7 +5357,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 195, "character": 2 } ], @@ -5236,7 +5376,7 @@ } }, { - "id": 384, + "id": 409, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -5244,7 +5384,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 198, "character": 2 } ], @@ -5258,26 +5398,26 @@ { "title": "Properties", "kind": 1024, - "children": [383, 381, 380, 379, 382, 384] + "children": [408, 406, 405, 404, 407, 409] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 181, "character": 17 } ] }, { - "id": 549, + "id": 585, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 550, + "id": 586, "name": "data", "kind": 1024, "kindString": "Property", @@ -5291,7 +5431,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 559, "character": 2 } ], @@ -5301,7 +5441,7 @@ } }, { - "id": 551, + "id": 587, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5314,7 +5454,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 544, + "line": 561, "character": 2 } ], @@ -5328,19 +5468,19 @@ { "title": "Properties", "kind": 1024, - "children": [550, 551] + "children": [586, 587] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 553, "character": 17 } ] }, { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -5356,14 +5496,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -5383,14 +5523,14 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams" } } @@ -5400,7 +5540,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -5412,14 +5552,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -5429,14 +5569,14 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams" } } @@ -5446,7 +5586,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -5462,19 +5602,19 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] }, { - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -5484,14 +5624,14 @@ }, "children": [ { - "id": 667, + "id": 703, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 668, + "id": 704, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -5501,14 +5641,14 @@ }, "parameters": [ { - "id": 669, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 587, + "id": 623, "name": "MFAChallengeParams" } } @@ -5518,7 +5658,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 667, "name": "AuthMFAChallengeResponse" } ], @@ -5530,14 +5670,14 @@ ] }, { - "id": 676, + "id": 712, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 677, + "id": 713, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -5547,14 +5687,14 @@ }, "parameters": [ { - "id": 678, + "id": 714, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams" } } @@ -5564,7 +5704,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -5576,14 +5716,14 @@ ] }, { - "id": 664, + "id": 700, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 665, + "id": 701, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -5594,14 +5734,14 @@ }, "parameters": [ { - "id": 666, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 574, + "id": 610, "name": "MFAEnrollParams" } } @@ -5611,7 +5751,7 @@ "typeArguments": [ { "type": "reference", - "id": 607, + "id": 643, "name": "AuthMFAEnrollResponse" } ], @@ -5623,14 +5763,14 @@ ] }, { - "id": 681, + "id": 717, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 682, + "id": 718, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -5644,7 +5784,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 688, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -5656,14 +5796,14 @@ ] }, { - "id": 679, + "id": 715, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 680, + "id": 716, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -5690,7 +5830,7 @@ "typeArguments": [ { "type": "reference", - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse" } ], @@ -5702,14 +5842,14 @@ ] }, { - "id": 673, + "id": 709, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 674, + "id": 710, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -5719,14 +5859,14 @@ }, "parameters": [ { - "id": 675, + "id": 711, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 579, + "id": 615, "name": "MFAUnenrollParams" } } @@ -5736,7 +5876,7 @@ "typeArguments": [ { "type": "reference", - "id": 622, + "id": 658, "name": "AuthMFAUnenrollResponse" } ], @@ -5748,14 +5888,14 @@ ] }, { - "id": 670, + "id": 706, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 671, + "id": 707, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -5765,14 +5905,14 @@ }, "parameters": [ { - "id": 672, + "id": 708, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 582, + "id": 618, "name": "MFAVerifyParams" } } @@ -5782,7 +5922,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -5798,26 +5938,26 @@ { "title": "Methods", "kind": 2048, - "children": [667, 676, 664, 681, 679, 673, 670] + "children": [703, 712, 700, 717, 715, 709, 706] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 778, "character": 17 } ] }, { - "id": 355, + "id": 380, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 383, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -5828,7 +5968,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 125, + "line": 126, "character": 2 } ], @@ -5838,7 +5978,7 @@ } }, { - "id": 361, + "id": 386, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -5851,7 +5991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 138, "character": 2 } ], @@ -5861,7 +6001,7 @@ } }, { - "id": 360, + "id": 385, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -5872,7 +6012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 134, "character": 2 } ], @@ -5882,7 +6022,7 @@ } }, { - "id": 357, + "id": 382, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -5895,7 +6035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 121, + "line": 122, "character": 2 } ], @@ -5914,7 +6054,7 @@ } }, { - "id": 356, + "id": 381, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -5927,7 +6067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 117, "character": 2 } ], @@ -5946,7 +6086,7 @@ } }, { - "id": 359, + "id": 384, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5957,7 +6097,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 129, + "line": 130, "character": 2 } ], @@ -5967,29 +6107,11 @@ } }, { - "id": 362, + "id": 387, "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 138, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -5997,9 +6119,27 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2 + } + ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -6008,26 +6148,26 @@ { "title": "Properties", "kind": 1024, - "children": [358, 361, 360, 357, 356, 359, 362, 363] + "children": [383, 386, 385, 382, 381, 384, 387, 388] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 113, "character": 17 } ] }, { - "id": 429, + "id": 454, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 430, + "id": 455, "name": "id", "kind": 1024, "kindString": "Property", @@ -6038,7 +6178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 314, "character": 2 } ], @@ -6048,7 +6188,7 @@ } }, { - "id": 431, + "id": 456, "name": "callback", "kind": 2048, "kindString": "Method", @@ -6056,13 +6196,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 318, "character": 2 } ], "signatures": [ { - "id": 432, + "id": 457, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -6072,19 +6212,19 @@ }, "parameters": [ { - "id": 433, + "id": 458, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent" } }, { - "id": 434, + "id": 459, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -6098,7 +6238,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -6113,7 +6253,7 @@ ] }, { - "id": 435, + "id": 460, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -6121,13 +6261,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 322, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 461, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -6147,31 +6287,31 @@ { "title": "Properties", "kind": 1024, - "children": [430] + "children": [455] }, { "title": "Methods", "kind": 2048, - "children": [431, 435] + "children": [456, 460] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 309, + "line": 310, "character": 17 } ] }, { - "id": 437, + "id": 462, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 438, + "id": 463, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -6179,7 +6319,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 326, "character": 2 } ], @@ -6193,333 +6333,32 @@ { "title": "Properties", "kind": 1024, - "children": [438] + "children": [463] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 324, + "line": 325, "character": 17 } ] }, { - "id": 392, + "id": 417, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 402, + "id": 428, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "UserAppMetadata" - } - }, - { - "id": 396, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 213, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 367, - "name": "UserIdentity" - } - } - }, - { - "id": 401, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 217, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -6533,17 +6372,34 @@ } }, { - "id": 408, - "name": "phone_confirmed_at", + "id": 419, + "name": "app_metadata", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 212, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 410, + "name": "UserAppMetadata" + } + }, + { + "id": 421, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, "character": 2 } ], @@ -6553,8 +6409,8 @@ } }, { - "id": 398, - "name": "recovery_sent_at", + "id": 422, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -6573,8 +6429,8 @@ } }, { - "id": 410, - "name": "role", + "id": 432, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -6583,7 +6439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 227, + "line": 225, "character": 2 } ], @@ -6593,8 +6449,172 @@ } }, { - "id": 411, - "name": "updated_at", + "id": 431, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "UserIdentity" + } + } + }, + { + "id": 427, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -6613,7 +6633,147 @@ } }, { - "id": 395, + "id": 425, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -6621,13 +6781,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 212, + "line": 213, "character": 2 } ], "type": { "type": "reference", - "id": 389, + "id": 414, "name": "UserMetadata" } } @@ -6637,28 +6797,28 @@ "title": "Properties", "kind": 1024, "children": [ - 402, 394, 396, 397, 406, 405, 403, 399, 407, 413, 393, 412, 401, 409, 400, 404, 408, - 398, 410, 411, 395 + 428, 419, 421, 422, 432, 431, 429, 424, 433, 439, 418, 438, 427, 435, 425, 426, 430, + 434, 423, 436, 437, 420 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 210, "character": 17 } ] }, { - "id": 385, + "id": 410, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 386, + "id": 411, "name": "provider", "kind": 1024, "kindString": "Property", @@ -6668,7 +6828,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 202, "character": 2 } ], @@ -6682,25 +6842,25 @@ { "title": "Properties", "kind": 1024, - "children": [386] + "children": [411] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 200, + "line": 201, "character": 17 } ], "indexSignature": { - "id": 387, + "id": 412, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 413, "name": "key", "kind": 32768, "flags": {}, @@ -6717,14 +6877,14 @@ } }, { - "id": 414, + "id": 440, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 418, + "id": 444, "name": "data", "kind": 1024, "kindString": "Property", @@ -6738,7 +6898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 257, "character": 2 } ], @@ -6748,7 +6908,7 @@ } }, { - "id": 415, + "id": 441, "name": "email", "kind": 1024, "kindString": "Property", @@ -6761,7 +6921,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -6771,7 +6931,7 @@ } }, { - "id": 417, + "id": 443, "name": "password", "kind": 1024, "kindString": "Property", @@ -6784,7 +6944,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -6794,7 +6954,7 @@ } }, { - "id": 416, + "id": 442, "name": "phone", "kind": 1024, "kindString": "Property", @@ -6807,7 +6967,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -6821,41 +6981,36 @@ { "title": "Properties", "kind": 1024, - "children": [418, 415, 417, 416] + "children": [444, 441, 443, 442] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 233, + "line": 235, "character": 17 } - ], - "extendedBy": [ - { - "type": "reference", - "id": 419, - "name": "AdminUserAttributes" - } ] }, { - "id": 367, + "id": 392, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 375, + "id": 400, "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 168, + "line": 169, "character": 2 } ], @@ -6865,7 +7020,7 @@ } }, { - "id": 368, + "id": 393, "name": "id", "kind": 1024, "kindString": "Property", @@ -6873,7 +7028,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 163, "character": 2 } ], @@ -6883,35 +7038,37 @@ } }, { - "id": 370, + "id": 395, "name": "identity_data", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, + "line": 165, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 372, + "id": 397, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 373, + "id": 398, "name": "key", "kind": 32768, "flags": {}, @@ -6930,46 +7087,10 @@ } }, { - "id": 376, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 169, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 374, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 377, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -6986,7 +7107,45 @@ } }, { - "id": 369, + "id": 399, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 168, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 402, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -6994,7 +7153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 164, "character": 2 } ], @@ -7008,19 +7167,19 @@ { "title": "Properties", "kind": 1024, - "children": [375, 368, 370, 376, 374, 377, 369] + "children": [400, 393, 395, 401, 399, 402, 394] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 161, + "line": 162, "character": 17 } ] }, { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -7028,19 +7187,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -7057,14 +7216,14 @@ } }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -7075,7 +7234,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -7085,7 +7244,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -7095,21 +7254,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7122,7 +7281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -7132,7 +7291,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7145,7 +7304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -7159,14 +7318,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -7177,7 +7336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -7187,7 +7346,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -7198,13 +7357,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType" } } @@ -7213,26 +7372,26 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] }, { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -7242,21 +7401,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -7275,7 +7434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -7285,7 +7444,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -7298,7 +7457,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -7312,14 +7471,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7330,7 +7489,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -7340,7 +7499,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -7351,7 +7510,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -7361,7 +7520,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -7372,13 +7531,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType" } } @@ -7387,19 +7546,19 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -7414,6 +7573,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -7440,14 +7603,14 @@ }, { "type": "reference", - "id": 294, + "id": 319, "name": "AuthChangeEventMFA" } ] } }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -7465,7 +7628,7 @@ } }, { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -7481,21 +7644,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -7506,7 +7669,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -7516,7 +7679,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -7527,7 +7690,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -7541,13 +7704,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -7555,7 +7718,7 @@ } }, { - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -7571,7 +7734,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 844, "character": 12 } ], @@ -7581,14 +7744,14 @@ { "type": "reflection", "declaration": { - "id": 684, + "id": 720, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 685, + "id": 721, "name": "data", "kind": 1024, "kindString": "Property", @@ -7596,21 +7759,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 686, + "id": 722, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 723, "name": "id", "kind": 1024, "kindString": "Property", @@ -7621,7 +7784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 848, "character": 8 } ], @@ -7635,13 +7798,13 @@ { "title": "Properties", "kind": 1024, - "children": [687] + "children": [723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 12 } ] @@ -7649,7 +7812,7 @@ } }, { - "id": 688, + "id": 724, "name": "error", "kind": 1024, "kindString": "Property", @@ -7657,7 +7820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 850, "character": 6 } ], @@ -7671,18 +7834,890 @@ { "title": "Properties", "kind": 1024, - "children": [685, 688] + "children": [721, 724] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 828, + "line": 845, "character": 4 } ] } }, + { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 726, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 727, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [726, 727] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 741, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 742, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 743, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 883, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [743] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 44 + } + ] + } + } + }, + { + "id": 732, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 733, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 734, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 735, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 736, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 872, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [736] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 12 + } + ] + } + } + }, + { + "id": 737, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 874, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [734, 737] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 869, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 738, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 739, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 740, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [739, 740] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 667, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 721, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "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": 728, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 671, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 12 + } + ] + } + } + }, + { + "id": 673, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 730, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 676, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675, 676] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 643, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 645, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "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": 682, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 649, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 650, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 651, + "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": 692, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 652, + "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": 697, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "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": 701, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [651, 652, 653] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 14 + } + ] + } + } + }, + { + "id": 648, + "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": 685, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 649, 648] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ] + } + } + }, + { + "id": 654, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 704, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [645, 654] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 679, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 707, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 657, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 708, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 657] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 688, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 749, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { "type": "reflection", "declaration": { @@ -7701,893 +8736,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 835, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 691, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 691] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 705, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 706, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 707, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 866, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [707] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 44 - } - ] - } - } - }, - { - "id": 696, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 851, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 697, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 698, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, + "line": 751, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 699, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 700, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, - "character": 12 - } - ] - } - } - }, - { - "id": 701, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [698, 701] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 852, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 702, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 703, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [703, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 631, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 704, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 636, - "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": 711, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 635, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 12 - } - ] - } - } - }, - { - "id": 637, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 713, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 637] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 705, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 638, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 639, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 640, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [639, 640] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 607, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 661, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 608, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 609, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "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": 665, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 613, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 614, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "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": 675, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 616, - "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": 680, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 617, - "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": 684, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 616, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 14 - } - ] - } - } - }, - { - "id": 612, - "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": 668, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 613, 612] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 12 - } - ] - } - } - }, - { - "id": 618, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 687, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [609, 618] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 620, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 691, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [620, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 689, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 652, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 732, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 653, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 654, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 734, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 655, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 658, + "id": 694, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -8598,7 +8761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 768, "character": 8 } ], @@ -8606,13 +8769,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 364, + "id": 389, "name": "AMREntry" } } }, { - "id": 656, + "id": 692, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -8623,7 +8786,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 753, "character": 8 } ], @@ -8632,7 +8795,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -8643,7 +8806,7 @@ } }, { - "id": 657, + "id": 693, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -8660,7 +8823,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 761, "character": 8 } ], @@ -8669,7 +8832,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -8684,13 +8847,13 @@ { "title": "Properties", "kind": 1024, - "children": [658, 656, 657] + "children": [694, 692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 751, "character": 12 } ] @@ -8698,7 +8861,7 @@ } }, { - "id": 659, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -8706,7 +8869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 770, "character": 6 } ], @@ -8720,13 +8883,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [690, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 750, "character": 4 } ] @@ -8735,14 +8898,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -8750,7 +8913,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 6 } ], @@ -8760,7 +8923,7 @@ } }, { - "id": 662, + "id": 698, "name": "error", "kind": 1024, "kindString": "Property", @@ -8768,13 +8931,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -8783,13 +8946,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 662] + "children": [697, 698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 4 } ] @@ -8799,7 +8962,7 @@ } }, { - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -8807,7 +8970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 734, "character": 12 } ], @@ -8817,14 +8980,335 @@ { "type": "reflection", "declaration": { - "id": 642, + "id": 678, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 643, + "id": 679, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 682, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 12 + } + ] + } + } + }, + { + "id": 683, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 683] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 735, + "character": 4 + } + ] + } + }, + { + "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": 745, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 686, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 658, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 659, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 660, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully unenrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 715, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [662] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 12 + } + ] + } + } + }, + { + "id": 663, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [660, 663] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 712, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 664, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, "name": "data", "kind": 1024, "kindString": "Property", @@ -8837,84 +9321,12 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 644, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 645, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 721, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 646, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 724, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [645, 646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 719, - "character": 12 - } - ] - } + "type": "literal", + "value": null } }, { - "id": 647, + "id": 666, "name": "error", "kind": 1024, "kindString": "Property", @@ -8922,75 +9334,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [643, 647] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 648, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 649, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 650, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -8999,13 +9349,13 @@ { "title": "Properties", "kind": 1024, - "children": [649, 650] + "children": [665, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 4 } ] @@ -9015,194 +9365,7 @@ } }, { - "id": 622, - "name": "AuthMFAUnenrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 694, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 623, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 624, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully unenrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 698, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 12 - } - ] - } - } - }, - { - "id": 627, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 700, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [624, 627] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 695, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 628, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 629, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 630, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [629, 630] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -9210,7 +9373,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 653, "character": 12 } ], @@ -9220,14 +9383,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 631, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 632, "name": "data", "kind": 1024, "kindString": "Property", @@ -9235,21 +9398,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 598, + "id": 634, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -9260,7 +9423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 657, "character": 8 } ], @@ -9270,7 +9433,7 @@ } }, { - "id": 600, + "id": 636, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -9281,7 +9444,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 663, "character": 8 } ], @@ -9291,7 +9454,7 @@ } }, { - "id": 601, + "id": 637, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -9302,7 +9465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 666, "character": 8 } ], @@ -9312,7 +9475,7 @@ } }, { - "id": 599, + "id": 635, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -9323,7 +9486,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 643, + "line": 660, "character": 8 } ], @@ -9333,7 +9496,7 @@ } }, { - "id": 602, + "id": 638, "name": "user", "kind": 1024, "kindString": "Property", @@ -9344,13 +9507,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 669, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -9359,13 +9522,13 @@ { "title": "Properties", "kind": 1024, - "children": [598, 600, 601, 599, 602] + "children": [634, 636, 637, 635, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 12 } ] @@ -9373,7 +9536,7 @@ } }, { - "id": 603, + "id": 639, "name": "error", "kind": 1024, "kindString": "Property", @@ -9381,7 +9544,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 671, "character": 6 } ], @@ -9395,13 +9558,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 603] + "children": [632, 639] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 654, "character": 4 } ] @@ -9410,14 +9573,14 @@ { "type": "reflection", "declaration": { - "id": 604, + "id": 640, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 641, "name": "data", "kind": 1024, "kindString": "Property", @@ -9425,7 +9588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 674, "character": 6 } ], @@ -9435,7 +9598,7 @@ } }, { - "id": 606, + "id": 642, "name": "error", "kind": 1024, "kindString": "Property", @@ -9443,13 +9606,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 675, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -9458,13 +9621,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606] + "children": [641, 642] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 673, "character": 4 } ] @@ -9474,7 +9637,7 @@ } }, { - "id": 309, + "id": 334, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -9482,7 +9645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 54, "character": 12 } ], @@ -9492,14 +9655,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 336, "name": "data", "kind": 1024, "kindString": "Property", @@ -9507,25 +9670,53 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 312, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 339, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 338, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -9538,35 +9729,7 @@ "types": [ { "type": "reference", - "id": 355, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 313, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 392, + "id": 417, "name": "User" }, { @@ -9581,13 +9744,13 @@ { "title": "Properties", "kind": 1024, - "children": [314, 313] + "children": [339, 338] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ] @@ -9595,7 +9758,7 @@ } }, { - "id": 315, + "id": 340, "name": "error", "kind": 1024, "kindString": "Property", @@ -9603,7 +9766,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 6 } ], @@ -9617,13 +9780,13 @@ { "title": "Properties", "kind": 1024, - "children": [311, 315] + "children": [336, 340] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 54, + "line": 55, "character": 4 } ] @@ -9632,14 +9795,14 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -9647,25 +9810,43 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 345, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 65, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 344, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -9677,37 +9858,19 @@ "type": "literal", "value": null } - }, - { - "id": 319, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 63, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [320, 319] + "children": [345, 344] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 12 } ] @@ -9715,7 +9878,7 @@ } }, { - "id": 321, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -9723,13 +9886,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 67, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -9738,13 +9901,13 @@ { "title": "Properties", "kind": 1024, - "children": [317, 321] + "children": [342, 346] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 4 } ] @@ -9754,7 +9917,7 @@ } }, { - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -9762,7 +9925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 747, "character": 12 } ], @@ -9781,7 +9944,7 @@ } }, { - "id": 719, + "id": 755, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -9789,7 +9952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 905, + "line": 922, "character": 12 } ], @@ -9799,14 +9962,14 @@ { "type": "reflection", "declaration": { - "id": 720, + "id": 756, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 722, + "id": 758, "name": "error", "kind": 1024, "kindString": "Property", @@ -9814,7 +9977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 925, "character": 6 } ], @@ -9824,7 +9987,7 @@ } }, { - "id": 721, + "id": 757, "name": "session", "kind": 1024, "kindString": "Property", @@ -9832,13 +9995,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 924, "character": 6 } ], "type": { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } } @@ -9847,13 +10010,13 @@ { "title": "Properties", "kind": 1024, - "children": [722, 721] + "children": [758, 757] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 923, "character": 4 } ] @@ -9862,14 +10025,14 @@ { "type": "reflection", "declaration": { - "id": 723, + "id": 759, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 725, + "id": 761, "name": "error", "kind": 1024, "kindString": "Property", @@ -9877,18 +10040,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 929, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } }, { - "id": 724, + "id": 760, "name": "session", "kind": 1024, "kindString": "Property", @@ -9896,7 +10059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 928, "character": 6 } ], @@ -9910,13 +10073,13 @@ { "title": "Properties", "kind": 1024, - "children": [725, 724] + "children": [761, 760] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 927, "character": 4 } ] @@ -9926,7 +10089,7 @@ } }, { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -9934,7 +10097,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -9965,7 +10128,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -9973,21 +10136,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -9998,7 +10161,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -10008,7 +10171,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -10019,7 +10182,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -10029,7 +10192,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -10039,7 +10202,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -10048,7 +10211,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -10062,7 +10225,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -10070,7 +10233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -10093,13 +10256,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -10107,7 +10270,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10115,21 +10278,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -10140,7 +10303,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -10150,7 +10313,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -10160,7 +10323,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -10169,7 +10332,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -10192,7 +10355,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -10200,7 +10363,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -10223,13 +10386,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -10237,7 +10400,7 @@ } }, { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10245,7 +10408,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -10254,29 +10417,29 @@ "types": [ { "type": "reference", - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams" }, { "type": "reference", - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams" }, { "type": "reference", - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams" }, { "type": "reference", - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams" } ] } }, { - "id": 566, + "id": 602, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -10287,21 +10450,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 603, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 604, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -10312,7 +10475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 592, "character": 2 } ], @@ -10322,7 +10485,7 @@ } }, { - "id": 569, + "id": 605, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -10333,7 +10496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 597, "character": 2 } ], @@ -10343,7 +10506,7 @@ } }, { - "id": 570, + "id": 606, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -10354,7 +10517,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 601, "character": 2 } ], @@ -10364,7 +10527,7 @@ } }, { - "id": 571, + "id": 607, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -10375,7 +10538,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 586, + "line": 603, "character": 2 } ], @@ -10385,7 +10548,7 @@ } }, { - "id": 572, + "id": 608, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -10396,13 +10559,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 605, "character": 2 } ], "type": { "type": "reference", - "id": 573, + "id": 609, "name": "GenerateLinkType" } } @@ -10411,13 +10574,13 @@ { "title": "Properties", "kind": 1024, - "children": [568, 569, 570, 571, 572] + "children": [604, 605, 606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 37 } ] @@ -10425,7 +10588,7 @@ } }, { - "id": 553, + "id": 589, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -10433,7 +10596,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 553, + "line": 570, "character": 12 } ], @@ -10443,14 +10606,14 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 591, "name": "data", "kind": 1024, "kindString": "Property", @@ -10458,21 +10621,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 593, "name": "properties", "kind": 1024, "kindString": "Property", @@ -10480,18 +10643,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 556, + "line": 573, "character": 8 } ], "type": { "type": "reference", - "id": 566, + "id": 602, "name": "GenerateLinkProperties" } }, { - "id": 558, + "id": 594, "name": "user", "kind": 1024, "kindString": "Property", @@ -10499,13 +10662,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 557, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -10514,13 +10677,13 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [593, 594] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 12 } ] @@ -10528,7 +10691,7 @@ } }, { - "id": 559, + "id": 595, "name": "error", "kind": 1024, "kindString": "Property", @@ -10536,7 +10699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 559, + "line": 576, "character": 6 } ], @@ -10550,13 +10713,13 @@ { "title": "Properties", "kind": 1024, - "children": [555, 559] + "children": [591, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 571, "character": 4 } ] @@ -10565,14 +10728,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -10580,21 +10743,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 563, + "id": 599, "name": "properties", "kind": 1024, "kindString": "Property", @@ -10602,7 +10765,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 563, + "line": 580, "character": 8 } ], @@ -10612,7 +10775,7 @@ } }, { - "id": 564, + "id": 600, "name": "user", "kind": 1024, "kindString": "Property", @@ -10620,7 +10783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 564, + "line": 581, "character": 8 } ], @@ -10634,13 +10797,13 @@ { "title": "Properties", "kind": 1024, - "children": [563, 564] + "children": [599, 600] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 12 } ] @@ -10648,7 +10811,7 @@ } }, { - "id": 565, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -10656,13 +10819,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 566, + "line": 583, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -10671,13 +10834,13 @@ { "title": "Properties", "kind": 1024, - "children": [561, 565] + "children": [597, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 578, "character": 4 } ] @@ -10687,7 +10850,7 @@ } }, { - "id": 573, + "id": 609, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -10695,7 +10858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 608, "character": 12 } ], @@ -10730,7 +10893,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10738,21 +10901,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -10763,7 +10926,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -10773,7 +10936,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -10783,7 +10946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -10792,7 +10955,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -10806,7 +10969,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -10814,7 +10977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -10828,13 +10991,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -10842,7 +11005,7 @@ } }, { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -10850,21 +11013,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -10872,7 +11035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -10882,7 +11045,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -10892,7 +11055,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -10901,7 +11064,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -10924,7 +11087,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -10932,7 +11095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -10942,7 +11105,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -10950,7 +11113,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -10964,13 +11127,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -10978,7 +11141,7 @@ } }, { - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -10986,21 +11149,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 330, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -11010,7 +11173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 45, "character": 2 } ], @@ -11020,7 +11183,7 @@ } }, { - "id": 304, + "id": 329, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -11030,7 +11193,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -11040,7 +11203,7 @@ } }, { - "id": 308, + "id": 333, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -11050,7 +11213,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -11060,7 +11223,7 @@ } }, { - "id": 299, + "id": 324, "name": "headers", "kind": 1024, "kindString": "Property", @@ -11070,14 +11233,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 300, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11085,19 +11248,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 12 } ], "indexSignature": { - "id": 301, + "id": 326, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 302, + "id": 327, "name": "key", "kind": 32768, "flags": {}, @@ -11116,7 +11279,7 @@ } }, { - "id": 306, + "id": 331, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -11126,7 +11289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -11136,7 +11299,7 @@ } }, { - "id": 307, + "id": 332, "name": "storage", "kind": 1024, "kindString": "Property", @@ -11146,18 +11309,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 49, "character": 2 } ], "type": { "type": "reference", - "id": 715, + "id": 751, "name": "SupportedStorage" } }, { - "id": 303, + "id": 328, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -11167,7 +11330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 41, "character": 2 } ], @@ -11177,7 +11340,7 @@ } }, { - "id": 298, + "id": 323, "name": "url", "kind": 1024, "kindString": "Property", @@ -11187,7 +11350,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 37, "character": 2 } ], @@ -11201,13 +11364,13 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304, 308, 299, 306, 307, 303, 298] + "children": [330, 329, 333, 324, 331, 332, 328, 323] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 34 } ] @@ -11215,7 +11378,7 @@ } }, { - "id": 716, + "id": 752, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -11223,21 +11386,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 717, + "id": 753, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 718, + "id": 754, "name": "error", "kind": 1024, "kindString": "Property", @@ -11245,7 +11408,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 33 } ], @@ -11254,7 +11417,7 @@ "types": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, { @@ -11269,13 +11432,13 @@ { "title": "Properties", "kind": 1024, - "children": [718] + "children": [754] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 31 } ] @@ -11283,7 +11446,7 @@ } }, { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -11291,21 +11454,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -11316,7 +11479,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -11326,7 +11489,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -11337,7 +11500,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -11351,13 +11514,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -11365,7 +11528,7 @@ } }, { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -11373,21 +11536,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -11398,7 +11561,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -11412,13 +11575,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -11426,7 +11589,7 @@ } }, { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -11434,21 +11597,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -11459,7 +11622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -11469,7 +11632,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -11482,7 +11645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -11492,7 +11655,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -11505,7 +11668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -11519,13 +11682,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -11533,7 +11696,7 @@ } }, { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -11541,21 +11704,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -11566,7 +11729,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -11580,13 +11743,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -11594,7 +11757,7 @@ } }, { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -11602,21 +11765,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -11627,7 +11790,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -11637,7 +11800,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -11648,7 +11811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -11658,7 +11821,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -11669,7 +11832,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -11683,13 +11846,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -11697,7 +11860,7 @@ } }, { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -11705,7 +11868,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -11724,7 +11887,34 @@ } }, { - "id": 322, + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 347, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -11732,7 +11922,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 12 } ], @@ -11742,14 +11932,14 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 349, "name": "data", "kind": 1024, "kindString": "Property", @@ -11757,21 +11947,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 325, + "id": 350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 326, + "id": 351, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11779,18 +11969,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 72, + "line": 73, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 327, + "id": 352, "name": "url", "kind": 1024, "kindString": "Property", @@ -11798,7 +11988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 74, "character": 8 } ], @@ -11812,13 +12002,13 @@ { "title": "Properties", "kind": 1024, - "children": [326, 327] + "children": [351, 352] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 12 } ] @@ -11826,7 +12016,7 @@ } }, { - "id": 328, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -11834,7 +12024,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 76, "character": 6 } ], @@ -11848,13 +12038,13 @@ { "title": "Properties", "kind": 1024, - "children": [324, 328] + "children": [349, 353] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 70, + "line": 71, "character": 4 } ] @@ -11863,14 +12053,14 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -11878,21 +12068,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 331, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 332, + "id": 357, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11900,18 +12090,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 79, + "line": 80, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 333, + "id": 358, "name": "url", "kind": 1024, "kindString": "Property", @@ -11919,7 +12109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 81, "character": 8 } ], @@ -11933,13 +12123,13 @@ { "title": "Properties", "kind": 1024, - "children": [332, 333] + "children": [357, 358] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 12 } ] @@ -11947,7 +12137,7 @@ } }, { - "id": 334, + "id": 359, "name": "error", "kind": 1024, "kindString": "Property", @@ -11955,13 +12145,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 83, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -11970,13 +12160,13 @@ { "title": "Properties", "kind": 1024, - "children": [330, 334] + "children": [355, 359] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 78, "character": 4 } ] @@ -11986,7 +12176,7 @@ } }, { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -11994,21 +12184,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -12021,7 +12211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -12031,7 +12221,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -12044,7 +12234,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -12058,13 +12248,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -12072,7 +12262,7 @@ } }, { - "id": 726, + "id": 762, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -12080,21 +12270,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 763, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 729, + "id": 765, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -12102,7 +12292,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 935, "character": 2 } ], @@ -12112,7 +12302,7 @@ } }, { - "id": 728, + "id": 764, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -12120,7 +12310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 934, "character": 2 } ], @@ -12139,7 +12329,7 @@ } }, { - "id": 730, + "id": 766, "name": "total", "kind": 1024, "kindString": "Property", @@ -12147,7 +12337,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 936, "character": 2 } ], @@ -12161,25 +12351,25 @@ { "title": "Properties", "kind": 1024, - "children": [729, 728, 730] + "children": [765, 764, 766] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 25 } ], "indexSignature": { - "id": 731, + "id": 767, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 732, + "id": 768, "name": "key", "kind": 32768, "flags": {}, @@ -12198,7 +12388,7 @@ } }, { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -12284,7 +12474,7 @@ } }, { - "id": 335, + "id": 360, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -12292,7 +12482,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 85, + "line": 86, "character": 12 } ], @@ -12302,14 +12492,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 362, "name": "data", "kind": 1024, "kindString": "Property", @@ -12317,21 +12507,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 364, "name": "url", "kind": 1024, "kindString": "Property", @@ -12342,7 +12532,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 89, + "line": 90, "character": 8 } ], @@ -12356,13 +12546,13 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [364] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 12 } ] @@ -12370,7 +12560,7 @@ } }, { - "id": 340, + "id": 365, "name": "error", "kind": 1024, "kindString": "Property", @@ -12378,7 +12568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 92, "character": 6 } ], @@ -12392,13 +12582,13 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [362, 365] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 87, "character": 4 } ] @@ -12407,36 +12597,18 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 366, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 367, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 343, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -12444,9 +12616,27 @@ "character": 6 } ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 368, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 96, + "character": 6 + } + ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -12455,13 +12645,13 @@ { "title": "Properties", "kind": 1024, - "children": [342, 343] + "children": [367, 368] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 94, "character": 4 } ] @@ -12471,7 +12661,186 @@ } }, { - "id": 486, + "id": 526, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "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": 458, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 531, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 533, + "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": 461, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [533] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 12 + } + ] + } + } + }, + { + "id": 528, + "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": 454, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 529, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 531, 528, 529] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 43 + } + ] + } + } + }, + { + "id": 513, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12486,14 +12855,14 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -12510,14 +12879,38 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 525, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to 'pkce' PKCE flow. Defaults to the 'implicit' flow otherwise" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "OAuthFlowType" + } + }, + { + "id": 520, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -12537,7 +12930,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12550,14 +12943,14 @@ } ], "indexSignature": { - "id": 495, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -12576,7 +12969,7 @@ } }, { - "id": 491, + "id": 518, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12599,7 +12992,7 @@ } }, { - "id": 492, + "id": 519, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -12622,7 +13015,7 @@ } }, { - "id": 497, + "id": 524, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -12649,7 +13042,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 491, 492, 497] + "children": [525, 520, 518, 519, 524] } ], "sources": [ @@ -12663,7 +13056,7 @@ } }, { - "id": 488, + "id": 515, "name": "provider", "kind": 1024, "kindString": "Property", @@ -12680,7 +13073,7 @@ ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } } @@ -12689,7 +13082,7 @@ { "title": "Properties", "kind": 1024, - "children": [489, 488] + "children": [516, 515] } ], "sources": [ @@ -12703,7 +13096,7 @@ } }, { - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -12711,7 +13104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 363, + "line": 364, "character": 12 } ], @@ -12721,14 +13114,14 @@ { "type": "reflection", "declaration": { - "id": 456, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 482, "name": "email", "kind": 1024, "kindString": "Property", @@ -12739,7 +13132,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 367, "character": 6 } ], @@ -12749,7 +13142,7 @@ } }, { - "id": 459, + "id": 484, "name": "options", "kind": 1024, "kindString": "Property", @@ -12759,21 +13152,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 485, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 462, + "id": 486, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12786,7 +13179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 372, "character": 8 } ], @@ -12794,43 +13187,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 461, - "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": 375, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [462, 461] + "children": [486] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 16 } ] @@ -12838,7 +13207,7 @@ } }, { - "id": 458, + "id": 483, "name": "password", "kind": 1024, "kindString": "Property", @@ -12849,7 +13218,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 368, + "line": 369, "character": 6 } ], @@ -12863,13 +13232,13 @@ { "title": "Properties", "kind": 1024, - "children": [457, 459, 458] + "children": [482, 484, 483] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 364, + "line": 365, "character": 4 } ] @@ -12878,14 +13247,14 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 490, "name": "options", "kind": 1024, "kindString": "Property", @@ -12895,21 +13264,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 467, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 493, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12922,7 +13291,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 393, + "line": 388, "character": 8 } ], @@ -12932,7 +13301,39 @@ } }, { - "id": 468, + "id": 494, + "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": 390, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 492, "name": "data", "kind": 1024, "kindString": "Property", @@ -12946,7 +13347,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 391, + "line": 386, "character": 8 } ], @@ -12960,13 +13361,13 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468] + "children": [493, 494, 492] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 16 } ] @@ -12974,7 +13375,7 @@ } }, { - "id": 465, + "id": 489, "name": "password", "kind": 1024, "kindString": "Property", @@ -12985,7 +13386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 379, "character": 6 } ], @@ -12995,7 +13396,7 @@ } }, { - "id": 464, + "id": 488, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13006,7 +13407,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 377, "character": 6 } ], @@ -13020,13 +13421,13 @@ { "title": "Properties", "kind": 1024, - "children": [466, 465, 464] + "children": [490, 489, 488] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 375, "character": 4 } ] @@ -13036,7 +13437,7 @@ } }, { - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13044,7 +13445,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 397, + "line": 394, "character": 12 } ], @@ -13054,14 +13455,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 497, "name": "email", "kind": 1024, "kindString": "Property", @@ -13072,7 +13473,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 400, + "line": 397, "character": 6 } ], @@ -13082,7 +13483,7 @@ } }, { - "id": 473, + "id": 498, "name": "options", "kind": 1024, "kindString": "Property", @@ -13092,21 +13493,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 499, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 503, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13119,7 +13520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 413, + "line": 410, "character": 8 } ], @@ -13129,7 +13530,7 @@ } }, { - "id": 477, + "id": 502, "name": "data", "kind": 1024, "kindString": "Property", @@ -13143,7 +13544,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 411, + "line": 408, "character": 8 } ], @@ -13153,7 +13554,7 @@ } }, { - "id": 475, + "id": 500, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -13166,7 +13567,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 400, "character": 8 } ], @@ -13176,7 +13577,7 @@ } }, { - "id": 476, + "id": 501, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -13189,7 +13590,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 402, "character": 8 } ], @@ -13203,13 +13604,13 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 475, 476] + "children": [503, 502, 500, 501] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 16 } ] @@ -13221,13 +13622,13 @@ { "title": "Properties", "kind": 1024, - "children": [472, 473] + "children": [497, 498] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 395, "character": 4 } ] @@ -13236,14 +13637,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 481, + "id": 506, "name": "options", "kind": 1024, "kindString": "Property", @@ -13253,21 +13654,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 507, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 510, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13280,7 +13681,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 429, + "line": 426, "character": 8 } ], @@ -13290,7 +13691,39 @@ } }, { - "id": 484, + "id": 511, + "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": 428, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -13304,7 +13737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 427, + "line": 424, "character": 8 } ], @@ -13314,7 +13747,7 @@ } }, { - "id": 483, + "id": 508, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -13327,7 +13760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 418, "character": 8 } ], @@ -13341,13 +13774,13 @@ { "title": "Properties", "kind": 1024, - "children": [485, 484, 483] + "children": [510, 511, 509, 508] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 16 } ] @@ -13355,7 +13788,7 @@ } }, { - "id": 480, + "id": 505, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13366,7 +13799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 415, "character": 6 } ], @@ -13380,13 +13813,13 @@ { "title": "Properties", "kind": 1024, - "children": [481, 480] + "children": [506, 505] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 413, "character": 4 } ] @@ -13396,7 +13829,7 @@ } }, { - "id": 517, + "id": 553, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -13404,7 +13837,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 12 } ], @@ -13414,14 +13847,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 555, "name": "options", "kind": 1024, "kindString": "Property", @@ -13431,21 +13864,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 558, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13458,7 +13891,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 508, "character": 4 } ], @@ -13468,7 +13901,7 @@ } }, { - "id": 521, + "id": 557, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13481,7 +13914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 506, "character": 4 } ], @@ -13495,13 +13928,13 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [558, 557] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 12 } ] @@ -13513,13 +13946,13 @@ { "title": "Properties", "kind": 1024, - "children": [519] + "children": [555] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 28 } ] @@ -13531,14 +13964,14 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 559, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 524, + "id": 560, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -13549,7 +13982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 496, + "line": 513, "character": 6 } ], @@ -13563,13 +13996,13 @@ { "title": "Properties", "kind": 1024, - "children": [524] + "children": [560] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 494, + "line": 511, "character": 4 } ] @@ -13578,14 +14011,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 562, "name": "domain", "kind": 1024, "kindString": "Property", @@ -13596,7 +14029,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 517, "character": 6 } ], @@ -13610,13 +14043,13 @@ { "title": "Properties", "kind": 1024, - "children": [526] + "children": [562] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 515, "character": 4 } ] @@ -13628,7 +14061,7 @@ } }, { - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13636,7 +14069,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 329, "character": 12 } ], @@ -13646,14 +14079,14 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 466, "name": "email", "kind": 1024, "kindString": "Property", @@ -13664,7 +14097,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 331, + "line": 332, "character": 6 } ], @@ -13674,7 +14107,7 @@ } }, { - "id": 443, + "id": 468, "name": "options", "kind": 1024, "kindString": "Property", @@ -13684,21 +14117,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 469, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 447, + "id": 472, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13711,7 +14144,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 345, "character": 8 } ], @@ -13721,7 +14154,7 @@ } }, { - "id": 446, + "id": 471, "name": "data", "kind": 1024, "kindString": "Property", @@ -13735,7 +14168,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 343, "character": 8 } ], @@ -13745,7 +14178,7 @@ } }, { - "id": 445, + "id": 470, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -13758,7 +14191,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 337, "character": 8 } ], @@ -13772,13 +14205,13 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 445] + "children": [472, 471, 470] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 16 } ] @@ -13786,7 +14219,7 @@ } }, { - "id": 442, + "id": 467, "name": "password", "kind": 1024, "kindString": "Property", @@ -13797,7 +14230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 334, "character": 6 } ], @@ -13811,13 +14244,13 @@ { "title": "Properties", "kind": 1024, - "children": [441, 443, 442] + "children": [466, 468, 467] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 330, "character": 4 } ] @@ -13826,14 +14259,14 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 476, "name": "options", "kind": 1024, "kindString": "Property", @@ -13843,21 +14276,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 454, + "id": 479, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13870,7 +14303,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 361, "character": 8 } ], @@ -13880,7 +14313,7 @@ } }, { - "id": 453, + "id": 478, "name": "data", "kind": 1024, "kindString": "Property", @@ -13894,7 +14327,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 359, "character": 8 } ], @@ -13908,13 +14341,13 @@ { "title": "Properties", "kind": 1024, - "children": [454, 453] + "children": [479, 478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 16 } ] @@ -13922,7 +14355,7 @@ } }, { - "id": 450, + "id": 475, "name": "password", "kind": 1024, "kindString": "Property", @@ -13933,7 +14366,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 352, "character": 6 } ], @@ -13943,7 +14376,7 @@ } }, { - "id": 449, + "id": 474, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13954,7 +14387,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 349, + "line": 350, "character": 6 } ], @@ -13968,13 +14401,13 @@ { "title": "Properties", "kind": 1024, - "children": [451, 450, 449] + "children": [476, 475, 474] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 347, + "line": 348, "character": 4 } ] @@ -13984,7 +14417,7 @@ } }, { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13992,7 +14425,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -14035,7 +14468,7 @@ } }, { - "id": 344, + "id": 369, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -14043,7 +14476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 99, "character": 12 } ], @@ -14053,14 +14486,14 @@ { "type": "reflection", "declaration": { - "id": 345, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 346, + "id": 371, "name": "data", "kind": 1024, "kindString": "Property", @@ -14068,21 +14501,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 347, + "id": 372, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 348, + "id": 373, "name": "user", "kind": 1024, "kindString": "Property", @@ -14090,13 +14523,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 102, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -14105,13 +14538,13 @@ { "title": "Properties", "kind": 1024, - "children": [348] + "children": [373] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 12 } ] @@ -14119,7 +14552,7 @@ } }, { - "id": 349, + "id": 374, "name": "error", "kind": 1024, "kindString": "Property", @@ -14127,7 +14560,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 104, "character": 6 } ], @@ -14141,13 +14574,13 @@ { "title": "Properties", "kind": 1024, - "children": [346, 349] + "children": [371, 374] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 100, "character": 4 } ] @@ -14156,14 +14589,14 @@ { "type": "reflection", "declaration": { - "id": 350, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 376, "name": "data", "kind": 1024, "kindString": "Property", @@ -14171,21 +14604,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 377, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 378, "name": "user", "kind": 1024, "kindString": "Property", @@ -14193,7 +14626,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 107, + "line": 108, "character": 8 } ], @@ -14207,13 +14640,13 @@ { "title": "Properties", "kind": 1024, - "children": [353] + "children": [378] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 12 } ] @@ -14221,7 +14654,7 @@ } }, { - "id": 354, + "id": 379, "name": "error", "kind": 1024, "kindString": "Property", @@ -14229,13 +14662,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 110, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -14244,13 +14677,13 @@ { "title": "Properties", "kind": 1024, - "children": [351, 354] + "children": [376, 379] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 105, + "line": 106, "character": 4 } ] @@ -14260,7 +14693,7 @@ } }, { - "id": 498, + "id": 534, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -14268,7 +14701,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 465, "character": 12 } ], @@ -14277,19 +14710,19 @@ "types": [ { "type": "reference", - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams" } ] } }, { - "id": 740, + "id": 776, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -14303,14 +14736,14 @@ ], "signatures": [ { - "id": 741, + "id": 777, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 742, + "id": 778, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -14327,7 +14760,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" } } @@ -14335,7 +14768,7 @@ ] }, { - "id": 737, + "id": 773, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -14349,14 +14782,14 @@ ], "signatures": [ { - "id": 738, + "id": 774, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 775, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -14373,7 +14806,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -14385,26 +14818,26 @@ { "title": "Classes", "kind": 128, - "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77] + "children": [786, 779, 847, 834, 872, 822, 799, 807, 1, 77] }, { "title": "Interfaces", "kind": 256, - "children": [364, 419, 378, 549, 708, 663, 355, 429, 437, 392, 385, 414, 367, 389, 507, 499] + "children": [389, 445, 403, 585, 744, 699, 380, 454, 462, 417, 410, 440, 392, 414, 543, 535] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 295, 294, 692, 683, 705, 696, 631, 607, 652, 641, 622, 594, 309, 651, 719, 516, 543, 533, - 552, 566, 553, 573, 538, 527, 296, 716, 590, 587, 574, 579, 582, 515, 322, 733, 726, 293, - 335, 486, 455, 470, 517, 439, 715, 344, 498 + 320, 319, 728, 719, 741, 732, 667, 643, 688, 677, 658, 630, 334, 687, 755, 552, 579, 569, + 588, 602, 589, 609, 574, 563, 321, 752, 626, 623, 610, 615, 618, 551, 512, 347, 769, 762, + 318, 360, 526, 513, 480, 495, 553, 464, 751, 369, 534 ] }, { "title": "Functions", "kind": 64, - "children": [740, 737] + "children": [776, 773] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 4981519575b..6bdcd980452 100644 --- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 750, + "id": 786, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 751, + "id": 787, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 752, + "id": 788, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 753, + "id": 789, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 754, + "id": 790, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -59,24 +59,24 @@ ], "type": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 755, + "id": 791, "name": "status", "kind": 1024, "kindString": "Property", @@ -94,12 +94,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 756, + "id": 792, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -113,7 +113,7 @@ ], "signatures": [ { - "id": 757, + "id": 793, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -121,14 +121,14 @@ "type": { "type": "reflection", "declaration": { - "id": 758, + "id": 794, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 760, + "id": 796, "name": "message", "kind": 1024, "kindString": "Property", @@ -147,7 +147,7 @@ "defaultValue": "..." }, { - "id": 759, + "id": 795, "name": "name", "kind": 1024, "kindString": "Property", @@ -166,7 +166,7 @@ "defaultValue": "..." }, { - "id": 761, + "id": 797, "name": "status", "kind": 1024, "kindString": "Property", @@ -189,7 +189,7 @@ { "title": "Properties", "kind": 1024, - "children": [760, 759, 761] + "children": [796, 795, 797] } ] } @@ -202,17 +202,17 @@ { "title": "Constructors", "kind": 512, - "children": [751] + "children": [787] }, { "title": "Properties", "kind": 1024, - "children": [755] + "children": [791] }, { "title": "Methods", "kind": 2048, - "children": [756] + "children": [792] } ], "sources": [ @@ -225,20 +225,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 743, + "id": 779, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 744, + "id": 780, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -252,14 +252,14 @@ ], "signatures": [ { - "id": 745, + "id": 781, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 746, + "id": 782, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -270,7 +270,7 @@ } }, { - "id": 747, + "id": 783, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -285,7 +285,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, "overwrites": { @@ -300,7 +300,7 @@ } }, { - "id": 748, + "id": 784, "name": "status", "kind": 1024, "kindString": "Property", @@ -331,12 +331,12 @@ { "title": "Constructors", "kind": 512, - "children": [744] + "children": [780] }, { "title": "Properties", "kind": 1024, - "children": [748] + "children": [784] } ], "sources": [ @@ -357,30 +357,30 @@ "extendedBy": [ { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" }, { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 812, + "id": 848, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -394,14 +394,14 @@ ], "signatures": [ { - "id": 813, + "id": 849, "name": "new AuthImplicitGrantRedirectError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 814, + "id": 850, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -412,7 +412,7 @@ } }, { - "id": 815, + "id": 851, "name": "details", "kind": 32768, "kindString": "Parameter", @@ -427,14 +427,14 @@ { "type": "reflection", "declaration": { - "id": 816, + "id": 852, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 854, "name": "code", "kind": 1024, "kindString": "Property", @@ -452,7 +452,7 @@ } }, { - "id": 817, + "id": 853, "name": "error", "kind": 1024, "kindString": "Property", @@ -474,7 +474,7 @@ { "title": "Properties", "kind": 1024, - "children": [818, 817] + "children": [854, 853] } ] } @@ -486,24 +486,24 @@ ], "type": { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 819, + "id": 855, "name": "details", "kind": 1024, "kindString": "Property", @@ -525,14 +525,14 @@ { "type": "reflection", "declaration": { - "id": 820, + "id": 856, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 822, + "id": 858, "name": "code", "kind": 1024, "kindString": "Property", @@ -550,7 +550,7 @@ } }, { - "id": 821, + "id": 857, "name": "error", "kind": 1024, "kindString": "Property", @@ -572,7 +572,7 @@ { "title": "Properties", "kind": 1024, - "children": [822, 821] + "children": [858, 857] } ] } @@ -582,7 +582,7 @@ "defaultValue": "null" }, { - "id": 833, + "id": 869, "name": "name", "kind": 1024, "kindString": "Property", @@ -600,12 +600,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 834, + "id": 870, "name": "status", "kind": 1024, "kindString": "Property", @@ -623,12 +623,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 823, + "id": 859, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -642,7 +642,7 @@ ], "signatures": [ { - "id": 824, + "id": 860, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -650,14 +650,14 @@ "type": { "type": "reflection", "declaration": { - "id": 825, + "id": 861, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 829, + "id": 865, "name": "details", "kind": 1024, "kindString": "Property", @@ -679,14 +679,14 @@ { "type": "reflection", "declaration": { - "id": 830, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 832, + "id": 868, "name": "code", "kind": 1024, "kindString": "Property", @@ -704,7 +704,7 @@ } }, { - "id": 831, + "id": 867, "name": "error", "kind": 1024, "kindString": "Property", @@ -726,7 +726,7 @@ { "title": "Properties", "kind": 1024, - "children": [832, 831] + "children": [868, 867] } ] } @@ -736,7 +736,7 @@ "defaultValue": "..." }, { - "id": 827, + "id": 863, "name": "message", "kind": 1024, "kindString": "Property", @@ -755,7 +755,7 @@ "defaultValue": "..." }, { - "id": 826, + "id": 862, "name": "name", "kind": 1024, "kindString": "Property", @@ -774,7 +774,7 @@ "defaultValue": "..." }, { - "id": 828, + "id": 864, "name": "status", "kind": 1024, "kindString": "Property", @@ -797,21 +797,21 @@ { "title": "Properties", "kind": 1024, - "children": [829, 827, 826, 828] + "children": [865, 863, 862, 864] } ] } }, "overwrites": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "overwrites": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -820,17 +820,17 @@ { "title": "Constructors", "kind": 512, - "children": [812] + "children": [848] }, { "title": "Properties", "kind": 1024, - "children": [819, 833, 834] + "children": [855, 869, 870] }, { "title": "Methods", "kind": 2048, - "children": [823] + "children": [859] } ], "sources": [ @@ -843,20 +843,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 799, + "id": 835, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -870,14 +870,14 @@ ], "signatures": [ { - "id": 800, + "id": 836, "name": "new AuthInvalidCredentialsError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 801, + "id": 837, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -890,24 +890,24 @@ ], "type": { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 802, + "id": 838, "name": "name", "kind": 1024, "kindString": "Property", @@ -925,12 +925,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 803, + "id": 839, "name": "status", "kind": 1024, "kindString": "Property", @@ -948,12 +948,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 804, + "id": 840, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -967,7 +967,7 @@ ], "signatures": [ { - "id": 805, + "id": 841, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -975,14 +975,14 @@ "type": { "type": "reflection", "declaration": { - "id": 806, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 808, + "id": 844, "name": "message", "kind": 1024, "kindString": "Property", @@ -1001,7 +1001,7 @@ "defaultValue": "..." }, { - "id": 807, + "id": 843, "name": "name", "kind": 1024, "kindString": "Property", @@ -1020,7 +1020,7 @@ "defaultValue": "..." }, { - "id": 809, + "id": 845, "name": "status", "kind": 1024, "kindString": "Property", @@ -1043,21 +1043,21 @@ { "title": "Properties", "kind": 1024, - "children": [808, 807, 809] + "children": [844, 843, 845] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1066,17 +1066,17 @@ { "title": "Constructors", "kind": 512, - "children": [799] + "children": [835] }, { "title": "Properties", "kind": 1024, - "children": [802, 803] + "children": [838, 839] }, { "title": "Methods", "kind": 2048, - "children": [804] + "children": [840] } ], "sources": [ @@ -1089,20 +1089,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 836, + "id": 872, "name": "AuthRetryableFetchError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 837, + "id": 873, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1116,14 +1116,14 @@ ], "signatures": [ { - "id": 838, + "id": 874, "name": "new AuthRetryableFetchError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 839, + "id": 875, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1134,7 +1134,7 @@ } }, { - "id": 840, + "id": 876, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1147,24 +1147,24 @@ ], "type": { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 841, + "id": 877, "name": "name", "kind": 1024, "kindString": "Property", @@ -1182,12 +1182,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 842, + "id": 878, "name": "status", "kind": 1024, "kindString": "Property", @@ -1205,12 +1205,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 843, + "id": 879, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1224,7 +1224,7 @@ ], "signatures": [ { - "id": 844, + "id": 880, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1232,14 +1232,14 @@ "type": { "type": "reflection", "declaration": { - "id": 845, + "id": 881, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 847, + "id": 883, "name": "message", "kind": 1024, "kindString": "Property", @@ -1258,7 +1258,7 @@ "defaultValue": "..." }, { - "id": 846, + "id": 882, "name": "name", "kind": 1024, "kindString": "Property", @@ -1277,7 +1277,7 @@ "defaultValue": "..." }, { - "id": 848, + "id": 884, "name": "status", "kind": 1024, "kindString": "Property", @@ -1300,21 +1300,21 @@ { "title": "Properties", "kind": 1024, - "children": [847, 846, 848] + "children": [883, 882, 884] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1323,17 +1323,17 @@ { "title": "Constructors", "kind": 512, - "children": [837] + "children": [873] }, { "title": "Properties", "kind": 1024, - "children": [841, 842] + "children": [877, 878] }, { "title": "Methods", "kind": 2048, - "children": [843] + "children": [879] } ], "sources": [ @@ -1346,20 +1346,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 786, + "id": 822, "name": "AuthSessionMissingError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 787, + "id": 823, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1373,31 +1373,31 @@ ], "signatures": [ { - "id": 788, + "id": 824, "name": "new AuthSessionMissingError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "type": { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, "overwrites": { "type": "reference", - "id": 773, + "id": 809, "name": "CustomAuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 772, + "id": 808, "name": "CustomAuthError.constructor" } }, { - "id": 789, + "id": 825, "name": "name", "kind": 1024, "kindString": "Property", @@ -1415,12 +1415,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 777, + "id": 813, "name": "CustomAuthError.name" } }, { - "id": 790, + "id": 826, "name": "status", "kind": 1024, "kindString": "Property", @@ -1438,12 +1438,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 778, + "id": 814, "name": "CustomAuthError.status" } }, { - "id": 791, + "id": 827, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1457,7 +1457,7 @@ ], "signatures": [ { - "id": 792, + "id": 828, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1465,14 +1465,14 @@ "type": { "type": "reflection", "declaration": { - "id": 793, + "id": 829, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 831, "name": "message", "kind": 1024, "kindString": "Property", @@ -1491,7 +1491,7 @@ "defaultValue": "..." }, { - "id": 794, + "id": 830, "name": "name", "kind": 1024, "kindString": "Property", @@ -1510,7 +1510,7 @@ "defaultValue": "..." }, { - "id": 796, + "id": 832, "name": "status", "kind": 1024, "kindString": "Property", @@ -1533,21 +1533,21 @@ { "title": "Properties", "kind": 1024, - "children": [795, 794, 796] + "children": [831, 830, 832] } ] } }, "inheritedFrom": { "type": "reference", - "id": 780, + "id": 816, "name": "CustomAuthError.toJSON" } } ], "inheritedFrom": { "type": "reference", - "id": 779, + "id": 815, "name": "CustomAuthError.toJSON" } } @@ -1556,17 +1556,17 @@ { "title": "Constructors", "kind": 512, - "children": [787] + "children": [823] }, { "title": "Properties", "kind": 1024, - "children": [789, 790] + "children": [825, 826] }, { "title": "Methods", "kind": 2048, - "children": [791] + "children": [827] } ], "sources": [ @@ -1579,20 +1579,20 @@ "extendedTypes": [ { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" } ] }, { - "id": 763, + "id": 799, "name": "AuthUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 764, + "id": 800, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1606,14 +1606,14 @@ ], "signatures": [ { - "id": 765, + "id": 801, "name": "new AuthUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 766, + "id": 802, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1624,7 +1624,7 @@ } }, { - "id": 767, + "id": 803, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1637,24 +1637,24 @@ ], "type": { "type": "reference", - "id": 763, + "id": 799, "name": "AuthUnknownError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 768, + "id": 804, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1672,7 +1672,7 @@ } }, { - "id": 769, + "id": 805, "name": "status", "kind": 1024, "kindString": "Property", @@ -1699,7 +1699,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } } @@ -1708,12 +1708,12 @@ { "title": "Constructors", "kind": 512, - "children": [764] + "children": [800] }, { "title": "Properties", "kind": 1024, - "children": [768, 769] + "children": [804, 805] } ], "sources": [ @@ -1726,20 +1726,20 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] }, { - "id": 771, + "id": 807, "name": "CustomAuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 772, + "id": 808, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1753,14 +1753,14 @@ ], "signatures": [ { - "id": 773, + "id": 809, "name": "new CustomAuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 774, + "id": 810, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1771,7 +1771,7 @@ } }, { - "id": 775, + "id": 811, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -1782,7 +1782,7 @@ } }, { - "id": 776, + "id": 812, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -1795,24 +1795,24 @@ ], "type": { "type": "reference", - "id": 771, + "id": 807, "name": "CustomAuthError" }, "overwrites": { "type": "reference", - "id": 745, + "id": 781, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 744, + "id": 780, "name": "AuthError.constructor" } }, { - "id": 777, + "id": 813, "name": "name", "kind": 1024, "kindString": "Property", @@ -1834,7 +1834,7 @@ } }, { - "id": 778, + "id": 814, "name": "status", "kind": 1024, "kindString": "Property", @@ -1852,12 +1852,12 @@ }, "overwrites": { "type": "reference", - "id": 748, + "id": 784, "name": "AuthError.status" } }, { - "id": 779, + "id": 815, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -1871,7 +1871,7 @@ ], "signatures": [ { - "id": 780, + "id": 816, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -1879,14 +1879,14 @@ "type": { "type": "reflection", "declaration": { - "id": 781, + "id": 817, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 783, + "id": 819, "name": "message", "kind": 1024, "kindString": "Property", @@ -1905,7 +1905,7 @@ "defaultValue": "..." }, { - "id": 782, + "id": 818, "name": "name", "kind": 1024, "kindString": "Property", @@ -1924,7 +1924,7 @@ "defaultValue": "..." }, { - "id": 784, + "id": 820, "name": "status", "kind": 1024, "kindString": "Property", @@ -1947,7 +1947,7 @@ { "title": "Properties", "kind": 1024, - "children": [783, 782, 784] + "children": [819, 818, 820] } ] } @@ -1960,17 +1960,17 @@ { "title": "Constructors", "kind": 512, - "children": [772] + "children": [808] }, { "title": "Properties", "kind": 1024, - "children": [777, 778] + "children": [813, 814] }, { "title": "Methods", "kind": 2048, - "children": [779] + "children": [815] } ], "sources": [ @@ -1983,29 +1983,29 @@ "extendedTypes": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 786, + "id": 822, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 798, + "id": 834, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 811, + "id": 847, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 836, + "id": 872, "name": "AuthRetryableFetchError" } ] @@ -2248,10 +2248,10 @@ ], "type": { "type": "reference", - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -2267,14 +2267,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -2294,17 +2294,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -2320,21 +2320,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -2345,7 +2345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -2355,7 +2355,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -2366,7 +2366,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -2380,13 +2380,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -2401,7 +2401,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -2413,14 +2413,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -2430,17 +2430,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -2456,21 +2456,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -2481,7 +2481,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -2495,13 +2495,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -2516,7 +2516,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -2532,13 +2532,13 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] @@ -2577,17 +2577,17 @@ "flags": {}, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -2601,7 +2601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -2611,7 +2611,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -2625,7 +2625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -2635,36 +2635,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -2677,7 +2648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -2687,12 +2658,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -2706,7 +2676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -2716,7 +2686,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -2729,7 +2699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -2739,12 +2709,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -2757,7 +2726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -2767,12 +2736,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -2786,7 +2754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -2796,7 +2764,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -2805,12 +2773,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -2824,21 +2792,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -2850,7 +2830,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2920,7 +2900,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -2963,10 +2943,10 @@ "flags": {}, "type": { "type": "reference", - "id": 552, + "id": 588, "name": "GenerateLinkParams", "dereferenced": { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2974,7 +2954,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -2982,7 +2962,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -2990,21 +2970,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -3012,7 +2992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -3022,7 +3002,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -3032,7 +3012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -3041,7 +3021,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -3064,7 +3044,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -3072,7 +3052,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -3082,7 +3062,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -3090,7 +3070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -3104,13 +3084,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -3118,7 +3098,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3126,21 +3106,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -3151,7 +3131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -3161,7 +3141,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -3171,7 +3151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -3180,7 +3160,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -3203,7 +3183,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -3211,7 +3191,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -3234,13 +3214,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -3248,7 +3228,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3256,21 +3236,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -3281,7 +3261,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -3291,7 +3271,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -3301,7 +3281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -3310,7 +3290,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -3324,7 +3304,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -3332,7 +3312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -3346,13 +3326,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -3360,7 +3340,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -3368,21 +3348,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -3393,7 +3373,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -3403,7 +3383,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -3414,7 +3394,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -3424,7 +3404,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -3434,7 +3414,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -3443,7 +3423,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -3457,7 +3437,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -3465,7 +3445,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -3488,13 +3468,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -3512,7 +3492,7 @@ "typeArguments": [ { "type": "reference", - "id": 553, + "id": 589, "name": "GenerateLinkResponse" } ], @@ -3567,7 +3547,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -3695,7 +3675,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -3744,10 +3724,10 @@ }, "type": { "type": "reference", - "id": 733, + "id": 769, "name": "PageParams", "dereferenced": { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -3755,21 +3735,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -3782,7 +3762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -3792,7 +3772,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -3805,7 +3785,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -3819,13 +3799,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -3910,7 +3890,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -3927,7 +3907,7 @@ }, { "type": "reference", - "id": 726, + "id": 762, "name": "Pagination" } ] @@ -4035,7 +4015,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -4150,7 +4130,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -4220,17 +4200,17 @@ }, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -4244,7 +4224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -4254,7 +4234,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -4268,7 +4248,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -4278,36 +4258,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -4320,7 +4271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -4330,12 +4281,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -4349,7 +4299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -4359,7 +4309,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -4372,7 +4322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -4382,12 +4332,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -4400,7 +4349,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -4410,12 +4359,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -4429,7 +4377,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -4439,7 +4387,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -4448,12 +4396,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -4467,21 +4415,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -4493,7 +4453,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -4546,7 +4506,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 135, + "line": 140, "character": 2 } ], @@ -4569,10 +4529,10 @@ "flags": {}, "type": { "type": "reference", - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "dereferenced": { - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -4580,21 +4540,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 330, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -4604,7 +4564,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 45, "character": 2 } ], @@ -4614,7 +4574,7 @@ } }, { - "id": 304, + "id": 329, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -4624,7 +4584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -4634,7 +4594,7 @@ } }, { - "id": 308, + "id": 333, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -4644,7 +4604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -4654,7 +4614,7 @@ } }, { - "id": 299, + "id": 324, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4664,14 +4624,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 300, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4679,19 +4639,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 12 } ], "indexSignature": { - "id": 301, + "id": 326, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 302, + "id": 327, "name": "key", "kind": 32768, "flags": {}, @@ -4710,7 +4670,7 @@ } }, { - "id": 306, + "id": 331, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -4720,7 +4680,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -4730,7 +4690,7 @@ } }, { - "id": 307, + "id": 332, "name": "storage", "kind": 1024, "kindString": "Property", @@ -4740,16 +4700,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 49, "character": 2 } ], "type": { "type": "reference", - "id": 715, + "id": 751, "name": "SupportedStorage", "dereferenced": { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -4757,7 +4717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -4802,7 +4762,7 @@ } }, { - "id": 303, + "id": 328, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -4812,7 +4772,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 41, "character": 2 } ], @@ -4822,7 +4782,7 @@ } }, { - "id": 298, + "id": 323, "name": "url", "kind": 1024, "kindString": "Property", @@ -4832,7 +4792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 37, "character": 2 } ], @@ -4846,13 +4806,13 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304, 308, 299, 306, 307, 303, 298] + "children": [330, 329, 333, 324, 331, 332, 328, 323] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 34 } ] @@ -4882,7 +4842,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 96, + "line": 95, "character": 2 } ], @@ -5128,10 +5088,10 @@ ], "type": { "type": "reference", - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -5147,14 +5107,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -5174,17 +5134,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -5200,21 +5160,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -5225,7 +5185,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -5235,7 +5195,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -5246,7 +5206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -5260,13 +5220,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -5281,7 +5241,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -5293,14 +5253,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -5310,17 +5270,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -5336,21 +5296,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -5361,7 +5321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -5375,13 +5335,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -5396,7 +5356,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -5412,13 +5372,13 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] @@ -5457,17 +5417,17 @@ "flags": {}, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -5481,7 +5441,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -5491,7 +5451,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -5505,7 +5465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -5515,36 +5475,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -5557,7 +5488,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -5567,12 +5498,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -5586,7 +5516,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -5596,7 +5526,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -5609,7 +5539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -5619,12 +5549,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5637,7 +5566,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -5647,12 +5576,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -5666,7 +5594,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -5676,7 +5604,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -5685,12 +5613,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -5704,21 +5632,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -5730,7 +5670,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -5800,7 +5740,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -5843,10 +5783,10 @@ "flags": {}, "type": { "type": "reference", - "id": 552, + "id": 588, "name": "GenerateLinkParams", "dereferenced": { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -5854,7 +5794,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -5862,7 +5802,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -5870,21 +5810,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -5892,7 +5832,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -5902,7 +5842,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -5912,7 +5852,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -5921,7 +5861,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -5944,7 +5884,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -5952,7 +5892,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -5962,7 +5902,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -5970,7 +5910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -5984,13 +5924,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -5998,7 +5938,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -6006,21 +5946,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -6031,7 +5971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -6041,7 +5981,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -6051,7 +5991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -6060,7 +6000,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -6083,7 +6023,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -6091,7 +6031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -6114,13 +6054,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -6128,7 +6068,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -6136,21 +6076,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -6161,7 +6101,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -6171,7 +6111,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -6181,7 +6121,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -6190,7 +6130,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -6204,7 +6144,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -6212,7 +6152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -6226,13 +6166,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -6240,7 +6180,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -6248,21 +6188,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -6273,7 +6213,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -6283,7 +6223,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -6294,7 +6234,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -6304,7 +6244,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -6314,7 +6254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -6323,7 +6263,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -6337,7 +6277,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -6345,7 +6285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -6368,13 +6308,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -6392,7 +6332,7 @@ "typeArguments": [ { "type": "reference", - "id": 553, + "id": 589, "name": "GenerateLinkResponse" } ], @@ -6447,7 +6387,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -6575,7 +6515,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -6624,10 +6564,10 @@ }, "type": { "type": "reference", - "id": 733, + "id": 769, "name": "PageParams", "dereferenced": { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -6635,21 +6575,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -6662,7 +6602,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -6672,7 +6612,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -6685,7 +6625,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -6699,13 +6639,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -6790,7 +6730,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -6807,7 +6747,7 @@ }, { "type": "reference", - "id": 726, + "id": 762, "name": "Pagination" } ] @@ -6915,7 +6855,7 @@ ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -7030,7 +6970,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -7100,17 +7040,17 @@ }, "type": { "type": "reference", - "id": 419, + "id": 445, "name": "AdminUserAttributes", "dereferenced": { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7124,7 +7064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -7134,7 +7074,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7148,7 +7088,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -7158,36 +7098,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -7200,7 +7111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -7210,12 +7121,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7229,7 +7139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -7239,7 +7149,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -7252,7 +7162,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -7262,12 +7172,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7280,7 +7189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -7290,12 +7199,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7309,7 +7217,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -7319,7 +7227,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7328,12 +7236,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -7347,21 +7255,33 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] } @@ -7373,7 +7293,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -7424,16 +7344,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 100, + "line": 99, "character": 2 } ], "type": { "type": "reference", - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "dereferenced": { - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -7443,14 +7363,14 @@ }, "children": [ { - "id": 667, + "id": 703, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 668, + "id": 704, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -7460,17 +7380,17 @@ }, "parameters": [ { - "id": 669, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 587, + "id": 623, "name": "MFAChallengeParams", "dereferenced": { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -7478,21 +7398,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -7503,7 +7423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -7517,13 +7437,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -7538,7 +7458,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 667, "name": "AuthMFAChallengeResponse" } ], @@ -7550,14 +7470,14 @@ ] }, { - "id": 676, + "id": 712, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 677, + "id": 713, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -7567,17 +7487,17 @@ }, "parameters": [ { - "id": 678, + "id": 714, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -7585,21 +7505,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -7610,7 +7530,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -7620,7 +7540,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -7631,7 +7551,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -7645,13 +7565,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -7666,7 +7586,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -7678,14 +7598,14 @@ ] }, { - "id": 664, + "id": 700, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 665, + "id": 701, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -7696,17 +7616,17 @@ }, "parameters": [ { - "id": 666, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 574, + "id": 610, "name": "MFAEnrollParams", "dereferenced": { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -7714,21 +7634,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -7739,7 +7659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -7749,7 +7669,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -7762,7 +7682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -7772,7 +7692,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -7785,7 +7705,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -7799,13 +7719,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -7820,7 +7740,7 @@ "typeArguments": [ { "type": "reference", - "id": 607, + "id": 643, "name": "AuthMFAEnrollResponse" } ], @@ -7832,14 +7752,14 @@ ] }, { - "id": 681, + "id": 717, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 682, + "id": 718, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -7853,7 +7773,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 688, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -7865,14 +7785,14 @@ ] }, { - "id": 679, + "id": 715, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 680, + "id": 716, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -7899,7 +7819,7 @@ "typeArguments": [ { "type": "reference", - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse" } ], @@ -7911,14 +7831,14 @@ ] }, { - "id": 673, + "id": 709, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 674, + "id": 710, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -7928,17 +7848,17 @@ }, "parameters": [ { - "id": 675, + "id": 711, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "dereferenced": { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -7946,21 +7866,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -7971,7 +7891,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -7985,13 +7905,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -8006,7 +7926,7 @@ "typeArguments": [ { "type": "reference", - "id": 622, + "id": 658, "name": "AuthMFAUnenrollResponse" } ], @@ -8018,14 +7938,14 @@ ] }, { - "id": 670, + "id": 706, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 671, + "id": 707, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -8035,17 +7955,17 @@ }, "parameters": [ { - "id": 672, + "id": 708, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 582, + "id": 618, "name": "MFAVerifyParams", "dereferenced": { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -8053,21 +7973,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -8078,7 +7998,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -8088,7 +8008,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -8099,7 +8019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -8109,7 +8029,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -8120,7 +8040,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -8134,13 +8054,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -8155,7 +8075,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -8171,13 +8091,13 @@ { "title": "Methods", "kind": 2048, - "children": [667, 676, 664, 681, 679, 673, 670] + "children": [703, 712, 700, 717, 715, 709, 706] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 778, "character": 17 } ] @@ -8185,7 +8105,59 @@ } }, { - "id": 125, + "id": 120, + "name": "exchangeCodeForSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 399, + "character": 8 + } + ], + "signatures": [ + { + "id": 121, + "name": "exchangeCodeForSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 122, + "name": "authCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 135, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -8193,13 +8165,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 511, + "line": 610, "character": 8 } ], "signatures": [ { - "id": 126, + "id": 136, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -8213,184 +8185,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 127, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 128, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 513, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 129, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 130, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 514, - "character": 10 - } - ], - "type": { - "type": "reference", - "id": 355, - "name": "Session" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [130] - } - ] - } - } - }, - { - "id": 131, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 516, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [128, 131] - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 132, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 133, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 519, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 135, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 520, - "character": 10 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [135] - } - ] - } - } - }, - { - "id": 136, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/GoTrueClient.ts", - "line": 522, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [133, 136] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -8409,7 +8203,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 525, + "line": 612, "character": 8 } ], @@ -8431,13 +8225,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 526, + "line": 613, "character": 10 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 380, + "name": "Session" } } ], @@ -8460,7 +8255,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 528, + "line": 615, "character": 8 } ], @@ -8478,6 +8273,183 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 143, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 618, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 144, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 145, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 619, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [145] + } + ] + } + } + }, + { + "id": 146, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 621, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [143, 146] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 148, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 624, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 625, + "character": 10 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [150] + } + ] + } + } + }, + { + "id": 151, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 627, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [148, 151] + } + ] + } } ] } @@ -8490,7 +8462,7 @@ ] }, { - "id": 142, + "id": 152, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -8498,13 +8470,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 574, + "line": 673, "character": 8 } ], "signatures": [ { - "id": 143, + "id": 153, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -8514,7 +8486,7 @@ }, "parameters": [ { - "id": 144, + "id": 154, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -8535,7 +8507,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -8547,7 +8519,7 @@ ] }, { - "id": 103, + "id": 107, "name": "initialize", "kind": 2048, "kindString": "Method", @@ -8555,13 +8527,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 171, + "line": 191, "character": 2 } ], "signatures": [ { - "id": 104, + "id": 108, "name": "initialize", "kind": 4096, "kindString": "Call signature", @@ -8574,7 +8546,7 @@ "typeArguments": [ { "type": "reference", - "id": 716, + "id": 752, "name": "InitializeResult" } ], @@ -8586,7 +8558,7 @@ ] }, { - "id": 186, + "id": 199, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -8594,13 +8566,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 859, + "line": 964, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 200, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -8610,7 +8582,7 @@ }, "parameters": [ { - "id": 188, + "id": 201, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -8621,33 +8593,33 @@ "type": { "type": "reflection", "declaration": { - "id": 189, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 190, + "id": 203, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 191, + "id": 204, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent" } }, { - "id": 192, + "id": 205, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -8661,7 +8633,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -8681,14 +8653,14 @@ "type": { "type": "reflection", "declaration": { - "id": 193, + "id": 206, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 194, + "id": 207, "name": "data", "kind": 1024, "kindString": "Property", @@ -8696,21 +8668,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 208, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 209, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -8718,23 +8690,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 860, + "line": 965, "character": 12 } ], "type": { "type": "reference", - "id": 429, + "id": 454, "name": "Subscription", "dereferenced": { - "id": 429, + "id": 454, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 430, + "id": 455, "name": "id", "kind": 1024, "kindString": "Property", @@ -8745,7 +8717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 314, "character": 2 } ], @@ -8755,7 +8727,7 @@ } }, { - "id": 431, + "id": 456, "name": "callback", "kind": 2048, "kindString": "Method", @@ -8763,13 +8735,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 318, "character": 2 } ], "signatures": [ { - "id": 432, + "id": 457, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -8779,17 +8751,17 @@ }, "parameters": [ { - "id": 433, + "id": 458, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent", "dereferenced": { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -8804,6 +8776,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -8829,7 +8805,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -8852,7 +8828,7 @@ } }, { - "id": 434, + "id": 459, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -8866,7 +8842,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -8881,7 +8857,7 @@ ] }, { - "id": 435, + "id": 460, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -8889,13 +8865,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 322, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 461, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -8915,18 +8891,18 @@ { "title": "Properties", "kind": 1024, - "children": [430] + "children": [455] }, { "title": "Methods", "kind": 2048, - "children": [431, 435] + "children": [456, 460] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 309, + "line": 310, "character": 17 } ] @@ -8938,7 +8914,7 @@ { "title": "Properties", "kind": 1024, - "children": [196] + "children": [209] } ] } @@ -8949,7 +8925,7 @@ { "title": "Properties", "kind": 1024, - "children": [194] + "children": [207] } ] } @@ -8958,7 +8934,7 @@ ] }, { - "id": 161, + "id": 174, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -8966,13 +8942,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 8 } ], "signatures": [ { - "id": 162, + "id": 175, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -8982,7 +8958,7 @@ }, "parameters": [ { - "id": 163, + "id": 176, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -8995,14 +8971,14 @@ "type": { "type": "reflection", "declaration": { - "id": 164, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 178, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -9010,7 +8986,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 714, + "line": 819, "character": 42 } ], @@ -9024,7 +9000,7 @@ { "title": "Properties", "kind": 1024, - "children": [165] + "children": [178] } ] } @@ -9036,7 +9012,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -9048,7 +9024,7 @@ ] }, { - "id": 197, + "id": 213, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -9056,13 +9032,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 882, + "line": 1004, "character": 8 } ], "signatures": [ { - "id": 198, + "id": 214, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -9072,7 +9048,7 @@ }, "parameters": [ { - "id": 199, + "id": 215, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -9086,7 +9062,7 @@ } }, { - "id": 200, + "id": 216, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9094,14 +9070,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 217, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 203, + "id": 219, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9114,7 +9090,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 886, + "line": 1008, "character": 6 } ], @@ -9124,7 +9100,7 @@ } }, { - "id": 202, + "id": 218, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -9137,7 +9113,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 885, + "line": 1007, "character": 6 } ], @@ -9151,7 +9127,7 @@ { "title": "Properties", "kind": 1024, - "children": [203, 202] + "children": [219, 218] } ] } @@ -9168,14 +9144,14 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 205, + "id": 221, "name": "data", "kind": 1024, "kindString": "Property", @@ -9183,14 +9159,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 890, + "line": 1012, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 206, + "id": 222, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9199,7 +9175,7 @@ } }, { - "id": 207, + "id": 223, "name": "error", "kind": 1024, "kindString": "Property", @@ -9207,7 +9183,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 891, + "line": 1013, "character": 8 } ], @@ -9221,7 +9197,7 @@ { "title": "Properties", "kind": 1024, - "children": [205, 207] + "children": [221, 223] } ] } @@ -9229,14 +9205,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 224, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 225, "name": "data", "kind": 1024, "kindString": "Property", @@ -9244,7 +9220,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 8 } ], @@ -9254,7 +9230,7 @@ } }, { - "id": 210, + "id": 226, "name": "error", "kind": 1024, "kindString": "Property", @@ -9262,13 +9238,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 893, + "line": 1015, "character": 20 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -9277,7 +9253,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [225, 226] } ] } @@ -9293,7 +9269,7 @@ ] }, { - "id": 155, + "id": 168, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -9301,13 +9277,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 650, + "line": 755, "character": 8 } ], "signatures": [ { - "id": 156, + "id": 169, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -9317,7 +9293,7 @@ }, "parameters": [ { - "id": 157, + "id": 170, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -9328,14 +9304,14 @@ "type": { "type": "reflection", "declaration": { - "id": 158, + "id": 171, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 172, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -9343,7 +9319,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 651, + "line": 756, "character": 4 } ], @@ -9353,7 +9329,7 @@ } }, { - "id": 160, + "id": 173, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -9361,7 +9337,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 757, "character": 4 } ], @@ -9375,7 +9351,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 160] + "children": [172, 173] } ] } @@ -9387,7 +9363,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -9399,7 +9375,245 @@ ] }, { - "id": 113, + "id": 123, + "name": "signInWithIdToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 429, + "character": 8 + } + ], + "signatures": [ + { + "id": 124, + "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": 125, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 526, + "name": "SignInWithIdTokenCredentials", + "dereferenced": { + "id": 526, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "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": 458, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 531, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 533, + "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": 461, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [533] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 12 + } + ] + } + } + }, + { + "id": 528, + "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": 454, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 529, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 531, 528, 529] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 43 + } + ] + } + } + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 334, + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 117, "name": "signInWithOAuth", "kind": 2048, "kindString": "Method", @@ -9407,13 +9621,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 358, + "line": 384, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 118, "name": "signInWithOAuth", "kind": 4096, "kindString": "Call signature", @@ -9423,17 +9637,17 @@ }, "parameters": [ { - "id": 115, + "id": 119, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 486, + "id": 513, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 486, + "id": 513, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -9448,14 +9662,14 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -9472,14 +9686,65 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 525, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to 'pkce' PKCE flow. Defaults to the 'implicit' flow otherwise" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "OAuthFlowType", + "dereferenced": { + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + } + } + }, + { + "id": 520, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -9499,7 +9764,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9512,14 +9777,14 @@ } ], "indexSignature": { - "id": 495, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -9538,7 +9803,7 @@ } }, { - "id": 491, + "id": 518, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -9561,7 +9826,7 @@ } }, { - "id": 492, + "id": 519, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -9584,7 +9849,7 @@ } }, { - "id": 497, + "id": 524, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -9611,7 +9876,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 491, 492, 497] + "children": [525, 520, 518, 519, 524] } ], "sources": [ @@ -9625,7 +9890,7 @@ } }, { - "id": 488, + "id": 515, "name": "provider", "kind": 1024, "kindString": "Property", @@ -9642,10 +9907,10 @@ ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider", "dereferenced": { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -9737,7 +10002,7 @@ { "title": "Properties", "kind": 1024, - "children": [489, 488] + "children": [516, 515] } ], "sources": [ @@ -9758,7 +10023,7 @@ "typeArguments": [ { "type": "reference", - "id": 322, + "id": 347, "name": "OAuthResponse" } ], @@ -9770,7 +10035,7 @@ ] }, { - "id": 116, + "id": 126, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -9778,34 +10043,34 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 379, + "line": 477, "character": 8 } ], "signatures": [ { - "id": 117, + "id": 127, "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" + "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": 118, + "id": 128, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -9813,7 +10078,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 397, + "line": 394, "character": 12 } ], @@ -9823,14 +10088,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 497, "name": "email", "kind": 1024, "kindString": "Property", @@ -9841,7 +10106,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 400, + "line": 397, "character": 6 } ], @@ -9851,7 +10116,7 @@ } }, { - "id": 473, + "id": 498, "name": "options", "kind": 1024, "kindString": "Property", @@ -9861,21 +10126,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 499, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 503, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -9888,7 +10153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 413, + "line": 410, "character": 8 } ], @@ -9898,7 +10163,7 @@ } }, { - "id": 477, + "id": 502, "name": "data", "kind": 1024, "kindString": "Property", @@ -9912,7 +10177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 411, + "line": 408, "character": 8 } ], @@ -9922,7 +10187,7 @@ } }, { - "id": 475, + "id": 500, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -9935,7 +10200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 400, "character": 8 } ], @@ -9945,7 +10210,7 @@ } }, { - "id": 476, + "id": 501, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -9958,7 +10223,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 402, "character": 8 } ], @@ -9972,13 +10237,13 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 475, 476] + "children": [503, 502, 500, 501] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 16 } ] @@ -9990,13 +10255,13 @@ { "title": "Properties", "kind": 1024, - "children": [472, 473] + "children": [497, 498] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 395, "character": 4 } ] @@ -10005,14 +10270,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 481, + "id": 506, "name": "options", "kind": 1024, "kindString": "Property", @@ -10022,21 +10287,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 507, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 510, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10049,7 +10314,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 429, + "line": 426, "character": 8 } ], @@ -10059,7 +10324,39 @@ } }, { - "id": 484, + "id": 511, + "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": 428, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -10073,7 +10370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 427, + "line": 424, "character": 8 } ], @@ -10083,7 +10380,7 @@ } }, { - "id": 483, + "id": 508, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -10096,7 +10393,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 418, "character": 8 } ], @@ -10110,13 +10407,13 @@ { "title": "Properties", "kind": 1024, - "children": [485, 484, 483] + "children": [510, 511, 509, 508] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 16 } ] @@ -10124,7 +10421,7 @@ } }, { - "id": 480, + "id": 505, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10135,7 +10432,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 415, "character": 6 } ], @@ -10149,13 +10446,13 @@ { "title": "Properties", "kind": 1024, - "children": [481, 480] + "children": [506, 505] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 413, "character": 4 } ] @@ -10172,7 +10469,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -10184,7 +10481,7 @@ ] }, { - "id": 110, + "id": 114, "name": "signInWithPassword", "kind": 2048, "kindString": "Method", @@ -10192,34 +10489,34 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 306, + "line": 333, "character": 8 } ], "signatures": [ { - "id": 111, + "id": 115, "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 distingish\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" + "text": "Be aware that you may get back an error message that will not distingish\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. Do note that you will need\nto configure a Whatsapp sender on Twilio if you are using phone sign in\nwith 'whatsapp'. The whatsapp channel is not supported on other providers\nat this time.\n" }, "parameters": [ { - "id": 112, + "id": 116, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10227,7 +10524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 363, + "line": 364, "character": 12 } ], @@ -10237,14 +10534,14 @@ { "type": "reflection", "declaration": { - "id": 456, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 482, "name": "email", "kind": 1024, "kindString": "Property", @@ -10255,7 +10552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 367, "character": 6 } ], @@ -10265,7 +10562,7 @@ } }, { - "id": 459, + "id": 484, "name": "options", "kind": 1024, "kindString": "Property", @@ -10275,21 +10572,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 485, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 462, + "id": 486, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10302,7 +10599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 372, "character": 8 } ], @@ -10310,43 +10607,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 461, - "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": 375, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [462, 461] + "children": [486] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 16 } ] @@ -10354,7 +10627,7 @@ } }, { - "id": 458, + "id": 483, "name": "password", "kind": 1024, "kindString": "Property", @@ -10365,7 +10638,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 368, + "line": 369, "character": 6 } ], @@ -10379,13 +10652,13 @@ { "title": "Properties", "kind": 1024, - "children": [457, 459, 458] + "children": [482, 484, 483] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 364, + "line": 365, "character": 4 } ] @@ -10394,14 +10667,14 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 490, "name": "options", "kind": 1024, "kindString": "Property", @@ -10411,21 +10684,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 467, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 493, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10438,7 +10711,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 393, + "line": 388, "character": 8 } ], @@ -10448,7 +10721,39 @@ } }, { - "id": 468, + "id": 494, + "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": 390, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 492, "name": "data", "kind": 1024, "kindString": "Property", @@ -10462,7 +10767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 391, + "line": 386, "character": 8 } ], @@ -10476,13 +10781,13 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468] + "children": [493, 494, 492] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 16 } ] @@ -10490,7 +10795,7 @@ } }, { - "id": 465, + "id": 489, "name": "password", "kind": 1024, "kindString": "Property", @@ -10501,7 +10806,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 379, "character": 6 } ], @@ -10511,7 +10816,7 @@ } }, { - "id": 464, + "id": 488, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10522,7 +10827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 377, "character": 6 } ], @@ -10536,13 +10841,13 @@ { "title": "Properties", "kind": 1024, - "children": [466, 465, 464] + "children": [490, 489, 488] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 375, "character": 4 } ] @@ -10559,7 +10864,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -10571,7 +10876,7 @@ ] }, { - "id": 122, + "id": 132, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -10579,13 +10884,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 482, + "line": 581, "character": 8 } ], "signatures": [ { - "id": 123, + "id": 133, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -10602,17 +10907,17 @@ }, "parameters": [ { - "id": 124, + "id": 134, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 517, + "id": 553, "name": "SignInWithSSO", "dereferenced": { - "id": 517, + "id": 553, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -10620,7 +10925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 12 } ], @@ -10630,14 +10935,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 555, "name": "options", "kind": 1024, "kindString": "Property", @@ -10647,21 +10952,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 558, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10674,7 +10979,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 508, "character": 4 } ], @@ -10684,7 +10989,7 @@ } }, { - "id": 521, + "id": 557, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10697,7 +11002,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 506, "character": 4 } ], @@ -10711,13 +11016,13 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [558, 557] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 12 } ] @@ -10729,13 +11034,13 @@ { "title": "Properties", "kind": 1024, - "children": [519] + "children": [555] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 28 } ] @@ -10747,14 +11052,14 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 559, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 524, + "id": 560, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -10765,7 +11070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 496, + "line": 513, "character": 6 } ], @@ -10779,13 +11084,13 @@ { "title": "Properties", "kind": 1024, - "children": [524] + "children": [560] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 494, + "line": 511, "character": 4 } ] @@ -10794,14 +11099,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 562, "name": "domain", "kind": 1024, "kindString": "Property", @@ -10812,7 +11117,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 517, "character": 6 } ], @@ -10826,13 +11131,13 @@ { "title": "Properties", "kind": 1024, - "children": [526] + "children": [562] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 515, "character": 4 } ] @@ -10851,7 +11156,7 @@ "typeArguments": [ { "type": "reference", - "id": 335, + "id": 360, "name": "SSOResponse" } ], @@ -10863,7 +11168,7 @@ ] }, { - "id": 182, + "id": 195, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -10871,13 +11176,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 8 } ], "signatures": [ { - "id": 183, + "id": 196, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -10892,14 +11197,14 @@ { "type": "reflection", "declaration": { - "id": 184, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 185, + "id": 198, "name": "error", "kind": 1024, "kindString": "Property", @@ -10907,7 +11212,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 834, + "line": 939, "character": 29 } ], @@ -10920,7 +11225,7 @@ }, { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } ] @@ -10931,7 +11236,7 @@ { "title": "Properties", "kind": 1024, - "children": [185] + "children": [198] } ] } @@ -10945,7 +11250,7 @@ ] }, { - "id": 107, + "id": 111, "name": "signUp", "kind": 2048, "kindString": "Method", @@ -10953,13 +11258,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 238, + "line": 262, "character": 8 } ], "signatures": [ { - "id": 108, + "id": 112, "name": "signUp", "kind": 4096, "kindString": "Call signature", @@ -10971,17 +11276,17 @@ }, "parameters": [ { - "id": 109, + "id": 113, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -10989,7 +11294,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 329, "character": 12 } ], @@ -10999,14 +11304,14 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 466, "name": "email", "kind": 1024, "kindString": "Property", @@ -11017,7 +11322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 331, + "line": 332, "character": 6 } ], @@ -11027,7 +11332,7 @@ } }, { - "id": 443, + "id": 468, "name": "options", "kind": 1024, "kindString": "Property", @@ -11037,21 +11342,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 469, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 447, + "id": 472, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11064,7 +11369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 345, "character": 8 } ], @@ -11074,7 +11379,7 @@ } }, { - "id": 446, + "id": 471, "name": "data", "kind": 1024, "kindString": "Property", @@ -11088,7 +11393,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 343, "character": 8 } ], @@ -11098,7 +11403,7 @@ } }, { - "id": 445, + "id": 470, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -11111,7 +11416,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 337, "character": 8 } ], @@ -11125,13 +11430,13 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 445] + "children": [472, 471, 470] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 16 } ] @@ -11139,7 +11444,7 @@ } }, { - "id": 442, + "id": 467, "name": "password", "kind": 1024, "kindString": "Property", @@ -11150,7 +11455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 334, "character": 6 } ], @@ -11164,13 +11469,13 @@ { "title": "Properties", "kind": 1024, - "children": [441, 443, 442] + "children": [466, 468, 467] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 330, "character": 4 } ] @@ -11179,14 +11484,14 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 476, "name": "options", "kind": 1024, "kindString": "Property", @@ -11196,21 +11501,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 454, + "id": 479, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11223,7 +11528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 361, "character": 8 } ], @@ -11233,7 +11538,7 @@ } }, { - "id": 453, + "id": 478, "name": "data", "kind": 1024, "kindString": "Property", @@ -11247,7 +11552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 359, "character": 8 } ], @@ -11261,13 +11566,13 @@ { "title": "Properties", "kind": 1024, - "children": [454, 453] + "children": [479, 478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 16 } ] @@ -11275,7 +11580,7 @@ } }, { - "id": 450, + "id": 475, "name": "password", "kind": 1024, "kindString": "Property", @@ -11286,7 +11591,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 352, "character": 6 } ], @@ -11296,7 +11601,7 @@ } }, { - "id": 449, + "id": 474, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11307,7 +11612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 349, + "line": 350, "character": 6 } ], @@ -11321,13 +11626,13 @@ { "title": "Properties", "kind": 1024, - "children": [451, 450, 449] + "children": [476, 475, 474] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 347, + "line": 348, "character": 4 } ] @@ -11344,7 +11649,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -11356,7 +11661,7 @@ ] }, { - "id": 252, + "id": 276, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -11364,20 +11669,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1106, + "line": 1293, "character": 8 } ], "signatures": [ { - "id": 253, + "id": 277, "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.\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" + "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 desireable. 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", @@ -11395,7 +11700,7 @@ ] }, { - "id": 254, + "id": 278, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -11403,19 +11708,20 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1121, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 255, + "id": 279, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Stops an active auto refresh process running in the background (if any).\nSee {@link #startAutoRefresh} for more details." + "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", @@ -11433,7 +11739,7 @@ ] }, { - "id": 145, + "id": 155, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -11441,40 +11747,40 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 603, + "line": 702, "character": 8 } ], "signatures": [ { - "id": 146, + "id": 156, "name": "updateUser", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Updates user data, if there is a logged in user." + "shortText": "Updates user data for a logged in user." }, "parameters": [ { - "id": 147, + "id": 157, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 414, + "id": 440, "name": "UserAttributes", "dereferenced": { - "id": 414, + "id": 440, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 418, + "id": 444, "name": "data", "kind": 1024, "kindString": "Property", @@ -11488,7 +11794,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 257, "character": 2 } ], @@ -11498,7 +11804,7 @@ } }, { - "id": 415, + "id": 441, "name": "email", "kind": 1024, "kindString": "Property", @@ -11511,7 +11817,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -11521,7 +11827,7 @@ } }, { - "id": 417, + "id": 443, "name": "password", "kind": 1024, "kindString": "Property", @@ -11534,7 +11840,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -11544,7 +11850,7 @@ } }, { - "id": 416, + "id": 442, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11557,7 +11863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -11571,25 +11877,65 @@ { "title": "Properties", "kind": 1024, - "children": [418, 415, 417, 416] + "children": [444, 441, 443, 442] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 233, + "line": 235, "character": 17 } - ], - "extendedBy": [ - { - "type": "reference", - "id": 419, - "name": "AdminUserAttributes" - } ] } } + }, + { + "id": 158, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 160, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 705, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [160] + } + ] + } + }, + "defaultValue": "{}" } ], "type": { @@ -11597,7 +11943,7 @@ "typeArguments": [ { "type": "reference", - "id": 344, + "id": 369, "name": "UserResponse" } ], @@ -11609,7 +11955,7 @@ ] }, { - "id": 119, + "id": 129, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -11617,13 +11963,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 423, + "line": 522, "character": 8 } ], "signatures": [ { - "id": 120, + "id": 130, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -11633,17 +11979,17 @@ }, "parameters": [ { - "id": 121, + "id": 131, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 534, "name": "VerifyOtpParams", "dereferenced": { - "id": 498, + "id": 534, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -11651,7 +11997,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 465, "character": 12 } ], @@ -11659,14 +12005,14 @@ "type": "union", "types": [ { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -11676,21 +12022,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11709,7 +12055,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -11719,7 +12065,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11732,7 +12078,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -11746,14 +12092,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11764,7 +12110,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -11774,7 +12120,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -11785,7 +12131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -11795,7 +12141,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -11806,16 +12152,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -11823,7 +12169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -11848,26 +12194,26 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -11878,7 +12224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -11888,7 +12234,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -11898,21 +12244,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -11925,7 +12271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -11935,7 +12281,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11948,7 +12294,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -11962,14 +12308,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -11980,7 +12326,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -11990,7 +12336,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -12001,16 +12347,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -12018,7 +12364,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -12055,13 +12401,13 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] @@ -12077,7 +12423,7 @@ "typeArguments": [ { "type": "reference", - "id": 309, + "id": 334, "name": "AuthResponse" } ], @@ -12104,20 +12450,21 @@ "title": "Methods", "kind": 2048, "children": [ - 125, 142, 103, 186, 161, 197, 155, 113, 116, 110, 122, 182, 107, 252, 254, 145, 119 + 120, 135, 152, 107, 199, 174, 213, 168, 123, 117, 126, 114, 132, 195, 111, 276, 278, + 155, 129 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 91, + "line": 90, "character": 21 } ] }, { - "id": 364, + "id": 389, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -12134,7 +12481,7 @@ }, "children": [ { - "id": 365, + "id": 390, "name": "method", "kind": 1024, "kindString": "Property", @@ -12145,7 +12492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 152, + "line": 153, "character": 2 } ], @@ -12155,7 +12502,7 @@ } }, { - "id": 366, + "id": 391, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -12166,7 +12513,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, + "line": 159, "character": 2 } ], @@ -12180,26 +12527,26 @@ { "title": "Properties", "kind": 1024, - "children": [365, 366] + "children": [390, 391] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 150, + "line": 151, "character": 17 } ] }, { - "id": 419, + "id": 445, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 421, + "id": 447, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -12213,7 +12560,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 280, + "line": 281, "character": 2 } ], @@ -12223,7 +12570,7 @@ } }, { - "id": 424, + "id": 450, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -12237,7 +12584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 306, + "line": 307, "character": 2 } ], @@ -12247,36 +12594,7 @@ } }, { - "id": 428, - "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": 255, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - }, - "inheritedFrom": { - "type": "reference", - "id": 418, - "name": "UserAttributes.data" - } - }, - { - "id": 425, + "id": 452, "name": "email", "kind": 1024, "kindString": "Property", @@ -12289,7 +12607,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -12299,12 +12617,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 415, - "name": "UserAttributes.email" + "name": "Omit.email" } }, { - "id": 422, + "id": 448, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -12318,7 +12635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 288, "character": 2 } ], @@ -12328,7 +12645,7 @@ } }, { - "id": 427, + "id": 451, "name": "password", "kind": 1024, "kindString": "Property", @@ -12341,7 +12658,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -12351,12 +12668,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 417, - "name": "UserAttributes.password" + "name": "Omit.password" } }, { - "id": 426, + "id": 453, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12369,7 +12685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -12379,12 +12695,11 @@ }, "inheritedFrom": { "type": "reference", - "id": 416, - "name": "UserAttributes.phone" + "name": "Omit.phone" } }, { - "id": 423, + "id": 449, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -12398,7 +12713,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 294, + "line": 295, "character": 2 } ], @@ -12408,7 +12723,7 @@ } }, { - "id": 420, + "id": 446, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -12417,12 +12732,12 @@ }, "comment": { "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.", - "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n" + "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": 270, + "line": 271, "character": 2 } ], @@ -12436,26 +12751,38 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424, 428, 425, 422, 427, 426, 423, 420] + "children": [447, 450, 452, 448, 451, 453, 449, 446] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 17 } ], "extendedTypes": [ { "type": "reference", - "id": 414, - "name": "UserAttributes" + "typeArguments": [ + { + "type": "reference", + "id": 440, + "name": "UserAttributes" + }, + { + "type": "literal", + "value": "data" + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" } ] }, { - "id": 378, + "id": 403, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -12479,7 +12806,7 @@ }, "children": [ { - "id": 383, + "id": 408, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -12487,7 +12814,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 197, "character": 2 } ], @@ -12497,7 +12824,7 @@ } }, { - "id": 381, + "id": 406, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -12508,7 +12835,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 192, "character": 2 } ], @@ -12518,7 +12845,7 @@ } }, { - "id": 380, + "id": 405, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -12531,7 +12858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 186, "character": 2 } ], @@ -12541,7 +12868,7 @@ } }, { - "id": 379, + "id": 404, "name": "id", "kind": 1024, "kindString": "Property", @@ -12552,7 +12879,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 183, "character": 2 } ], @@ -12562,7 +12889,7 @@ } }, { - "id": 382, + "id": 407, "name": "status", "kind": 1024, "kindString": "Property", @@ -12573,7 +12900,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 195, "character": 2 } ], @@ -12592,7 +12919,7 @@ } }, { - "id": 384, + "id": 409, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -12600,7 +12927,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 198, "character": 2 } ], @@ -12614,26 +12941,26 @@ { "title": "Properties", "kind": 1024, - "children": [383, 381, 380, 379, 382, 384] + "children": [408, 406, 405, 404, 407, 409] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 181, "character": 17 } ] }, { - "id": 549, + "id": 585, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 550, + "id": 586, "name": "data", "kind": 1024, "kindString": "Property", @@ -12647,7 +12974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 542, + "line": 559, "character": 2 } ], @@ -12657,7 +12984,7 @@ } }, { - "id": 551, + "id": 587, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -12670,7 +12997,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 544, + "line": 561, "character": 2 } ], @@ -12684,19 +13011,19 @@ { "title": "Properties", "kind": 1024, - "children": [550, 551] + "children": [586, 587] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 536, + "line": 553, "character": 17 } ] }, { - "id": 708, + "id": 744, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -12712,14 +13039,14 @@ }, "children": [ { - "id": 712, + "id": 748, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 713, + "id": 749, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -12739,17 +13066,17 @@ }, "parameters": [ { - "id": 714, + "id": 750, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -12765,21 +13092,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -12790,7 +13117,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -12800,7 +13127,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -12811,7 +13138,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -12825,13 +13152,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -12846,7 +13173,7 @@ "typeArguments": [ { "type": "reference", - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -12858,14 +13185,14 @@ ] }, { - "id": 709, + "id": 745, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 710, + "id": 746, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -12875,17 +13202,17 @@ }, "parameters": [ { - "id": 711, + "id": 747, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 705, + "id": 741, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -12901,21 +13228,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 706, + "id": 742, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 707, + "id": 743, "name": "userId", "kind": 1024, "kindString": "Property", @@ -12926,7 +13253,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 866, + "line": 883, "character": 2 } ], @@ -12940,13 +13267,13 @@ { "title": "Properties", "kind": 1024, - "children": [707] + "children": [743] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 864, + "line": 881, "character": 44 } ] @@ -12961,7 +13288,7 @@ "typeArguments": [ { "type": "reference", - "id": 696, + "id": 732, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -12977,19 +13304,19 @@ { "title": "Methods", "kind": 2048, - "children": [712, 709] + "children": [748, 745] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 891, "character": 17 } ] }, { - "id": 663, + "id": 699, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -12999,14 +13326,14 @@ }, "children": [ { - "id": 667, + "id": 703, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 668, + "id": 704, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -13016,17 +13343,17 @@ }, "parameters": [ { - "id": 669, + "id": 705, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 587, + "id": 623, "name": "MFAChallengeParams", "dereferenced": { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -13034,21 +13361,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13059,7 +13386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -13073,13 +13400,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -13094,7 +13421,7 @@ "typeArguments": [ { "type": "reference", - "id": 631, + "id": 667, "name": "AuthMFAChallengeResponse" } ], @@ -13106,14 +13433,14 @@ ] }, { - "id": 676, + "id": 712, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 677, + "id": 713, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -13123,17 +13450,17 @@ }, "parameters": [ { - "id": 678, + "id": 714, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -13141,21 +13468,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -13166,7 +13493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -13176,7 +13503,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13187,7 +13514,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -13201,13 +13528,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -13222,7 +13549,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -13234,14 +13561,14 @@ ] }, { - "id": 664, + "id": 700, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 665, + "id": 701, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -13252,17 +13579,17 @@ }, "parameters": [ { - "id": 666, + "id": 702, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 574, + "id": 610, "name": "MFAEnrollParams", "dereferenced": { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -13270,21 +13597,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -13295,7 +13622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -13305,7 +13632,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -13318,7 +13645,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -13328,7 +13655,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -13341,7 +13668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -13355,13 +13682,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -13376,7 +13703,7 @@ "typeArguments": [ { "type": "reference", - "id": 607, + "id": 643, "name": "AuthMFAEnrollResponse" } ], @@ -13388,14 +13715,14 @@ ] }, { - "id": 681, + "id": 717, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 682, + "id": 718, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -13409,7 +13736,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 688, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -13421,14 +13748,14 @@ ] }, { - "id": 679, + "id": 715, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 680, + "id": 716, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -13455,7 +13782,7 @@ "typeArguments": [ { "type": "reference", - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse" } ], @@ -13467,14 +13794,14 @@ ] }, { - "id": 673, + "id": 709, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 674, + "id": 710, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -13484,17 +13811,17 @@ }, "parameters": [ { - "id": 675, + "id": 711, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "dereferenced": { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -13502,21 +13829,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13527,7 +13854,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -13541,13 +13868,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -13562,7 +13889,7 @@ "typeArguments": [ { "type": "reference", - "id": 622, + "id": 658, "name": "AuthMFAUnenrollResponse" } ], @@ -13574,14 +13901,14 @@ ] }, { - "id": 670, + "id": 706, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 671, + "id": 707, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -13591,17 +13918,17 @@ }, "parameters": [ { - "id": 672, + "id": 708, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 582, + "id": 618, "name": "MFAVerifyParams", "dereferenced": { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -13609,21 +13936,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -13634,7 +13961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -13644,7 +13971,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -13655,7 +13982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -13665,7 +13992,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -13676,7 +14003,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -13690,13 +14017,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -13711,7 +14038,7 @@ "typeArguments": [ { "type": "reference", - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse" } ], @@ -13727,26 +14054,26 @@ { "title": "Methods", "kind": 2048, - "children": [667, 676, 664, 681, 679, 673, 670] + "children": [703, 712, 700, 717, 715, 709, 706] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 761, + "line": 778, "character": 17 } ] }, { - "id": 355, + "id": 380, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 358, + "id": 383, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -13757,7 +14084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 125, + "line": 126, "character": 2 } ], @@ -13767,7 +14094,7 @@ } }, { - "id": 361, + "id": 386, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -13780,7 +14107,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 137, + "line": 138, "character": 2 } ], @@ -13790,7 +14117,7 @@ } }, { - "id": 360, + "id": 385, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -13801,7 +14128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 134, "character": 2 } ], @@ -13811,7 +14138,7 @@ } }, { - "id": 357, + "id": 382, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -13824,7 +14151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 121, + "line": 122, "character": 2 } ], @@ -13843,7 +14170,7 @@ } }, { - "id": 356, + "id": 381, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -13856,7 +14183,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 117, "character": 2 } ], @@ -13875,7 +14202,7 @@ } }, { - "id": 359, + "id": 384, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -13886,7 +14213,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 129, + "line": 130, "character": 2 } ], @@ -13896,29 +14223,11 @@ } }, { - "id": 362, + "id": 387, "name": "token_type", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 138, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 363, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -13926,392 +14235,43 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2 + } + ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User", "dereferenced": { - "id": 392, + "id": 417, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 402, + "id": 428, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "UserAppMetadata", - "dereferenced": { - "id": 385, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 386, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 201, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [386] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 200, - "character": 17 - } - ], - "indexSignature": { - "id": 387, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 388, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 396, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 213, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 367, - "name": "UserIdentity" - } - } - }, - { - "id": 401, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 217, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -14325,17 +14285,100 @@ } }, { - "id": 408, - "name": "phone_confirmed_at", + "id": 419, + "name": "app_metadata", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 212, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 410, + "name": "UserAppMetadata", + "dereferenced": { + "id": 410, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 411, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 202, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 201, + "character": 17 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 421, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, "character": 2 } ], @@ -14345,8 +14388,8 @@ } }, { - "id": 398, - "name": "recovery_sent_at", + "id": 422, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -14365,8 +14408,8 @@ } }, { - "id": 410, - "name": "role", + "id": 432, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -14375,7 +14418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 227, + "line": 225, "character": 2 } ], @@ -14385,8 +14428,172 @@ } }, { - "id": 411, - "name": "updated_at", + "id": 431, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "UserIdentity" + } + } + }, + { + "id": 427, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -14405,7 +14612,147 @@ } }, { - "id": 395, + "id": 425, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -14413,16 +14760,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 212, + "line": 213, "character": 2 } ], "type": { "type": "reference", - "id": 389, + "id": 414, "name": "UserMetadata", "dereferenced": { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -14430,19 +14777,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -14466,15 +14813,15 @@ "title": "Properties", "kind": 1024, "children": [ - 402, 394, 396, 397, 406, 405, 403, 399, 407, 413, 393, 412, 401, 409, 400, 404, - 408, 398, 410, 411, 395 + 428, 419, 421, 422, 432, 431, 429, 424, 433, 439, 418, 438, 427, 435, 425, 426, + 430, 434, 423, 436, 437, 420 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 210, "character": 17 } ] @@ -14486,26 +14833,26 @@ { "title": "Properties", "kind": 1024, - "children": [358, 361, 360, 357, 356, 359, 362, 363] + "children": [383, 386, 385, 382, 381, 384, 387, 388] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 113, "character": 17 } ] }, { - "id": 429, + "id": 454, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 430, + "id": 455, "name": "id", "kind": 1024, "kindString": "Property", @@ -14516,7 +14863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 313, + "line": 314, "character": 2 } ], @@ -14526,7 +14873,7 @@ } }, { - "id": 431, + "id": 456, "name": "callback", "kind": 2048, "kindString": "Method", @@ -14534,13 +14881,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 317, + "line": 318, "character": 2 } ], "signatures": [ { - "id": 432, + "id": 457, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -14550,17 +14897,17 @@ }, "parameters": [ { - "id": 433, + "id": 458, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 295, + "id": 320, "name": "AuthChangeEvent", "dereferenced": { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -14575,6 +14922,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -14600,7 +14951,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -14623,7 +14974,7 @@ } }, { - "id": 434, + "id": 459, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -14637,7 +14988,7 @@ }, { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } ] @@ -14652,7 +15003,7 @@ ] }, { - "id": 435, + "id": 460, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -14660,13 +15011,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 321, + "line": 322, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 461, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -14686,31 +15037,31 @@ { "title": "Properties", "kind": 1024, - "children": [430] + "children": [455] }, { "title": "Methods", "kind": 2048, - "children": [431, 435] + "children": [456, 460] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 309, + "line": 310, "character": 17 } ] }, { - "id": 437, + "id": 462, "name": "UpdatableFactorAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 438, + "id": 463, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -14718,7 +15069,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 326, "character": 2 } ], @@ -14732,399 +15083,32 @@ { "title": "Properties", "kind": 1024, - "children": [438] + "children": [463] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 324, + "line": 325, "character": 17 } ] }, { - "id": 392, + "id": 417, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 402, + "id": 428, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 219, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 394, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 211, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 385, - "name": "UserAppMetadata", - "dereferenced": { - "id": 385, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 386, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 201, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [386] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 200, - "character": 17 - } - ], - "indexSignature": { - "id": 387, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 388, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 396, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 213, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 397, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 214, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 406, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 223, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 405, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 222, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 403, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 220, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 399, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 216, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 224, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 413, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 230, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 393, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 210, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 412, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 229, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 367, - "name": "UserIdentity" - } - } - }, - { - "id": 401, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 218, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 409, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 226, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 400, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 217, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 404, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -15138,17 +15122,100 @@ } }, { - "id": 408, - "name": "phone_confirmed_at", + "id": 419, + "name": "app_metadata", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 212, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 410, + "name": "UserAppMetadata", + "dereferenced": { + "id": 410, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 411, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 202, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [411] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 201, + "character": 17 + } + ], + "indexSignature": { + "id": 412, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 413, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 421, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 214, "character": 2 } ], @@ -15158,8 +15225,8 @@ } }, { - "id": 398, - "name": "recovery_sent_at", + "id": 422, + "name": "confirmation_sent_at", "kind": 1024, "kindString": "Property", "flags": { @@ -15178,8 +15245,8 @@ } }, { - "id": 410, - "name": "role", + "id": 432, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -15188,7 +15255,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 227, + "line": 225, "character": 2 } ], @@ -15198,8 +15265,172 @@ } }, { - "id": 411, - "name": "updated_at", + "id": 431, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 217, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 433, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 439, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 418, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 438, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 231, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 392, + "name": "UserIdentity" + } + } + }, + { + "id": 427, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -15218,7 +15449,147 @@ } }, { - "id": 395, + "id": 425, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 426, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 430, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 223, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 434, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 423, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 420, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -15226,16 +15597,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 212, + "line": 213, "character": 2 } ], "type": { "type": "reference", - "id": 389, + "id": 414, "name": "UserMetadata", "dereferenced": { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -15243,19 +15614,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -15279,28 +15650,28 @@ "title": "Properties", "kind": 1024, "children": [ - 402, 394, 396, 397, 406, 405, 403, 399, 407, 413, 393, 412, 401, 409, 400, 404, 408, - 398, 410, 411, 395 + 428, 419, 421, 422, 432, 431, 429, 424, 433, 439, 418, 438, 427, 435, 425, 426, 430, + 434, 423, 436, 437, 420 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 209, + "line": 210, "character": 17 } ] }, { - "id": 385, + "id": 410, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 386, + "id": 411, "name": "provider", "kind": 1024, "kindString": "Property", @@ -15310,7 +15681,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 202, "character": 2 } ], @@ -15324,25 +15695,25 @@ { "title": "Properties", "kind": 1024, - "children": [386] + "children": [411] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 200, + "line": 201, "character": 17 } ], "indexSignature": { - "id": 387, + "id": 412, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 388, + "id": 413, "name": "key", "kind": 32768, "flags": {}, @@ -15359,14 +15730,14 @@ } }, { - "id": 414, + "id": 440, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 418, + "id": 444, "name": "data", "kind": 1024, "kindString": "Property", @@ -15380,7 +15751,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 255, + "line": 257, "character": 2 } ], @@ -15390,7 +15761,7 @@ } }, { - "id": 415, + "id": 441, "name": "email", "kind": 1024, "kindString": "Property", @@ -15403,7 +15774,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 2 } ], @@ -15413,7 +15784,7 @@ } }, { - "id": 417, + "id": 443, "name": "password", "kind": 1024, "kindString": "Property", @@ -15426,7 +15797,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 247, + "line": 249, "character": 2 } ], @@ -15436,7 +15807,7 @@ } }, { - "id": 416, + "id": 442, "name": "phone", "kind": 1024, "kindString": "Property", @@ -15449,7 +15820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 242, + "line": 244, "character": 2 } ], @@ -15463,41 +15834,36 @@ { "title": "Properties", "kind": 1024, - "children": [418, 415, 417, 416] + "children": [444, 441, 443, 442] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 233, + "line": 235, "character": 17 } - ], - "extendedBy": [ - { - "type": "reference", - "id": 419, - "name": "AdminUserAttributes" - } ] }, { - "id": 367, + "id": 392, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 375, + "id": 400, "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 168, + "line": 169, "character": 2 } ], @@ -15507,7 +15873,7 @@ } }, { - "id": 368, + "id": 393, "name": "id", "kind": 1024, "kindString": "Property", @@ -15515,7 +15881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 163, "character": 2 } ], @@ -15525,35 +15891,37 @@ } }, { - "id": 370, + "id": 395, "name": "identity_data", "kind": 1024, "kindString": "Property", - "flags": {}, + "flags": { + "isOptional": true + }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, + "line": 165, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 371, + "id": 396, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 372, + "id": 397, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 373, + "id": 398, "name": "key", "kind": 32768, "flags": {}, @@ -15572,46 +15940,10 @@ } }, { - "id": 376, + "id": 401, "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 169, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 374, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 167, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 377, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", "flags": { "isOptional": true }, @@ -15628,7 +15960,45 @@ } }, { - "id": 369, + "id": 399, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 168, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 402, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 171, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 394, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -15636,7 +16006,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 164, "character": 2 } ], @@ -15650,19 +16020,19 @@ { "title": "Properties", "kind": 1024, - "children": [375, 368, 370, 376, 374, 377, 369] + "children": [400, 393, 395, 401, 399, 402, 394] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 161, + "line": 162, "character": 17 } ] }, { - "id": 389, + "id": 414, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -15670,19 +16040,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 206, "character": 17 } ], "indexSignature": { - "id": 390, + "id": 415, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 391, + "id": 416, "name": "key", "kind": 32768, "flags": {}, @@ -15699,14 +16069,14 @@ } }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -15717,7 +16087,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -15727,7 +16097,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -15737,21 +16107,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15764,7 +16134,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -15774,7 +16144,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15787,7 +16157,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -15801,14 +16171,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -15819,7 +16189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -15829,7 +16199,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -15840,16 +16210,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -15857,7 +16227,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -15894,26 +16264,26 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] }, { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -15923,21 +16293,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15956,7 +16326,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -15966,7 +16336,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15979,7 +16349,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -15993,14 +16363,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16011,7 +16381,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -16021,7 +16391,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -16032,7 +16402,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -16042,7 +16412,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -16053,16 +16423,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -16070,7 +16440,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -16095,19 +16465,19 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 295, + "id": 320, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -16122,6 +16492,10 @@ "type": { "type": "union", "types": [ + { + "type": "literal", + "value": "INITIAL_SESSION" + }, { "type": "literal", "value": "PASSWORD_RECOVERY" @@ -16147,7 +16521,7 @@ "value": "USER_DELETED" }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -16168,7 +16542,7 @@ } }, { - "id": 294, + "id": 319, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -16186,7 +16560,7 @@ } }, { - "id": 692, + "id": 728, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -16202,21 +16576,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 693, + "id": 729, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 694, + "id": 730, "name": "id", "kind": 1024, "kindString": "Property", @@ -16227,7 +16601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 842, + "line": 859, "character": 2 } ], @@ -16237,7 +16611,7 @@ } }, { - "id": 695, + "id": 731, "name": "userId", "kind": 1024, "kindString": "Property", @@ -16248,7 +16622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 845, + "line": 862, "character": 2 } ], @@ -16262,13 +16636,13 @@ { "title": "Properties", "kind": 1024, - "children": [694, 695] + "children": [730, 731] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 840, + "line": 857, "character": 45 } ] @@ -16276,7 +16650,7 @@ } }, { - "id": 683, + "id": 719, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -16292,7 +16666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 844, "character": 12 } ], @@ -16302,14 +16676,14 @@ { "type": "reflection", "declaration": { - "id": 684, + "id": 720, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 685, + "id": 721, "name": "data", "kind": 1024, "kindString": "Property", @@ -16317,21 +16691,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 686, + "id": 722, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 723, "name": "id", "kind": 1024, "kindString": "Property", @@ -16342,7 +16716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 848, "character": 8 } ], @@ -16356,13 +16730,13 @@ { "title": "Properties", "kind": 1024, - "children": [687] + "children": [723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 846, "character": 12 } ] @@ -16370,7 +16744,7 @@ } }, { - "id": 688, + "id": 724, "name": "error", "kind": 1024, "kindString": "Property", @@ -16378,7 +16752,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 833, + "line": 850, "character": 6 } ], @@ -16392,18 +16766,890 @@ { "title": "Properties", "kind": 1024, - "children": [685, 688] + "children": [721, 724] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 828, + "line": 845, "character": 4 } ] } }, + { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 726, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 727, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [726, 727] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 852, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 741, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 742, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 743, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 883, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [743] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 881, + "character": 44 + } + ] + } + } + }, + { + "id": 732, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 868, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 733, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 734, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 735, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 736, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 872, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [736] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 870, + "character": 12 + } + ] + } + } + }, + { + "id": 737, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 874, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [734, 737] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 869, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 738, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 739, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 740, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [739, 740] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 876, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 667, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 721, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "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": 728, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 671, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 725, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 723, + "character": 12 + } + ] + } + } + }, + { + "id": 673, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 730, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 722, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 674, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 675, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 676, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [675, 676] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 732, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 643, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 645, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 646, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 647, + "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": 682, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 649, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 650, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 651, + "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": 692, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 652, + "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": 697, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "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": 701, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [651, 652, 653] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 14 + } + ] + } + } + }, + { + "id": 648, + "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": 685, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [647, 649, 648] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ] + } + } + }, + { + "id": 654, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 704, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [645, 654] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 679, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 707, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 657, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 708, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 657] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 688, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 749, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { "type": "reflection", "declaration": { @@ -16422,893 +17668,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 835, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 691, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [690, 691] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 835, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 705, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 706, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 707, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 866, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [707] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 864, - "character": 44 - } - ] - } - } - }, - { - "id": 696, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 851, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 697, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 698, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, + "line": 751, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 699, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 700, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 855, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [700] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 853, - "character": 12 - } - ] - } - } - }, - { - "id": 701, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 857, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [698, 701] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 852, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 702, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 703, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 704, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [703, 704] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 859, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 631, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 704, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 636, - "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": 711, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 635, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 708, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 706, - "character": 12 - } - ] - } - } - }, - { - "id": 637, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 713, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 637] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 705, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 638, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 639, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 640, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [639, 640] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 715, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 607, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 661, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 608, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 609, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 610, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 611, - "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": 665, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 613, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 614, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "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": 675, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 616, - "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": 680, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 617, - "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": 684, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 616, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 671, - "character": 14 - } - ] - } - } - }, - { - "id": 612, - "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": 668, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [611, 613, 612] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 663, - "character": 12 - } - ] - } - } - }, - { - "id": 618, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 687, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [609, 618] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 619, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 620, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 690, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 691, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [620, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 689, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 652, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 732, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 653, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 654, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 734, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 655, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 658, + "id": 694, "name": "currentAuthenticationMethods", "kind": 1024, "kindString": "Property", @@ -17319,7 +17693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 768, "character": 8 } ], @@ -17327,13 +17701,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 364, + "id": 389, "name": "AMREntry" } } }, { - "id": 656, + "id": 692, "name": "currentLevel", "kind": 1024, "kindString": "Property", @@ -17344,7 +17718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 753, "character": 8 } ], @@ -17353,7 +17727,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -17364,7 +17738,7 @@ } }, { - "id": 657, + "id": 693, "name": "nextLevel", "kind": 1024, "kindString": "Property", @@ -17381,7 +17755,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 761, "character": 8 } ], @@ -17390,7 +17764,7 @@ "types": [ { "type": "reference", - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels" }, { @@ -17405,13 +17779,13 @@ { "title": "Properties", "kind": 1024, - "children": [658, 656, 657] + "children": [694, 692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 751, "character": 12 } ] @@ -17419,7 +17793,7 @@ } }, { - "id": 659, + "id": 695, "name": "error", "kind": 1024, "kindString": "Property", @@ -17427,7 +17801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 770, "character": 6 } ], @@ -17441,13 +17815,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [690, 695] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 733, + "line": 750, "character": 4 } ] @@ -17456,14 +17830,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -17471,7 +17845,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 6 } ], @@ -17481,7 +17855,7 @@ } }, { - "id": 662, + "id": 698, "name": "error", "kind": 1024, "kindString": "Property", @@ -17489,13 +17863,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -17504,13 +17878,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 662] + "children": [697, 698] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 772, "character": 4 } ] @@ -17520,7 +17894,7 @@ } }, { - "id": 641, + "id": 677, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -17528,7 +17902,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 734, "character": 12 } ], @@ -17538,14 +17912,335 @@ { "type": "reflection", "declaration": { - "id": 642, + "id": 678, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 643, + "id": 679, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 680, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 681, + "name": "all", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All available factors (verified and unverified)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 738, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + }, + { + "id": 682, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Only verified TOTP factors. (A subset of `all`.)" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 741, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 403, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [681, 682] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 736, + "character": 12 + } + ] + } + } + }, + { + "id": 683, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 743, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 683] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 735, + "character": 4 + } + ] + } + }, + { + "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": 745, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 686, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 779, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [685, 686] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 745, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 658, + "name": "AuthMFAUnenrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 659, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 660, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was successfully unenrolled." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 715, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [662] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 713, + "character": 12 + } + ] + } + } + }, + { + "id": 663, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 717, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [660, 663] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 712, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 664, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, "name": "data", "kind": 1024, "kindString": "Property", @@ -17558,84 +18253,12 @@ } ], "type": { - "type": "reflection", - "declaration": { - "id": 644, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 645, - "name": "all", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All available factors (verified and unverified)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 721, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - }, - { - "id": 646, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Only verified TOTP factors. (A subset of `all`.)" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 724, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 378, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [645, 646] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 719, - "character": 12 - } - ] - } + "type": "literal", + "value": null } }, { - "id": 647, + "id": 666, "name": "error", "kind": 1024, "kindString": "Property", @@ -17643,75 +18266,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [643, 647] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 718, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 648, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 649, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 650, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 18 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -17720,13 +18281,13 @@ { "title": "Properties", "kind": 1024, - "children": [649, 650] + "children": [665, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 719, "character": 4 } ] @@ -17736,194 +18297,7 @@ } }, { - "id": 622, - "name": "AuthMFAUnenrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 694, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 623, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 624, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was successfully unenrolled." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 698, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 696, - "character": 12 - } - ] - } - } - }, - { - "id": 627, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 700, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [624, 627] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 695, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 628, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 629, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 630, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 743, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [629, 630] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 702, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 594, + "id": 630, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -17931,7 +18305,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 653, "character": 12 } ], @@ -17941,14 +18315,14 @@ { "type": "reflection", "declaration": { - "id": 595, + "id": 631, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 632, "name": "data", "kind": 1024, "kindString": "Property", @@ -17956,21 +18330,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 597, + "id": 633, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 598, + "id": 634, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -17981,7 +18355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 657, "character": 8 } ], @@ -17991,7 +18365,7 @@ } }, { - "id": 600, + "id": 636, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -18002,7 +18376,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 646, + "line": 663, "character": 8 } ], @@ -18012,7 +18386,7 @@ } }, { - "id": 601, + "id": 637, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -18023,7 +18397,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 666, "character": 8 } ], @@ -18033,7 +18407,7 @@ } }, { - "id": 599, + "id": 635, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -18044,7 +18418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 643, + "line": 660, "character": 8 } ], @@ -18054,7 +18428,7 @@ } }, { - "id": 602, + "id": 638, "name": "user", "kind": 1024, "kindString": "Property", @@ -18065,13 +18439,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 652, + "line": 669, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -18080,13 +18454,13 @@ { "title": "Properties", "kind": 1024, - "children": [598, 600, 601, 599, 602] + "children": [634, 636, 637, 635, 638] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 638, + "line": 655, "character": 12 } ] @@ -18094,7 +18468,7 @@ } }, { - "id": 603, + "id": 639, "name": "error", "kind": 1024, "kindString": "Property", @@ -18102,7 +18476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 671, "character": 6 } ], @@ -18116,13 +18490,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 603] + "children": [632, 639] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 637, + "line": 654, "character": 4 } ] @@ -18131,14 +18505,14 @@ { "type": "reflection", "declaration": { - "id": 604, + "id": 640, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 605, + "id": 641, "name": "data", "kind": 1024, "kindString": "Property", @@ -18146,7 +18520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 657, + "line": 674, "character": 6 } ], @@ -18156,7 +18530,7 @@ } }, { - "id": 606, + "id": 642, "name": "error", "kind": 1024, "kindString": "Property", @@ -18164,13 +18538,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 658, + "line": 675, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -18179,13 +18553,13 @@ { "title": "Properties", "kind": 1024, - "children": [605, 606] + "children": [641, 642] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 673, "character": 4 } ] @@ -18195,7 +18569,7 @@ } }, { - "id": 309, + "id": 334, "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -18203,7 +18577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 54, "character": 12 } ], @@ -18213,14 +18587,14 @@ { "type": "reflection", "declaration": { - "id": 310, + "id": 335, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 311, + "id": 336, "name": "data", "kind": 1024, "kindString": "Property", @@ -18228,25 +18602,53 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 312, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 339, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 338, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -18259,35 +18661,7 @@ "types": [ { "type": "reference", - "id": 355, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 313, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 56, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 392, + "id": 417, "name": "User" }, { @@ -18302,13 +18676,13 @@ { "title": "Properties", "kind": 1024, - "children": [314, 313] + "children": [339, 338] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 55, + "line": 56, "character": 12 } ] @@ -18316,7 +18690,7 @@ } }, { - "id": 315, + "id": 340, "name": "error", "kind": 1024, "kindString": "Property", @@ -18324,7 +18698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 59, + "line": 60, "character": 6 } ], @@ -18338,13 +18712,13 @@ { "title": "Properties", "kind": 1024, - "children": [311, 315] + "children": [336, 340] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 54, + "line": 55, "character": 4 } ] @@ -18353,14 +18727,14 @@ { "type": "reflection", "declaration": { - "id": 316, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 317, + "id": 342, "name": "data", "kind": 1024, "kindString": "Property", @@ -18368,25 +18742,43 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 318, + "id": 343, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 320, + "id": 345, "name": "session", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 65, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 344, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -18398,37 +18790,19 @@ "type": "literal", "value": null } - }, - { - "id": 319, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 63, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [320, 319] + "children": [345, 344] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 63, "character": 12 } ] @@ -18436,7 +18810,7 @@ } }, { - "id": 321, + "id": 346, "name": "error", "kind": 1024, "kindString": "Property", @@ -18444,13 +18818,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 67, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -18459,13 +18833,13 @@ { "title": "Properties", "kind": 1024, - "children": [317, 321] + "children": [342, 346] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 62, "character": 4 } ] @@ -18475,7 +18849,7 @@ } }, { - "id": 651, + "id": 687, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -18483,7 +18857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 747, "character": 12 } ], @@ -18502,7 +18876,7 @@ } }, { - "id": 719, + "id": 755, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -18510,7 +18884,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 905, + "line": 922, "character": 12 } ], @@ -18520,14 +18894,14 @@ { "type": "reflection", "declaration": { - "id": 720, + "id": 756, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 722, + "id": 758, "name": "error", "kind": 1024, "kindString": "Property", @@ -18535,7 +18909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 908, + "line": 925, "character": 6 } ], @@ -18545,7 +18919,7 @@ } }, { - "id": 721, + "id": 757, "name": "session", "kind": 1024, "kindString": "Property", @@ -18553,13 +18927,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 907, + "line": 924, "character": 6 } ], "type": { "type": "reference", - "id": 355, + "id": 380, "name": "Session" } } @@ -18568,13 +18942,13 @@ { "title": "Properties", "kind": 1024, - "children": [722, 721] + "children": [758, 757] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 923, "character": 4 } ] @@ -18583,14 +18957,14 @@ { "type": "reflection", "declaration": { - "id": 723, + "id": 759, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 725, + "id": 761, "name": "error", "kind": 1024, "kindString": "Property", @@ -18598,18 +18972,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 929, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } }, { - "id": 724, + "id": 760, "name": "session", "kind": 1024, "kindString": "Property", @@ -18617,7 +18991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 911, + "line": 928, "character": 6 } ], @@ -18631,13 +19005,13 @@ { "title": "Properties", "kind": 1024, - "children": [725, 724] + "children": [761, 760] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 910, + "line": 927, "character": 4 } ] @@ -18647,7 +19021,7 @@ } }, { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -18655,7 +19029,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -18686,7 +19060,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -18694,21 +19068,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -18719,7 +19093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -18729,7 +19103,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -18740,7 +19114,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -18750,7 +19124,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -18760,7 +19134,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -18769,7 +19143,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -18783,7 +19157,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -18791,7 +19165,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -18814,13 +19188,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -18828,7 +19202,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -18836,21 +19210,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -18861,7 +19235,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -18871,7 +19245,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -18881,7 +19255,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -18890,7 +19264,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -18913,7 +19287,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -18921,7 +19295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -18944,13 +19318,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -18958,7 +19332,7 @@ } }, { - "id": 552, + "id": 588, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -18966,7 +19340,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 547, + "line": 564, "character": 12 } ], @@ -18974,7 +19348,7 @@ "type": "union", "types": [ { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -18982,21 +19356,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -19004,7 +19378,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -19014,7 +19388,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -19024,7 +19398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -19033,7 +19407,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -19056,7 +19430,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -19064,7 +19438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -19074,7 +19448,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -19082,7 +19456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -19096,13 +19470,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -19110,7 +19484,7 @@ } }, { - "id": 533, + "id": 569, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19118,21 +19492,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 534, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 536, + "id": 572, "name": "email", "kind": 1024, "kindString": "Property", @@ -19143,7 +19517,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 514, + "line": 531, "character": 2 } ], @@ -19153,7 +19527,7 @@ } }, { - "id": 537, + "id": 573, "name": "options", "kind": 1024, "kindString": "Property", @@ -19163,7 +19537,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 532, "character": 2 } ], @@ -19172,7 +19546,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -19195,7 +19569,7 @@ } }, { - "id": 535, + "id": 571, "name": "type", "kind": 1024, "kindString": "Property", @@ -19203,7 +19577,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 512, + "line": 529, "character": 2 } ], @@ -19226,13 +19600,13 @@ { "title": "Properties", "kind": 1024, - "children": [536, 537, 535] + "children": [572, 573, 571] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 511, + "line": 528, "character": 46 } ] @@ -19240,7 +19614,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19248,21 +19622,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -19273,7 +19647,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -19283,7 +19657,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -19293,7 +19667,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -19302,7 +19676,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -19316,7 +19690,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -19324,7 +19698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -19338,13 +19712,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -19352,7 +19726,7 @@ } }, { - "id": 543, + "id": 579, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -19360,21 +19734,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 544, + "id": 580, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 546, + "id": 582, "name": "email", "kind": 1024, "kindString": "Property", @@ -19385,7 +19759,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 528, + "line": 545, "character": 2 } ], @@ -19395,7 +19769,7 @@ } }, { - "id": 547, + "id": 583, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -19406,7 +19780,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 532, + "line": 549, "character": 2 } ], @@ -19416,7 +19790,7 @@ } }, { - "id": 548, + "id": 584, "name": "options", "kind": 1024, "kindString": "Property", @@ -19426,7 +19800,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 550, "character": 2 } ], @@ -19435,7 +19809,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -19449,7 +19823,7 @@ } }, { - "id": 545, + "id": 581, "name": "type", "kind": 1024, "kindString": "Property", @@ -19457,7 +19831,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 526, + "line": 543, "character": 2 } ], @@ -19480,13 +19854,13 @@ { "title": "Properties", "kind": 1024, - "children": [546, 547, 548, 545] + "children": [582, 583, 584, 581] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 542, "character": 44 } ] @@ -19497,7 +19871,7 @@ } }, { - "id": 566, + "id": 602, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -19508,21 +19882,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 567, + "id": 603, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 568, + "id": 604, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -19533,7 +19907,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 592, "character": 2 } ], @@ -19543,7 +19917,7 @@ } }, { - "id": 569, + "id": 605, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -19554,7 +19928,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 597, "character": 2 } ], @@ -19564,7 +19938,7 @@ } }, { - "id": 570, + "id": 606, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -19575,7 +19949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 584, + "line": 601, "character": 2 } ], @@ -19585,7 +19959,7 @@ } }, { - "id": 571, + "id": 607, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -19596,7 +19970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 586, + "line": 603, "character": 2 } ], @@ -19606,7 +19980,7 @@ } }, { - "id": 572, + "id": 608, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -19617,16 +19991,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 588, + "line": 605, "character": 2 } ], "type": { "type": "reference", - "id": 573, + "id": 609, "name": "GenerateLinkType", "dereferenced": { - "id": 573, + "id": 609, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -19634,7 +20008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 608, "character": 12 } ], @@ -19675,13 +20049,13 @@ { "title": "Properties", "kind": 1024, - "children": [568, 569, 570, 571, 572] + "children": [604, 605, 606, 607, 608] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 570, + "line": 587, "character": 37 } ] @@ -19689,7 +20063,7 @@ } }, { - "id": 553, + "id": 589, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -19697,7 +20071,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 553, + "line": 570, "character": 12 } ], @@ -19707,14 +20081,14 @@ { "type": "reflection", "declaration": { - "id": 554, + "id": 590, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 555, + "id": 591, "name": "data", "kind": 1024, "kindString": "Property", @@ -19722,21 +20096,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 592, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 593, "name": "properties", "kind": 1024, "kindString": "Property", @@ -19744,18 +20118,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 556, + "line": 573, "character": 8 } ], "type": { "type": "reference", - "id": 566, + "id": 602, "name": "GenerateLinkProperties" } }, { - "id": 558, + "id": 594, "name": "user", "kind": 1024, "kindString": "Property", @@ -19763,13 +20137,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 557, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -19778,13 +20152,13 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [593, 594] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 572, "character": 12 } ] @@ -19792,7 +20166,7 @@ } }, { - "id": 559, + "id": 595, "name": "error", "kind": 1024, "kindString": "Property", @@ -19800,7 +20174,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 559, + "line": 576, "character": 6 } ], @@ -19814,13 +20188,13 @@ { "title": "Properties", "kind": 1024, - "children": [555, 559] + "children": [591, 595] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 554, + "line": 571, "character": 4 } ] @@ -19829,14 +20203,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 596, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 561, + "id": 597, "name": "data", "kind": 1024, "kindString": "Property", @@ -19844,21 +20218,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 562, + "id": 598, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 563, + "id": 599, "name": "properties", "kind": 1024, "kindString": "Property", @@ -19866,7 +20240,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 563, + "line": 580, "character": 8 } ], @@ -19876,7 +20250,7 @@ } }, { - "id": 564, + "id": 600, "name": "user", "kind": 1024, "kindString": "Property", @@ -19884,7 +20258,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 564, + "line": 581, "character": 8 } ], @@ -19898,13 +20272,13 @@ { "title": "Properties", "kind": 1024, - "children": [563, 564] + "children": [599, 600] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 579, "character": 12 } ] @@ -19912,7 +20286,7 @@ } }, { - "id": 565, + "id": 601, "name": "error", "kind": 1024, "kindString": "Property", @@ -19920,13 +20294,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 566, + "line": 583, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -19935,13 +20309,13 @@ { "title": "Properties", "kind": 1024, - "children": [561, 565] + "children": [597, 601] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 578, "character": 4 } ] @@ -19951,7 +20325,7 @@ } }, { - "id": 573, + "id": 609, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -19959,7 +20333,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 608, "character": 12 } ], @@ -19994,7 +20368,7 @@ } }, { - "id": 538, + "id": 574, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20002,21 +20376,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 575, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 577, "name": "email", "kind": 1024, "kindString": "Property", @@ -20027,7 +20401,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 521, + "line": 538, "character": 2 } ], @@ -20037,7 +20411,7 @@ } }, { - "id": 542, + "id": 578, "name": "options", "kind": 1024, "kindString": "Property", @@ -20047,7 +20421,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 539, "character": 2 } ], @@ -20056,7 +20430,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -20070,7 +20444,7 @@ } }, { - "id": 540, + "id": 576, "name": "type", "kind": 1024, "kindString": "Property", @@ -20078,7 +20452,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 519, + "line": 536, "character": 2 } ], @@ -20092,13 +20466,13 @@ { "title": "Properties", "kind": 1024, - "children": [541, 542, 540] + "children": [577, 578, 576] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 518, + "line": 535, "character": 41 } ] @@ -20106,7 +20480,7 @@ } }, { - "id": 527, + "id": 563, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -20114,21 +20488,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 528, + "id": 564, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 530, + "id": 566, "name": "email", "kind": 1024, "kindString": "Property", @@ -20136,7 +20510,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 523, "character": 2 } ], @@ -20146,7 +20520,7 @@ } }, { - "id": 532, + "id": 568, "name": "options", "kind": 1024, "kindString": "Property", @@ -20156,7 +20530,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 508, + "line": 525, "character": 2 } ], @@ -20165,7 +20539,7 @@ "typeArguments": [ { "type": "reference", - "id": 549, + "id": 585, "name": "GenerateLinkOptions" }, { @@ -20188,7 +20562,7 @@ } }, { - "id": 531, + "id": 567, "name": "password", "kind": 1024, "kindString": "Property", @@ -20196,7 +20570,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 524, "character": 2 } ], @@ -20206,7 +20580,7 @@ } }, { - "id": 529, + "id": 565, "name": "type", "kind": 1024, "kindString": "Property", @@ -20214,7 +20588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 505, + "line": 522, "character": 2 } ], @@ -20228,13 +20602,13 @@ { "title": "Properties", "kind": 1024, - "children": [530, 532, 531, 529] + "children": [566, 568, 567, 565] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 521, "character": 39 } ] @@ -20242,7 +20616,7 @@ } }, { - "id": 296, + "id": 321, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -20250,21 +20624,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 297, + "id": 322, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 330, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -20274,7 +20648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 44, + "line": 45, "character": 2 } ], @@ -20284,7 +20658,7 @@ } }, { - "id": 304, + "id": 329, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -20294,7 +20668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -20304,7 +20678,7 @@ } }, { - "id": 308, + "id": 333, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -20314,7 +20688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -20324,7 +20698,7 @@ } }, { - "id": 299, + "id": 324, "name": "headers", "kind": 1024, "kindString": "Property", @@ -20334,14 +20708,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 300, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20349,19 +20723,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 38, + "line": 39, "character": 12 } ], "indexSignature": { - "id": 301, + "id": 326, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 302, + "id": 327, "name": "key", "kind": 32768, "flags": {}, @@ -20380,7 +20754,7 @@ } }, { - "id": 306, + "id": 331, "name": "persistSession", "kind": 1024, "kindString": "Property", @@ -20390,7 +20764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -20400,7 +20774,7 @@ } }, { - "id": 307, + "id": 332, "name": "storage", "kind": 1024, "kindString": "Property", @@ -20410,16 +20784,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 48, + "line": 49, "character": 2 } ], "type": { "type": "reference", - "id": 715, + "id": 751, "name": "SupportedStorage", "dereferenced": { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -20427,7 +20801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -20472,7 +20846,7 @@ } }, { - "id": 303, + "id": 328, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -20482,7 +20856,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 41, "character": 2 } ], @@ -20492,7 +20866,7 @@ } }, { - "id": 298, + "id": 323, "name": "url", "kind": 1024, "kindString": "Property", @@ -20502,7 +20876,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 36, + "line": 37, "character": 2 } ], @@ -20516,13 +20890,13 @@ { "title": "Properties", "kind": 1024, - "children": [305, 304, 308, 299, 306, 307, 303, 298] + "children": [330, 329, 333, 324, 331, 332, 328, 323] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 34, + "line": 35, "character": 34 } ] @@ -20530,7 +20904,7 @@ } }, { - "id": 716, + "id": 752, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -20538,21 +20912,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 717, + "id": 753, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 718, + "id": 754, "name": "error", "kind": 1024, "kindString": "Property", @@ -20560,7 +20934,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 33 } ], @@ -20569,7 +20943,7 @@ "types": [ { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" }, { @@ -20584,13 +20958,13 @@ { "title": "Properties", "kind": 1024, - "children": [718] + "children": [754] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 920, "character": 31 } ] @@ -20598,7 +20972,7 @@ } }, { - "id": 590, + "id": 626, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -20606,21 +20980,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 591, + "id": 627, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 593, + "id": 629, "name": "code", "kind": 1024, "kindString": "Property", @@ -20631,7 +21005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 650, "character": 2 } ], @@ -20641,7 +21015,7 @@ } }, { - "id": 592, + "id": 628, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20652,7 +21026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 648, "character": 2 } ], @@ -20666,13 +21040,13 @@ { "title": "Properties", "kind": 1024, - "children": [593, 592] + "children": [629, 628] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 629, + "line": 646, "character": 42 } ] @@ -20680,7 +21054,7 @@ } }, { - "id": 587, + "id": 623, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -20688,21 +21062,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 588, + "id": 624, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 589, + "id": 625, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20713,7 +21087,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 643, "character": 2 } ], @@ -20727,13 +21101,13 @@ { "title": "Properties", "kind": 1024, - "children": [589] + "children": [625] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 641, "character": 33 } ] @@ -20741,7 +21115,7 @@ } }, { - "id": 574, + "id": 610, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -20749,21 +21123,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 611, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 612, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -20774,7 +21148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 601, + "line": 618, "character": 2 } ], @@ -20784,7 +21158,7 @@ } }, { - "id": 578, + "id": 614, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -20797,7 +21171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 605, + "line": 622, "character": 2 } ], @@ -20807,7 +21181,7 @@ } }, { - "id": 577, + "id": 613, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -20820,7 +21194,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 620, "character": 2 } ], @@ -20834,13 +21208,13 @@ { "title": "Properties", "kind": 1024, - "children": [576, 578, 577] + "children": [612, 614, 613] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 616, "character": 30 } ] @@ -20848,7 +21222,7 @@ } }, { - "id": 579, + "id": 615, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -20856,21 +21230,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 580, + "id": 616, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 581, + "id": 617, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20881,7 +21255,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 610, + "line": 627, "character": 2 } ], @@ -20895,13 +21269,13 @@ { "title": "Properties", "kind": 1024, - "children": [581] + "children": [617] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 608, + "line": 625, "character": 32 } ] @@ -20909,7 +21283,7 @@ } }, { - "id": 582, + "id": 618, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -20917,21 +21291,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 583, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 585, + "id": 621, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -20942,7 +21316,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 618, + "line": 635, "character": 2 } ], @@ -20952,7 +21326,7 @@ } }, { - "id": 586, + "id": 622, "name": "code", "kind": 1024, "kindString": "Property", @@ -20963,7 +21337,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 621, + "line": 638, "character": 2 } ], @@ -20973,7 +21347,7 @@ } }, { - "id": 584, + "id": 620, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20984,7 +21358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 632, "character": 2 } ], @@ -20998,13 +21372,13 @@ { "title": "Properties", "kind": 1024, - "children": [585, 586, 584] + "children": [621, 622, 620] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 613, + "line": 630, "character": 30 } ] @@ -21012,7 +21386,7 @@ } }, { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -21020,7 +21394,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -21039,7 +21413,34 @@ } }, { - "id": 322, + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + }, + { + "id": 347, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -21047,7 +21448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 69, + "line": 70, "character": 12 } ], @@ -21057,14 +21458,14 @@ { "type": "reflection", "declaration": { - "id": 323, + "id": 348, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 324, + "id": 349, "name": "data", "kind": 1024, "kindString": "Property", @@ -21072,21 +21473,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 325, + "id": 350, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 326, + "id": 351, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21094,18 +21495,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 72, + "line": 73, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 327, + "id": 352, "name": "url", "kind": 1024, "kindString": "Property", @@ -21113,7 +21514,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 73, + "line": 74, "character": 8 } ], @@ -21127,13 +21528,13 @@ { "title": "Properties", "kind": 1024, - "children": [326, 327] + "children": [351, 352] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 72, "character": 12 } ] @@ -21141,7 +21542,7 @@ } }, { - "id": 328, + "id": 353, "name": "error", "kind": 1024, "kindString": "Property", @@ -21149,7 +21550,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 76, "character": 6 } ], @@ -21163,13 +21564,13 @@ { "title": "Properties", "kind": 1024, - "children": [324, 328] + "children": [349, 353] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 70, + "line": 71, "character": 4 } ] @@ -21178,14 +21579,14 @@ { "type": "reflection", "declaration": { - "id": 329, + "id": 354, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 330, + "id": 355, "name": "data", "kind": 1024, "kindString": "Property", @@ -21193,21 +21594,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 331, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 332, + "id": 357, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21215,18 +21616,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 79, + "line": 80, "character": 8 } ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider" } }, { - "id": 333, + "id": 358, "name": "url", "kind": 1024, "kindString": "Property", @@ -21234,7 +21635,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 81, "character": 8 } ], @@ -21248,13 +21649,13 @@ { "title": "Properties", "kind": 1024, - "children": [332, 333] + "children": [357, 358] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 79, "character": 12 } ] @@ -21262,7 +21663,7 @@ } }, { - "id": 334, + "id": 359, "name": "error", "kind": 1024, "kindString": "Property", @@ -21270,13 +21671,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 83, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -21285,13 +21686,13 @@ { "title": "Properties", "kind": 1024, - "children": [330, 334] + "children": [355, 359] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 77, + "line": 78, "character": 4 } ] @@ -21301,7 +21702,7 @@ } }, { - "id": 733, + "id": 769, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -21309,21 +21710,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 734, + "id": 770, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 735, + "id": 771, "name": "page", "kind": 1024, "kindString": "Property", @@ -21336,7 +21737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 924, + "line": 941, "character": 2 } ], @@ -21346,7 +21747,7 @@ } }, { - "id": 736, + "id": 772, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -21359,7 +21760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 943, "character": 2 } ], @@ -21373,13 +21774,13 @@ { "title": "Properties", "kind": 1024, - "children": [735, 736] + "children": [771, 772] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 922, + "line": 939, "character": 25 } ] @@ -21387,7 +21788,7 @@ } }, { - "id": 726, + "id": 762, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -21395,21 +21796,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 727, + "id": 763, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 729, + "id": 765, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -21417,7 +21818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 918, + "line": 935, "character": 2 } ], @@ -21427,7 +21828,7 @@ } }, { - "id": 728, + "id": 764, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -21435,7 +21836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 934, "character": 2 } ], @@ -21454,7 +21855,7 @@ } }, { - "id": 730, + "id": 766, "name": "total", "kind": 1024, "kindString": "Property", @@ -21462,7 +21863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 936, "character": 2 } ], @@ -21476,25 +21877,25 @@ { "title": "Properties", "kind": 1024, - "children": [729, 728, 730] + "children": [765, 764, 766] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 932, "character": 25 } ], "indexSignature": { - "id": 731, + "id": 767, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 732, + "id": 768, "name": "key", "kind": 32768, "flags": {}, @@ -21513,7 +21914,7 @@ } }, { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -21599,7 +22000,7 @@ } }, { - "id": 335, + "id": 360, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -21607,7 +22008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 85, + "line": 86, "character": 12 } ], @@ -21617,14 +22018,14 @@ { "type": "reflection", "declaration": { - "id": 336, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 337, + "id": 362, "name": "data", "kind": 1024, "kindString": "Property", @@ -21632,21 +22033,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 339, + "id": 364, "name": "url", "kind": 1024, "kindString": "Property", @@ -21657,7 +22058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 89, + "line": 90, "character": 8 } ], @@ -21671,13 +22072,13 @@ { "title": "Properties", "kind": 1024, - "children": [339] + "children": [364] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 88, "character": 12 } ] @@ -21685,7 +22086,7 @@ } }, { - "id": 340, + "id": 365, "name": "error", "kind": 1024, "kindString": "Property", @@ -21693,7 +22094,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 91, + "line": 92, "character": 6 } ], @@ -21707,13 +22108,13 @@ { "title": "Properties", "kind": 1024, - "children": [337, 340] + "children": [362, 365] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 87, "character": 4 } ] @@ -21722,36 +22123,18 @@ { "type": "reflection", "declaration": { - "id": 341, + "id": 366, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 342, + "id": 367, "name": "data", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 94, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 343, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -21759,9 +22142,27 @@ "character": 6 } ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 368, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 96, + "character": 6 + } + ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -21770,13 +22171,13 @@ { "title": "Properties", "kind": 1024, - "children": [342, 343] + "children": [367, 368] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 93, + "line": 94, "character": 4 } ] @@ -21786,7 +22187,186 @@ } }, { - "id": 486, + "id": 526, + "name": "SignInWithIdTokenCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 527, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 530, + "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": 458, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 531, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 533, + "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": 461, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [533] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 459, + "character": 12 + } + ] + } + } + }, + { + "id": 528, + "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": 454, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "google" + }, + { + "type": "literal", + "value": "apple" + } + ] + } + }, + { + "id": 529, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID token issued by Apple or Google." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 456, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [530, 531, 528, 529] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 450, + "character": 43 + } + ] + } + } + }, + { + "id": 513, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21801,14 +22381,14 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 489, + "id": 516, "name": "options", "kind": 1024, "kindString": "Property", @@ -21825,14 +22405,65 @@ "type": { "type": "reflection", "declaration": { - "id": 490, + "id": 517, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 493, + "id": 525, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to 'pkce' PKCE flow. Defaults to the 'implicit' flow otherwise" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 446, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 512, + "name": "OAuthFlowType", + "dereferenced": { + "id": 512, + "name": "OAuthFlowType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 432, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "implicit" + }, + { + "type": "literal", + "value": "pkce" + } + ] + } + } + } + }, + { + "id": 520, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -21852,7 +22483,7 @@ "type": { "type": "reflection", "declaration": { - "id": 494, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21865,14 +22496,14 @@ } ], "indexSignature": { - "id": 495, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -21891,7 +22522,7 @@ } }, { - "id": 491, + "id": 518, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21914,7 +22545,7 @@ } }, { - "id": 492, + "id": 519, "name": "scopes", "kind": 1024, "kindString": "Property", @@ -21937,7 +22568,7 @@ } }, { - "id": 497, + "id": 524, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -21964,7 +22595,7 @@ { "title": "Properties", "kind": 1024, - "children": [493, 491, 492, 497] + "children": [525, 520, 518, 519, 524] } ], "sources": [ @@ -21978,7 +22609,7 @@ } }, { - "id": 488, + "id": 515, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21995,10 +22626,10 @@ ], "type": { "type": "reference", - "id": 293, + "id": 318, "name": "Provider", "dereferenced": { - "id": 293, + "id": 318, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -22090,7 +22721,7 @@ { "title": "Properties", "kind": 1024, - "children": [489, 488] + "children": [516, 515] } ], "sources": [ @@ -22104,7 +22735,7 @@ } }, { - "id": 455, + "id": 480, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22112,7 +22743,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 363, + "line": 364, "character": 12 } ], @@ -22122,14 +22753,14 @@ { "type": "reflection", "declaration": { - "id": 456, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 482, "name": "email", "kind": 1024, "kindString": "Property", @@ -22140,7 +22771,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 367, "character": 6 } ], @@ -22150,7 +22781,7 @@ } }, { - "id": 459, + "id": 484, "name": "options", "kind": 1024, "kindString": "Property", @@ -22160,21 +22791,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 460, + "id": 485, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 462, + "id": 486, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22187,7 +22818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 377, + "line": 372, "character": 8 } ], @@ -22195,43 +22826,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 461, - "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": 375, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [462, 461] + "children": [486] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 369, + "line": 370, "character": 16 } ] @@ -22239,7 +22846,7 @@ } }, { - "id": 458, + "id": 483, "name": "password", "kind": 1024, "kindString": "Property", @@ -22250,7 +22857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 368, + "line": 369, "character": 6 } ], @@ -22264,13 +22871,13 @@ { "title": "Properties", "kind": 1024, - "children": [457, 459, 458] + "children": [482, 484, 483] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 364, + "line": 365, "character": 4 } ] @@ -22279,14 +22886,14 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 466, + "id": 490, "name": "options", "kind": 1024, "kindString": "Property", @@ -22296,21 +22903,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 467, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 469, + "id": 493, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22323,7 +22930,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 393, + "line": 388, "character": 8 } ], @@ -22333,7 +22940,39 @@ } }, { - "id": 468, + "id": 494, + "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": 390, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 492, "name": "data", "kind": 1024, "kindString": "Property", @@ -22347,7 +22986,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 391, + "line": 386, "character": 8 } ], @@ -22361,13 +23000,13 @@ { "title": "Properties", "kind": 1024, - "children": [469, 468] + "children": [493, 494, 492] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 385, + "line": 380, "character": 16 } ] @@ -22375,7 +23014,7 @@ } }, { - "id": 465, + "id": 489, "name": "password", "kind": 1024, "kindString": "Property", @@ -22386,7 +23025,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 384, + "line": 379, "character": 6 } ], @@ -22396,7 +23035,7 @@ } }, { - "id": 464, + "id": 488, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22407,7 +23046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 382, + "line": 377, "character": 6 } ], @@ -22421,13 +23060,13 @@ { "title": "Properties", "kind": 1024, - "children": [466, 465, 464] + "children": [490, 489, 488] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 375, "character": 4 } ] @@ -22437,7 +23076,7 @@ } }, { - "id": 470, + "id": 495, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22445,7 +23084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 397, + "line": 394, "character": 12 } ], @@ -22455,14 +23094,14 @@ { "type": "reflection", "declaration": { - "id": 471, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 472, + "id": 497, "name": "email", "kind": 1024, "kindString": "Property", @@ -22473,7 +23112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 400, + "line": 397, "character": 6 } ], @@ -22483,7 +23122,7 @@ } }, { - "id": 473, + "id": 498, "name": "options", "kind": 1024, "kindString": "Property", @@ -22493,21 +23132,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 474, + "id": 499, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 478, + "id": 503, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22520,7 +23159,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 413, + "line": 410, "character": 8 } ], @@ -22530,7 +23169,7 @@ } }, { - "id": 477, + "id": 502, "name": "data", "kind": 1024, "kindString": "Property", @@ -22544,7 +23183,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 411, + "line": 408, "character": 8 } ], @@ -22554,7 +23193,7 @@ } }, { - "id": 475, + "id": 500, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -22567,7 +23206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 403, + "line": 400, "character": 8 } ], @@ -22577,7 +23216,7 @@ } }, { - "id": 476, + "id": 501, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -22590,7 +23229,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 405, + "line": 402, "character": 8 } ], @@ -22604,13 +23243,13 @@ { "title": "Properties", "kind": 1024, - "children": [478, 477, 475, 476] + "children": [503, 502, 500, 501] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 401, + "line": 398, "character": 16 } ] @@ -22622,13 +23261,13 @@ { "title": "Properties", "kind": 1024, - "children": [472, 473] + "children": [497, 498] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 395, "character": 4 } ] @@ -22637,14 +23276,14 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 504, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 481, + "id": 506, "name": "options", "kind": 1024, "kindString": "Property", @@ -22654,21 +23293,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 482, + "id": 507, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 485, + "id": 510, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22681,7 +23320,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 429, + "line": 426, "character": 8 } ], @@ -22691,7 +23330,39 @@ } }, { - "id": 484, + "id": 511, + "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": 428, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "whatsapp" + } + ] + } + }, + { + "id": 509, "name": "data", "kind": 1024, "kindString": "Property", @@ -22705,7 +23376,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 427, + "line": 424, "character": 8 } ], @@ -22715,7 +23386,7 @@ } }, { - "id": 483, + "id": 508, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -22728,7 +23399,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 421, + "line": 418, "character": 8 } ], @@ -22742,13 +23413,13 @@ { "title": "Properties", "kind": 1024, - "children": [485, 484, 483] + "children": [510, 511, 509, 508] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 416, "character": 16 } ] @@ -22756,7 +23427,7 @@ } }, { - "id": 480, + "id": 505, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22767,7 +23438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 418, + "line": 415, "character": 6 } ], @@ -22781,13 +23452,13 @@ { "title": "Properties", "kind": 1024, - "children": [481, 480] + "children": [506, 505] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 416, + "line": 413, "character": 4 } ] @@ -22797,7 +23468,7 @@ } }, { - "id": 517, + "id": 553, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -22805,7 +23476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 12 } ], @@ -22815,14 +23486,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 555, "name": "options", "kind": 1024, "kindString": "Property", @@ -22832,21 +23503,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 556, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 522, + "id": 558, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22859,7 +23530,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 491, + "line": 508, "character": 4 } ], @@ -22869,7 +23540,7 @@ } }, { - "id": 521, + "id": 557, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22882,7 +23553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 506, "character": 4 } ], @@ -22896,13 +23567,13 @@ { "title": "Properties", "kind": 1024, - "children": [522, 521] + "children": [558, 557] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 487, + "line": 504, "character": 12 } ] @@ -22914,13 +23585,13 @@ { "title": "Properties", "kind": 1024, - "children": [519] + "children": [555] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 486, + "line": 503, "character": 28 } ] @@ -22932,14 +23603,14 @@ { "type": "reflection", "declaration": { - "id": 523, + "id": 559, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 524, + "id": 560, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -22950,7 +23621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 496, + "line": 513, "character": 6 } ], @@ -22964,13 +23635,13 @@ { "title": "Properties", "kind": 1024, - "children": [524] + "children": [560] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 494, + "line": 511, "character": 4 } ] @@ -22979,14 +23650,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 561, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 562, "name": "domain", "kind": 1024, "kindString": "Property", @@ -22997,7 +23668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 500, + "line": 517, "character": 6 } ], @@ -23011,13 +23682,13 @@ { "title": "Properties", "kind": 1024, - "children": [526] + "children": [562] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 498, + "line": 515, "character": 4 } ] @@ -23029,7 +23700,7 @@ } }, { - "id": 439, + "id": 464, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23037,7 +23708,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 328, + "line": 329, "character": 12 } ], @@ -23047,14 +23718,14 @@ { "type": "reflection", "declaration": { - "id": 440, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 466, "name": "email", "kind": 1024, "kindString": "Property", @@ -23065,7 +23736,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 331, + "line": 332, "character": 6 } ], @@ -23075,7 +23746,7 @@ } }, { - "id": 443, + "id": 468, "name": "options", "kind": 1024, "kindString": "Property", @@ -23085,21 +23756,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 469, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 447, + "id": 472, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23112,7 +23783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 345, "character": 8 } ], @@ -23122,7 +23793,7 @@ } }, { - "id": 446, + "id": 471, "name": "data", "kind": 1024, "kindString": "Property", @@ -23136,7 +23807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 342, + "line": 343, "character": 8 } ], @@ -23146,7 +23817,7 @@ } }, { - "id": 445, + "id": 470, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -23159,7 +23830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 336, + "line": 337, "character": 8 } ], @@ -23173,13 +23844,13 @@ { "title": "Properties", "kind": 1024, - "children": [447, 446, 445] + "children": [472, 471, 470] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 335, "character": 16 } ] @@ -23187,7 +23858,7 @@ } }, { - "id": 442, + "id": 467, "name": "password", "kind": 1024, "kindString": "Property", @@ -23198,7 +23869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 333, + "line": 334, "character": 6 } ], @@ -23212,13 +23883,13 @@ { "title": "Properties", "kind": 1024, - "children": [441, 443, 442] + "children": [466, 468, 467] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 330, "character": 4 } ] @@ -23227,14 +23898,14 @@ { "type": "reflection", "declaration": { - "id": 448, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 451, + "id": 476, "name": "options", "kind": 1024, "kindString": "Property", @@ -23244,21 +23915,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 452, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 454, + "id": 479, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23271,7 +23942,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 360, + "line": 361, "character": 8 } ], @@ -23281,7 +23952,7 @@ } }, { - "id": 453, + "id": 478, "name": "data", "kind": 1024, "kindString": "Property", @@ -23295,7 +23966,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 358, + "line": 359, "character": 8 } ], @@ -23309,13 +23980,13 @@ { "title": "Properties", "kind": 1024, - "children": [454, 453] + "children": [479, 478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 352, + "line": 353, "character": 16 } ] @@ -23323,7 +23994,7 @@ } }, { - "id": 450, + "id": 475, "name": "password", "kind": 1024, "kindString": "Property", @@ -23334,7 +24005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 351, + "line": 352, "character": 6 } ], @@ -23344,7 +24015,7 @@ } }, { - "id": 449, + "id": 474, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23355,7 +24026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 349, + "line": 350, "character": 6 } ], @@ -23369,13 +24040,13 @@ { "title": "Properties", "kind": 1024, - "children": [451, 450, 449] + "children": [476, 475, 474] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 347, + "line": 348, "character": 4 } ] @@ -23385,7 +24056,7 @@ } }, { - "id": 715, + "id": 751, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -23393,7 +24064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 918, "character": 12 } ], @@ -23436,7 +24107,7 @@ } }, { - "id": 344, + "id": 369, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -23444,7 +24115,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 99, "character": 12 } ], @@ -23454,14 +24125,14 @@ { "type": "reflection", "declaration": { - "id": 345, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 346, + "id": 371, "name": "data", "kind": 1024, "kindString": "Property", @@ -23469,21 +24140,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 347, + "id": 372, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 348, + "id": 373, "name": "user", "kind": 1024, "kindString": "Property", @@ -23491,13 +24162,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 102, "character": 8 } ], "type": { "type": "reference", - "id": 392, + "id": 417, "name": "User" } } @@ -23506,13 +24177,13 @@ { "title": "Properties", "kind": 1024, - "children": [348] + "children": [373] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 101, "character": 12 } ] @@ -23520,7 +24191,7 @@ } }, { - "id": 349, + "id": 374, "name": "error", "kind": 1024, "kindString": "Property", @@ -23528,7 +24199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 104, "character": 6 } ], @@ -23542,13 +24213,13 @@ { "title": "Properties", "kind": 1024, - "children": [346, 349] + "children": [371, 374] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 99, + "line": 100, "character": 4 } ] @@ -23557,14 +24228,14 @@ { "type": "reflection", "declaration": { - "id": 350, + "id": 375, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 351, + "id": 376, "name": "data", "kind": 1024, "kindString": "Property", @@ -23572,21 +24243,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 352, + "id": 377, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 353, + "id": 378, "name": "user", "kind": 1024, "kindString": "Property", @@ -23594,7 +24265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 107, + "line": 108, "character": 8 } ], @@ -23608,13 +24279,13 @@ { "title": "Properties", "kind": 1024, - "children": [353] + "children": [378] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 106, + "line": 107, "character": 12 } ] @@ -23622,7 +24293,7 @@ } }, { - "id": 354, + "id": 379, "name": "error", "kind": 1024, "kindString": "Property", @@ -23630,13 +24301,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 110, "character": 6 } ], "type": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -23645,13 +24316,13 @@ { "title": "Properties", "kind": 1024, - "children": [351, 354] + "children": [376, 379] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 105, + "line": 106, "character": 4 } ] @@ -23661,7 +24332,7 @@ } }, { - "id": 498, + "id": 534, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -23669,7 +24340,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 448, + "line": 465, "character": 12 } ], @@ -23677,14 +24348,14 @@ "type": "union", "types": [ { - "id": 499, + "id": 535, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 503, + "id": 539, "name": "options", "kind": 1024, "kindString": "Property", @@ -23694,21 +24365,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 456, + "line": 473, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 504, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 506, + "id": 542, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23727,7 +24398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 465, + "line": 482, "character": 4 } ], @@ -23737,7 +24408,7 @@ } }, { - "id": 505, + "id": 541, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23750,7 +24421,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 458, + "line": 475, "character": 4 } ], @@ -23764,14 +24435,14 @@ { "title": "Properties", "kind": 1024, - "children": [506, 505] + "children": [542, 541] } ] } } }, { - "id": 500, + "id": 536, "name": "phone", "kind": 1024, "kindString": "Property", @@ -23782,7 +24453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 451, + "line": 468, "character": 2 } ], @@ -23792,7 +24463,7 @@ } }, { - "id": 501, + "id": 537, "name": "token", "kind": 1024, "kindString": "Property", @@ -23803,7 +24474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 453, + "line": 470, "character": 2 } ], @@ -23813,7 +24484,7 @@ } }, { - "id": 502, + "id": 538, "name": "type", "kind": 1024, "kindString": "Property", @@ -23824,16 +24495,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 455, + "line": 472, "character": 2 } ], "type": { "type": "reference", - "id": 515, + "id": 551, "name": "MobileOtpType", "dereferenced": { - "id": 515, + "id": 551, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23841,7 +24512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 483, + "line": 500, "character": 12 } ], @@ -23866,26 +24537,26 @@ { "title": "Properties", "kind": 1024, - "children": [503, 500, 501, 502] + "children": [539, 536, 537, 538] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 449, + "line": 466, "character": 17 } ] }, { - "id": 507, + "id": 543, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 508, + "id": 544, "name": "email", "kind": 1024, "kindString": "Property", @@ -23896,7 +24567,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 487, "character": 2 } ], @@ -23906,7 +24577,7 @@ } }, { - "id": 511, + "id": 547, "name": "options", "kind": 1024, "kindString": "Property", @@ -23916,21 +24587,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 475, + "line": 492, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 548, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 550, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23943,7 +24614,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 479, + "line": 496, "character": 4 } ], @@ -23953,7 +24624,7 @@ } }, { - "id": 513, + "id": 549, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -23966,7 +24637,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 494, "character": 4 } ], @@ -23980,14 +24651,14 @@ { "title": "Properties", "kind": 1024, - "children": [514, 513] + "children": [550, 549] } ] } } }, { - "id": 509, + "id": 545, "name": "token", "kind": 1024, "kindString": "Property", @@ -23998,7 +24669,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 472, + "line": 489, "character": 2 } ], @@ -24008,7 +24679,7 @@ } }, { - "id": 510, + "id": 546, "name": "type", "kind": 1024, "kindString": "Property", @@ -24019,16 +24690,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 474, + "line": 491, "character": 2 } ], "type": { "type": "reference", - "id": 516, + "id": 552, "name": "EmailOtpType", "dereferenced": { - "id": 516, + "id": 552, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24036,7 +24707,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 484, + "line": 501, "character": 12 } ], @@ -24073,13 +24744,13 @@ { "title": "Properties", "kind": 1024, - "children": [508, 511, 509, 510] + "children": [544, 547, 545, 546] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 468, + "line": 485, "character": 17 } ] @@ -24088,7 +24759,7 @@ } }, { - "id": 740, + "id": 776, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -24102,14 +24773,14 @@ ], "signatures": [ { - "id": 741, + "id": 777, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 742, + "id": 778, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -24126,7 +24797,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 750, + "id": 786, "name": "AuthApiError" } } @@ -24134,7 +24805,7 @@ ] }, { - "id": 737, + "id": 773, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -24148,14 +24819,14 @@ ], "signatures": [ { - "id": 738, + "id": 774, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 775, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -24172,7 +24843,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 743, + "id": 779, "name": "AuthError" } } @@ -24184,26 +24855,26 @@ { "title": "Classes", "kind": 128, - "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77] + "children": [786, 779, 847, 834, 872, 822, 799, 807, 1, 77] }, { "title": "Interfaces", "kind": 256, - "children": [364, 419, 378, 549, 708, 663, 355, 429, 437, 392, 385, 414, 367, 389, 507, 499] + "children": [389, 445, 403, 585, 744, 699, 380, 454, 462, 417, 410, 440, 392, 414, 543, 535] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 295, 294, 692, 683, 705, 696, 631, 607, 652, 641, 622, 594, 309, 651, 719, 516, 543, 533, - 552, 566, 553, 573, 538, 527, 296, 716, 590, 587, 574, 579, 582, 515, 322, 733, 726, 293, - 335, 486, 455, 470, 517, 439, 715, 344, 498 + 320, 319, 728, 719, 741, 732, 667, 643, 688, 677, 658, 630, 334, 687, 755, 552, 579, 569, + 588, 602, 589, 609, 574, 563, 321, 752, 626, 623, 610, 615, 618, 551, 512, 347, 769, 762, + 318, 360, 526, 513, 480, 495, 553, 464, 751, 369, 534 ] }, { "title": "Functions", "kind": 64, - "children": [740, 737] + "children": [776, 773] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/spec/enrichments/tsdoc_v2/postgrest.json index bdb5893958f..c06db6d7fee 100644 --- a/spec/enrichments/tsdoc_v2/postgrest.json +++ b/spec/enrichments/tsdoc_v2/postgrest.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -30,14 +30,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -46,18 +46,18 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -67,11 +67,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -81,7 +81,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -101,7 +101,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -122,7 +122,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -139,21 +139,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -177,7 +177,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -212,7 +212,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -244,7 +244,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -285,7 +285,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -306,7 +306,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -327,7 +327,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -350,7 +350,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -372,7 +372,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -386,33 +386,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -424,90 +424,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -538,6 +457,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -553,7 +553,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -561,7 +561,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -587,12 +587,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -614,7 +614,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -628,7 +628,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -639,11 +639,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -657,17 +657,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -679,7 +679,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -689,7 +689,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -699,15 +699,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -1944,7 +1944,7 @@ "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", @@ -1980,19 +1980,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 403, + "id": 405, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 402, + "id": 404, "name": "default.constructor" } }, { - "id": 383, + "id": 385, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -2012,12 +2012,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 480, + "id": 484, "name": "default.allowEmpty" } }, { - "id": 375, + "id": 377, "name": "body", "kind": 1024, "kindString": "Property", @@ -2038,12 +2038,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 472, + "id": 476, "name": "default.body" } }, { - "id": 378, + "id": 380, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -2060,21 +2060,21 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 381, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 380, + "id": 382, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 381, + "id": 383, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -2098,7 +2098,7 @@ } }, { - "id": 382, + "id": 384, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -2133,12 +2133,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 475, + "id": 479, "name": "default.fetch" } }, { - "id": 373, + "id": 375, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2170,12 +2170,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 470, + "id": 474, "name": "default.headers" } }, { - "id": 371, + "id": 373, "name": "method", "kind": 1024, "kindString": "Property", @@ -2216,12 +2216,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 468, + "id": 472, "name": "default.method" } }, { - "id": 374, + "id": 376, "name": "schema", "kind": 1024, "kindString": "Property", @@ -2242,12 +2242,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 471, + "id": 475, "name": "default.schema" } }, { - "id": 376, + "id": 378, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -2268,12 +2268,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 473, + "id": 477, "name": "default.shouldThrowOnError" } }, { - "id": 377, + "id": 379, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2296,12 +2296,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 474, + "id": 478, "name": "default.signal" } }, { - "id": 372, + "id": 374, "name": "url", "kind": 1024, "kindString": "Property", @@ -2323,7 +2323,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 469, + "id": 473, "name": "default.url" } }, @@ -2336,7 +2336,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], @@ -2392,14 +2392,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 443, + "id": 445, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 442, + "id": 444, "name": "default.abortSignal" } }, @@ -2842,7 +2842,7 @@ ] }, { - "id": 352, + "id": 354, "name": "csv", "kind": 2048, "kindString": "Method", @@ -2850,13 +2850,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 355, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -2866,33 +2866,25 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 450, + "id": 454, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 449, + "id": 453, "name": "default.csv" } }, @@ -3062,7 +3054,7 @@ ] }, { - "id": 356, + "id": 358, "name": "explain", "kind": 2048, "kindString": "Method", @@ -3070,13 +3062,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 357, + "id": 359, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -3086,7 +3078,7 @@ }, "parameters": [ { - "id": 358, + "id": 360, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3098,14 +3090,14 @@ "type": { "type": "reflection", "declaration": { - "id": 359, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 362, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -3118,7 +3110,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -3128,7 +3120,7 @@ } }, { - "id": 363, + "id": 365, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -3141,7 +3133,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -3151,7 +3143,7 @@ } }, { - "id": 365, + "id": 367, "name": "format", "kind": 1024, "kindString": "Property", @@ -3164,7 +3156,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -3183,7 +3175,7 @@ } }, { - "id": 362, + "id": 364, "name": "settings", "kind": 1024, "kindString": "Property", @@ -3193,29 +3185,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 361, - "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", @@ -3229,7 +3198,30 @@ } }, { - "id": 364, + "id": 363, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 366, "name": "wal", "kind": 1024, "kindString": "Property", @@ -3242,7 +3234,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -3256,7 +3248,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 363, 365, 362, 361, 364] + "children": [362, 365, 367, 364, 363, 366] } ] } @@ -3269,66 +3261,53 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 454, + "id": 458, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 453, + "id": 457, "name": "default.explain" } }, @@ -3610,7 +3589,7 @@ ] }, { - "id": 354, + "id": 356, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -3618,13 +3597,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 357, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -3634,45 +3613,37 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 452, + "id": 456, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 451, + "id": 455, "name": "default.geojson" } }, @@ -4720,7 +4691,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], @@ -4782,7 +4753,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -4828,14 +4799,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 430, + "id": 432, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 429, + "id": 431, "name": "default.limit" } }, @@ -5325,7 +5296,7 @@ ] }, { - "id": 350, + "id": 351, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -5333,13 +5304,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 351, + "id": 352, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -5348,36 +5319,69 @@ "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": 353, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 117, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 448, + "id": 451, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 447, + "id": 450, "name": "default.maybeSingle" } }, @@ -5862,7 +5866,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], @@ -5940,7 +5944,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -5963,7 +5967,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -5986,7 +5990,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -6031,7 +6035,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 414, + "id": 416, "name": "default.order" } }, @@ -6094,7 +6098,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -6115,7 +6119,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -6138,7 +6142,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -6183,14 +6187,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 422, + "id": 424, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 413, + "id": 415, "name": "default.order" } }, @@ -6390,7 +6394,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], @@ -6466,7 +6470,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -6512,14 +6516,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 436, + "id": 438, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 435, + "id": 437, "name": "default.range" } }, @@ -7294,7 +7298,7 @@ ] }, { - "id": 368, + "id": 370, "name": "returns", "kind": 2048, "kindString": "Method", @@ -7302,13 +7306,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 369, + "id": 371, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -7318,7 +7322,7 @@ }, "typeParameter": [ { - "id": 370, + "id": 372, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -7330,7 +7334,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -7344,7 +7348,7 @@ }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -7352,19 +7356,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 466, + "id": 470, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 465, + "id": 469, "name": "default.returns" } }, { - "id": 366, + "id": 368, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -7372,13 +7376,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 369, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -7411,14 +7415,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 464, + "id": 468, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 463, + "id": 467, "name": "default.rollback" } }, @@ -7431,7 +7435,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], @@ -7464,7 +7468,7 @@ }, { "id": 314, - "name": "NewResult", + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -7512,7 +7516,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -7525,23 +7529,26 @@ "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 411, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 408, + "id": 410, "name": "default.select" } }, @@ -7554,7 +7561,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], @@ -7569,36 +7576,60 @@ "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": 350, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 446, + "id": 448, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 445, + "id": 447, "name": "default.single" } }, @@ -7937,7 +7968,7 @@ ] }, { - "id": 386, + "id": 388, "name": "then", "kind": 2048, "kindString": "Method", @@ -7951,21 +7982,21 @@ ], "signatures": [ { - "id": 387, + "id": 389, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 388, + "id": 390, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -7973,11 +8004,11 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 389, + "id": 391, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -7990,7 +8021,7 @@ ], "parameters": [ { - "id": 390, + "id": 392, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -8007,28 +8038,28 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 392, + "id": 394, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 395, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -8036,7 +8067,7 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } } ], @@ -8045,7 +8076,7 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { @@ -8053,7 +8084,7 @@ "typeArguments": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" } ], @@ -8071,7 +8102,7 @@ } }, { - "id": 394, + "id": 396, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -8088,21 +8119,21 @@ { "type": "reflection", "declaration": { - "id": 395, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 396, + "id": 398, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 399, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -8118,7 +8149,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -8126,7 +8157,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -8152,12 +8183,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -8169,19 +8200,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 484, + "id": 488, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 483, + "id": 487, "name": "default.then" } }, { - "id": 384, + "id": 386, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -8195,7 +8226,7 @@ ], "signatures": [ { - "id": 385, + "id": 387, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -8228,14 +8259,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 482, + "id": 486, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 481, + "id": 485, "name": "default.throwOnError" } } @@ -8249,15 +8280,15 @@ { "title": "Properties", "kind": 1024, - "children": [383, 375, 378, 373, 371, 374, 376, 377, 372] + "children": [385, 377, 380, 375, 373, 376, 378, 379, 374] }, { "title": "Methods", "kind": 2048, "children": [ - 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159, - 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348, - 263, 386, 384 + 345, 207, 199, 354, 119, 358, 301, 356, 135, 143, 175, 191, 183, 167, 332, 151, 159, + 279, 351, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 370, 368, 311, 348, + 263, 388, 386 ] } ], @@ -8270,7 +8301,7 @@ ], "typeParameter": [ { - "id": 398, + "id": 400, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -8281,7 +8312,7 @@ } }, { - "id": 399, + "id": 401, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -8304,7 +8335,7 @@ } }, { - "id": 400, + "id": 402, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -8314,7 +8345,7 @@ "extendedTypes": [ { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -8896,8 +8927,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9073,8 +9104,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9123,7 +9154,7 @@ }, { "id": 76, - "name": "Result", + "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -9167,7 +9198,7 @@ "isOptional": true }, "comment": { - "shortText": "The columns to retrieve, separated by commas\n" + "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n" }, "type": { "type": "reference", @@ -9288,9 +9319,12 @@ } }, { - "type": "reference", - "id": 76, - "name": "Result" + "type": "array", + "elementType": { + "type": "reference", + "id": 76, + "name": "ResultOne" + } } ], "name": "default" @@ -9453,8 +9487,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9676,8 +9710,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9745,28 +9779,28 @@ ] }, { - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 402, + "id": 404, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 403, + "id": 405, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 404, + "id": 406, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -9777,7 +9811,7 @@ } }, { - "id": 405, + "id": 407, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -9800,7 +9834,7 @@ } }, { - "id": 406, + "id": 408, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -9809,18 +9843,18 @@ ], "parameters": [ { - "id": 407, + "id": 409, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -9830,21 +9864,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -9852,19 +9886,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 500, + "id": 504, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 499, + "id": 503, "name": "default.constructor" } }, { - "id": 480, + "id": 484, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -9884,12 +9918,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 515, + "id": 519, "name": "default.allowEmpty" } }, { - "id": 472, + "id": 476, "name": "body", "kind": 1024, "kindString": "Property", @@ -9910,12 +9944,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 507, + "id": 511, "name": "default.body" } }, { - "id": 475, + "id": 479, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -9932,21 +9966,21 @@ "type": { "type": "reflection", "declaration": { - "id": 476, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 477, + "id": 481, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 478, + "id": 482, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -9970,7 +10004,7 @@ } }, { - "id": 479, + "id": 483, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -10005,12 +10039,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 510, + "id": 514, "name": "default.fetch" } }, { - "id": 470, + "id": 474, "name": "headers", "kind": 1024, "kindString": "Property", @@ -10042,12 +10076,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 505, + "id": 509, "name": "default.headers" } }, { - "id": 468, + "id": 472, "name": "method", "kind": 1024, "kindString": "Property", @@ -10088,12 +10122,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 507, "name": "default.method" } }, { - "id": 471, + "id": 475, "name": "schema", "kind": 1024, "kindString": "Property", @@ -10114,12 +10148,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 510, "name": "default.schema" } }, { - "id": 473, + "id": 477, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -10140,12 +10174,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 508, + "id": 512, "name": "default.shouldThrowOnError" } }, { - "id": 474, + "id": 478, "name": "signal", "kind": 1024, "kindString": "Property", @@ -10168,12 +10202,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 513, "name": "default.signal" } }, { - "id": 469, + "id": 473, "name": "url", "kind": 1024, "kindString": "Property", @@ -10195,12 +10229,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 504, + "id": 508, "name": "default.url" } }, { - "id": 442, + "id": 444, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -10208,13 +10242,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], "signatures": [ { - "id": 443, + "id": 445, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -10224,7 +10258,7 @@ }, "parameters": [ { - "id": 444, + "id": 446, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -10242,21 +10276,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -10266,7 +10300,7 @@ ] }, { - "id": 449, + "id": 453, "name": "csv", "kind": 2048, "kindString": "Method", @@ -10274,13 +10308,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 450, + "id": 454, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -10290,28 +10324,20 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 453, + "id": 457, "name": "explain", "kind": 2048, "kindString": "Method", @@ -10319,13 +10345,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 454, + "id": 458, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -10335,7 +10361,7 @@ }, "parameters": [ { - "id": 455, + "id": 459, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10347,14 +10373,14 @@ "type": { "type": "reflection", "declaration": { - "id": 456, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 461, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -10367,7 +10393,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -10377,7 +10403,7 @@ } }, { - "id": 460, + "id": 464, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -10390,7 +10416,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -10400,7 +10426,7 @@ } }, { - "id": 462, + "id": 466, "name": "format", "kind": 1024, "kindString": "Property", @@ -10413,7 +10439,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -10432,7 +10458,7 @@ } }, { - "id": 459, + "id": 463, "name": "settings", "kind": 1024, "kindString": "Property", @@ -10442,29 +10468,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 458, - "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", @@ -10478,7 +10481,30 @@ } }, { - "id": 461, + "id": 462, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 465, "name": "wal", "kind": 1024, "kindString": "Property", @@ -10491,7 +10517,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -10505,7 +10531,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 460, 462, 459, 458, 461] + "children": [461, 464, 466, 463, 462, 465] } ] } @@ -10518,53 +10544,40 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] } @@ -10572,7 +10585,7 @@ ] }, { - "id": 451, + "id": 455, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -10580,13 +10593,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 452, + "id": 456, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -10596,40 +10609,32 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 429, + "id": 431, "name": "limit", "kind": 2048, "kindString": "Method", @@ -10637,13 +10642,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], "signatures": [ { - "id": 430, + "id": 432, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -10653,7 +10658,7 @@ }, "parameters": [ { - "id": 431, + "id": 433, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -10667,7 +10672,7 @@ } }, { - "id": 432, + "id": 434, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10679,14 +10684,14 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 435, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -10699,7 +10704,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -10713,7 +10718,7 @@ { "title": "Properties", "kind": 1024, - "children": [434] + "children": [436] } ] } @@ -10723,21 +10728,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -10747,7 +10752,7 @@ ] }, { - "id": 447, + "id": 450, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -10755,13 +10760,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 448, + "id": 451, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -10770,31 +10775,64 @@ "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": 452, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 406, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 413, + "id": 415, "name": "order", "kind": 2048, "kindString": "Method", @@ -10802,13 +10840,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], "signatures": [ { - "id": 414, + "id": 416, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -10819,7 +10857,7 @@ }, "typeParameter": [ { - "id": 415, + "id": 417, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -10832,7 +10870,7 @@ ], "parameters": [ { - "id": 416, + "id": 418, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10847,7 +10885,7 @@ } }, { - "id": 417, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10860,14 +10898,14 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 419, + "id": 421, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -10880,7 +10918,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -10890,7 +10928,7 @@ } }, { - "id": 421, + "id": 423, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -10903,7 +10941,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -10913,7 +10951,7 @@ } }, { - "id": 420, + "id": 422, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -10926,7 +10964,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -10940,7 +10978,7 @@ { "title": "Properties", "kind": 1024, - "children": [419, 421, 420] + "children": [421, 423, 422] } ] } @@ -10949,21 +10987,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -10971,7 +11009,7 @@ } }, { - "id": 422, + "id": 424, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -10982,7 +11020,7 @@ }, "parameters": [ { - "id": 423, + "id": 425, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10996,7 +11034,7 @@ } }, { - "id": 424, + "id": 426, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11009,14 +11047,14 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 428, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -11029,7 +11067,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -11039,7 +11077,7 @@ } }, { - "id": 428, + "id": 430, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -11050,7 +11088,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -11060,7 +11098,7 @@ } }, { - "id": 427, + "id": 429, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -11073,7 +11111,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -11087,7 +11125,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 428, 427] + "children": [428, 430, 429] } ] } @@ -11096,21 +11134,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11120,7 +11158,7 @@ ] }, { - "id": 435, + "id": 437, "name": "range", "kind": 2048, "kindString": "Method", @@ -11128,13 +11166,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 438, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -11144,7 +11182,7 @@ }, "parameters": [ { - "id": 437, + "id": 439, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -11158,7 +11196,7 @@ } }, { - "id": 438, + "id": 440, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -11172,7 +11210,7 @@ } }, { - "id": 439, + "id": 441, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11184,14 +11222,14 @@ "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 442, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 443, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -11204,7 +11242,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -11218,7 +11256,7 @@ { "title": "Properties", "kind": 1024, - "children": [441] + "children": [443] } ] } @@ -11228,21 +11266,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11252,7 +11290,7 @@ ] }, { - "id": 465, + "id": 469, "name": "returns", "kind": 2048, "kindString": "Method", @@ -11260,13 +11298,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 466, + "id": 470, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -11276,7 +11314,7 @@ }, "typeParameter": [ { - "id": 467, + "id": 471, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -11288,21 +11326,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -11312,7 +11350,7 @@ ] }, { - "id": 463, + "id": 467, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -11320,13 +11358,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 464, + "id": 468, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -11337,21 +11375,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11361,7 +11399,7 @@ ] }, { - "id": 408, + "id": 410, "name": "select", "kind": 2048, "kindString": "Method", @@ -11369,13 +11407,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], "signatures": [ { - "id": 409, + "id": 411, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -11386,7 +11424,7 @@ }, "typeParameter": [ { - "id": 410, + "id": 412, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -11401,8 +11439,8 @@ } }, { - "id": 411, - "name": "NewResult", + "id": 413, + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -11411,12 +11449,12 @@ "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { @@ -11431,7 +11469,7 @@ ], "parameters": [ { - "id": 412, + "id": 414, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -11450,22 +11488,25 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" @@ -11474,7 +11515,7 @@ ] }, { - "id": 445, + "id": 447, "name": "single", "kind": 2048, "kindString": "Method", @@ -11482,13 +11523,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], "signatures": [ { - "id": 446, + "id": 448, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -11497,31 +11538,55 @@ "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": 449, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 483, + "id": 487, "name": "then", "kind": 2048, "kindString": "Method", @@ -11535,33 +11600,33 @@ ], "signatures": [ { - "id": 484, + "id": 488, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 485, + "id": 489, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 486, + "id": 490, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -11573,90 +11638,9 @@ } ], "parameters": [ - { - "id": 487, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 488, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 489, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 490, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 491, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -11687,6 +11671,87 @@ "parameters": [ { "id": 494, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 408, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 495, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 497, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 498, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -11702,7 +11767,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -11710,7 +11775,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -11736,12 +11801,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -11753,19 +11818,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 519, + "id": 523, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 518, + "id": 522, "name": "default.then" } }, { - "id": 481, + "id": 485, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -11779,7 +11844,7 @@ ], "signatures": [ { - "id": 482, + "id": 486, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -11790,21 +11855,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11812,14 +11877,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 517, + "id": 521, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 516, + "id": 520, "name": "default.throwOnError" } } @@ -11828,29 +11893,29 @@ { "title": "Constructors", "kind": 512, - "children": [402] + "children": [404] }, { "title": "Properties", "kind": 1024, - "children": [480, 472, 475, 470, 468, 471, 473, 474, 469] + "children": [484, 476, 479, 474, 472, 475, 477, 478, 473] }, { "title": "Methods", "kind": 2048, - "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481] + "children": [444, 453, 457, 455, 431, 450, 415, 437, 469, 467, 410, 447, 487, 485] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 10, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 495, + "id": 499, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -11861,7 +11926,7 @@ } }, { - "id": 496, + "id": 500, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -11884,7 +11949,7 @@ } }, { - "id": 497, + "id": 501, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -11894,11 +11959,11 @@ "extendedTypes": [ { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11915,6 +11980,280 @@ }, { "id": 537, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 540, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 554, + "name": "PostgrestError" + } + }, + { + "id": 541, + "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": 542, + "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": [540, 539, 538, 541, 542] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 543, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 546, + "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": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 549, + "name": "T" + } + }, + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "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": 548, + "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": [546, 545, 544, 547, 548] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 549, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 554, "name": "PostgrestError", "kind": 4194304, "kindString": "Type alias", @@ -11933,14 +12272,14 @@ "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 555, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 542, + "id": 559, "name": "code", "kind": 1024, "kindString": "Property", @@ -11958,7 +12297,7 @@ } }, { - "id": 540, + "id": 557, "name": "details", "kind": 1024, "kindString": "Property", @@ -11976,7 +12315,7 @@ } }, { - "id": 541, + "id": 558, "name": "hint", "kind": 1024, "kindString": "Property", @@ -11994,7 +12333,7 @@ } }, { - "id": 539, + "id": 556, "name": "message", "kind": 1024, "kindString": "Property", @@ -12016,7 +12355,7 @@ { "title": "Properties", "kind": 1024, - "children": [542, 540, 541, 539] + "children": [559, 557, 558, 556] } ], "sources": [ @@ -12030,7 +12369,7 @@ } }, { - "id": 535, + "id": 552, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -12038,7 +12377,51 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 41, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 553, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 553, + "name": "T" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 535, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, "character": 12 } ], @@ -12053,71 +12436,22 @@ ], "type": { "type": "reference", - "id": 533, + "id": 550, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reference", - "id": 536, - "name": "T" - }, - { - "type": "literal", - "value": null - } - ] + "type": "array", + "elementType": { + "type": "reference", + "id": 536, + "name": "T" + } } ], "name": "PostgrestSingleResponse" } }, { - "id": 531, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 35, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 532, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 532, - "name": "T" - } - ], - "name": "PostgrestResponseSuccess" - }, - { - "type": "reference", - "name": "PostgrestResponseFailure" - } - ] - } - }, - { - "id": 533, + "id": 550, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -12125,13 +12459,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 42, + "line": 38, "character": 12 } ], "typeParameter": [ { - "id": 534, + "id": 551, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -12143,17 +12477,19 @@ "types": [ { "type": "reference", + "id": 543, "typeArguments": [ { "type": "reference", - "id": 534, + "id": 551, "name": "T" } ], - "name": "PostgrestSingleResponseSuccess" + "name": "PostgrestResponseSuccess" }, { "type": "reference", + "id": 537, "name": "PostgrestResponseFailure" } ] @@ -12164,12 +12500,17 @@ { "title": "Classes", "kind": 128, - "children": [498, 1, 112, 49, 401] + "children": [502, 1, 112, 49, 403] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [537, 543] }, { "title": "Type Aliases", "kind": 4194304, - "children": [537, 535, 531, 533] + "children": [554, 552, 535, 550] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json index e4369b656c9..41b0351d096 100644 --- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -30,14 +30,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -46,24 +46,24 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -75,17 +75,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -97,7 +97,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -107,7 +107,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -117,15 +117,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -139,11 +139,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -153,7 +153,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -173,7 +173,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -194,7 +194,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -211,21 +211,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -249,7 +249,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -284,7 +284,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -316,7 +316,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -357,7 +357,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -378,7 +378,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -399,7 +399,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -422,7 +422,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -444,7 +444,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -458,33 +458,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -496,90 +496,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -610,6 +529,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -625,7 +625,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -633,7 +633,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -659,12 +659,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -686,7 +686,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -700,7 +700,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -711,11 +711,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -729,17 +729,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -751,7 +751,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -761,7 +761,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -771,15 +771,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -2021,7 +2021,7 @@ "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", @@ -2031,7 +2031,7 @@ ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -2040,7 +2040,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2054,14 +2054,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -2070,18 +2070,18 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -2092,11 +2092,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -2106,7 +2106,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -2126,7 +2126,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -2147,7 +2147,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -2164,21 +2164,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -2202,7 +2202,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -2237,7 +2237,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2269,7 +2269,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -2310,7 +2310,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -2331,7 +2331,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -2352,7 +2352,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2375,7 +2375,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -2397,7 +2397,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -2411,33 +2411,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -2449,90 +2449,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -2563,6 +2482,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -2578,7 +2578,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -2586,7 +2586,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -2612,12 +2612,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -2639,7 +2639,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -2653,7 +2653,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -2664,11 +2664,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -2682,17 +2682,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -2704,7 +2704,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -2714,7 +2714,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -2724,15 +2724,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -2768,19 +2768,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 403, + "id": 405, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 402, + "id": 404, "name": "default.constructor" } }, { - "id": 383, + "id": 385, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -2800,12 +2800,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 480, + "id": 484, "name": "default.allowEmpty" } }, { - "id": 375, + "id": 377, "name": "body", "kind": 1024, "kindString": "Property", @@ -2826,12 +2826,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 472, + "id": 476, "name": "default.body" } }, { - "id": 378, + "id": 380, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -2848,21 +2848,21 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 381, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 380, + "id": 382, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 381, + "id": 383, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -2886,7 +2886,7 @@ } }, { - "id": 382, + "id": 384, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -2921,12 +2921,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 475, + "id": 479, "name": "default.fetch" } }, { - "id": 373, + "id": 375, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2958,12 +2958,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 470, + "id": 474, "name": "default.headers" } }, { - "id": 371, + "id": 373, "name": "method", "kind": 1024, "kindString": "Property", @@ -3004,12 +3004,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 468, + "id": 472, "name": "default.method" } }, { - "id": 374, + "id": 376, "name": "schema", "kind": 1024, "kindString": "Property", @@ -3030,12 +3030,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 471, + "id": 475, "name": "default.schema" } }, { - "id": 376, + "id": 378, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -3056,12 +3056,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 473, + "id": 477, "name": "default.shouldThrowOnError" } }, { - "id": 377, + "id": 379, "name": "signal", "kind": 1024, "kindString": "Property", @@ -3084,12 +3084,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 474, + "id": 478, "name": "default.signal" } }, { - "id": 372, + "id": 374, "name": "url", "kind": 1024, "kindString": "Property", @@ -3111,7 +3111,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 469, + "id": 473, "name": "default.url" } }, @@ -3124,7 +3124,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], @@ -3180,14 +3180,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 443, + "id": 445, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 442, + "id": 444, "name": "default.abortSignal" } }, @@ -3632,7 +3632,7 @@ ] }, { - "id": 352, + "id": 354, "name": "csv", "kind": 2048, "kindString": "Method", @@ -3640,13 +3640,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 355, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -3656,33 +3656,25 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 450, + "id": 454, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 449, + "id": 453, "name": "default.csv" } }, @@ -3853,7 +3845,7 @@ ] }, { - "id": 356, + "id": 358, "name": "explain", "kind": 2048, "kindString": "Method", @@ -3861,13 +3853,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 357, + "id": 359, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -3877,7 +3869,7 @@ }, "parameters": [ { - "id": 358, + "id": 360, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3889,14 +3881,14 @@ "type": { "type": "reflection", "declaration": { - "id": 359, + "id": 361, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 360, + "id": 362, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -3909,7 +3901,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -3919,7 +3911,7 @@ } }, { - "id": 363, + "id": 365, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -3932,7 +3924,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -3942,7 +3934,7 @@ } }, { - "id": 365, + "id": 367, "name": "format", "kind": 1024, "kindString": "Property", @@ -3955,7 +3947,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -3974,7 +3966,7 @@ } }, { - "id": 362, + "id": 364, "name": "settings", "kind": 1024, "kindString": "Property", @@ -3984,29 +3976,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 361, - "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", @@ -4020,7 +3989,30 @@ } }, { - "id": 364, + "id": 363, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 366, "name": "wal", "kind": 1024, "kindString": "Property", @@ -4033,7 +4025,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -4047,7 +4039,7 @@ { "title": "Properties", "kind": 1024, - "children": [360, 363, 365, 362, 361, 364] + "children": [362, 365, 367, 364, 363, 366] } ] } @@ -4060,66 +4052,53 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] }, "inheritedFrom": { "type": "reference", - "id": 454, + "id": 458, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 453, + "id": 457, "name": "default.explain" } }, @@ -4402,7 +4381,7 @@ ] }, { - "id": 354, + "id": 356, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -4410,13 +4389,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 357, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -4426,45 +4405,37 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 452, + "id": 456, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 451, + "id": 455, "name": "default.geojson" } }, @@ -5518,7 +5489,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], @@ -5580,7 +5551,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -5626,14 +5597,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 430, + "id": 432, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 429, + "id": 431, "name": "default.limit" } }, @@ -6125,7 +6096,7 @@ ] }, { - "id": 350, + "id": 351, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -6133,13 +6104,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 351, + "id": 352, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -6148,36 +6119,69 @@ "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": 353, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 117, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 448, + "id": 451, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 447, + "id": 450, "name": "default.maybeSingle" } }, @@ -6664,7 +6668,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], @@ -6743,7 +6747,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -6766,7 +6770,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -6789,7 +6793,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -6834,7 +6838,7 @@ }, "inheritedFrom": { "type": "reference", - "id": 414, + "id": 416, "name": "default.order" } }, @@ -6897,7 +6901,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -6918,7 +6922,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -6941,7 +6945,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -6986,14 +6990,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 422, + "id": 424, "name": "default.order" } } ], "inheritedFrom": { "type": "reference", - "id": 413, + "id": 415, "name": "default.order" } }, @@ -7194,7 +7198,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], @@ -7270,7 +7274,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -7316,14 +7320,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 436, + "id": 438, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 435, + "id": 437, "name": "default.range" } }, @@ -8103,7 +8107,7 @@ ] }, { - "id": 368, + "id": 370, "name": "returns", "kind": 2048, "kindString": "Method", @@ -8111,13 +8115,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 369, + "id": 371, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -8127,7 +8131,7 @@ }, "typeParameter": [ { - "id": 370, + "id": 372, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -8139,7 +8143,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -8153,7 +8157,7 @@ }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -8161,19 +8165,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 466, + "id": 470, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 465, + "id": 469, "name": "default.returns" } }, { - "id": 366, + "id": 368, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -8181,13 +8185,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 369, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -8220,14 +8224,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 464, + "id": 468, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 463, + "id": 467, "name": "default.rollback" } }, @@ -8240,7 +8244,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], @@ -8273,7 +8277,7 @@ }, { "id": 314, - "name": "NewResult", + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -8322,7 +8326,7 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -8335,23 +8339,26 @@ "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 409, + "id": 411, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 408, + "id": 410, "name": "default.select" } }, @@ -8364,7 +8371,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], @@ -8379,36 +8386,60 @@ "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": 350, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 117, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 117, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 446, + "id": 448, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 445, + "id": 447, "name": "default.single" } }, @@ -8748,7 +8779,7 @@ ] }, { - "id": 386, + "id": 388, "name": "then", "kind": 2048, "kindString": "Method", @@ -8762,21 +8793,21 @@ ], "signatures": [ { - "id": 387, + "id": 389, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 388, + "id": 390, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -8784,11 +8815,11 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 389, + "id": 391, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -8801,7 +8832,7 @@ ], "parameters": [ { - "id": 390, + "id": 392, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -8818,28 +8849,28 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 393, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 392, + "id": 394, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 393, + "id": 395, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", @@ -8847,7 +8878,7 @@ "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } } ], @@ -8856,7 +8887,7 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { @@ -8864,7 +8895,7 @@ "typeArguments": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" } ], @@ -8882,7 +8913,7 @@ } }, { - "id": 394, + "id": 396, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -8899,21 +8930,21 @@ { "type": "reflection", "declaration": { - "id": 395, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 396, + "id": 398, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 399, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -8929,7 +8960,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -8937,7 +8968,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -8963,12 +8994,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -8980,19 +9011,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 484, + "id": 488, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 483, + "id": 487, "name": "default.then" } }, { - "id": 384, + "id": 386, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -9006,7 +9037,7 @@ ], "signatures": [ { - "id": 385, + "id": 387, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -9039,14 +9070,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 482, + "id": 486, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 481, + "id": 485, "name": "default.throwOnError" } } @@ -9060,15 +9091,15 @@ { "title": "Properties", "kind": 1024, - "children": [383, 375, 378, 373, 371, 374, 376, 377, 372] + "children": [385, 377, 380, 375, 373, 376, 378, 379, 374] }, { "title": "Methods", "kind": 2048, "children": [ - 345, 207, 199, 352, 119, 356, 301, 354, 135, 143, 175, 191, 183, 167, 332, 151, 159, - 279, 350, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 368, 366, 311, 348, - 263, 386, 384 + 345, 207, 199, 354, 119, 358, 301, 356, 135, 143, 175, 191, 183, 167, 332, 151, 159, + 279, 351, 127, 285, 295, 316, 255, 338, 247, 215, 223, 231, 239, 370, 368, 311, 348, + 263, 388, 386 ] } ], @@ -9081,7 +9112,7 @@ ], "typeParameter": [ { - "id": 398, + "id": 400, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -9092,7 +9123,7 @@ } }, { - "id": 399, + "id": 401, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -9115,7 +9146,7 @@ } }, { - "id": 400, + "id": 402, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -9125,7 +9156,7 @@ "extendedTypes": [ { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", @@ -9707,8 +9738,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9884,8 +9915,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -9934,7 +9965,7 @@ }, { "id": 76, - "name": "Result", + "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -9978,7 +10009,7 @@ "isOptional": true }, "comment": { - "shortText": "The columns to retrieve, separated by commas\n" + "shortText": "The columns to retrieve, separated by commas. Columns can be renamed when returned with `customName:columnName`\n" }, "type": { "type": "reference", @@ -10100,9 +10131,12 @@ } }, { - "type": "reference", - "id": 76, - "name": "Result" + "type": "array", + "elementType": { + "type": "reference", + "id": 76, + "name": "ResultOne" + } } ], "name": "default" @@ -10266,8 +10300,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -10489,8 +10523,8 @@ } }, { - "type": "intrinsic", - "name": "undefined" + "type": "literal", + "value": null } ], "name": "default" @@ -10558,28 +10592,28 @@ ] }, { - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 402, + "id": 404, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 403, + "id": 405, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 404, + "id": 406, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -10590,7 +10624,7 @@ } }, { - "id": 405, + "id": 407, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -10613,7 +10647,7 @@ } }, { - "id": 406, + "id": 408, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -10622,24 +10656,24 @@ ], "parameters": [ { - "id": 407, + "id": 409, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], "name": "default", "dereferenced": { - "id": 498, + "id": 502, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -10648,7 +10682,7 @@ }, "children": [ { - "id": 499, + "id": 503, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10662,14 +10696,14 @@ ], "signatures": [ { - "id": 500, + "id": 504, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 501, + "id": 505, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -10678,18 +10712,18 @@ ], "parameters": [ { - "id": 502, + "id": 506, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -10700,11 +10734,11 @@ ], "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -10714,7 +10748,7 @@ ] }, { - "id": 515, + "id": 519, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -10734,7 +10768,7 @@ } }, { - "id": 507, + "id": 511, "name": "body", "kind": 1024, "kindString": "Property", @@ -10755,7 +10789,7 @@ } }, { - "id": 510, + "id": 514, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -10772,21 +10806,21 @@ "type": { "type": "reflection", "declaration": { - "id": 511, + "id": 515, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 512, + "id": 516, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 513, + "id": 517, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -10810,7 +10844,7 @@ } }, { - "id": 514, + "id": 518, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -10845,7 +10879,7 @@ } }, { - "id": 505, + "id": 509, "name": "headers", "kind": 1024, "kindString": "Property", @@ -10877,7 +10911,7 @@ } }, { - "id": 503, + "id": 507, "name": "method", "kind": 1024, "kindString": "Property", @@ -10918,7 +10952,7 @@ } }, { - "id": 506, + "id": 510, "name": "schema", "kind": 1024, "kindString": "Property", @@ -10939,7 +10973,7 @@ } }, { - "id": 508, + "id": 512, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -10960,7 +10994,7 @@ "defaultValue": "false" }, { - "id": 509, + "id": 513, "name": "signal", "kind": 1024, "kindString": "Property", @@ -10983,7 +11017,7 @@ } }, { - "id": 504, + "id": 508, "name": "url", "kind": 1024, "kindString": "Property", @@ -11005,7 +11039,7 @@ } }, { - "id": 518, + "id": 522, "name": "then", "kind": 2048, "kindString": "Method", @@ -11019,33 +11053,33 @@ ], "signatures": [ { - "id": 519, + "id": 523, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 520, + "id": 524, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 521, + "id": 525, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -11057,90 +11091,9 @@ } ], "parameters": [ - { - "id": 522, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 523, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 524, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 525, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 501, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 526, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -11171,6 +11124,87 @@ "parameters": [ { "id": 529, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 505, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 530, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 532, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 533, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -11186,7 +11220,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -11194,7 +11228,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -11220,12 +11254,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -11247,7 +11281,7 @@ } }, { - "id": 516, + "id": 520, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -11261,7 +11295,7 @@ ], "signatures": [ { - "id": 517, + "id": 521, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -11272,11 +11306,11 @@ }, "type": { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], @@ -11290,17 +11324,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [503] }, { "title": "Properties", "kind": 1024, - "children": [515, 507, 510, 505, 503, 506, 508, 509, 504] + "children": [519, 511, 514, 509, 507, 510, 512, 513, 508] }, { "title": "Methods", "kind": 2048, - "children": [518, 516] + "children": [522, 520] } ], "sources": [ @@ -11312,7 +11346,7 @@ ], "typeParameter": [ { - "id": 530, + "id": 534, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -11322,7 +11356,7 @@ "extendedBy": [ { "type": "reference", - "id": 401, + "id": 403, "name": "PostgrestTransformBuilder" } ], @@ -11332,15 +11366,15 @@ "typeArguments": [ { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 501, + "id": 505, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } ], "qualifiedName": "PromiseLike", @@ -11354,21 +11388,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11376,19 +11410,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 500, + "id": 504, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 499, + "id": 503, "name": "default.constructor" } }, { - "id": 480, + "id": 484, "name": "allowEmpty", "kind": 1024, "kindString": "Property", @@ -11408,12 +11442,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 515, + "id": 519, "name": "default.allowEmpty" } }, { - "id": 472, + "id": 476, "name": "body", "kind": 1024, "kindString": "Property", @@ -11434,12 +11468,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 507, + "id": 511, "name": "default.body" } }, { - "id": 475, + "id": 479, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -11456,21 +11490,21 @@ "type": { "type": "reflection", "declaration": { - "id": 476, + "id": 480, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 477, + "id": 481, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 478, + "id": 482, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -11494,7 +11528,7 @@ } }, { - "id": 479, + "id": 483, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -11529,12 +11563,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 510, + "id": 514, "name": "default.fetch" } }, { - "id": 470, + "id": 474, "name": "headers", "kind": 1024, "kindString": "Property", @@ -11566,12 +11600,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 505, + "id": 509, "name": "default.headers" } }, { - "id": 468, + "id": 472, "name": "method", "kind": 1024, "kindString": "Property", @@ -11612,12 +11646,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 503, + "id": 507, "name": "default.method" } }, { - "id": 471, + "id": 475, "name": "schema", "kind": 1024, "kindString": "Property", @@ -11638,12 +11672,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 506, + "id": 510, "name": "default.schema" } }, { - "id": 473, + "id": 477, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", @@ -11664,12 +11698,12 @@ "defaultValue": "false", "inheritedFrom": { "type": "reference", - "id": 508, + "id": 512, "name": "default.shouldThrowOnError" } }, { - "id": 474, + "id": 478, "name": "signal", "kind": 1024, "kindString": "Property", @@ -11692,12 +11726,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 513, "name": "default.signal" } }, { - "id": 469, + "id": 473, "name": "url", "kind": 1024, "kindString": "Property", @@ -11719,12 +11753,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 504, + "id": 508, "name": "default.url" } }, { - "id": 442, + "id": 444, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -11732,13 +11766,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 130, + "line": 125, "character": 2 } ], "signatures": [ { - "id": 443, + "id": 445, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -11748,7 +11782,7 @@ }, "parameters": [ { - "id": 444, + "id": 446, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -11766,21 +11800,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -11790,7 +11824,7 @@ ] }, { - "id": 449, + "id": 453, "name": "csv", "kind": 2048, "kindString": "Method", @@ -11798,13 +11832,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 161, + "line": 160, "character": 2 } ], "signatures": [ { - "id": 450, + "id": 454, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -11814,28 +11848,20 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 453, + "id": 457, "name": "explain", "kind": 2048, "kindString": "Method", @@ -11843,13 +11869,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 195, + "line": 194, "character": 2 } ], "signatures": [ { - "id": 454, + "id": 458, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -11859,7 +11885,7 @@ }, "parameters": [ { - "id": 455, + "id": 459, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -11871,14 +11897,14 @@ "type": { "type": "reflection", "declaration": { - "id": 456, + "id": 460, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 457, + "id": 461, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -11891,7 +11917,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 203, + "line": 202, "character": 4 } ], @@ -11901,7 +11927,7 @@ } }, { - "id": 460, + "id": 464, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -11914,7 +11940,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 206, + "line": 205, "character": 4 } ], @@ -11924,7 +11950,7 @@ } }, { - "id": 462, + "id": 466, "name": "format", "kind": 1024, "kindString": "Property", @@ -11937,7 +11963,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 208, + "line": 207, "character": 4 } ], @@ -11956,7 +11982,7 @@ } }, { - "id": 459, + "id": 463, "name": "settings", "kind": 1024, "kindString": "Property", @@ -11966,29 +11992,6 @@ "comment": { "shortText": "If `true`, include information on configuration\nparameters that affect query planning\n" }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 205, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 458, - "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", @@ -12002,7 +12005,30 @@ } }, { - "id": 461, + "id": 462, + "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": 203, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 465, "name": "wal", "kind": 1024, "kindString": "Property", @@ -12015,7 +12041,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 207, + "line": 206, "character": 4 } ], @@ -12029,7 +12055,7 @@ { "title": "Properties", "kind": 1024, - "children": [457, 460, 462, 459, 458, 461] + "children": [461, 464, 466, 463, 462, 465] } ] } @@ -12042,53 +12068,40 @@ "types": [ { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "PostgrestSingleResponse" + "type": "intrinsic", + "name": "string" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" }, { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - ], - "name": "PostgrestResponse" + "type": "array", + "elementType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } ] } @@ -12096,7 +12109,7 @@ ] }, { - "id": 451, + "id": 455, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -12104,13 +12117,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 169, + "line": 168, "character": 2 } ], "signatures": [ { - "id": 452, + "id": 456, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -12120,40 +12133,32 @@ }, "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, "typeArguments": [ { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" } ], - "name": "PostgrestSingleResponse" + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 429, + "id": 431, "name": "limit", "kind": 2048, "kindString": "Method", @@ -12161,13 +12166,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 2 } ], "signatures": [ { - "id": 430, + "id": 432, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -12177,7 +12182,7 @@ }, "parameters": [ { - "id": 431, + "id": 433, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -12191,7 +12196,7 @@ } }, { - "id": 432, + "id": 434, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12203,14 +12208,14 @@ "type": { "type": "reflection", "declaration": { - "id": 433, + "id": 435, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 434, + "id": 436, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -12223,7 +12228,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 101, + "line": 96, "character": 43 } ], @@ -12237,7 +12242,7 @@ { "title": "Properties", "kind": 1024, - "children": [434] + "children": [436] } ] } @@ -12247,21 +12252,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -12271,7 +12276,7 @@ ] }, { - "id": 447, + "id": 450, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -12279,13 +12284,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 152, + "line": 149, "character": 2 } ], "signatures": [ { - "id": 448, + "id": 451, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -12294,31 +12299,64 @@ "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": 452, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { - "type": "reference", - "id": 535, - "typeArguments": [ + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, { "type": "reference", - "id": 406, - "name": "Result" + "id": 353, + "name": "ResultOne" } - ], - "name": "PostgrestMaybeSingleResponse" + ] } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 413, + "id": 415, "name": "order", "kind": 2048, "kindString": "Method", @@ -12326,13 +12364,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 49, + "line": 44, "character": 2 } ], "signatures": [ { - "id": 414, + "id": 416, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -12343,7 +12381,7 @@ }, "typeParameter": [ { - "id": 415, + "id": 417, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -12356,7 +12394,7 @@ ], "parameters": [ { - "id": 416, + "id": 418, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -12372,7 +12410,7 @@ } }, { - "id": 417, + "id": 419, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12385,14 +12423,14 @@ "type": { "type": "reflection", "declaration": { - "id": 418, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 419, + "id": 421, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -12405,7 +12443,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 16 } ], @@ -12415,7 +12453,7 @@ } }, { - "id": 421, + "id": 423, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -12428,7 +12466,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 59 } ], @@ -12438,7 +12476,7 @@ } }, { - "id": 420, + "id": 422, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -12451,7 +12489,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 51, + "line": 46, "character": 37 } ], @@ -12465,7 +12503,7 @@ { "title": "Properties", "kind": 1024, - "children": [419, 421, 420] + "children": [421, 423, 422] } ] } @@ -12474,21 +12512,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -12496,7 +12534,7 @@ } }, { - "id": 422, + "id": 424, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -12507,7 +12545,7 @@ }, "parameters": [ { - "id": 423, + "id": 425, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -12521,7 +12559,7 @@ } }, { - "id": 424, + "id": 426, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12534,14 +12572,14 @@ "type": { "type": "reflection", "declaration": { - "id": 425, + "id": 427, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 428, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -12554,7 +12592,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 16 } ], @@ -12564,7 +12602,7 @@ } }, { - "id": 428, + "id": 430, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -12575,7 +12613,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 59 } ], @@ -12585,7 +12623,7 @@ } }, { - "id": 427, + "id": 429, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -12598,7 +12636,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 50, "character": 37 } ], @@ -12612,7 +12650,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 428, 427] + "children": [428, 430, 429] } ] } @@ -12621,21 +12659,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -12645,7 +12683,7 @@ ] }, { - "id": 435, + "id": 437, "name": "range", "kind": 2048, "kindString": "Method", @@ -12653,13 +12691,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 2 } ], "signatures": [ { - "id": 436, + "id": 438, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -12669,7 +12707,7 @@ }, "parameters": [ { - "id": 437, + "id": 439, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -12683,7 +12721,7 @@ } }, { - "id": 438, + "id": 440, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -12697,7 +12735,7 @@ } }, { - "id": 439, + "id": 441, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12709,14 +12747,14 @@ "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 442, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 441, + "id": 443, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -12729,7 +12767,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 116, + "line": 111, "character": 54 } ], @@ -12743,7 +12781,7 @@ { "title": "Properties", "kind": 1024, - "children": [441] + "children": [443] } ] } @@ -12753,21 +12791,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -12777,7 +12815,7 @@ ] }, { - "id": 465, + "id": 469, "name": "returns", "kind": 2048, "kindString": "Method", @@ -12785,13 +12823,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 249, + "line": 246, "character": 2 } ], "signatures": [ { - "id": 466, + "id": 470, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -12801,7 +12839,7 @@ }, "typeParameter": [ { - "id": 467, + "id": 471, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -12813,21 +12851,21 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 370, + "id": 372, "name": "NewResult" } ], @@ -12837,7 +12875,7 @@ ] }, { - "id": 463, + "id": 467, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -12845,13 +12883,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 235, + "line": 232, "character": 2 } ], "signatures": [ { - "id": 464, + "id": 468, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -12862,21 +12900,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -12886,7 +12924,7 @@ ] }, { - "id": 408, + "id": 410, "name": "select", "kind": 2048, "kindString": "Method", @@ -12894,13 +12932,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 24, + "line": 19, "character": 2 } ], "signatures": [ { - "id": 409, + "id": 411, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -12911,7 +12949,7 @@ }, "typeParameter": [ { - "id": 410, + "id": 412, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -12926,8 +12964,8 @@ } }, { - "id": 411, - "name": "NewResult", + "id": 413, + "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, @@ -12936,12 +12974,12 @@ "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { @@ -12956,7 +12994,7 @@ ], "parameters": [ { - "id": 412, + "id": 414, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -12976,22 +13014,25 @@ ], "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { - "type": "reference", - "id": 314, - "name": "NewResult" + "type": "array", + "elementType": { + "type": "reference", + "id": 314, + "name": "NewResultOne" + } } ], "name": "default" @@ -13000,7 +13041,7 @@ ] }, { - "id": 445, + "id": 447, "name": "single", "kind": 2048, "kindString": "Method", @@ -13008,13 +13049,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 141, + "line": 136, "character": 2 } ], "signatures": [ { - "id": 446, + "id": 448, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -13023,31 +13064,55 @@ "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": 449, + "name": "ResultOne", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 408, + "name": "Result" + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "reference", + "name": "ResultOne" + } + }, + "trueType": { + "type": "reference", + "name": "ResultOne" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ], "type": { "type": "reference", + "id": 502, "typeArguments": [ { "type": "reference", - "id": 533, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" + "id": 350, + "name": "ResultOne" } ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "name": "default" } } ] }, { - "id": 483, + "id": 487, "name": "then", "kind": 2048, "kindString": "Method", @@ -13061,33 +13126,33 @@ ], "signatures": [ { - "id": 484, + "id": 488, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 485, + "id": 489, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 531, + "id": 550, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], - "name": "PostgrestResponse" + "name": "PostgrestSingleResponse" } }, { - "id": 486, + "id": 490, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -13099,90 +13164,9 @@ } ], "parameters": [ - { - "id": 487, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 488, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 489, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 490, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 531, - "typeArguments": [ - { - "type": "reference", - "id": 406, - "name": "Result" - } - ], - "name": "PostgrestResponse" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 388, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, { "id": 491, - "name": "onrejected", + "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", "flags": { @@ -13213,6 +13197,87 @@ "parameters": [ { "id": 494, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "reference", + "id": 408, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 390, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 495, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 497, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 498, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -13228,7 +13293,7 @@ "types": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" }, { @@ -13236,7 +13301,7 @@ "typeArguments": [ { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ], @@ -13262,12 +13327,12 @@ "types": [ { "type": "reference", - "id": 388, + "id": 390, "name": "TResult1" }, { "type": "reference", - "id": 389, + "id": 391, "name": "TResult2" } ] @@ -13279,19 +13344,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 519, + "id": 523, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 518, + "id": 522, "name": "default.then" } }, { - "id": 481, + "id": 485, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -13305,7 +13370,7 @@ ], "signatures": [ { - "id": 482, + "id": 486, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -13316,21 +13381,21 @@ }, "type": { "type": "reference", - "id": 401, + "id": 403, "typeArguments": [ { "type": "reference", - "id": 404, + "id": 406, "name": "Schema" }, { "type": "reference", - "id": 405, + "id": 407, "name": "Row" }, { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -13338,14 +13403,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 517, + "id": 521, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 516, + "id": 520, "name": "default.throwOnError" } } @@ -13354,29 +13419,29 @@ { "title": "Constructors", "kind": 512, - "children": [402] + "children": [404] }, { "title": "Properties", "kind": 1024, - "children": [480, 472, 475, 470, 468, 471, 473, 474, 469] + "children": [484, 476, 479, 474, 472, 475, 477, 478, 473] }, { "title": "Methods", "kind": 2048, - "children": [442, 449, 453, 451, 429, 447, 413, 435, 465, 463, 408, 445, 483, 481] + "children": [444, 453, 457, 455, 431, 450, 415, 437, 469, 467, 410, 447, 487, 485] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 10, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 495, + "id": 499, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -13387,7 +13452,7 @@ } }, { - "id": 496, + "id": 500, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13410,7 +13475,7 @@ } }, { - "id": 497, + "id": 501, "name": "Result", "kind": 131072, "kindString": "Type parameter", @@ -13420,11 +13485,11 @@ "extendedTypes": [ { "type": "reference", - "id": 498, + "id": 502, "typeArguments": [ { "type": "reference", - "id": 406, + "id": 408, "name": "Result" } ], @@ -13441,6 +13506,397 @@ }, { "id": 537, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 540, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 554, + "name": "PostgrestError", + "dereferenced": { + "id": 554, + "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": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 559, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 557, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 556, + "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": [559, 557, 558, 556] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + } + } + }, + { + "id": 541, + "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": 542, + "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": [540, 539, 538, 541, 542] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 543, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 546, + "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": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 549, + "name": "T", + "dereferenced": {} + } + }, + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "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": 548, + "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": [546, 545, 544, 547, 548] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 549, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 554, "name": "PostgrestError", "kind": 4194304, "kindString": "Type alias", @@ -13459,14 +13915,14 @@ "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 555, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 542, + "id": 559, "name": "code", "kind": 1024, "kindString": "Property", @@ -13484,7 +13940,7 @@ } }, { - "id": 540, + "id": 557, "name": "details", "kind": 1024, "kindString": "Property", @@ -13502,7 +13958,7 @@ } }, { - "id": 541, + "id": 558, "name": "hint", "kind": 1024, "kindString": "Property", @@ -13520,7 +13976,7 @@ } }, { - "id": 539, + "id": 556, "name": "message", "kind": 1024, "kindString": "Property", @@ -13542,7 +13998,7 @@ { "title": "Properties", "kind": 1024, - "children": [542, 540, 541, 539] + "children": [559, 557, 558, 556] } ], "sources": [ @@ -13556,7 +14012,7 @@ } }, { - "id": 535, + "id": 552, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -13564,7 +14020,51 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 41, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 553, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 550, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 553, + "name": "T" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 535, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, "character": 12 } ], @@ -13579,55 +14079,22 @@ ], "type": { "type": "reference", - "id": 533, + "id": 550, "typeArguments": [ { - "type": "union", - "types": [ - { - "type": "reference", - "id": 536, - "name": "T" - }, - { - "type": "literal", - "value": null - } - ] + "type": "array", + "elementType": { + "type": "reference", + "id": 536, + "name": "T" + } } ], "name": "PostgrestSingleResponse" } }, { - "id": 531, - "name": "PostgrestResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/types.ts", - "line": 35, - "character": 12 - } - ], - "typeParameter": [ - { - "id": 532, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - } - ], - "type": { - "type": "union", - "types": [null, null] - } - }, - { - "id": 533, + "id": 550, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -13635,13 +14102,13 @@ "sources": [ { "fileName": "src/types.ts", - "line": 42, + "line": 38, "character": 12 } ], "typeParameter": [ { - "id": 534, + "id": 551, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -13650,7 +14117,399 @@ ], "type": { "type": "union", - "types": [null, null] + "types": [ + { + "id": 543, + "name": "PostgrestResponseSuccess", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 546, + "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": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 26, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 549, + "name": "T", + "dereferenced": {} + } + }, + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 25, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "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": 548, + "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": [546, 545, 544, 547, 548] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 24, + "character": 17 + } + ], + "typeParameter": [ + { + "id": 549, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + }, + { + "id": 537, + "name": "PostgrestResponseFailure", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 540, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 31, + "character": 2 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 30, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 554, + "name": "PostgrestError", + "dereferenced": { + "id": 554, + "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": 555, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 559, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 557, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 558, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 556, + "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": [559, 557, 558, 556] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + } + } + }, + { + "id": 541, + "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": 542, + "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": [540, 539, 538, 541, 542] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 29, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "PostgrestResponseBase" + } + ] + } + ] } } ], @@ -13658,12 +14517,17 @@ { "title": "Classes", "kind": 128, - "children": [498, 1, 112, 49, 401] + "children": [502, 1, 112, 49, 403] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [537, 543] }, { "title": "Type Aliases", "kind": 4194304, - "children": [537, 535, 531, 533] + "children": [554, 552, 535, 550] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/spec/enrichments/tsdoc_v2/realtime.json index 20eb36bc0dc..2a7e77b2150 100644 --- a/spec/enrichments/tsdoc_v2/realtime.json +++ b/spec/enrichments/tsdoc_v2/realtime.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 516, + "id": 535, "name": "REALTIME_LISTEN_TYPES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 517, + "id": 536, "name": "BROADCAST", "kind": 16, "kindString": "Enumeration Member", @@ -22,7 +22,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 89, + "line": 93, "character": 2 } ], @@ -33,7 +33,7 @@ "defaultValue": "\"broadcast\"" }, { - "id": 519, + "id": 538, "name": "POSTGRES_CHANGES", "kind": 16, "kindString": "Enumeration Member", @@ -44,7 +44,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 94, + "line": 98, "character": 2 } ], @@ -55,7 +55,7 @@ "defaultValue": "\"postgres_changes\"" }, { - "id": 518, + "id": 537, "name": "PRESENCE", "kind": 16, "kindString": "Enumeration Member", @@ -63,7 +63,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 90, + "line": 94, "character": 2 } ], @@ -78,26 +78,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [517, 519, 518] + "children": [536, 538, 537] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 88, + "line": 92, "character": 12 } ] }, { - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 521, + "id": 540, "name": "ALL", "kind": 16, "kindString": "Enumeration Member", @@ -105,7 +105,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -116,7 +116,7 @@ "defaultValue": "\"*\"" }, { - "id": 524, + "id": 543, "name": "DELETE", "kind": 16, "kindString": "Enumeration Member", @@ -124,7 +124,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 85, + "line": 89, "character": 2 } ], @@ -135,7 +135,7 @@ "defaultValue": "\"DELETE\"" }, { - "id": 522, + "id": 541, "name": "INSERT", "kind": 16, "kindString": "Enumeration Member", @@ -143,7 +143,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 83, + "line": 87, "character": 2 } ], @@ -154,7 +154,7 @@ "defaultValue": "\"INSERT\"" }, { - "id": 523, + "id": 542, "name": "UPDATE", "kind": 16, "kindString": "Enumeration Member", @@ -162,7 +162,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 84, + "line": 88, "character": 2 } ], @@ -177,26 +177,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [521, 524, 522, 523] + "children": [540, 543, 541, 542] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 81, + "line": 85, "character": 12 } ] }, { - "id": 525, + "id": 544, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 527, + "id": 546, "name": "JOIN", "kind": 16, "kindString": "Enumeration Member", @@ -204,7 +204,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -215,7 +215,7 @@ "defaultValue": "\"join\"" }, { - "id": 528, + "id": 547, "name": "LEAVE", "kind": 16, "kindString": "Enumeration Member", @@ -223,7 +223,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 36, + "line": 38, "character": 2 } ], @@ -234,7 +234,7 @@ "defaultValue": "\"leave\"" }, { - "id": 526, + "id": 545, "name": "SYNC", "kind": 16, "kindString": "Enumeration Member", @@ -242,7 +242,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 34, + "line": 36, "character": 2 } ], @@ -257,26 +257,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [527, 528, 526] + "children": [546, 547, 545] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 33, + "line": 35, "character": 12 } ] }, { - "id": 529, + "id": 548, "name": "REALTIME_SUBSCRIBE_STATES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 533, + "id": 552, "name": "CHANNEL_ERROR", "kind": 16, "kindString": "Enumeration Member", @@ -284,7 +284,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 101, + "line": 105, "character": 2 } ], @@ -295,7 +295,7 @@ "defaultValue": "\"CHANNEL_ERROR\"" }, { - "id": 532, + "id": 551, "name": "CLOSED", "kind": 16, "kindString": "Enumeration Member", @@ -303,7 +303,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 100, + "line": 104, "character": 2 } ], @@ -314,7 +314,7 @@ "defaultValue": "\"CLOSED\"" }, { - "id": 530, + "id": 549, "name": "SUBSCRIBED", "kind": 16, "kindString": "Enumeration Member", @@ -322,7 +322,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -333,7 +333,7 @@ "defaultValue": "\"SUBSCRIBED\"" }, { - "id": 531, + "id": 550, "name": "TIMED_OUT", "kind": 16, "kindString": "Enumeration Member", @@ -341,7 +341,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 99, + "line": 103, "character": 2 } ], @@ -356,19 +356,19 @@ { "title": "Enumeration Members", "kind": 16, - "children": [533, 532, 530, 531] + "children": [552, 551, 549, 550] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 97, + "line": 101, "character": 12 } ] }, { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -378,7 +378,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -386,20 +386,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -410,41 +410,41 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions" }, "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -452,27 +452,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -487,14 +487,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -502,7 +502,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -514,7 +514,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -522,14 +522,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -537,19 +537,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -568,7 +568,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -578,7 +578,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -588,7 +588,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -596,7 +596,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -610,13 +610,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -629,7 +629,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -637,7 +637,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -647,45 +647,11 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 120, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 91, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 302, - "name": "RealtimeChannelOptions" - }, - "defaultValue": "..." - }, - { - "id": 89, - "name": "presence", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -693,6 +659,40 @@ "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, @@ -700,7 +700,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -708,7 +708,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -722,11 +722,62 @@ "defaultValue": "[]" }, { - "id": 87, + "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", @@ -734,64 +785,13 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 92, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 314, - "name": "default" - } - }, - { - "id": 84, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 119, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 83, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 118, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -804,7 +804,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -812,13 +812,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -828,7 +828,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -839,7 +839,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -847,14 +847,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -862,7 +862,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -876,14 +876,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -891,14 +891,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -915,19 +915,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -935,20 +935,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -969,7 +969,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -980,7 +980,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -988,14 +988,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -1003,7 +1003,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -1017,14 +1017,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1032,32 +1032,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -1077,19 +1077,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1097,20 +1097,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -1131,7 +1131,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1142,7 +1142,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -1150,14 +1150,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -1165,7 +1165,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -1179,14 +1179,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1194,32 +1194,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -1239,19 +1239,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1259,20 +1259,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -1293,7 +1293,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1304,14 +1304,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -1322,7 +1322,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1330,32 +1330,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -1375,19 +1375,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1395,20 +1395,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -1429,7 +1429,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1440,14 +1440,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -1458,7 +1458,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1466,32 +1466,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -1511,19 +1511,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1531,20 +1531,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -1565,7 +1565,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1576,14 +1576,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -1594,7 +1594,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1602,32 +1602,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -1647,19 +1647,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -1667,20 +1667,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -1701,7 +1701,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1712,14 +1712,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -1730,7 +1730,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1738,32 +1738,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -1783,12 +1783,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -1798,7 +1798,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -1812,7 +1812,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -1823,14 +1823,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -1838,7 +1838,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -1852,14 +1852,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -1870,21 +1870,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -1892,14 +1892,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -1907,7 +1907,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -1917,7 +1917,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -1925,7 +1925,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -1939,18 +1939,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -1981,14 +1981,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -1996,27 +1996,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -2024,20 +2083,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -2045,14 +2104,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -2060,7 +2119,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -2074,18 +2133,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -2104,7 +2163,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -2112,20 +2171,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -2150,7 +2209,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -2162,7 +2221,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -2170,13 +2229,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -2186,7 +2245,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -2196,21 +2255,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -2238,7 +2297,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -2263,7 +2322,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -2277,14 +2336,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -2292,20 +2351,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -2313,20 +2372,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -2345,7 +2404,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -2353,20 +2412,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -2391,7 +2450,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -2403,7 +2462,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -2411,13 +2470,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -2428,7 +2487,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -2469,7 +2528,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -2477,20 +2536,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -2498,20 +2557,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -2536,7 +2595,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -2548,7 +2607,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -2556,20 +2615,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -2577,20 +2636,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -2621,36 +2680,36 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] }, { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2658,13 +2717,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -2674,7 +2733,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -2688,7 +2747,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2697,21 +2756,21 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions" } } ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -2719,7 +2778,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -2739,7 +2798,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -2747,7 +2806,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -2755,14 +2814,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -2770,7 +2829,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -2792,11 +2851,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -2812,27 +2891,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -2840,7 +2899,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -2851,7 +2910,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -2859,7 +2918,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -2870,7 +2929,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2880,27 +2939,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -2920,7 +2979,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -2928,7 +2987,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -2939,7 +2998,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -2947,7 +3006,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -2969,7 +3028,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -2977,7 +3036,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -2988,7 +3047,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -2996,7 +3055,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -3009,7 +3068,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -3019,27 +3078,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -3059,7 +3118,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -3067,7 +3126,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -3087,7 +3146,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -3095,7 +3154,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -3107,11 +3166,29 @@ } }, { - "id": 336, + "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", @@ -3119,24 +3196,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -3144,7 +3203,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -3152,7 +3211,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -3168,30 +3227,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -3199,44 +3239,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -3255,8 +3291,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -3278,7 +3314,30 @@ } }, { - "id": 346, + "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", @@ -3286,7 +3345,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -3305,7 +3364,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -3313,30 +3372,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -3344,6 +3384,25 @@ "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" @@ -3351,7 +3410,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -3359,20 +3418,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -3383,14 +3442,14 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions" }, "defaultValue": "..." @@ -3398,14 +3457,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -3413,13 +3472,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -3435,7 +3494,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -3443,13 +3502,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -3465,7 +3524,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -3473,13 +3532,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -3489,7 +3548,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -3505,7 +3564,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -3529,7 +3588,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -3537,13 +3596,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -3555,7 +3614,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -3563,7 +3622,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -3571,13 +3630,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -3593,7 +3652,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -3601,13 +3660,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -3618,7 +3677,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -3629,7 +3688,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -3640,7 +3699,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -3661,7 +3720,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -3669,13 +3728,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -3686,14 +3745,14 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage" } } @@ -3715,7 +3774,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -3724,12 +3783,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -3744,7 +3803,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -3757,7 +3816,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -3765,13 +3824,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -3781,7 +3840,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -3791,7 +3850,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -3801,7 +3860,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -3813,7 +3872,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -3821,13 +3880,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -3837,7 +3896,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -3872,26 +3931,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, 340, 336, 335, - 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -3904,7 +3963,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3912,13 +3971,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -3928,7 +3987,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -3938,12 +3997,12 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -3970,7 +4029,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -3978,21 +4037,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -4000,7 +4059,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -4012,7 +4071,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -4020,7 +4079,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -4032,7 +4091,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -4040,13 +4099,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -4063,12 +4122,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -4076,7 +4135,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -4085,12 +4144,12 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -4098,7 +4157,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -4118,7 +4177,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -4126,7 +4185,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -4140,7 +4199,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -4148,13 +4207,25 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState" }, "defaultValue": "{}" @@ -4164,24 +4235,24 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] }, { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -4189,21 +4260,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -4211,21 +4282,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -4238,21 +4309,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -4262,7 +4333,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -4272,7 +4343,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -4282,7 +4353,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -4296,13 +4367,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -4310,7 +4381,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -4323,21 +4394,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -4347,7 +4418,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -4361,13 +4432,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -4379,13 +4450,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -4397,13 +4468,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -4411,7 +4482,7 @@ } }, { - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse", "kind": 4194304, "kindString": "Type alias", @@ -4419,7 +4490,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 79, + "line": 83, "character": 12 } ], @@ -4442,7 +4513,7 @@ } }, { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -4450,225 +4521,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -4684,8 +4557,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -4694,7 +4567,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -4704,7 +4655,127 @@ } }, { - "id": 428, + "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", @@ -4714,7 +4785,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -4730,13 +4801,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -4744,7 +4815,7 @@ } }, { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -4752,25 +4823,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -4782,93 +4927,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -4876,7 +4947,7 @@ } }, { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -4884,13 +4955,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -4902,7 +4973,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -4914,14 +4985,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -4932,18 +5003,18 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T" } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -4956,7 +5027,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -4966,7 +5037,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -4977,7 +5048,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -4987,7 +5058,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -5000,7 +5071,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -5014,21 +5085,21 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } } }, { - "id": 457, + "id": 471, "name": "RealtimePostgresChangesPayload", "kind": 4194304, "kindString": "Type alias", @@ -5036,13 +5107,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 12 } ], "typeParameter": [ { - "id": 461, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5050,7 +5121,7 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5058,19 +5129,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 53 } ], "indexSignature": { - "id": 459, + "id": 473, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 460, + "id": 474, "name": "key", "kind": 32768, "flags": {}, @@ -5094,11 +5165,11 @@ "types": [ { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 461, + "id": 475, "name": "T" } ], @@ -5106,11 +5177,11 @@ }, { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 461, + "id": 475, "name": "T" } ], @@ -5118,11 +5189,11 @@ }, { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 461, + "id": 475, "name": "T" } ], @@ -5132,7 +5203,7 @@ } }, { - "id": 481, + "id": 495, "name": "RealtimePostgresDeletePayload", "kind": 4194304, "kindString": "Type alias", @@ -5140,13 +5211,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 12 } ], "typeParameter": [ { - "id": 490, + "id": 504, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5154,7 +5225,7 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5162,19 +5233,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 52 } ], "indexSignature": { - "id": 488, + "id": 502, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 489, + "id": 503, "name": "key", "kind": 32768, "flags": {}, @@ -5203,77 +5274,18 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, + "id": 497, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 524, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 484, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 486, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -5281,12 +5293,71 @@ "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": 490, + "id": 504, "name": "T" } ], @@ -5300,13 +5371,13 @@ { "title": "Properties", "kind": 1024, - "children": [483, 484, 486] + "children": [497, 498, 500] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 49, + "line": 51, "character": 39 } ] @@ -5316,7 +5387,7 @@ } }, { - "id": 462, + "id": 476, "name": "RealtimePostgresInsertPayload", "kind": 4194304, "kindString": "Type alias", @@ -5324,13 +5395,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 12 } ], "typeParameter": [ { - "id": 471, + "id": 485, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5338,7 +5409,7 @@ "type": { "type": "reflection", "declaration": { - "id": 468, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5346,19 +5417,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 52 } ], "indexSignature": { - "id": 469, + "id": 483, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 470, + "id": 484, "name": "key", "kind": 32768, "flags": {}, @@ -5387,65 +5458,18 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 464, + "id": 478, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 522, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 465, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 471, - "name": "T" - } - }, - { - "id": 466, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -5453,10 +5477,57 @@ "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": 467, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5464,7 +5535,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 38, + "line": 40, "character": 9 } ] @@ -5476,13 +5547,13 @@ { "title": "Properties", "kind": 1024, - "children": [464, 465, 466] + "children": [478, 479, 480] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 35, + "line": 37, "character": 39 } ] @@ -5492,7 +5563,7 @@ } }, { - "id": 472, + "id": 486, "name": "RealtimePostgresUpdatePayload", "kind": 4194304, "kindString": "Type alias", @@ -5500,13 +5571,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 12 } ], "typeParameter": [ { - "id": 480, + "id": 494, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5514,7 +5585,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5522,19 +5593,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 52 } ], "indexSignature": { - "id": 478, + "id": 492, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 479, + "id": 493, "name": "key", "kind": 32768, "flags": {}, @@ -5563,65 +5634,18 @@ { "type": "reflection", "declaration": { - "id": 473, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 474, + "id": 488, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 523, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 475, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "T" - } - }, - { - "id": 476, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -5629,12 +5653,59 @@ "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": 480, + "id": 494, "name": "T" } ], @@ -5648,13 +5719,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 476] + "children": [488, 489, 490] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 42, + "line": 44, "character": 39 } ] @@ -5664,7 +5735,7 @@ } }, { - "id": 491, + "id": 505, "name": "RealtimePresenceJoinPayload", "kind": 4194304, "kindString": "Type alias", @@ -5672,13 +5743,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 12 } ], "typeParameter": [ { - "id": 500, + "id": 514, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5686,7 +5757,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5694,19 +5765,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 50 } ], "indexSignature": { - "id": 498, + "id": 512, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 499, + "id": 513, "name": "key", "kind": 32768, "flags": {}, @@ -5728,18 +5799,46 @@ "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 506, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "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", @@ -5747,34 +5846,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 500, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 493, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -5782,7 +5853,7 @@ [ { "type": "reference", - "id": 527, + "id": 546, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, "" @@ -5791,29 +5862,11 @@ } }, { - "id": 494, + "id": 508, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 496, - "name": "newPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -5821,6 +5874,24 @@ "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": { @@ -5828,7 +5899,7 @@ "typeArguments": [ { "type": "reference", - "id": 500, + "id": 514, "name": "T" } ], @@ -5841,13 +5912,13 @@ { "title": "Properties", "kind": 1024, - "children": [495, 493, 494, 496] + "children": [509, 507, 508, 510] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 76 } ] @@ -5855,7 +5926,7 @@ } }, { - "id": 501, + "id": 515, "name": "RealtimePresenceLeavePayload", "kind": 4194304, "kindString": "Type alias", @@ -5863,13 +5934,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 12 } ], "typeParameter": [ { - "id": 510, + "id": 524, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5877,7 +5948,7 @@ "type": { "type": "reflection", "declaration": { - "id": 507, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5885,19 +5956,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 51 } ], "indexSignature": { - "id": 508, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 509, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -5919,18 +5990,46 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 505, + "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", @@ -5938,34 +6037,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 510, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 503, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 27, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -5973,7 +6044,7 @@ [ { "type": "reference", - "id": 528, + "id": 547, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, "" @@ -5982,29 +6053,11 @@ } }, { - "id": 504, + "id": 518, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 506, - "name": "leftPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -6012,6 +6065,24 @@ "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": { @@ -6019,7 +6090,7 @@ "typeArguments": [ { "type": "reference", - "id": 510, + "id": 524, "name": "T" } ], @@ -6032,13 +6103,13 @@ { "title": "Properties", "kind": 1024, - "children": [505, 503, 504, 506] + "children": [519, 517, 518, 520] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 77 } ] @@ -6046,7 +6117,7 @@ } }, { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -6058,10 +6129,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6070,18 +6207,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -6095,6 +6232,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -6103,7 +6247,7 @@ } }, { - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse", "kind": 4194304, "kindString": "Type alias", @@ -6111,7 +6255,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 12 } ], @@ -6138,17 +6282,17 @@ { "title": "Enumerations", "kind": 8, - "children": [516, 520, 525, 529] + "children": [535, 539, 544, 548] }, { "title": "Classes", "kind": 128, - "children": [55, 314, 1] + "children": [64, 328, 1] }, { "title": "Type Aliases", "kind": 4194304, - "children": [302, 313, 426, 443, 450, 457, 481, 462, 472, 491, 501, 511, 515] + "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json index 4e1b1d71857..a8cb87730dd 100644 --- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 516, + "id": 535, "name": "REALTIME_LISTEN_TYPES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 517, + "id": 536, "name": "BROADCAST", "kind": 16, "kindString": "Enumeration Member", @@ -22,7 +22,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 89, + "line": 93, "character": 2 } ], @@ -33,7 +33,7 @@ "defaultValue": "\"broadcast\"" }, { - "id": 519, + "id": 538, "name": "POSTGRES_CHANGES", "kind": 16, "kindString": "Enumeration Member", @@ -44,7 +44,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 94, + "line": 98, "character": 2 } ], @@ -55,7 +55,7 @@ "defaultValue": "\"postgres_changes\"" }, { - "id": 518, + "id": 537, "name": "PRESENCE", "kind": 16, "kindString": "Enumeration Member", @@ -63,7 +63,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 90, + "line": 94, "character": 2 } ], @@ -78,26 +78,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [517, 519, 518] + "children": [536, 538, 537] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 88, + "line": 92, "character": 12 } ] }, { - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 521, + "id": 540, "name": "ALL", "kind": 16, "kindString": "Enumeration Member", @@ -105,7 +105,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -116,7 +116,7 @@ "defaultValue": "\"*\"" }, { - "id": 524, + "id": 543, "name": "DELETE", "kind": 16, "kindString": "Enumeration Member", @@ -124,7 +124,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 85, + "line": 89, "character": 2 } ], @@ -135,7 +135,7 @@ "defaultValue": "\"DELETE\"" }, { - "id": 522, + "id": 541, "name": "INSERT", "kind": 16, "kindString": "Enumeration Member", @@ -143,7 +143,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 83, + "line": 87, "character": 2 } ], @@ -154,7 +154,7 @@ "defaultValue": "\"INSERT\"" }, { - "id": 523, + "id": 542, "name": "UPDATE", "kind": 16, "kindString": "Enumeration Member", @@ -162,7 +162,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 84, + "line": 88, "character": 2 } ], @@ -177,26 +177,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [521, 524, 522, 523] + "children": [540, 543, 541, 542] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 81, + "line": 85, "character": 12 } ] }, { - "id": 525, + "id": 544, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 527, + "id": 546, "name": "JOIN", "kind": 16, "kindString": "Enumeration Member", @@ -204,7 +204,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 35, + "line": 37, "character": 2 } ], @@ -215,7 +215,7 @@ "defaultValue": "\"join\"" }, { - "id": 528, + "id": 547, "name": "LEAVE", "kind": 16, "kindString": "Enumeration Member", @@ -223,7 +223,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 36, + "line": 38, "character": 2 } ], @@ -234,7 +234,7 @@ "defaultValue": "\"leave\"" }, { - "id": 526, + "id": 545, "name": "SYNC", "kind": 16, "kindString": "Enumeration Member", @@ -242,7 +242,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 34, + "line": 36, "character": 2 } ], @@ -257,26 +257,26 @@ { "title": "Enumeration Members", "kind": 16, - "children": [527, 528, 526] + "children": [546, 547, 545] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 33, + "line": 35, "character": 12 } ] }, { - "id": 529, + "id": 548, "name": "REALTIME_SUBSCRIBE_STATES", "kind": 8, "kindString": "Enumeration", "flags": {}, "children": [ { - "id": 533, + "id": 552, "name": "CHANNEL_ERROR", "kind": 16, "kindString": "Enumeration Member", @@ -284,7 +284,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 101, + "line": 105, "character": 2 } ], @@ -295,7 +295,7 @@ "defaultValue": "\"CHANNEL_ERROR\"" }, { - "id": 532, + "id": 551, "name": "CLOSED", "kind": 16, "kindString": "Enumeration Member", @@ -303,7 +303,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 100, + "line": 104, "character": 2 } ], @@ -314,7 +314,7 @@ "defaultValue": "\"CLOSED\"" }, { - "id": 530, + "id": 549, "name": "SUBSCRIBED", "kind": 16, "kindString": "Enumeration Member", @@ -322,7 +322,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -333,7 +333,7 @@ "defaultValue": "\"SUBSCRIBED\"" }, { - "id": 531, + "id": 550, "name": "TIMED_OUT", "kind": 16, "kindString": "Enumeration Member", @@ -341,7 +341,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 99, + "line": 103, "character": 2 } ], @@ -356,19 +356,19 @@ { "title": "Enumeration Members", "kind": 16, - "children": [533, 532, 530, 531] + "children": [552, 551, 549, 550] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 97, + "line": 101, "character": 12 } ] }, { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -378,7 +378,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -386,20 +386,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -410,17 +410,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -428,21 +428,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -450,21 +450,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -477,21 +477,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -501,7 +501,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -511,7 +511,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -521,7 +521,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -535,13 +535,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -549,7 +549,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -562,21 +562,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -586,7 +586,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -600,13 +600,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -618,13 +618,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -636,13 +636,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -653,24 +653,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -678,13 +678,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -694,7 +694,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -708,7 +708,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -717,10 +717,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -728,27 +728,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -764,8 +786,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -786,105 +884,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -894,14 +894,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -909,19 +909,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -940,7 +940,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -950,7 +950,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -962,7 +962,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -972,7 +972,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -982,7 +982,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -992,7 +992,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -1009,14 +1009,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -1028,14 +1028,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -1043,7 +1043,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -1063,7 +1063,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -1071,7 +1071,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -1079,14 +1079,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -1094,7 +1094,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -1116,11 +1116,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -1136,27 +1156,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -1164,7 +1164,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -1175,7 +1175,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -1183,7 +1183,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -1194,7 +1194,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -1204,27 +1204,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -1244,7 +1244,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -1252,7 +1252,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -1263,7 +1263,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -1271,7 +1271,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -1293,7 +1293,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -1301,7 +1301,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -1312,7 +1312,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -1320,7 +1320,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -1333,7 +1333,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -1343,27 +1343,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -1383,7 +1383,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -1391,7 +1391,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -1411,7 +1411,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -1419,7 +1419,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -1431,11 +1431,29 @@ } }, { - "id": 336, + "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", @@ -1443,24 +1461,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -1468,7 +1468,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -1476,7 +1476,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -1492,30 +1492,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -1523,44 +1504,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -1579,8 +1556,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -1602,7 +1579,30 @@ } }, { - "id": 346, + "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", @@ -1610,7 +1610,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -1629,7 +1629,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -1637,30 +1637,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -1668,6 +1649,25 @@ "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" @@ -1675,7 +1675,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -1683,20 +1683,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -1707,17 +1707,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -1725,21 +1725,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -1747,21 +1747,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -1774,21 +1774,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -1798,7 +1798,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -1808,7 +1808,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -1818,7 +1818,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -1832,13 +1832,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -1846,7 +1846,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -1859,21 +1859,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -1883,7 +1883,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -1897,13 +1897,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -1915,13 +1915,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -1933,13 +1933,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -1952,14 +1952,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -1967,13 +1967,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -1989,7 +1989,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -1997,13 +1997,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -2019,7 +2019,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -2027,13 +2027,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -2043,7 +2043,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -2059,7 +2059,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -2083,7 +2083,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -2091,13 +2091,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -2109,7 +2109,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -2117,7 +2117,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -2125,13 +2125,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -2147,7 +2147,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -2155,13 +2155,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -2172,7 +2172,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -2183,7 +2183,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -2194,7 +2194,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -2215,7 +2215,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -2223,13 +2223,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -2240,17 +2240,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -2258,25 +2258,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -2288,93 +2362,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -2401,7 +2401,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -2410,12 +2410,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -2430,7 +2430,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -2443,7 +2443,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -2451,13 +2451,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -2467,7 +2467,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -2477,10 +2477,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -2493,23 +2493,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -2522,7 +2522,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -2534,7 +2534,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -2542,13 +2542,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -2558,7 +2558,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -2593,26 +2593,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, - 340, 336, 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -2622,14 +2622,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -2637,27 +2637,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -2672,14 +2672,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -2687,7 +2687,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -2699,7 +2699,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -2707,14 +2707,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2722,19 +2722,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -2753,7 +2753,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -2763,7 +2763,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -2773,7 +2773,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -2781,7 +2781,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -2795,13 +2795,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -2814,7 +2814,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -2822,7 +2822,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -2832,7 +2832,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -2840,7 +2840,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -2851,7 +2851,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -2860,10 +2860,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -2871,21 +2871,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -2893,21 +2893,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -2920,21 +2920,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -2944,7 +2944,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -2954,7 +2954,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -2964,7 +2964,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -2978,13 +2978,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -2992,7 +2992,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -3005,21 +3005,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -3029,7 +3029,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -3043,13 +3043,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -3061,13 +3061,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -3079,13 +3079,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -3096,7 +3096,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -3104,7 +3104,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -3120,7 +3120,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3128,13 +3128,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -3144,7 +3144,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -3154,10 +3154,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -3170,23 +3170,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -3194,7 +3194,7 @@ } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -3221,7 +3221,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -3229,21 +3229,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -3251,7 +3251,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -3263,7 +3263,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -3271,7 +3271,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -3283,7 +3283,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -3291,13 +3291,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -3314,12 +3314,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -3327,7 +3327,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -3336,10 +3336,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -3352,23 +3352,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -3376,7 +3376,7 @@ } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -3384,7 +3384,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -3404,7 +3404,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -3412,7 +3412,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -3426,7 +3426,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -3434,16 +3434,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -3455,10 +3467,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3467,18 +3545,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -3492,6 +3570,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -3507,18 +3592,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -3526,7 +3611,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -3534,7 +3619,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -3548,7 +3633,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -3556,7 +3641,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -3566,7 +3651,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -3575,17 +3660,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -3593,13 +3678,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -3609,7 +3694,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -3623,7 +3708,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3632,10 +3717,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -3643,225 +3728,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -3877,8 +3764,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -3887,7 +3774,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -3897,7 +3862,127 @@ } }, { - "id": 428, + "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", @@ -3907,7 +3992,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -3923,13 +4008,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -3941,14 +4026,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -3956,7 +4041,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -3976,7 +4061,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -3984,7 +4069,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -3992,14 +4077,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -4007,7 +4092,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -4029,11 +4114,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -4049,27 +4154,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -4077,7 +4162,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -4088,7 +4173,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -4096,7 +4181,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -4107,7 +4192,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4117,27 +4202,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -4157,7 +4242,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -4165,7 +4250,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -4176,7 +4261,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -4184,7 +4269,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -4206,7 +4291,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -4214,7 +4299,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -4225,7 +4310,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -4233,7 +4318,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -4246,7 +4331,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -4256,27 +4341,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -4296,7 +4381,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -4304,7 +4389,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -4324,7 +4409,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -4332,7 +4417,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -4344,11 +4429,29 @@ } }, { - "id": 336, + "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", @@ -4356,24 +4459,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -4381,7 +4466,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -4389,7 +4474,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -4405,30 +4490,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -4436,44 +4502,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -4492,8 +4554,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -4515,7 +4577,30 @@ } }, { - "id": 346, + "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", @@ -4523,7 +4608,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -4542,7 +4627,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -4550,30 +4635,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -4581,6 +4647,25 @@ "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" @@ -4588,7 +4673,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -4596,20 +4681,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -4620,17 +4705,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -4638,21 +4723,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -4660,21 +4745,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -4687,21 +4772,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -4711,7 +4796,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -4721,7 +4806,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -4731,7 +4816,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -4745,13 +4830,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -4759,7 +4844,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -4772,21 +4857,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -4796,7 +4881,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -4810,13 +4895,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -4828,13 +4913,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -4846,13 +4931,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -4865,14 +4950,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -4880,13 +4965,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -4902,7 +4987,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -4910,13 +4995,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -4932,7 +5017,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -4940,13 +5025,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -4956,7 +5041,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -4972,7 +5057,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -4996,7 +5081,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -5004,13 +5089,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -5022,7 +5107,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -5030,7 +5115,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -5038,13 +5123,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -5060,7 +5145,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -5068,13 +5153,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -5085,7 +5170,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -5096,7 +5181,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -5107,7 +5192,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -5128,7 +5213,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -5136,13 +5221,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -5153,17 +5238,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -5171,25 +5256,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -5201,93 +5360,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -5314,7 +5399,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -5323,12 +5408,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -5343,7 +5428,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -5356,7 +5441,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -5364,13 +5449,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -5380,7 +5465,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -5390,10 +5475,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -5406,23 +5491,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -5435,7 +5520,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -5447,7 +5532,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -5455,13 +5540,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -5471,7 +5556,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -5506,26 +5591,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, 340, 336, - 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -5533,7 +5618,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -5541,7 +5626,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -5552,7 +5637,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -5560,7 +5645,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -5570,7 +5655,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -5583,7 +5668,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -5591,13 +5676,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -5607,7 +5692,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -5618,7 +5703,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -5626,14 +5711,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -5641,7 +5726,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -5655,14 +5740,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5670,14 +5755,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -5694,19 +5779,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5714,20 +5799,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -5748,7 +5833,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -5759,7 +5844,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -5767,14 +5852,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -5782,7 +5867,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -5796,14 +5881,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5811,32 +5896,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -5856,19 +5941,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -5876,20 +5961,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -5910,7 +5995,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -5921,7 +6006,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -5929,14 +6014,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -5944,7 +6029,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -5958,14 +6043,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5973,32 +6058,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -6018,19 +6103,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6038,20 +6123,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -6072,7 +6157,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -6083,14 +6168,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -6099,7 +6184,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -6107,13 +6192,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6125,7 +6210,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -6137,14 +6222,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -6155,19 +6240,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -6180,7 +6265,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -6190,7 +6275,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -6201,7 +6286,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -6211,7 +6296,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -6224,7 +6309,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -6238,14 +6323,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -6254,7 +6339,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6262,32 +6347,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -6307,19 +6392,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6327,20 +6412,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -6361,7 +6446,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -6372,14 +6457,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -6388,7 +6473,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -6396,13 +6481,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6414,7 +6499,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -6426,14 +6511,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -6444,19 +6529,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -6469,7 +6554,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -6479,7 +6564,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -6490,7 +6575,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -6500,7 +6585,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -6513,7 +6598,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -6527,14 +6612,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -6543,7 +6628,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6551,32 +6636,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -6596,19 +6681,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6616,20 +6701,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -6650,7 +6735,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -6661,14 +6746,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -6677,7 +6762,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -6685,13 +6770,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6703,7 +6788,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -6715,14 +6800,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -6733,19 +6818,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -6758,7 +6843,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -6768,7 +6853,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -6779,7 +6864,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -6789,7 +6874,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -6802,7 +6887,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -6816,14 +6901,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -6832,7 +6917,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -6840,32 +6925,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -6885,19 +6970,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6905,20 +6990,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -6939,7 +7024,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -6950,14 +7035,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -6966,7 +7051,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -6974,13 +7059,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -6992,7 +7077,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -7004,14 +7089,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -7022,19 +7107,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -7047,7 +7132,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -7057,7 +7142,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -7068,7 +7153,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -7078,7 +7163,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -7091,7 +7176,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -7105,14 +7190,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -7121,7 +7206,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7129,32 +7214,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -7174,12 +7259,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -7189,7 +7274,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -7203,7 +7288,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -7214,14 +7299,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -7229,7 +7314,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -7243,14 +7328,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7261,21 +7346,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7283,14 +7368,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -7298,7 +7383,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -7308,7 +7393,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -7316,7 +7401,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -7330,18 +7415,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -7372,14 +7457,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -7387,27 +7472,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -7415,20 +7559,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7436,14 +7580,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -7451,7 +7595,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -7465,18 +7609,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -7495,7 +7639,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -7503,20 +7647,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -7541,7 +7685,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -7553,7 +7697,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -7561,13 +7705,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -7577,7 +7721,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -7587,21 +7731,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7629,7 +7773,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -7654,7 +7798,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -7668,14 +7812,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -7683,20 +7827,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7704,20 +7848,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -7736,7 +7880,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -7744,20 +7888,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -7782,7 +7926,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -7794,7 +7938,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -7802,13 +7946,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -7819,7 +7963,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -7860,7 +8004,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -7868,20 +8012,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -7889,20 +8033,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -7927,7 +8071,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -7939,7 +8083,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -7947,20 +8091,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -7968,20 +8112,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -8012,36 +8156,36 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] }, { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -8049,13 +8193,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -8065,7 +8209,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -8079,7 +8223,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8088,10 +8232,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -8099,225 +8243,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -8333,8 +8279,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -8343,7 +8289,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -8353,7 +8377,127 @@ } }, { - "id": 428, + "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", @@ -8363,7 +8507,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -8379,13 +8523,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -8397,14 +8541,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -8412,7 +8556,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -8432,7 +8576,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -8440,7 +8584,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -8448,14 +8592,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -8463,7 +8607,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -8485,11 +8629,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -8505,27 +8669,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -8533,7 +8677,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -8544,7 +8688,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -8552,7 +8696,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -8563,7 +8707,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -8573,27 +8717,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -8613,7 +8757,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -8621,7 +8765,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -8632,7 +8776,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -8640,7 +8784,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -8662,7 +8806,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -8670,7 +8814,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -8681,7 +8825,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -8689,7 +8833,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -8702,7 +8846,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -8712,27 +8856,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -8752,7 +8896,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -8760,7 +8904,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -8780,7 +8924,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -8788,7 +8932,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -8800,11 +8944,29 @@ } }, { - "id": 336, + "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", @@ -8812,24 +8974,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -8837,7 +8981,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -8845,7 +8989,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -8861,30 +9005,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -8892,44 +9017,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -8948,8 +9069,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -8971,7 +9092,30 @@ } }, { - "id": 346, + "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", @@ -8979,7 +9123,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -8998,7 +9142,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -9006,30 +9150,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -9037,6 +9162,25 @@ "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" @@ -9044,7 +9188,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -9052,20 +9196,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -9076,17 +9220,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -9094,21 +9238,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -9116,21 +9260,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -9143,21 +9287,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -9167,7 +9311,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -9177,7 +9321,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -9187,7 +9331,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -9201,13 +9345,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -9215,7 +9359,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -9228,21 +9372,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -9252,7 +9396,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -9266,13 +9410,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -9284,13 +9428,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -9302,13 +9446,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -9321,14 +9465,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -9336,13 +9480,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -9358,7 +9502,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -9366,13 +9510,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -9388,7 +9532,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -9396,13 +9540,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -9412,7 +9556,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -9428,7 +9572,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -9452,7 +9596,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -9460,13 +9604,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -9478,7 +9622,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -9486,7 +9630,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -9494,13 +9638,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -9516,7 +9660,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -9524,13 +9668,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -9541,7 +9685,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -9552,7 +9696,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -9563,7 +9707,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -9584,7 +9728,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -9592,13 +9736,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -9609,17 +9753,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -9627,25 +9771,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -9657,93 +9875,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -9770,7 +9914,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -9779,12 +9923,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -9799,7 +9943,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -9812,7 +9956,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -9820,13 +9964,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -9836,7 +9980,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -9846,10 +9990,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -9859,7 +10003,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9867,20 +10011,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -9891,17 +10035,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -9909,21 +10053,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -9931,21 +10075,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -9958,21 +10102,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -9982,7 +10126,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -9992,7 +10136,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -10002,7 +10146,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -10016,13 +10160,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -10030,7 +10174,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -10043,21 +10187,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -10067,7 +10211,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -10081,13 +10225,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -10099,13 +10243,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -10117,13 +10261,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -10134,17 +10278,17 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", @@ -10154,28 +10298,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, - 337, 326, 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -10185,14 +10329,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -10200,27 +10344,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -10235,14 +10379,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -10250,7 +10394,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -10262,7 +10406,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -10270,14 +10414,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10285,19 +10429,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -10316,7 +10460,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -10326,7 +10470,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -10336,7 +10480,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -10344,7 +10488,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -10358,13 +10502,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -10377,7 +10521,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -10385,7 +10529,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -10395,7 +10539,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -10403,7 +10547,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -10414,7 +10558,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -10423,10 +10567,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -10434,21 +10578,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -10456,21 +10600,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -10483,21 +10627,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -10507,7 +10651,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -10517,7 +10661,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -10527,7 +10671,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -10541,13 +10685,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -10555,7 +10699,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -10568,21 +10712,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -10592,7 +10736,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -10606,13 +10750,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -10624,13 +10768,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -10642,13 +10786,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -10659,7 +10803,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -10667,7 +10811,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -10683,7 +10827,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10691,13 +10835,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -10707,7 +10851,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -10717,13 +10861,13 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]" } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -10750,7 +10894,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -10758,21 +10902,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -10780,7 +10924,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -10792,7 +10936,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -10800,7 +10944,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -10812,7 +10956,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -10820,13 +10964,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -10843,12 +10987,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -10856,7 +11000,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -10865,13 +11009,13 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]" } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -10879,7 +11023,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -10899,7 +11043,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -10907,7 +11051,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -10921,7 +11065,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -10929,16 +11073,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -10950,10 +11106,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -10962,18 +11184,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -10987,6 +11209,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -11002,18 +11231,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -11021,7 +11250,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -11029,7 +11258,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -11043,11 +11272,99 @@ "defaultValue": "[]" }, { - "id": 87, + "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", + "dereferenced": { + "id": 328, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": "[Circular ~.children.5.children]", + "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": 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", @@ -11055,101 +11372,13 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 92, - "name": "socket", - "kind": 1024, - "kindString": "Property", - "flags": { - "isPublic": true - }, - "type": { - "type": "reference", - "id": 314, - "name": "default", - "dereferenced": { - "id": 314, - "name": "RealtimeClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": "[Circular ~.children.5.children]", - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [315] - }, - { - "title": "Properties", - "kind": 1024, - "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, - 334, 340, 336, 335, 342, 343, 344, 330, 331 - ] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 - ] - } - ], - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 40, - "character": 21 - } - ] - } - } - }, - { - "id": 84, - "name": "state", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 119, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "CHANNEL_STATES" - }, - "defaultValue": "CHANNEL_STATES.closed" - }, - { - "id": 83, - "name": "timeout", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 118, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -11162,7 +11391,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -11170,13 +11399,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -11186,7 +11415,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11197,7 +11426,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -11205,14 +11434,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -11220,7 +11449,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -11234,14 +11463,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11249,14 +11478,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -11273,19 +11502,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11293,20 +11522,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -11327,7 +11556,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11338,7 +11567,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -11346,14 +11575,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -11361,7 +11590,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -11375,14 +11604,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11390,32 +11619,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -11435,19 +11664,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11455,20 +11684,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -11489,7 +11718,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11500,7 +11729,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -11508,14 +11737,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -11523,7 +11752,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -11537,14 +11766,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11552,32 +11781,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -11597,19 +11826,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11617,20 +11846,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -11651,7 +11880,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11662,14 +11891,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -11678,7 +11907,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -11686,13 +11915,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11704,7 +11933,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -11716,14 +11945,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -11734,19 +11963,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -11759,7 +11988,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -11769,7 +11998,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -11780,7 +12009,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -11790,7 +12019,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -11803,7 +12032,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -11817,14 +12046,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -11833,7 +12062,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -11841,32 +12070,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -11886,19 +12115,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11906,20 +12135,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -11940,7 +12169,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -11951,14 +12180,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -11967,7 +12196,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -11975,13 +12204,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -11993,7 +12222,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -12005,14 +12234,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -12023,19 +12252,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -12048,7 +12277,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -12058,7 +12287,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -12069,7 +12298,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -12079,7 +12308,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -12092,7 +12321,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -12106,14 +12335,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -12122,7 +12351,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -12130,32 +12359,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -12175,19 +12404,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -12195,20 +12424,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -12229,7 +12458,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -12240,14 +12469,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -12256,7 +12485,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -12264,13 +12493,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -12282,7 +12511,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -12294,14 +12523,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -12312,19 +12541,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -12337,7 +12566,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -12347,7 +12576,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -12358,7 +12587,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -12368,7 +12597,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -12381,7 +12610,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -12395,14 +12624,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -12411,7 +12640,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -12419,32 +12648,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -12464,19 +12693,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -12484,20 +12713,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -12518,7 +12747,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -12529,14 +12758,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -12545,7 +12774,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -12553,13 +12782,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -12571,7 +12800,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -12583,14 +12812,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -12601,19 +12830,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -12626,7 +12855,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -12636,7 +12865,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -12647,7 +12876,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -12657,7 +12886,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -12670,7 +12899,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -12684,14 +12913,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -12700,7 +12929,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -12708,32 +12937,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -12753,12 +12982,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -12768,7 +12997,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -12782,7 +13011,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -12793,14 +13022,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -12808,7 +13037,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -12822,14 +13051,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -12840,21 +13069,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -12862,14 +13091,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -12877,7 +13106,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -12887,7 +13116,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -12895,7 +13124,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -12909,18 +13138,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -12951,14 +13180,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -12966,27 +13195,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -12994,20 +13282,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -13015,14 +13303,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -13030,7 +13318,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -13044,18 +13332,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -13074,7 +13362,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -13082,20 +13370,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -13120,7 +13408,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -13132,7 +13420,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -13140,13 +13428,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -13156,7 +13444,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -13166,21 +13454,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -13208,7 +13496,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -13233,7 +13521,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -13247,14 +13535,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -13262,20 +13550,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -13283,20 +13571,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -13315,7 +13603,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -13323,20 +13611,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -13361,7 +13649,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -13373,7 +13661,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -13381,13 +13669,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -13398,7 +13686,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -13439,7 +13727,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -13447,20 +13735,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -13468,20 +13756,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -13506,7 +13794,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -13518,7 +13806,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -13526,20 +13814,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -13547,20 +13835,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -13591,23 +13879,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -13620,7 +13908,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -13632,7 +13920,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -13640,13 +13928,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -13656,7 +13944,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -13691,26 +13979,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, 340, 336, 335, - 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -13723,7 +14011,7 @@ "flags": {}, "children": [ { - "id": 28, + "id": 36, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -13731,13 +14019,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 82, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 29, + "id": 37, "name": "new RealtimePresence", "kind": 16384, "kindString": "Constructor signature", @@ -13747,7 +14035,7 @@ }, "parameters": [ { - "id": 30, + "id": 38, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -13757,10 +14045,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -13770,7 +14058,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -13778,20 +14066,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -13802,17 +14090,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -13820,21 +14108,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -13842,21 +14130,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -13869,21 +14157,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -13893,7 +14181,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -13903,7 +14191,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -13913,7 +14201,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -13927,13 +14215,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -13941,7 +14229,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -13954,21 +14242,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -13978,7 +14266,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -13992,13 +14280,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -14010,13 +14298,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -14028,13 +14316,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -14045,24 +14333,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -14070,13 +14358,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -14086,7 +14374,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -14100,7 +14388,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14109,10 +14397,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -14120,27 +14408,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -14156,8 +14466,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -14178,105 +14564,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -14286,14 +14574,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14301,19 +14589,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -14332,7 +14620,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -14342,7 +14630,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -14354,7 +14642,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -14364,7 +14652,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -14374,7 +14662,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -14384,7 +14672,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -14401,15 +14689,15 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, - 429, 428 + 447, 446, 449, 444, 445, 453, 448, + 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -14421,14 +14709,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -14436,7 +14724,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -14456,7 +14744,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -14464,7 +14752,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -14472,14 +14760,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -14487,7 +14775,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -14509,11 +14797,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -14529,27 +14837,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -14557,7 +14845,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -14568,7 +14856,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -14576,7 +14864,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -14587,7 +14875,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -14597,27 +14885,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -14637,7 +14925,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -14645,7 +14933,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -14656,7 +14944,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -14664,7 +14952,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -14686,7 +14974,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -14694,7 +14982,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -14705,7 +14993,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -14713,7 +15001,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -14726,7 +15014,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -14736,27 +15024,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -14776,7 +15064,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -14784,7 +15072,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -14804,7 +15092,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -14812,7 +15100,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -14824,11 +15112,29 @@ } }, { - "id": 336, + "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", @@ -14836,24 +15142,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -14861,7 +15149,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -14869,7 +15157,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -14885,30 +15173,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -14916,44 +15185,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -14972,8 +15237,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -14995,7 +15260,30 @@ } }, { - "id": 346, + "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", @@ -15003,7 +15291,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -15022,7 +15310,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -15030,30 +15318,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -15061,6 +15330,25 @@ "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" @@ -15068,7 +15356,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -15076,20 +15364,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -15100,17 +15388,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -15118,21 +15406,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -15140,21 +15428,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -15167,21 +15455,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -15191,7 +15479,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -15201,7 +15489,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -15211,7 +15499,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -15225,13 +15513,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -15239,7 +15527,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -15252,21 +15540,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -15276,7 +15564,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -15290,13 +15578,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -15308,13 +15596,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -15326,13 +15614,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -15345,14 +15633,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -15360,13 +15648,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -15382,7 +15670,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -15390,13 +15678,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -15412,7 +15700,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -15420,13 +15708,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -15436,7 +15724,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -15452,7 +15740,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -15476,7 +15764,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -15484,13 +15772,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -15502,7 +15790,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -15510,7 +15798,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -15518,13 +15806,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -15540,7 +15828,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -15548,13 +15836,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -15565,7 +15853,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -15576,7 +15864,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -15587,7 +15875,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -15608,7 +15896,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -15616,13 +15904,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -15633,17 +15921,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -15651,25 +15939,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -15681,93 +16043,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -15794,7 +16082,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -15803,12 +16091,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -15823,7 +16111,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -15836,7 +16124,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -15844,13 +16132,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -15860,7 +16148,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -15870,7 +16158,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]" } @@ -15881,7 +16169,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -15893,7 +16181,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -15901,13 +16189,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -15917,7 +16205,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -15952,28 +16240,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, - 337, 326, 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -15983,14 +16271,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -15998,27 +16286,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -16033,14 +16321,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -16048,7 +16336,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -16060,7 +16348,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -16068,14 +16356,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16083,19 +16371,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -16114,7 +16402,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -16124,7 +16412,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -16134,7 +16422,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -16142,7 +16430,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -16156,13 +16444,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -16175,7 +16463,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -16183,7 +16471,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -16193,7 +16481,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -16201,7 +16489,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -16212,7 +16500,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -16221,10 +16509,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -16232,21 +16520,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -16254,21 +16542,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -16281,21 +16569,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -16305,7 +16593,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -16315,7 +16603,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -16325,7 +16613,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -16339,13 +16627,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -16353,7 +16641,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -16366,21 +16654,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -16390,7 +16678,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -16404,13 +16692,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -16422,13 +16710,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -16440,13 +16728,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -16457,7 +16745,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -16465,7 +16753,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -16484,18 +16772,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -16503,7 +16791,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -16511,7 +16799,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -16525,7 +16813,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -16533,7 +16821,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -16543,7 +16831,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -16552,17 +16840,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -16570,13 +16858,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -16586,7 +16874,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -16600,7 +16888,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16609,10 +16897,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -16620,27 +16908,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -16656,8 +16966,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -16678,105 +17064,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -16786,14 +17074,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16801,19 +17089,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -16832,7 +17120,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -16842,7 +17130,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -16854,7 +17142,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -16864,7 +17152,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -16874,7 +17162,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -16884,7 +17172,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -16901,14 +17189,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -16920,14 +17208,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -16935,7 +17223,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -16955,7 +17243,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -16963,7 +17251,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -16971,14 +17259,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -16986,7 +17274,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -17008,11 +17296,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -17028,27 +17336,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -17056,7 +17344,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -17067,7 +17355,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -17075,7 +17363,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -17086,7 +17374,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -17096,27 +17384,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -17136,7 +17424,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -17144,7 +17432,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -17155,7 +17443,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -17163,7 +17451,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -17185,7 +17473,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -17193,7 +17481,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -17204,7 +17492,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -17212,7 +17500,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -17225,7 +17513,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -17235,27 +17523,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -17275,7 +17563,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -17283,7 +17571,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -17303,7 +17591,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -17311,7 +17599,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -17323,11 +17611,29 @@ } }, { - "id": 336, + "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", @@ -17335,24 +17641,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -17360,7 +17648,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -17368,7 +17656,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -17384,30 +17672,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -17415,44 +17684,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -17471,8 +17736,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -17494,7 +17759,30 @@ } }, { - "id": 346, + "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", @@ -17502,7 +17790,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -17521,7 +17809,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -17529,30 +17817,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -17560,6 +17829,25 @@ "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" @@ -17567,7 +17855,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -17575,20 +17863,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -17599,17 +17887,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -17617,21 +17905,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -17639,21 +17927,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -17666,21 +17954,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -17690,7 +17978,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -17700,7 +17988,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -17710,7 +17998,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -17724,13 +18012,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -17738,7 +18026,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -17751,21 +18039,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -17775,7 +18063,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -17789,13 +18077,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -17807,13 +18095,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -17825,13 +18113,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -17844,14 +18132,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -17859,13 +18147,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -17881,7 +18169,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -17889,13 +18177,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -17911,7 +18199,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -17919,13 +18207,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -17935,7 +18223,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -17951,7 +18239,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -17975,7 +18263,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -17983,13 +18271,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -18001,7 +18289,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -18009,7 +18297,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -18017,13 +18305,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -18039,7 +18327,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -18047,13 +18335,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -18064,7 +18352,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -18075,7 +18363,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -18086,7 +18374,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -18107,7 +18395,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -18115,13 +18403,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -18132,17 +18420,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -18150,25 +18438,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -18180,93 +18542,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -18293,7 +18581,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -18302,12 +18590,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -18322,7 +18610,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -18335,7 +18623,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -18343,13 +18631,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -18359,7 +18647,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -18369,7 +18657,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]" } @@ -18380,7 +18668,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -18392,7 +18680,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -18400,13 +18688,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -18416,7 +18704,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -18451,28 +18739,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, - 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -18480,7 +18768,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -18488,7 +18776,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -18499,7 +18787,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -18507,7 +18795,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -18517,7 +18805,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -18530,7 +18818,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -18538,13 +18826,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -18554,7 +18842,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -18565,7 +18853,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -18573,14 +18861,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -18588,7 +18876,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -18602,14 +18890,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -18617,14 +18905,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -18641,19 +18929,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18661,20 +18949,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -18695,7 +18983,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -18706,7 +18994,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -18714,14 +19002,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -18729,7 +19017,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -18743,14 +19031,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -18758,32 +19046,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -18803,19 +19091,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18823,20 +19111,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -18857,7 +19145,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -18868,7 +19156,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -18876,14 +19164,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -18891,7 +19179,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -18905,14 +19193,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -18920,32 +19208,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -18965,19 +19253,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -18985,20 +19273,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -19019,7 +19307,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -19030,14 +19318,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -19046,7 +19334,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -19054,13 +19342,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19072,7 +19360,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -19084,14 +19372,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -19102,19 +19390,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -19127,7 +19415,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -19137,7 +19425,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -19148,7 +19436,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -19158,7 +19446,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -19171,7 +19459,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -19185,14 +19473,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -19201,7 +19489,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -19209,32 +19497,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -19254,19 +19542,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19274,20 +19562,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -19308,7 +19596,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -19319,14 +19607,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -19335,7 +19623,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -19343,13 +19631,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19361,7 +19649,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -19373,14 +19661,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -19391,19 +19679,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -19416,7 +19704,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -19426,7 +19714,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -19437,7 +19725,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -19447,7 +19735,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -19460,7 +19748,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -19474,14 +19762,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -19490,7 +19778,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -19498,32 +19786,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -19543,19 +19831,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19563,20 +19851,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -19597,7 +19885,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -19608,14 +19896,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -19624,7 +19912,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -19632,13 +19920,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19650,7 +19938,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -19662,14 +19950,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -19680,19 +19968,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -19705,7 +19993,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -19715,7 +20003,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -19726,7 +20014,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -19736,7 +20024,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -19749,7 +20037,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -19763,14 +20051,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -19779,7 +20067,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -19787,32 +20075,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -19832,19 +20120,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19852,20 +20140,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -19886,7 +20174,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -19897,14 +20185,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -19913,7 +20201,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -19921,13 +20209,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19939,7 +20227,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -19951,14 +20239,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -19969,19 +20257,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -19994,7 +20282,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -20004,7 +20292,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -20015,7 +20303,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -20025,7 +20313,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -20038,7 +20326,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -20052,14 +20340,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -20068,7 +20356,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -20076,32 +20364,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -20121,12 +20409,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -20136,7 +20424,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -20150,7 +20438,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -20161,14 +20449,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -20176,7 +20464,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -20190,14 +20478,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -20208,21 +20496,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -20230,14 +20518,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -20245,7 +20533,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -20255,7 +20543,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -20263,7 +20551,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -20277,18 +20565,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -20319,14 +20607,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -20334,27 +20622,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -20362,20 +20709,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -20383,14 +20730,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -20398,7 +20745,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -20412,18 +20759,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -20442,7 +20789,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -20450,20 +20797,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -20488,7 +20835,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -20500,7 +20847,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -20508,13 +20855,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -20524,7 +20871,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -20534,21 +20881,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -20576,7 +20923,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -20601,7 +20948,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -20615,14 +20962,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -20630,20 +20977,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -20651,20 +20998,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -20683,7 +21030,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -20691,20 +21038,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -20729,7 +21076,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -20741,7 +21088,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -20749,13 +21096,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -20766,7 +21113,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -20807,7 +21154,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -20815,20 +21162,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -20836,20 +21183,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -20874,7 +21221,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -20886,7 +21233,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -20894,20 +21241,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -20915,20 +21262,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -20959,23 +21306,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -20983,7 +21330,7 @@ } }, { - "id": 31, + "id": 39, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -21010,7 +21357,7 @@ ] }, { - "id": 35, + "id": 44, "name": "caller", "kind": 1024, "kindString": "Property", @@ -21018,21 +21365,21 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 65, + "line": 67, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 36, + "id": 45, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 37, + "id": 46, "name": "onJoin", "kind": 1024, "kindString": "Property", @@ -21040,7 +21387,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 66, + "line": 68, "character": 4 } ], @@ -21052,7 +21399,7 @@ } }, { - "id": 38, + "id": 47, "name": "onLeave", "kind": 1024, "kindString": "Property", @@ -21060,7 +21407,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 67, + "line": 69, "character": 4 } ], @@ -21072,7 +21419,7 @@ } }, { - "id": 39, + "id": 48, "name": "onSync", "kind": 2048, "kindString": "Method", @@ -21080,13 +21427,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 68, + "line": 70, "character": 4 } ], "signatures": [ { - "id": 40, + "id": 49, "name": "onSync", "kind": 4096, "kindString": "Call signature", @@ -21103,12 +21450,12 @@ { "title": "Properties", "kind": 1024, - "children": [37, 38] + "children": [46, 47] }, { "title": "Methods", "kind": 2048, - "children": [39] + "children": [48] } ] } @@ -21116,7 +21463,7 @@ "defaultValue": "..." }, { - "id": 41, + "id": 50, "name": "channel", "kind": 1024, "kindString": "Property", @@ -21125,10 +21472,10 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": { - "id": 55, + "id": 64, "name": "RealtimeChannel", "kind": 128, "kindString": "Class", @@ -21138,7 +21485,7 @@ }, "children": [ { - "id": 66, + "id": 75, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -21146,20 +21493,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 126, + "line": 130, "character": 2 } ], "signatures": [ { - "id": 67, + "id": 76, "name": "new RealtimeChannel", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 68, + "id": 77, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -21170,17 +21517,17 @@ } }, { - "id": 69, + "id": 78, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -21188,21 +21535,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -21210,21 +21557,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -21237,21 +21584,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -21261,7 +21608,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -21271,7 +21618,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -21281,7 +21628,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -21295,13 +21642,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -21309,7 +21656,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -21322,21 +21669,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -21346,7 +21693,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -21360,13 +21707,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -21378,13 +21725,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -21396,13 +21743,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -21413,24 +21760,24 @@ "defaultValue": "..." }, { - "id": 70, + "id": 79, "name": "socket", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -21438,13 +21785,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -21454,7 +21801,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -21468,7 +21815,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -21477,10 +21824,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -21488,27 +21835,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -21524,8 +21893,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -21546,105 +21991,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -21654,14 +22001,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21669,19 +22016,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -21700,7 +22047,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -21710,7 +22057,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -21722,7 +22069,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -21732,7 +22079,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -21742,7 +22089,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -21752,7 +22099,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -21769,14 +22116,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -21788,14 +22135,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -21803,7 +22150,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -21823,7 +22170,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -21831,7 +22178,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -21839,14 +22186,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -21854,7 +22201,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -21876,11 +22223,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -21896,27 +22263,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -21924,7 +22271,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -21935,7 +22282,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -21943,7 +22290,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -21954,7 +22301,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -21964,27 +22311,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -22004,7 +22351,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -22012,7 +22359,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -22023,7 +22370,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -22031,7 +22378,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -22053,7 +22400,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -22061,7 +22408,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -22072,7 +22419,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -22080,7 +22427,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -22093,7 +22440,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -22103,27 +22450,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -22143,7 +22490,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -22151,7 +22498,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -22171,7 +22518,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -22179,7 +22526,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -22191,11 +22538,29 @@ } }, { - "id": 336, + "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", @@ -22203,24 +22568,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -22228,7 +22575,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -22236,7 +22583,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -22252,30 +22599,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -22283,44 +22611,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -22339,8 +22663,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -22362,7 +22686,30 @@ } }, { - "id": 346, + "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", @@ -22370,7 +22717,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -22389,7 +22736,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -22397,30 +22744,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -22428,6 +22756,25 @@ "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" @@ -22435,7 +22782,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -22443,20 +22790,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -22467,17 +22814,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -22485,21 +22832,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -22507,21 +22854,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -22534,21 +22881,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -22558,7 +22905,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -22568,7 +22915,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -22578,7 +22925,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -22592,13 +22939,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -22606,7 +22953,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -22619,21 +22966,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -22643,7 +22990,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -22657,13 +23004,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -22675,13 +23022,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -22693,13 +23040,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -22712,14 +23059,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -22727,13 +23074,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -22749,7 +23096,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -22757,13 +23104,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -22779,7 +23126,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -22787,13 +23134,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -22803,7 +23150,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -22819,7 +23166,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -22843,7 +23190,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -22851,13 +23198,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -22869,7 +23216,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -22877,7 +23224,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -22885,13 +23232,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -22907,7 +23254,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -22915,13 +23262,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -22932,7 +23279,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -22943,7 +23290,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -22954,7 +23301,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -22975,7 +23322,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -22983,13 +23330,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -23000,17 +23347,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -23018,25 +23365,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -23048,93 +23469,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -23161,7 +23508,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -23170,12 +23517,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -23190,7 +23537,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -23203,7 +23550,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -23211,13 +23558,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -23227,7 +23574,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -23237,7 +23584,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]" } @@ -23248,7 +23595,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -23260,7 +23607,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -23268,13 +23615,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -23284,7 +23631,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -23319,28 +23666,28 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, - 334, 340, 336, 335, 342, 343, 344, 330, 331 + 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": [ - 374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381 + 388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -23350,14 +23697,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 71, + "id": 80, "name": "bindings", "kind": 1024, "kindString": "Property", @@ -23365,27 +23712,27 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 110, + "line": 114, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 72, + "id": 81, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 73, + "id": 82, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 74, + "id": 83, "name": "key", "kind": 32768, "flags": {}, @@ -23400,14 +23747,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 75, + "id": 84, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 81, + "id": 90, "name": "callback", "kind": 1024, "kindString": "Property", @@ -23415,7 +23762,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 114, + "line": 118, "character": 6 } ], @@ -23427,7 +23774,7 @@ } }, { - "id": 77, + "id": 86, "name": "filter", "kind": 1024, "kindString": "Property", @@ -23435,14 +23782,14 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 87, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -23450,19 +23797,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 113, + "line": 117, "character": 14 } ], "indexSignature": { - "id": 79, + "id": 88, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 80, + "id": 89, "name": "key", "kind": 32768, "flags": {}, @@ -23481,7 +23828,7 @@ } }, { - "id": 82, + "id": 91, "name": "id", "kind": 1024, "kindString": "Property", @@ -23491,7 +23838,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 115, + "line": 119, "character": 6 } ], @@ -23501,7 +23848,7 @@ } }, { - "id": 76, + "id": 85, "name": "type", "kind": 1024, "kindString": "Property", @@ -23509,7 +23856,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 112, + "line": 116, "character": 6 } ], @@ -23523,13 +23870,13 @@ { "title": "Properties", "kind": 1024, - "children": [81, 77, 82, 76] + "children": [90, 86, 91, 85] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 111, + "line": 115, "character": 19 } ] @@ -23542,7 +23889,7 @@ "defaultValue": "{}" }, { - "id": 86, + "id": 95, "name": "joinPush", "kind": 1024, "kindString": "Property", @@ -23550,7 +23897,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 121, + "line": 125, "character": 2 } ], @@ -23560,7 +23907,7 @@ } }, { - "id": 85, + "id": 94, "name": "joinedOnce", "kind": 1024, "kindString": "Property", @@ -23568,7 +23915,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -23579,7 +23926,7 @@ "defaultValue": "false" }, { - "id": 91, + "id": 100, "name": "params", "kind": 1024, "kindString": "Property", @@ -23588,10 +23935,10 @@ }, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -23599,21 +23946,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -23621,21 +23968,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -23648,21 +23995,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -23672,7 +24019,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -23682,7 +24029,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -23692,7 +24039,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -23706,13 +24053,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -23720,7 +24067,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -23733,21 +24080,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -23757,7 +24104,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -23771,13 +24118,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -23789,13 +24136,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -23807,13 +24154,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -23824,7 +24171,7 @@ "defaultValue": "..." }, { - "id": 89, + "id": 98, "name": "presence", "kind": 1024, "kindString": "Property", @@ -23832,7 +24179,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 124, + "line": 128, "character": 2 } ], @@ -23851,18 +24198,18 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] @@ -23870,7 +24217,7 @@ } }, { - "id": 88, + "id": 97, "name": "pushBuffer", "kind": 1024, "kindString": "Property", @@ -23878,7 +24225,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 123, + "line": 127, "character": 2 } ], @@ -23892,7 +24239,7 @@ "defaultValue": "[]" }, { - "id": 87, + "id": 96, "name": "rejoinTimer", "kind": 1024, "kindString": "Property", @@ -23900,7 +24247,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 122, + "line": 126, "character": 2 } ], @@ -23910,7 +24257,7 @@ } }, { - "id": 92, + "id": 101, "name": "socket", "kind": 1024, "kindString": "Property", @@ -23919,17 +24266,17 @@ }, "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default", "dereferenced": { - "id": 314, + "id": 328, "name": "RealtimeClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 315, + "id": 329, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -23937,13 +24284,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 88, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 316, + "id": 330, "name": "new RealtimeClient", "kind": 16384, "kindString": "Constructor signature", @@ -23953,7 +24300,7 @@ }, "parameters": [ { - "id": 317, + "id": 331, "name": "endPoint", "kind": 32768, "kindString": "Parameter", @@ -23967,7 +24314,7 @@ } }, { - "id": 318, + "id": 332, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -23976,10 +24323,10 @@ }, "type": { "type": "reference", - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "dereferenced": { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -23987,27 +24334,49 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "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", @@ -24023,8 +24392,84 @@ } }, { - "id": 432, - "name": "encode", + "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": { @@ -24045,105 +24490,7 @@ } }, { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, + "id": 453, "name": "params", "kind": 1024, "kindString": "Property", @@ -24153,14 +24500,14 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 440, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24168,19 +24515,19 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 25, + "line": 26, "character": 11 } ], "indexSignature": { - "id": 441, + "id": 455, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 442, + "id": 456, "name": "key", "kind": 32768, "flags": {}, @@ -24199,7 +24546,7 @@ } }, { - "id": 434, + "id": 448, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -24209,7 +24556,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 23, + "line": 24, "character": 2 } ], @@ -24221,7 +24568,7 @@ } }, { - "id": 429, + "id": 443, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -24231,7 +24578,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -24241,7 +24588,7 @@ } }, { - "id": 428, + "id": 442, "name": "transport", "kind": 1024, "kindString": "Property", @@ -24251,7 +24598,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -24268,14 +24615,14 @@ "title": "Properties", "kind": 1024, "children": [ - 433, 432, 435, 430, 431, 439, 434, 429, 428 + 447, 446, 449, 444, 445, 453, 448, 443, 442 ] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -24287,14 +24634,14 @@ ], "type": { "type": "reference", - "id": 314, + "id": 328, "name": "default" } } ] }, { - "id": 319, + "id": 333, "name": "accessToken", "kind": 1024, "kindString": "Property", @@ -24302,7 +24649,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 41, + "line": 42, "character": 2 } ], @@ -24322,7 +24669,7 @@ "defaultValue": "null" }, { - "id": 320, + "id": 334, "name": "channels", "kind": 1024, "kindString": "Property", @@ -24330,7 +24677,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 42, + "line": 43, "character": 2 } ], @@ -24338,14 +24685,14 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, "defaultValue": "[]" }, { - "id": 341, + "id": 355, "name": "conn", "kind": 1024, "kindString": "Property", @@ -24353,7 +24700,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -24375,11 +24722,31 @@ "defaultValue": "null" }, { - "id": 339, + "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", @@ -24395,27 +24762,7 @@ } }, { - "id": 338, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 54, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 321, + "id": 335, "name": "endPoint", "kind": 1024, "kindString": "Property", @@ -24423,7 +24770,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 43, + "line": 44, "character": 2 } ], @@ -24434,7 +24781,7 @@ "defaultValue": "''" }, { - "id": 350, + "id": 364, "name": "eventsPerSecondLimitMs", "kind": 1024, "kindString": "Property", @@ -24442,7 +24789,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 71, + "line": 72, "character": 2 } ], @@ -24453,7 +24800,7 @@ "defaultValue": "100" }, { - "id": 322, + "id": 336, "name": "headers", "kind": 1024, "kindString": "Property", @@ -24463,27 +24810,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 44, + "line": 45, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 323, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 324, + "id": 338, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 325, + "id": 339, "name": "key", "kind": 32768, "flags": {}, @@ -24503,7 +24850,7 @@ "defaultValue": "DEFAULT_HEADERS" }, { - "id": 332, + "id": 346, "name": "heartbeatIntervalMs", "kind": 1024, "kindString": "Property", @@ -24511,7 +24858,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -24522,7 +24869,7 @@ "defaultValue": "30000" }, { - "id": 333, + "id": 347, "name": "heartbeatTimer", "kind": 1024, "kindString": "Property", @@ -24530,7 +24877,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -24552,7 +24899,7 @@ "defaultValue": "undefined" }, { - "id": 351, + "id": 365, "name": "inThrottle", "kind": 1024, "kindString": "Property", @@ -24560,7 +24907,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 72, + "line": 73, "character": 2 } ], @@ -24571,7 +24918,7 @@ "defaultValue": "false" }, { - "id": 337, + "id": 351, "name": "logger", "kind": 1024, "kindString": "Property", @@ -24579,7 +24926,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -24592,7 +24939,7 @@ "defaultValue": "noop" }, { - "id": 326, + "id": 340, "name": "params", "kind": 1024, "kindString": "Property", @@ -24602,27 +24949,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 45, + "line": 46, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 327, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 328, + "id": 342, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 329, + "id": 343, "name": "key", "kind": 32768, "flags": {}, @@ -24642,7 +24989,7 @@ "defaultValue": "{}" }, { - "id": 334, + "id": 348, "name": "pendingHeartbeatRef", "kind": 1024, "kindString": "Property", @@ -24650,7 +24997,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -24670,7 +25017,7 @@ "defaultValue": "null" }, { - "id": 340, + "id": 354, "name": "reconnectAfterMs", "kind": 1024, "kindString": "Property", @@ -24678,7 +25025,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -24690,11 +25037,29 @@ } }, { - "id": 336, + "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", @@ -24702,24 +25067,6 @@ "character": 2 } ], - "type": { - "type": "reference", - "name": "default" - } - }, - { - "id": 335, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 51, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "number" @@ -24727,7 +25074,7 @@ "defaultValue": "0" }, { - "id": 342, + "id": 356, "name": "sendBuffer", "kind": 1024, "kindString": "Property", @@ -24735,7 +25082,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -24751,30 +25098,11 @@ "defaultValue": "[]" }, { - "id": 343, + "id": 357, "name": "serializer", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 59, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "default" - }, - "defaultValue": "..." - }, - { - "id": 344, - "name": "stateChangeCallbacks", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -24782,44 +25110,40 @@ "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": 345, + "id": 359, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 347, + "id": 361, "name": "close", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - } - }, - { - "id": 348, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -24838,8 +25162,8 @@ } }, { - "id": 349, - "name": "message", + "id": 362, + "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, @@ -24861,7 +25185,30 @@ } }, { - "id": 346, + "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", @@ -24869,7 +25216,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 61, + "line": 62, "character": 4 } ], @@ -24888,7 +25235,7 @@ { "title": "Properties", "kind": 1024, - "children": [347, 348, 349, 346] + "children": [361, 362, 363, 360] } ] } @@ -24896,30 +25243,11 @@ "defaultValue": "..." }, { - "id": 330, + "id": 344, "name": "timeout", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "DEFAULT_TIMEOUT" - }, - { - "id": 331, - "name": "transport", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeClient.ts", @@ -24927,6 +25255,25 @@ "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" @@ -24934,7 +25281,7 @@ "defaultValue": "w3cwebsocket" }, { - "id": 374, + "id": 388, "name": "channel", "kind": 2048, "kindString": "Method", @@ -24942,20 +25289,20 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 228, + "line": 227, "character": 2 } ], "signatures": [ { - "id": 375, + "id": 389, "name": "channel", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 376, + "id": 390, "name": "topic", "kind": 32768, "kindString": "Parameter", @@ -24966,17 +25313,17 @@ } }, { - "id": 377, + "id": 391, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "dereferenced": { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -24984,21 +25331,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -25006,21 +25353,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -25033,21 +25380,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -25057,7 +25404,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -25067,7 +25414,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -25077,7 +25424,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -25091,13 +25438,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -25105,7 +25452,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -25118,21 +25465,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -25142,7 +25489,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -25156,13 +25503,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -25174,13 +25521,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -25192,13 +25539,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -25211,14 +25558,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 352, + "id": 366, "name": "connect", "kind": 2048, "kindString": "Method", @@ -25226,13 +25573,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 125, + "line": 126, "character": 2 } ], "signatures": [ { - "id": 353, + "id": 367, "name": "connect", "kind": 4096, "kindString": "Call signature", @@ -25248,7 +25595,7 @@ ] }, { - "id": 370, + "id": 384, "name": "connectionState", "kind": 2048, "kindString": "Method", @@ -25256,13 +25603,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 208, + "line": 207, "character": 2 } ], "signatures": [ { - "id": 371, + "id": 385, "name": "connectionState", "kind": 4096, "kindString": "Call signature", @@ -25278,7 +25625,7 @@ ] }, { - "id": 354, + "id": 368, "name": "disconnect", "kind": 2048, "kindString": "Method", @@ -25286,13 +25633,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 147, + "line": 148, "character": 2 } ], "signatures": [ { - "id": 355, + "id": 369, "name": "disconnect", "kind": 4096, "kindString": "Call signature", @@ -25302,7 +25649,7 @@ }, "parameters": [ { - "id": 356, + "id": 370, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -25318,7 +25665,7 @@ } }, { - "id": 357, + "id": 371, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -25342,7 +25689,7 @@ ] }, { - "id": 358, + "id": 372, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -25350,13 +25697,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 165, + "line": 166, "character": 2 } ], "signatures": [ { - "id": 359, + "id": 373, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -25368,7 +25715,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } @@ -25376,7 +25723,7 @@ ] }, { - "id": 372, + "id": 386, "name": "isConnected", "kind": 2048, "kindString": "Method", @@ -25384,13 +25731,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 224, + "line": 223, "character": 2 } ], "signatures": [ { - "id": 373, + "id": 387, "name": "isConnected", "kind": 4096, "kindString": "Call signature", @@ -25406,7 +25753,7 @@ ] }, { - "id": 365, + "id": 379, "name": "log", "kind": 2048, "kindString": "Method", @@ -25414,13 +25761,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 201, + "line": 200, "character": 2 } ], "signatures": [ { - "id": 366, + "id": 380, "name": "log", "kind": 4096, "kindString": "Call signature", @@ -25431,7 +25778,7 @@ }, "parameters": [ { - "id": 367, + "id": 381, "name": "kind", "kind": 32768, "kindString": "Parameter", @@ -25442,7 +25789,7 @@ } }, { - "id": 368, + "id": 382, "name": "msg", "kind": 32768, "kindString": "Parameter", @@ -25453,7 +25800,7 @@ } }, { - "id": 369, + "id": 383, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -25474,7 +25821,7 @@ ] }, { - "id": 378, + "id": 392, "name": "push", "kind": 2048, "kindString": "Method", @@ -25482,13 +25829,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 246, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 379, + "id": 393, "name": "push", "kind": 4096, "kindString": "Call signature", @@ -25499,17 +25846,17 @@ }, "parameters": [ { - "id": 380, + "id": 394, "name": "data", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 443, + "id": 457, "name": "RealtimeMessage", "dereferenced": { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -25517,25 +25864,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -25547,93 +25968,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -25660,7 +26007,7 @@ ] }, { - "id": 363, + "id": 377, "name": "removeAllChannels", "kind": 2048, "kindString": "Method", @@ -25669,12 +26016,12 @@ { "fileName": "RealtimeClient.ts", "line": 187, - "character": 2 + "character": 8 } ], "signatures": [ { - "id": 364, + "id": 378, "name": "removeAllChannels", "kind": 4096, "kindString": "Call signature", @@ -25689,7 +26036,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } } @@ -25702,7 +26049,7 @@ ] }, { - "id": 360, + "id": 374, "name": "removeChannel", "kind": 2048, "kindString": "Method", @@ -25710,13 +26057,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 173, - "character": 2 + "line": 174, + "character": 8 } ], "signatures": [ { - "id": 361, + "id": 375, "name": "removeChannel", "kind": 4096, "kindString": "Call signature", @@ -25726,7 +26073,7 @@ }, "parameters": [ { - "id": 362, + "id": 376, "name": "channel", "kind": 32768, "kindString": "Parameter", @@ -25736,7 +26083,7 @@ }, "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default", "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]" } @@ -25747,7 +26094,7 @@ "typeArguments": [ { "type": "reference", - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse" } ], @@ -25759,7 +26106,7 @@ ] }, { - "id": 381, + "id": 395, "name": "setAuth", "kind": 2048, "kindString": "Method", @@ -25767,13 +26114,13 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 273, + "line": 272, "character": 2 } ], "signatures": [ { - "id": 382, + "id": 396, "name": "setAuth", "kind": 4096, "kindString": "Call signature", @@ -25783,7 +26130,7 @@ }, "parameters": [ { - "id": 383, + "id": 397, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -25818,26 +26165,26 @@ { "title": "Constructors", "kind": 512, - "children": [315] + "children": [329] }, { "title": "Properties", "kind": 1024, "children": [ - 319, 320, 341, 339, 338, 321, 350, 322, 332, 333, 351, 337, 326, 334, - 340, 336, 335, 342, 343, 344, 330, 331 + 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": [374, 352, 370, 354, 358, 372, 365, 378, 363, 360, 381] + "children": [388, 366, 384, 368, 372, 386, 379, 392, 377, 374, 395] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 40, + "line": 41, "character": 21 } ] @@ -25845,7 +26192,7 @@ } }, { - "id": 84, + "id": 93, "name": "state", "kind": 1024, "kindString": "Property", @@ -25853,7 +26200,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 119, + "line": 123, "character": 2 } ], @@ -25864,7 +26211,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 83, + "id": 92, "name": "timeout", "kind": 1024, "kindString": "Property", @@ -25872,7 +26219,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 118, + "line": 122, "character": 2 } ], @@ -25882,7 +26229,7 @@ } }, { - "id": 90, + "id": 99, "name": "topic", "kind": 1024, "kindString": "Property", @@ -25895,7 +26242,7 @@ } }, { - "id": 119, + "id": 133, "name": "on", "kind": 2048, "kindString": "Method", @@ -25903,13 +26250,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 332, + "line": 338, "character": 2 } ], "signatures": [ { - "id": 120, + "id": 134, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -25919,7 +26266,7 @@ }, "parameters": [ { - "id": 121, + "id": 135, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -25930,7 +26277,7 @@ } }, { - "id": 122, + "id": 136, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -25938,14 +26285,14 @@ "type": { "type": "reflection", "declaration": { - "id": 123, + "id": 137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 124, + "id": 138, "name": "event", "kind": 1024, "kindString": "Property", @@ -25953,7 +26300,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 334, + "line": 340, "character": 14 } ], @@ -25967,14 +26314,14 @@ { "title": "Properties", "kind": 1024, - "children": [124] + "children": [138] } ] } } }, { - "id": 125, + "id": 139, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -25982,14 +26329,14 @@ "type": { "type": "reflection", "declaration": { - "id": 126, + "id": 140, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 127, + "id": 141, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -26006,19 +26353,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 128, + "id": 142, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 132, + "id": 146, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26026,20 +26373,20 @@ "type": { "type": "reflection", "declaration": { - "id": 129, + "id": 143, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 130, + "id": 144, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 131, + "id": 145, "name": "key", "kind": 32768, "flags": {}, @@ -26060,7 +26407,7 @@ ], "parameters": [ { - "id": 133, + "id": 147, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -26071,7 +26418,7 @@ } }, { - "id": 134, + "id": 148, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -26079,14 +26426,14 @@ "type": { "type": "reflection", "declaration": { - "id": 135, + "id": 149, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 136, + "id": 150, "name": "event", "kind": 1024, "kindString": "Property", @@ -26094,7 +26441,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 339, + "line": 345, "character": 14 } ], @@ -26108,14 +26455,14 @@ { "title": "Properties", "kind": 1024, - "children": [136] + "children": [150] } ] } } }, { - "id": 137, + "id": 151, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -26123,32 +26470,32 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 152, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 139, + "id": 153, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 140, + "id": 154, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 491, + "id": 505, "typeArguments": [ { "type": "reference", - "id": 132, + "id": 146, "name": "T" } ], @@ -26168,19 +26515,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 141, + "id": 155, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 145, + "id": 159, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26188,20 +26535,20 @@ "type": { "type": "reflection", "declaration": { - "id": 142, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 143, + "id": 157, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 144, + "id": 158, "name": "key", "kind": 32768, "flags": {}, @@ -26222,7 +26569,7 @@ ], "parameters": [ { - "id": 146, + "id": 160, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -26233,7 +26580,7 @@ } }, { - "id": 147, + "id": 161, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -26241,14 +26588,14 @@ "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "event", "kind": 1024, "kindString": "Property", @@ -26256,7 +26603,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 344, + "line": 350, "character": 14 } ], @@ -26270,14 +26617,14 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ] } } }, { - "id": 150, + "id": 164, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -26285,32 +26632,32 @@ "type": { "type": "reflection", "declaration": { - "id": 151, + "id": 165, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 152, + "id": 166, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 153, + "id": 167, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 501, + "id": 515, "typeArguments": [ { "type": "reference", - "id": 145, + "id": 159, "name": "T" } ], @@ -26330,19 +26677,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 154, + "id": 168, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 158, + "id": 172, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26350,20 +26697,20 @@ "type": { "type": "reflection", "declaration": { - "id": 155, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 156, + "id": 170, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 157, + "id": 171, "name": "key", "kind": 32768, "flags": {}, @@ -26384,7 +26731,7 @@ ], "parameters": [ { - "id": 159, + "id": 173, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -26395,14 +26742,14 @@ } }, { - "id": 160, + "id": 174, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -26411,7 +26758,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -26419,13 +26766,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26437,7 +26784,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -26449,14 +26796,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -26467,19 +26814,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -26492,7 +26839,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -26502,7 +26849,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -26513,7 +26860,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -26523,7 +26870,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -26536,7 +26883,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -26550,14 +26897,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -26566,7 +26913,7 @@ } }, { - "id": 161, + "id": 175, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -26574,32 +26921,32 @@ "type": { "type": "reflection", "declaration": { - "id": 162, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 163, + "id": 177, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 164, + "id": 178, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 457, + "id": 471, "typeArguments": [ { "type": "reference", - "id": 158, + "id": 172, "name": "T" } ], @@ -26619,19 +26966,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 165, + "id": 179, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 169, + "id": 183, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26639,20 +26986,20 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 167, + "id": 181, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 168, + "id": 182, "name": "key", "kind": 32768, "flags": {}, @@ -26673,7 +27020,7 @@ ], "parameters": [ { - "id": 170, + "id": 184, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -26684,14 +27031,14 @@ } }, { - "id": 171, + "id": 185, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -26700,7 +27047,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -26708,13 +27055,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26726,7 +27073,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -26738,14 +27085,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -26756,19 +27103,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -26781,7 +27128,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -26791,7 +27138,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -26802,7 +27149,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -26812,7 +27159,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -26825,7 +27172,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -26839,14 +27186,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -26855,7 +27202,7 @@ } }, { - "id": 172, + "id": 186, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -26863,32 +27210,32 @@ "type": { "type": "reflection", "declaration": { - "id": 173, + "id": 187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 174, + "id": 188, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 175, + "id": 189, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 462, + "id": 476, "typeArguments": [ { "type": "reference", - "id": 169, + "id": 183, "name": "T" } ], @@ -26908,19 +27255,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 176, + "id": 190, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 180, + "id": 194, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -26928,20 +27275,20 @@ "type": { "type": "reflection", "declaration": { - "id": 177, + "id": 191, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 178, + "id": 192, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 179, + "id": 193, "name": "key", "kind": 32768, "flags": {}, @@ -26962,7 +27309,7 @@ ], "parameters": [ { - "id": 181, + "id": 195, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -26973,14 +27320,14 @@ } }, { - "id": 182, + "id": 196, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -26989,7 +27336,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -26997,13 +27344,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -27015,7 +27362,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -27027,14 +27374,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -27045,19 +27392,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -27070,7 +27417,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -27080,7 +27427,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -27091,7 +27438,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -27101,7 +27448,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -27114,7 +27461,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -27128,14 +27475,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -27144,7 +27491,7 @@ } }, { - "id": 183, + "id": 197, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -27152,32 +27499,32 @@ "type": { "type": "reflection", "declaration": { - "id": 184, + "id": 198, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 185, + "id": 199, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 186, + "id": 200, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 472, + "id": 486, "typeArguments": [ { "type": "reference", - "id": 180, + "id": 194, "name": "T" } ], @@ -27197,19 +27544,19 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 187, + "id": 201, "name": "on", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 191, + "id": 205, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -27217,20 +27564,20 @@ "type": { "type": "reflection", "declaration": { - "id": 188, + "id": 202, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 189, + "id": 203, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 190, + "id": 204, "name": "key", "kind": 32768, "flags": {}, @@ -27251,7 +27598,7 @@ ], "parameters": [ { - "id": 192, + "id": 206, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -27262,14 +27609,14 @@ } }, { - "id": 193, + "id": 207, "name": "filter", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 450, + "id": 464, "typeArguments": [ { "type": "literal", @@ -27278,7 +27625,7 @@ ], "name": "RealtimePostgresChangesFilter", "dereferenced": { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -27286,13 +27633,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -27304,7 +27651,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -27316,14 +27663,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -27334,19 +27681,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -27359,7 +27706,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -27369,7 +27716,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -27380,7 +27727,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -27390,7 +27737,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -27403,7 +27750,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -27417,14 +27764,14 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } @@ -27433,7 +27780,7 @@ } }, { - "id": 194, + "id": 208, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -27441,32 +27788,32 @@ "type": { "type": "reflection", "declaration": { - "id": 195, + "id": 209, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 196, + "id": 210, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 197, + "id": 211, "name": "payload", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 481, + "id": 495, "typeArguments": [ { "type": "reference", - "id": 191, + "id": 205, "name": "T" } ], @@ -27486,12 +27833,12 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } }, { - "id": 198, + "id": 212, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -27501,7 +27848,7 @@ }, "parameters": [ { - "id": 199, + "id": 213, "name": "type", "kind": 32768, "kindString": "Parameter", @@ -27515,7 +27862,7 @@ } }, { - "id": 200, + "id": 214, "name": "filter", "kind": 32768, "kindString": "Parameter", @@ -27526,14 +27873,14 @@ "type": { "type": "reflection", "declaration": { - "id": 201, + "id": 215, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 202, + "id": 216, "name": "event", "kind": 1024, "kindString": "Property", @@ -27541,7 +27888,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 375, + "line": 381, "character": 14 } ], @@ -27555,14 +27902,14 @@ { "title": "Properties", "kind": 1024, - "children": [202] + "children": [216] } ] } } }, { - "id": 203, + "id": 217, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -27573,21 +27920,21 @@ "type": { "type": "reflection", "declaration": { - "id": 204, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 205, + "id": 219, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 206, + "id": 220, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -27595,14 +27942,14 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 221, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 223, "name": "event", "kind": 1024, "kindString": "Property", @@ -27610,7 +27957,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 378, + "line": 384, "character": 6 } ], @@ -27620,7 +27967,7 @@ } }, { - "id": 208, + "id": 222, "name": "type", "kind": 1024, "kindString": "Property", @@ -27628,7 +27975,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 377, + "line": 383, "character": 6 } ], @@ -27642,18 +27989,18 @@ { "title": "Properties", "kind": 1024, - "children": [209, 208] + "children": [223, 222] } ], "indexSignature": { - "id": 210, + "id": 224, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 211, + "id": 225, "name": "key", "kind": 32768, "flags": {}, @@ -27684,14 +28031,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 101, + "id": 110, "name": "presenceState", "kind": 2048, "kindString": "Method", @@ -27699,27 +28046,86 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 299, + "line": 303, "character": 2 } ], "signatures": [ { - "id": 102, + "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": 511, + "id": 525, + "typeArguments": [ + { + "type": "reference", + "id": 116, + "name": "T" + } + ], "name": "RealtimePresenceState" } } ] }, { - "id": 212, + "id": 226, "name": "send", "kind": 2048, "kindString": "Method", @@ -27727,20 +28133,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 390, + "line": 396, "character": 2 } ], "signatures": [ { - "id": 213, + "id": 227, "name": "send", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 214, + "id": 228, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -27748,14 +28154,14 @@ "type": { "type": "reflection", "declaration": { - "id": 215, + "id": 229, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 216, + "id": 230, "name": "type", "kind": 1024, "kindString": "Property", @@ -27763,7 +28169,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 391, + "line": 397, "character": 15 } ], @@ -27777,18 +28183,18 @@ { "title": "Properties", "kind": 1024, - "children": [216] + "children": [230] } ], "indexSignature": { - "id": 217, + "id": 231, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 218, + "id": 232, "name": "key", "kind": 32768, "flags": {}, @@ -27807,7 +28213,7 @@ } }, { - "id": 219, + "id": 233, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -27815,20 +28221,20 @@ "type": { "type": "reflection", "declaration": { - "id": 220, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 221, + "id": 235, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 222, + "id": 236, "name": "key", "kind": 32768, "flags": {}, @@ -27853,7 +28259,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -27865,7 +28271,7 @@ ] }, { - "id": 93, + "id": 102, "name": "subscribe", "kind": 2048, "kindString": "Method", @@ -27873,13 +28279,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 186, + "line": 190, "character": 2 } ], "signatures": [ { - "id": 94, + "id": 103, "name": "subscribe", "kind": 4096, "kindString": "Call signature", @@ -27889,7 +28295,7 @@ }, "parameters": [ { - "id": 95, + "id": 104, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -27899,21 +28305,21 @@ "type": { "type": "reflection", "declaration": { - "id": 96, + "id": 105, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 97, + "id": 106, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 98, + "id": 107, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -27941,7 +28347,7 @@ } }, { - "id": 99, + "id": 108, "name": "err", "kind": 32768, "kindString": "Parameter", @@ -27966,7 +28372,7 @@ } }, { - "id": 100, + "id": 109, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -27980,14 +28386,14 @@ ], "type": { "type": "reference", - "id": 55, + "id": 64, "name": "default" } } ] }, { - "id": 103, + "id": 117, "name": "track", "kind": 2048, "kindString": "Method", @@ -27995,20 +28401,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 303, + "line": 309, "character": 8 } ], "signatures": [ { - "id": 104, + "id": 118, "name": "track", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 105, + "id": 119, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -28016,20 +28422,20 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 120, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 107, + "id": 121, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 122, "name": "key", "kind": 32768, "flags": {}, @@ -28048,7 +28454,7 @@ } }, { - "id": 109, + "id": 123, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -28056,20 +28462,20 @@ "type": { "type": "reflection", "declaration": { - "id": 110, + "id": 124, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 111, + "id": 125, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 126, "name": "key", "kind": 32768, "flags": {}, @@ -28094,7 +28500,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -28106,7 +28512,7 @@ ] }, { - "id": 229, + "id": 243, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -28114,13 +28520,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 430, + "line": 436, "character": 2 } ], "signatures": [ { - "id": 230, + "id": 244, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -28131,7 +28537,7 @@ }, "parameters": [ { - "id": 231, + "id": 245, "name": "timeout", "kind": 32768, "kindString": "Parameter", @@ -28172,7 +28578,7 @@ ] }, { - "id": 113, + "id": 127, "name": "untrack", "kind": 2048, "kindString": "Method", @@ -28180,20 +28586,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 317, + "line": 323, "character": 8 } ], "signatures": [ { - "id": 114, + "id": 128, "name": "untrack", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 115, + "id": 129, "name": "opts", "kind": 32768, "kindString": "Parameter", @@ -28201,20 +28607,20 @@ "type": { "type": "reflection", "declaration": { - "id": 116, + "id": 130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 117, + "id": 131, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 118, + "id": 132, "name": "key", "kind": 32768, "flags": {}, @@ -28239,7 +28645,7 @@ "typeArguments": [ { "type": "reference", - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse" } ], @@ -28251,7 +28657,7 @@ ] }, { - "id": 223, + "id": 237, "name": "updateJoinPayload", "kind": 2048, "kindString": "Method", @@ -28259,20 +28665,20 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 417, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 224, + "id": 238, "name": "updateJoinPayload", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 225, + "id": 239, "name": "payload", "kind": 32768, "kindString": "Parameter", @@ -28280,20 +28686,20 @@ "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 240, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 227, + "id": 241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 228, + "id": 242, "name": "key", "kind": 32768, "flags": {}, @@ -28324,23 +28730,23 @@ { "title": "Constructors", "kind": 512, - "children": [66] + "children": [75] }, { "title": "Properties", "kind": 1024, - "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90] + "children": [80, 95, 94, 100, 98, 97, 96, 101, 93, 92, 99] }, { "title": "Methods", "kind": 2048, - "children": [119, 101, 212, 93, 103, 229, 113, 223] + "children": [133, 110, 226, 102, 117, 243, 127, 237] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 109, + "line": 113, "character": 21 } ] @@ -28348,7 +28754,7 @@ } }, { - "id": 34, + "id": 43, "name": "joinRef", "kind": 1024, "kindString": "Property", @@ -28356,7 +28762,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -28376,7 +28782,7 @@ "defaultValue": "null" }, { - "id": 33, + "id": 42, "name": "pendingDiffs", "kind": 1024, "kindString": "Property", @@ -28384,7 +28790,7 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 63, + "line": 65, "character": 2 } ], @@ -28398,7 +28804,7 @@ "defaultValue": "[]" }, { - "id": 32, + "id": 40, "name": "state", "kind": 1024, "kindString": "Property", @@ -28406,16 +28812,28 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reference", - "id": 511, + "id": 525, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 41, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ], "name": "RealtimePresenceState", "dereferenced": { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -28427,10 +28845,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -28439,18 +28923,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -28464,6 +28948,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -28479,24 +28970,24 @@ { "title": "Constructors", "kind": 512, - "children": [28] + "children": [36] }, { "title": "Properties", "kind": 1024, - "children": [35, 41, 34, 33, 32] + "children": [44, 50, 43, 42, 40] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 61, + "line": 63, "character": 21 } ] }, { - "id": 302, + "id": 316, "name": "RealtimeChannelOptions", "kind": 4194304, "kindString": "Type alias", @@ -28504,21 +28995,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 303, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 304, + "id": 318, "name": "config", "kind": 1024, "kindString": "Property", @@ -28526,21 +29017,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 305, + "id": 319, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 306, + "id": 320, "name": "broadcast", "kind": 1024, "kindString": "Property", @@ -28553,21 +29044,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 307, + "id": 321, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 309, + "id": 323, "name": "ack", "kind": 1024, "kindString": "Property", @@ -28577,7 +29068,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 34 } ], @@ -28587,7 +29078,7 @@ } }, { - "id": 308, + "id": 322, "name": "self", "kind": 1024, "kindString": "Property", @@ -28597,7 +29088,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 18 } ], @@ -28611,13 +29102,13 @@ { "title": "Properties", "kind": 1024, - "children": [309, 308] + "children": [323, 322] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 19, + "line": 21, "character": 16 } ] @@ -28625,7 +29116,7 @@ } }, { - "id": 310, + "id": 324, "name": "presence", "kind": 1024, "kindString": "Property", @@ -28638,21 +29129,21 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 311, + "id": 325, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 312, + "id": 326, "name": "key", "kind": 1024, "kindString": "Property", @@ -28662,7 +29153,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 17 } ], @@ -28676,13 +29167,13 @@ { "title": "Properties", "kind": 1024, - "children": [312] + "children": [326] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 23, + "line": 25, "character": 15 } ] @@ -28694,13 +29185,13 @@ { "title": "Properties", "kind": 1024, - "children": [306, 310] + "children": [320, 324] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 14, + "line": 16, "character": 10 } ] @@ -28712,13 +29203,13 @@ { "title": "Properties", "kind": 1024, - "children": [304] + "children": [318] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 13, + "line": 15, "character": 37 } ] @@ -28726,7 +29217,7 @@ } }, { - "id": 313, + "id": 327, "name": "RealtimeChannelSendResponse", "kind": 4194304, "kindString": "Type alias", @@ -28734,7 +29225,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 79, + "line": 83, "character": 12 } ], @@ -28757,7 +29248,7 @@ } }, { - "id": 426, + "id": 440, "name": "RealtimeClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -28765,225 +29256,27 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 427, + "id": 441, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 433, + "id": 447, "name": "decode", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 22, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 432, - "name": "encode", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 435, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 24, - "character": 12 - } - ], - "indexSignature": { - "id": 437, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 438, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - } - }, - { - "id": 430, - "name": "heartbeatIntervalMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 19, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 431, - "name": "logger", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 20, - "character": 2 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Function", - "package": "typescript", - "name": "Function" - } - }, - { - "id": 439, - "name": "params", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 440, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 25, - "character": 11 - } - ], - "indexSignature": { - "id": 441, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 442, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 434, - "name": "reconnectAfterMs", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "RealtimeClient.ts", @@ -28999,8 +29292,8 @@ } }, { - "id": 429, - "name": "timeout", + "id": 446, + "name": "encode", "kind": 1024, "kindString": "Property", "flags": { @@ -29009,7 +29302,85 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 18, + "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 } ], @@ -29019,7 +29390,127 @@ } }, { - "id": 428, + "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", @@ -29029,7 +29520,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 17, + "line": 18, "character": 2 } ], @@ -29045,13 +29536,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 432, 435, 430, 431, 439, 434, 429, 428] + "children": [447, 446, 449, 444, 445, 453, 448, 443, 442] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 16, + "line": 17, "character": 36 } ] @@ -29059,7 +29550,7 @@ } }, { - "id": 443, + "id": 457, "name": "RealtimeMessage", "kind": 4194304, "kindString": "Type alias", @@ -29067,25 +29558,99 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 444, + "id": 458, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 446, + "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", @@ -29097,93 +29662,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "join_ref", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 447, - "name": "payload", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 31, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 448, - "name": "ref", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 445, - "name": "topic", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeClient.ts", - "line": 29, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [446, 449, 447, 448, 445] + "children": [460, 463, 461, 462, 459] } ], "sources": [ { "fileName": "RealtimeClient.ts", - "line": 28, + "line": 29, "character": 30 } ] @@ -29191,7 +29682,7 @@ } }, { - "id": 450, + "id": 464, "name": "RealtimePostgresChangesFilter", "kind": 4194304, "kindString": "Type alias", @@ -29199,13 +29690,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, + "line": 62, "character": 12 } ], "typeParameter": [ { - "id": 456, + "id": 470, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29217,7 +29708,7 @@ [ { "type": "reference", - "id": 520, + "id": 539, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, "" @@ -29229,14 +29720,14 @@ "type": { "type": "reflection", "declaration": { - "id": 451, + "id": 465, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 452, + "id": 466, "name": "event", "kind": 1024, "kindString": "Property", @@ -29247,19 +29738,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 64, + "line": 68, "character": 2 } ], "type": { "type": "reference", - "id": 456, + "id": 470, "name": "T", "dereferenced": {} } }, { - "id": 455, + "id": 469, "name": "filter", "kind": 1024, "kindString": "Property", @@ -29272,7 +29763,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 76, + "line": 80, "character": 2 } ], @@ -29282,7 +29773,7 @@ } }, { - "id": 453, + "id": 467, "name": "schema", "kind": 1024, "kindString": "Property", @@ -29293,7 +29784,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 68, + "line": 72, "character": 2 } ], @@ -29303,7 +29794,7 @@ } }, { - "id": 454, + "id": 468, "name": "table", "kind": 1024, "kindString": "Property", @@ -29316,7 +29807,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 72, + "line": 76, "character": 2 } ], @@ -29330,21 +29821,21 @@ { "title": "Properties", "kind": 1024, - "children": [452, 455, 453, 454] + "children": [466, 469, 467, 468] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 60, - "character": 99 + "line": 64, + "character": 4 } ] } } }, { - "id": 457, + "id": 471, "name": "RealtimePostgresChangesPayload", "kind": 4194304, "kindString": "Type alias", @@ -29352,13 +29843,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 12 } ], "typeParameter": [ { - "id": 461, + "id": 475, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29366,7 +29857,7 @@ "type": { "type": "reflection", "declaration": { - "id": 458, + "id": 472, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29374,19 +29865,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 55, + "line": 57, "character": 53 } ], "indexSignature": { - "id": 459, + "id": 473, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 460, + "id": 474, "name": "key", "kind": 32768, "flags": {}, @@ -29409,7 +29900,7 @@ "type": "union", "types": [ { - "id": 462, + "id": 476, "name": "RealtimePostgresInsertPayload", "kind": 4194304, "kindString": "Type alias", @@ -29417,13 +29908,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 12 } ], "typeParameter": [ { - "id": 471, + "id": 485, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29431,7 +29922,7 @@ "type": { "type": "reflection", "declaration": { - "id": 468, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29439,19 +29930,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 52 } ], "indexSignature": { - "id": 469, + "id": 483, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 470, + "id": 484, "name": "key", "kind": 32768, "flags": {}, @@ -29480,65 +29971,18 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 464, + "id": 478, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 522, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 465, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 471, - "name": "T" - } - }, - { - "id": 466, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -29546,10 +29990,57 @@ "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": 467, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29557,7 +30048,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 38, + "line": 40, "character": 9 } ] @@ -29569,13 +30060,13 @@ { "title": "Properties", "kind": 1024, - "children": [464, 465, 466] + "children": [478, 479, 480] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 35, + "line": 37, "character": 39 } ] @@ -29585,7 +30076,7 @@ } }, { - "id": 472, + "id": 486, "name": "RealtimePostgresUpdatePayload", "kind": 4194304, "kindString": "Type alias", @@ -29593,13 +30084,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 12 } ], "typeParameter": [ { - "id": 480, + "id": 494, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29607,7 +30098,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29615,19 +30106,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 52 } ], "indexSignature": { - "id": 478, + "id": 492, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 479, + "id": 493, "name": "key", "kind": 32768, "flags": {}, @@ -29656,65 +30147,18 @@ { "type": "reflection", "declaration": { - "id": 473, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 474, + "id": 488, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 523, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 475, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "T" - } - }, - { - "id": 476, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -29722,12 +30166,59 @@ "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": 480, + "id": 494, "name": "T" } ], @@ -29741,13 +30232,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 476] + "children": [488, 489, 490] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 42, + "line": 44, "character": 39 } ] @@ -29757,7 +30248,7 @@ } }, { - "id": 481, + "id": 495, "name": "RealtimePostgresDeletePayload", "kind": 4194304, "kindString": "Type alias", @@ -29765,13 +30256,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 12 } ], "typeParameter": [ { - "id": 490, + "id": 504, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29779,7 +30270,7 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29787,19 +30278,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 52 } ], "indexSignature": { - "id": 488, + "id": 502, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 489, + "id": 503, "name": "key", "kind": 32768, "flags": {}, @@ -29828,77 +30319,18 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, + "id": 497, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 524, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 484, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 486, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -29906,12 +30338,71 @@ "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": 490, + "id": 504, "name": "T" } ], @@ -29925,13 +30416,13 @@ { "title": "Properties", "kind": 1024, - "children": [483, 484, 486] + "children": [497, 498, 500] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 49, + "line": 51, "character": 39 } ] @@ -29944,7 +30435,7 @@ } }, { - "id": 481, + "id": 495, "name": "RealtimePostgresDeletePayload", "kind": 4194304, "kindString": "Type alias", @@ -29952,13 +30443,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 12 } ], "typeParameter": [ { - "id": 490, + "id": 504, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -29966,7 +30457,7 @@ "type": { "type": "reflection", "declaration": { - "id": 487, + "id": 501, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29974,19 +30465,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 48, + "line": 50, "character": 52 } ], "indexSignature": { - "id": 488, + "id": 502, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 489, + "id": 503, "name": "key", "kind": 32768, "flags": {}, @@ -30015,77 +30506,18 @@ { "type": "reflection", "declaration": { - "id": 482, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 483, + "id": 497, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 524, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" - }, - "" - ] - ] - } - }, - { - "id": 484, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 485, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 51, - "character": 9 - } - ] - } - } - }, - { - "id": 486, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -30093,12 +30525,71 @@ "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": 490, + "id": 504, "name": "T" } ], @@ -30112,13 +30603,13 @@ { "title": "Properties", "kind": 1024, - "children": [483, 484, 486] + "children": [497, 498, 500] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 49, + "line": 51, "character": 39 } ] @@ -30128,7 +30619,7 @@ } }, { - "id": 462, + "id": 476, "name": "RealtimePostgresInsertPayload", "kind": 4194304, "kindString": "Type alias", @@ -30136,13 +30627,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 12 } ], "typeParameter": [ { - "id": 471, + "id": 485, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -30150,7 +30641,7 @@ "type": { "type": "reflection", "declaration": { - "id": 468, + "id": 482, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30158,19 +30649,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 34, + "line": 36, "character": 52 } ], "indexSignature": { - "id": 469, + "id": 483, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 470, + "id": 484, "name": "key", "kind": 32768, "flags": {}, @@ -30199,65 +30690,18 @@ { "type": "reflection", "declaration": { - "id": 463, + "id": 477, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 464, + "id": 478, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 36, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 522, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" - }, - "" - ] - ] - } - }, - { - "id": 465, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 471, - "name": "T" - } - }, - { - "id": 466, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -30265,10 +30709,57 @@ "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": 467, + "id": 481, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30276,7 +30767,7 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 38, + "line": 40, "character": 9 } ] @@ -30288,13 +30779,13 @@ { "title": "Properties", "kind": 1024, - "children": [464, 465, 466] + "children": [478, 479, 480] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 35, + "line": 37, "character": 39 } ] @@ -30304,7 +30795,7 @@ } }, { - "id": 472, + "id": 486, "name": "RealtimePostgresUpdatePayload", "kind": 4194304, "kindString": "Type alias", @@ -30312,13 +30803,13 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 12 } ], "typeParameter": [ { - "id": 480, + "id": 494, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -30326,7 +30817,7 @@ "type": { "type": "reflection", "declaration": { - "id": 477, + "id": 491, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30334,19 +30825,19 @@ "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 41, + "line": 43, "character": 52 } ], "indexSignature": { - "id": 478, + "id": 492, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 479, + "id": 493, "name": "key", "kind": 32768, "flags": {}, @@ -30375,65 +30866,18 @@ { "type": "reflection", "declaration": { - "id": 473, + "id": 487, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 474, + "id": 488, "name": "eventType", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 43, - "character": 4 - } - ], - "type": { - "type": "template-literal", - "head": "", - "tail": [ - [ - { - "type": "reference", - "id": 523, - "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" - }, - "" - ] - ] - } - }, - { - "id": 475, - "name": "new", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimeChannel.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "reference", - "id": 480, - "name": "T" - } - }, - { - "id": 476, - "name": "old", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimeChannel.ts", @@ -30441,12 +30885,59 @@ "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": 480, + "id": 494, "name": "T" } ], @@ -30460,13 +30951,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 476] + "children": [488, 489, 490] } ], "sources": [ { "fileName": "RealtimeChannel.ts", - "line": 42, + "line": 44, "character": 39 } ] @@ -30476,7 +30967,7 @@ } }, { - "id": 491, + "id": 505, "name": "RealtimePresenceJoinPayload", "kind": 4194304, "kindString": "Type alias", @@ -30484,13 +30975,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 12 } ], "typeParameter": [ { - "id": 500, + "id": 514, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -30498,7 +30989,7 @@ "type": { "type": "reflection", "declaration": { - "id": 497, + "id": 511, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30506,19 +30997,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 50 } ], "indexSignature": { - "id": 498, + "id": 512, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 499, + "id": 513, "name": "key", "kind": 32768, "flags": {}, @@ -30540,18 +31031,46 @@ "type": { "type": "reflection", "declaration": { - "id": 492, + "id": 506, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 495, + "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", @@ -30559,34 +31078,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 500, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 493, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 20, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -30594,7 +31085,7 @@ [ { "type": "reference", - "id": 527, + "id": 546, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, "" @@ -30603,29 +31094,11 @@ } }, { - "id": 494, + "id": 508, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 21, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 496, - "name": "newPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -30633,6 +31106,24 @@ "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": { @@ -30640,7 +31131,7 @@ "typeArguments": [ { "type": "reference", - "id": 500, + "id": 514, "name": "T" } ], @@ -30653,13 +31144,13 @@ { "title": "Properties", "kind": 1024, - "children": [495, 493, 494, 496] + "children": [509, 507, 508, 510] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 19, + "line": 21, "character": 76 } ] @@ -30667,7 +31158,7 @@ } }, { - "id": 501, + "id": 515, "name": "RealtimePresenceLeavePayload", "kind": 4194304, "kindString": "Type alias", @@ -30675,13 +31166,13 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 12 } ], "typeParameter": [ { - "id": 510, + "id": 524, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -30689,7 +31180,7 @@ "type": { "type": "reflection", "declaration": { - "id": 507, + "id": 521, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30697,19 +31188,19 @@ "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 51 } ], "indexSignature": { - "id": 508, + "id": 522, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 509, + "id": 523, "name": "key", "kind": 32768, "flags": {}, @@ -30731,18 +31222,46 @@ "type": { "type": "reflection", "declaration": { - "id": 502, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 505, + "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", @@ -30750,34 +31269,6 @@ "character": 2 } ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 510, - "name": "T" - } - ], - "name": "Presence" - } - } - }, - { - "id": 503, - "name": "event", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 27, - "character": 2 - } - ], "type": { "type": "template-literal", "head": "", @@ -30785,7 +31276,7 @@ [ { "type": "reference", - "id": 528, + "id": 547, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, "" @@ -30794,29 +31285,11 @@ } }, { - "id": 504, + "id": 518, "name": "key", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "RealtimePresence.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 506, - "name": "leftPresences", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "RealtimePresence.ts", @@ -30824,6 +31297,24 @@ "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": { @@ -30831,7 +31322,7 @@ "typeArguments": [ { "type": "reference", - "id": 510, + "id": 524, "name": "T" } ], @@ -30844,13 +31335,13 @@ { "title": "Properties", "kind": 1024, - "children": [505, 503, 504, 506] + "children": [519, 517, 518, 520] } ], "sources": [ { "fileName": "RealtimePresence.ts", - "line": 26, + "line": 28, "character": 77 } ] @@ -30858,7 +31349,7 @@ } }, { - "id": 511, + "id": 525, "name": "RealtimePresenceState", "kind": 4194304, "kindString": "Type alias", @@ -30870,10 +31361,76 @@ "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": 512, + "id": 526, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30882,18 +31439,18 @@ { "fileName": "RealtimePresence.ts", "line": 17, - "character": 36 + "character": 75 } ], "indexSignature": { - "id": 513, + "id": 527, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 528, "name": "key", "kind": 32768, "flags": {}, @@ -30907,6 +31464,13 @@ "type": "array", "elementType": { "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 533, + "name": "T" + } + ], "name": "Presence" } } @@ -30915,7 +31479,7 @@ } }, { - "id": 515, + "id": 534, "name": "RealtimeRemoveChannelResponse", "kind": 4194304, "kindString": "Type alias", @@ -30923,7 +31487,7 @@ "sources": [ { "fileName": "RealtimeClient.ts", - "line": 36, + "line": 37, "character": 12 } ], @@ -30950,17 +31514,17 @@ { "title": "Enumerations", "kind": 8, - "children": [516, 520, 525, 529] + "children": [535, 539, 544, 548] }, { "title": "Classes", "kind": 128, - "children": [55, 314, 1] + "children": [64, 328, 1] }, { "title": "Type Aliases", "kind": 4194304, - "children": [302, 313, 426, 443, 450, 457, 481, 462, 472, 491, 501, 511, 515] + "children": [316, 327, 440, 457, 464, 471, 495, 476, 486, 505, 515, 525, 534] } ], "sources": [ diff --git a/spec/enrichments/tsdoc_v2/storage.json b/spec/enrichments/tsdoc_v2/storage.json index 79453d7c5b1..2d317df0658 100644 --- a/spec/enrichments/tsdoc_v2/storage.json +++ b/spec/enrichments/tsdoc_v2/storage.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 403, + "id": 404, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 405, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,14 +34,14 @@ ], "signatures": [ { - "id": 405, + "id": 406, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 407, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 407, + "id": 408, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -65,24 +65,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 409, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +100,7 @@ } }, { - "id": 409, + "id": 410, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -114,7 +114,7 @@ ], "signatures": [ { - "id": 410, + "id": 411, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +122,14 @@ "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 412, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 413, + "id": 414, "name": "message", "kind": 1024, "kindString": "Property", @@ -148,7 +148,7 @@ "defaultValue": "..." }, { - "id": 412, + "id": 413, "name": "name", "kind": 1024, "kindString": "Property", @@ -167,7 +167,7 @@ "defaultValue": "..." }, { - "id": 414, + "id": 415, "name": "status", "kind": 1024, "kindString": "Property", @@ -190,7 +190,7 @@ { "title": "Properties", "kind": 1024, - "children": [413, 412, 414] + "children": [414, 413, 415] } ] } @@ -203,17 +203,17 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [405] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [409] }, { "title": "Methods", "kind": 2048, - "children": [409] + "children": [410] } ], "sources": [ @@ -226,7 +226,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -606,7 +606,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -815,7 +815,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1024,7 +1024,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1248,7 +1248,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1412,7 +1412,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1668,7 +1668,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1731,14 +1731,14 @@ ] }, { - "id": 398, + "id": 399, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 399, + "id": 400, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1752,14 +1752,14 @@ ], "signatures": [ { - "id": 400, + "id": 401, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 401, + "id": 402, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1772,7 +1772,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" }, "overwrites": { @@ -1791,7 +1791,7 @@ { "title": "Constructors", "kind": 512, - "children": [399] + "children": [400] } ], "sources": [ @@ -1812,25 +1812,25 @@ "extendedBy": [ { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" } ] }, { - "id": 416, + "id": 417, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 417, + "id": 418, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1844,14 +1844,14 @@ ], "signatures": [ { - "id": 418, + "id": 419, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 420, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1862,7 +1862,7 @@ } }, { - "id": 420, + "id": 421, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1875,24 +1875,24 @@ ], "type": { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 421, + "id": 422, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1914,12 +1914,12 @@ { "title": "Constructors", "kind": 512, - "children": [417] + "children": [418] }, { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] } ], "sources": [ @@ -1932,7 +1932,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -2634,7 +2634,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -2648,7 +2648,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -2680,6 +2680,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -2744,7 +2767,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -2756,7 +2779,7 @@ ] }, { - "id": 395, + "id": 396, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -2770,14 +2793,14 @@ ], "signatures": [ { - "id": 396, + "id": 397, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 398, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -2794,7 +2817,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -2806,7 +2829,7 @@ { "title": "Classes", "kind": 128, - "children": [403, 266, 398, 416] + "children": [404, 266, 399, 417] }, { "title": "Interfaces", @@ -2816,7 +2839,7 @@ { "title": "Functions", "kind": 64, - "children": [395] + "children": [396] } ], "sources": [ @@ -3199,7 +3222,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3398,7 +3421,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3597,7 +3620,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3764,7 +3787,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3918,7 +3941,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4164,7 +4187,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4602,7 +4625,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4899,7 +4922,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -5230,7 +5253,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -5450,7 +5473,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -5846,7 +5869,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6059,7 +6082,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6232,7 +6255,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6526,7 +6549,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6820,7 +6843,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json index a956302027f..e411c6eaa2c 100644 --- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 403, + "id": 404, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 404, + "id": 405, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,14 +34,14 @@ ], "signatures": [ { - "id": 405, + "id": 406, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 406, + "id": 407, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 407, + "id": 408, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -65,24 +65,24 @@ ], "type": { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 408, + "id": 409, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +100,7 @@ } }, { - "id": 409, + "id": 410, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -114,7 +114,7 @@ ], "signatures": [ { - "id": 410, + "id": 411, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +122,14 @@ "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 412, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 413, + "id": 414, "name": "message", "kind": 1024, "kindString": "Property", @@ -148,7 +148,7 @@ "defaultValue": "..." }, { - "id": 412, + "id": 413, "name": "name", "kind": 1024, "kindString": "Property", @@ -167,7 +167,7 @@ "defaultValue": "..." }, { - "id": 414, + "id": 415, "name": "status", "kind": 1024, "kindString": "Property", @@ -190,7 +190,7 @@ { "title": "Properties", "kind": 1024, - "children": [413, 412, 414] + "children": [414, 413, 415] } ] } @@ -203,17 +203,17 @@ { "title": "Constructors", "kind": 512, - "children": [404] + "children": [405] }, { "title": "Properties", "kind": 1024, - "children": [408] + "children": [409] }, { "title": "Methods", "kind": 2048, - "children": [409] + "children": [410] } ], "sources": [ @@ -226,7 +226,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -606,7 +606,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -815,7 +815,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1024,7 +1024,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1248,7 +1248,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1412,7 +1412,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1668,7 +1668,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -1731,14 +1731,14 @@ ] }, { - "id": 398, + "id": 399, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 399, + "id": 400, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1752,14 +1752,14 @@ ], "signatures": [ { - "id": 400, + "id": 401, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 401, + "id": 402, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1772,7 +1772,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" }, "overwrites": { @@ -1791,7 +1791,7 @@ { "title": "Constructors", "kind": 512, - "children": [399] + "children": [400] } ], "sources": [ @@ -1812,25 +1812,25 @@ "extendedBy": [ { "type": "reference", - "id": 403, + "id": 404, "name": "StorageApiError" }, { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" } ] }, { - "id": 416, + "id": 417, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 417, + "id": 418, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1844,14 +1844,14 @@ ], "signatures": [ { - "id": 418, + "id": 419, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 419, + "id": 420, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1862,7 +1862,7 @@ } }, { - "id": 420, + "id": 421, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -1875,24 +1875,24 @@ ], "type": { "type": "reference", - "id": 416, + "id": 417, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 400, + "id": 401, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 399, + "id": 400, "name": "StorageError.constructor" } }, { - "id": 421, + "id": 422, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -1914,12 +1914,12 @@ { "title": "Constructors", "kind": 512, - "children": [417] + "children": [418] }, { "title": "Properties", "kind": 1024, - "children": [421] + "children": [422] } ], "sources": [ @@ -1932,7 +1932,7 @@ "extendedTypes": [ { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } ] @@ -2828,7 +2828,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -2842,7 +2842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -2874,6 +2874,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -2938,7 +2961,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -2950,7 +2973,7 @@ ] }, { - "id": 395, + "id": 396, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -2964,14 +2987,14 @@ ], "signatures": [ { - "id": 396, + "id": 397, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 397, + "id": 398, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -2988,7 +3011,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3000,7 +3023,7 @@ { "title": "Classes", "kind": 128, - "children": [403, 266, 398, 416] + "children": [404, 266, 399, 417] }, { "title": "Interfaces", @@ -3010,7 +3033,7 @@ { "title": "Functions", "kind": 64, - "children": [395] + "children": [396] } ], "sources": [ @@ -3393,7 +3416,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3592,7 +3615,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3791,7 +3814,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -3958,7 +3981,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4112,7 +4135,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4358,7 +4381,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4796,7 +4819,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -4951,7 +4974,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -4965,7 +4988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -4997,6 +5020,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -5061,7 +5107,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -5222,7 +5268,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -5553,7 +5599,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -5662,7 +5708,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -5676,7 +5722,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -5708,6 +5754,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -5772,7 +5841,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -5902,7 +5971,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6043,7 +6112,7 @@ "flags": {}, "children": [ { - "id": 394, + "id": 395, "name": "format", "kind": 1024, "kindString": "Property", @@ -6057,7 +6126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 98, + "line": 102, "character": 2 } ], @@ -6089,6 +6158,29 @@ "name": "number" } }, + { + "id": 394, + "name": "quality", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set the quality of the returned image, this is percentage based, default 80" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 95, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, { "id": 393, "name": "resize", @@ -6153,7 +6245,7 @@ { "title": "Properties", "kind": 1024, - "children": [394, 392, 393, 391] + "children": [395, 392, 394, 393, 391] } ], "sources": [ @@ -6654,7 +6746,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -6867,7 +6959,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -7040,7 +7132,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -7426,7 +7518,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } @@ -7812,7 +7904,7 @@ ], "type": { "type": "reference", - "id": 398, + "id": 399, "name": "StorageError" } } diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/spec/enrichments/tsdoc_v2/supabase.json index 99f570bd1f4..4512075ccbb 100644 --- a/spec/enrichments/tsdoc_v2/supabase.json +++ b/spec/enrichments/tsdoc_v2/supabase.json @@ -269,7 +269,7 @@ } }, { - "id": 115, + "id": 116, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -279,7 +279,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 57, + "line": 58, "character": 12 } ], @@ -356,10 +356,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -398,7 +409,7 @@ } }, { - "id": 117, + "id": 118, "name": "functionsUrl", "kind": 1024, "kindString": "Property", @@ -408,7 +419,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 59, + "line": 60, "character": 12 } ], @@ -467,18 +478,16 @@ } }, { - "id": 118, + "id": 114, "name": "realtime", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 12 + "line": 55, + "character": 2 } ], "type": { @@ -489,7 +498,7 @@ } }, { - "id": 114, + "id": 115, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -499,7 +508,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 56, + "line": 57, "character": 12 } ], @@ -600,7 +609,7 @@ } }, { - "id": 116, + "id": 117, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -610,7 +619,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 58, + "line": 59, "character": 12 } ], @@ -976,10 +985,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -1375,6 +1395,10 @@ "elementType": { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1382,10 +1406,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -1445,6 +1465,10 @@ { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1452,10 +1476,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -1758,7 +1778,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131] + "children": [113, 116, 126, 121, 118, 127, 114, 115, 119, 120, 117, 132, 131] }, { "title": "Accessors", @@ -2329,10 +2349,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -2394,10 +2425,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -2489,10 +2531,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -2554,10 +2607,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json index f4888f0a434..698c8002915 100644 --- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json +++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json @@ -700,7 +700,7 @@ } }, { - "id": 115, + "id": 116, "name": "authUrl", "kind": 1024, "kindString": "Property", @@ -710,7 +710,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 57, + "line": 58, "character": 12 } ], @@ -787,10 +787,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -829,7 +840,7 @@ } }, { - "id": 117, + "id": 118, "name": "functionsUrl", "kind": 1024, "kindString": "Property", @@ -839,7 +850,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 59, + "line": 60, "character": 12 } ], @@ -898,18 +909,16 @@ } }, { - "id": 118, + "id": 114, "name": "realtime", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 60, - "character": 12 + "line": 55, + "character": 2 } ], "type": { @@ -920,7 +929,7 @@ } }, { - "id": 114, + "id": 115, "name": "realtimeUrl", "kind": 1024, "kindString": "Property", @@ -930,7 +939,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 56, + "line": 57, "character": 12 } ], @@ -1031,7 +1040,7 @@ } }, { - "id": 116, + "id": 117, "name": "storageUrl", "kind": 1024, "kindString": "Property", @@ -1041,7 +1050,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 58, + "line": 59, "character": 12 } ], @@ -1427,10 +1436,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -1828,6 +1848,10 @@ "elementType": { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1835,10 +1859,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -1898,6 +1918,10 @@ { "type": "union", "types": [ + { + "type": "literal", + "value": "error" + }, { "type": "literal", "value": "ok" @@ -1905,10 +1929,6 @@ { "type": "literal", "value": "timed out" - }, - { - "type": "literal", - "value": "error" } ] } @@ -2212,7 +2232,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 115, 126, 121, 117, 127, 118, 114, 119, 120, 116, 132, 131] + "children": [113, 116, 126, 121, 118, 127, 114, 115, 119, 120, 117, 132, 131] }, { "title": "Accessors", @@ -3214,10 +3234,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3279,10 +3310,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3374,10 +3416,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { @@ -3439,10 +3492,21 @@ "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] } }, { diff --git a/spec/storage_v0_openapi.json b/spec/storage_v0_openapi.json index fe9074725b7..096aeb27825 100644 --- a/spec/storage_v0_openapi.json +++ b/spec/storage_v0_openapi.json @@ -43,7 +43,9 @@ "properties": { "name": { "type": "string", "example": "avatars" }, "id": { "type": "string", "example": "avatars" }, - "public": { "type": "boolean", "example": false } + "public": { "type": "boolean", "example": false }, + "file_size_limit": { "anyOf": [{ "type": "integer" }, { "type": "string" }] }, + "allowed_mime_types": { "type": "array", "items": { "type": "string" } } }, "required": ["name"] } @@ -111,6 +113,11 @@ "name": { "type": "string" }, "owner": { "type": "string" }, "public": { "type": "boolean" }, + "file_size_limit": { "type": "integer" }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { "type": "string" } + }, "created_at": { "type": "string" }, "updated_at": { "type": "string" } }, @@ -237,6 +244,11 @@ "name": { "type": "string" }, "owner": { "type": "string" }, "public": { "type": "boolean" }, + "file_size_limit": { "type": "integer" }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { "type": "string" } + }, "created_at": { "type": "string" }, "updated_at": { "type": "string" } }, @@ -278,7 +290,11 @@ "application/json": { "schema": { "type": "object", - "properties": { "public": { "type": "boolean", "example": false } } + "properties": { + "public": { "type": "boolean", "example": false }, + "file_size_limit": { "anyOf": [{ "type": "integer" }, { "type": "string" }] }, + "allowed_mime_types": { "type": "array", "items": { "type": "string" } } + } } } } @@ -611,6 +627,7 @@ "owner": { "type": "string" }, "id": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, + "version": { "type": "string" }, "created_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "last_accessed_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "metadata": { @@ -626,6 +643,11 @@ "name": { "type": "string" }, "owner": { "type": "string" }, "public": { "type": "boolean" }, + "file_size_limit": { "type": "integer" }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { "type": "string" } + }, "created_at": { "type": "string" }, "updated_at": { "type": "string" } }, @@ -708,6 +730,118 @@ } } }, + "/object/upload/sign/{bucketName}/{wildcard}": { + "post": { + "summary": "Generate a presigned url to upload an object", + "tags": ["object"], + "parameters": [ + { + "schema": { "type": "string", "example": "avatars" }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { "type": "string", "example": "folder/cat.png" }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + }, + { + "in": "header", + "name": "authorization", + "required": true, + "schema": { "type": "string" }, + "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "description": "Successful response", + "type": "object", + "properties": { + "url": { + "type": "string", + "example": "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4" + } + }, + "required": ["url"] + } + } + } + }, + "4XX": { + "description": "Error response", + "content": { + "application/json": { + "schema": { "description": "Error response", "$ref": "#/components/schemas/def-1" } + } + } + } + } + }, + "put": { + "summary": "Uploads an object via a presigned URL", + "tags": ["object"], + "parameters": [ + { + "schema": { + "type": "string", + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk" + }, + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk", + "in": "query", + "name": "token", + "required": true + }, + { + "schema": { "type": "string", "example": "avatars" }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { "type": "string", "example": "folder/cat.png" }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + } + ], + "responses": { + "200": { + "description": "Succesful response", + "content": { + "application/json": { + "schema": { + "description": "Succesful response", + "type": "object", + "properties": { + "Key": { "type": "string", "example": "projectref/avatars/folder/cat.png" } + }, + "required": ["Key"] + } + } + } + }, + "4XX": { + "description": "Error response", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/def-1", "description": "Error response" } + } + } + } + } + } + }, "/object/sign/{bucketName}/{wildcard}": { "post": { "summary": "Generate a presigned url to retrieve an object", @@ -1031,6 +1165,7 @@ "owner": { "type": "string" }, "id": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "updated_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, + "version": { "type": "string" }, "created_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "last_accessed_at": { "anyOf": [{ "type": "string" }, { "type": "null" }] }, "metadata": { @@ -1046,6 +1181,11 @@ "name": { "type": "string" }, "owner": { "type": "string" }, "public": { "type": "boolean" }, + "file_size_limit": { "type": "integer" }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { "type": "string" } + }, "created_at": { "type": "string" }, "updated_at": { "type": "string" } }, diff --git a/spec/supabase_swift_v1.yml b/spec/supabase_swift_v1.yml index 02d4b93144e..4b6b769ef17 100644 --- a/spec/supabase_swift_v1.yml +++ b/spec/supabase_swift_v1.yml @@ -1164,7 +1164,6 @@ functions: description: | Only relevant for range columns. Match only rows where every element in column is greater than any element in range. - examples: - id: with-select name: With `select()` @@ -1267,7 +1266,6 @@ functions: values. hideCodeBlock: true - - id: range-lte title: rangeLte() description: | @@ -2084,7 +2082,7 @@ functions: description: | - getOAuthSignInURL() provides the URL which needs to be opened in a SFSafariViewController instance. - The redirectTo URL needs to be setup correctly in your project under Authentication -> URL Configuration -> Redirect URLs. - - For full implementation example check out [Supabase-Swift Github](https://github.com/supabase-community/supabase-swift#social-login-implementation). + - For full implementation example check out [Supabase-Swift Github](https://github.com/supabase-community/supabase-swift#social-login-implementation). code: | ```js let url = try await supabase.auth @@ -2101,7 +2099,7 @@ functions: - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project. - getOAuthSignInURL() provides the URL which needs to be opened in a SFSafariViewController instance. - The redirectTo URL needs to be setup correctly in your project under Authentication -> URL Configuration -> Redirect URLs. - - For full implementation example check out [Supabase-Swift Github](https://github.com/supabase-community/supabase-swift#social-login-implementation). + - For full implementation example check out [Supabase-Swift Github](https://github.com/supabase-community/supabase-swift#social-login-implementation). code: | ```js let url = try await supabase.auth @@ -2687,5 +2685,3 @@ functions: .from(id: "avatars") .list() ``` - - diff --git a/spec/transforms/api_v0_openapi_deparsed.json b/spec/transforms/api_v0_openapi_deparsed.json index beb44a9dbd1..a6c5ccb0e95 100644 --- a/spec/transforms/api_v0_openapi_deparsed.json +++ b/spec/transforms/api_v0_openapi_deparsed.json @@ -18,28 +18,37 @@ "type": "object", "properties": { "id": { - "type": "string" + "type": "string", + "description": "Id of your project" }, "organization_id": { - "type": "string" + "type": "string", + "description": "Slug of your organization" }, "name": { - "type": "string" + "type": "string", + "description": "Name of your project" }, "region": { - "type": "string" + "type": "string", + "description": "Region of your project", + "example": "us-east-1" }, "created_at": { - "type": "string" + "type": "string", + "description": "Creation timestamp", + "example": "2023-03-29T16:32:59Z" }, "database": { "type": "object", "properties": { "host": { - "type": "string" + "type": "string", + "description": "Database host" }, "version": { - "type": "string" + "type": "string", + "description": "Database version" } }, "required": ["host", "version"] @@ -71,23 +80,29 @@ "type": "object", "properties": { "db_pass": { - "type": "string" + "type": "string", + "description": "Database password" }, "name": { - "type": "string" + "type": "string", + "description": "Name of your project, should not contain dots" }, "organization_id": { - "type": "string" + "type": "string", + "description": "Slug of your organization" }, "plan": { "type": "string", - "enum": ["free", "pro"] + "enum": ["free", "pro"], + "description": "Subscription plan", + "example": "free" }, "region": { "type": "string", "enum": [ "us-east-1", "us-west-1", + "us-west-2", "ap-southeast-1", "ap-northeast-1", "ap-northeast-2", @@ -99,7 +114,9 @@ "ca-central-1", "ap-south-1", "sa-east-1" - ] + ], + "description": "Region you want your server to reside in", + "example": "us-east-1" }, "kps_enabled": { "type": "boolean" @@ -111,6 +128,55 @@ } }, "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Id of your project" + }, + "organization_id": { + "type": "string", + "description": "Slug of your organization" + }, + "name": { + "type": "string", + "description": "Name of your project" + }, + "region": { + "type": "string", + "description": "Region of your project", + "example": "us-east-1" + }, + "created_at": { + "type": "string", + "description": "Creation timestamp", + "example": "2023-03-29T16:32:59Z" + }, + "database": { + "type": "object", + "properties": { + "host": { + "type": "string", + "description": "Database host" + }, + "version": { + "type": "string", + "description": "Database version" + } + }, + "required": ["host", "version"] + } + }, + "required": ["id", "organization_id", "name", "region", "created_at"] + } + } + } + }, "201": { "description": "", "content": { @@ -119,28 +185,37 @@ "type": "object", "properties": { "id": { - "type": "string" + "type": "string", + "description": "Id of your project" }, "organization_id": { - "type": "string" + "type": "string", + "description": "Slug of your organization" }, "name": { - "type": "string" + "type": "string", + "description": "Name of your project" }, "region": { - "type": "string" + "type": "string", + "description": "Region of your project", + "example": "us-east-1" }, "created_at": { - "type": "string" + "type": "string", + "description": "Creation timestamp", + "example": "2023-03-29T16:32:59Z" }, "database": { "type": "object", "properties": { "host": { - "type": "string" + "type": "string", + "description": "Database host" }, "version": { - "type": "string" + "type": "string", + "description": "Database version" } }, "required": ["host", "version"] @@ -1315,6 +1390,18 @@ }, "required": ["dbAllowedCidrs"] }, + "old_config": { + "type": "object", + "properties": { + "dbAllowedCidrs": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["dbAllowedCidrs"] + }, "status": { "enum": ["stored", "applied"], "type": "string" @@ -1400,6 +1487,18 @@ }, "required": ["dbAllowedCidrs"] }, + "old_config": { + "type": "object", + "properties": { + "dbAllowedCidrs": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["dbAllowedCidrs"] + }, "status": { "enum": ["stored", "applied"], "type": "string" @@ -2264,6 +2363,1057 @@ } ] } + }, + "/v1/projects/{ref}/upgrade": { + "post": { + "operationId": "upgradeProject", + "summary": "Upgrades the project's Postgres version", + "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": { + "target_version": { + "type": "number" + } + }, + "required": ["target_version"] + } + } + } + }, + "responses": { + "201": { + "description": "" + }, + "403": { + "description": "" + }, + "500": { + "description": "Failed to initiate project upgrade" + } + }, + "tags": ["database version upgrade (beta)"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/upgrade/eligibility": { + "get": { + "operationId": "upgradeEligibilityInformation", + "summary": "Returns the project's eligibility for upgrades", + "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": { + "eligible": { + "type": "boolean" + }, + "current_app_version": { + "type": "string" + }, + "latest_app_version": { + "type": "string" + }, + "target_upgrade_versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "postgres_version": { + "type": "number" + }, + "app_version": { + "type": "string" + } + }, + "required": ["postgres_version", "app_version"] + } + }, + "requires_manual_intervention": { + "type": "string", + "nullable": true + }, + "potential_breaking_changes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "eligible", + "current_app_version", + "latest_app_version", + "target_upgrade_versions", + "requires_manual_intervention", + "potential_breaking_changes" + ] + } + } + } + }, + "403": { + "description": "" + }, + "500": { + "description": "Failed to determine project upgrade eligibility" + } + }, + "tags": ["database version upgrade (beta)"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/upgrade/status": { + "get": { + "operationId": "getUpgradeStatus", + "summary": "Gets the latest status of the project's upgrade", + "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": { + "databaseUpgradeStatus": { + "nullable": true, + "allOf": [ + { + "type": "object", + "properties": { + "initiated_at": { + "type": "string" + }, + "target_version": { + "type": "number" + }, + "error": { + "type": "string", + "enum": [ + "1_upgraded_instance_launch_failed", + "2_volume_detachchment_from_upgraded_instance_failed", + "3_volume_attachment_to_original_instance_failed", + "4_data_upgrade_initiation_failed", + "5_data_upgrade_completion_failed", + "6_volume_detachchment_from_original_instance_failed", + "7_volume_attachment_to_upgraded_instance_failed", + "8_upgrade_completion_failed" + ] + }, + "progress": { + "type": "string", + "enum": [ + "1_started", + "2_launched_upgraded_instance", + "3_detached_volume_from_upgraded_instance", + "4_attached_volume_to_original_instance", + "5_initiated_data_upgrade", + "6_completed_data_upgrade", + "7_detached_volume_from_original_instance", + "8_attached_volume_to_upgraded_instance", + "9_completed_upgrade" + ] + }, + "status": { + "type": "number", + "enum": [0, 1, 2] + } + }, + "required": ["initiated_at", "target_version", "status"] + } + ] + } + }, + "required": ["databaseUpgradeStatus"] + } + } + } + }, + "403": { + "description": "" + }, + "500": { + "description": "Failed to retrieve project upgrade status" + } + }, + "tags": ["database version upgrade (beta)"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/readonly": { + "get": { + "operationId": "getReadOnlyModeStatus", + "summary": "Returns project's readonly mode status", + "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": { + "enabled": { + "type": "boolean" + }, + "override_enabled": { + "type": "boolean" + }, + "override_active_until": { + "type": "string" + } + }, + "required": ["enabled", "override_enabled", "override_active_until"] + } + } + } + }, + "500": { + "description": "Failed to get project readonly mode status" + } + }, + "tags": ["database readonly mode"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/readonly/temporary-disable": { + "post": { + "operationId": "temporarilyDisableReadonlyMode", + "summary": "Disables project's readonly mode for the next 15 minutes", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "type": "string" + } + } + ], + "responses": { + "201": { + "description": "" + }, + "500": { + "description": "Failed to disable project's readonly mode" + } + }, + "tags": ["database readonly mode"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/config/auth/sso/providers": { + "post": { + "operationId": "createProviderForProject", + "summary": "Creates a new SSO provider", + "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": { + "type": { + "type": "string", + "enum": ["saml"], + "description": "What type of provider will be created" + }, + "metadata_xml": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["type"] + } + } + } + }, + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + } + }, + "403": { + "description": "" + }, + "404": { + "description": "SAML 2.0 support is not enabled for this project" + } + }, + "tags": ["sso"], + "security": [ + { + "bearer": [] + } + ] + }, + "get": { + "operationId": "listAllProviders", + "summary": "Lists all SSO providers", + "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": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + }, + "required": ["items"] + } + } + } + }, + "403": { + "description": "" + }, + "404": { + "description": "SAML 2.0 support is not enabled for this project" + } + }, + "tags": ["sso"], + "security": [ + { + "bearer": [] + } + ] + } + }, + "/v1/projects/{ref}/config/auth/sso/providers/{provider_id}": { + "get": { + "operationId": "getProviderById", + "summary": "Gets a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "type": "string" + } + }, + { + "name": "provider_id", + "required": true, + "in": "path", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + } + }, + "403": { + "description": "" + }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [ + { + "bearer": [] + } + ] + }, + "put": { + "operationId": "updateProviderById", + "summary": "Updates a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "type": "string" + } + }, + { + "name": "provider_id", + "required": true, + "in": "path", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "metadata_xml": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + } + }, + "403": { + "description": "" + }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [ + { + "bearer": [] + } + ] + }, + "delete": { + "operationId": "removeProviderById", + "summary": "Removes a SSO provider by its UUID", + "parameters": [ + { + "name": "ref", + "required": true, + "in": "path", + "description": "Project ref", + "schema": { + "minLength": 20, + "maxLength": 20, + "type": "string" + } + }, + { + "name": "provider_id", + "required": true, + "in": "path", + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + } + }, + "403": { + "description": "" + }, + "404": { + "description": "Either SAML 2.0 was not enabled for this project, or the provider does not exist" + } + }, + "tags": ["sso"], + "security": [ + { + "bearer": [] + } + ] + } } }, "info": { @@ -2296,10 +3446,12 @@ "type": "object", "properties": { "host": { - "type": "string" + "type": "string", + "description": "Database host" }, "version": { - "type": "string" + "type": "string", + "description": "Database version" } }, "required": ["host", "version"] @@ -2308,28 +3460,37 @@ "type": "object", "properties": { "id": { - "type": "string" + "type": "string", + "description": "Id of your project" }, "organization_id": { - "type": "string" + "type": "string", + "description": "Slug of your organization" }, "name": { - "type": "string" + "type": "string", + "description": "Name of your project" }, "region": { - "type": "string" + "type": "string", + "description": "Region of your project", + "example": "us-east-1" }, "created_at": { - "type": "string" + "type": "string", + "description": "Creation timestamp", + "example": "2023-03-29T16:32:59Z" }, "database": { "type": "object", "properties": { "host": { - "type": "string" + "type": "string", + "description": "Database host" }, "version": { - "type": "string" + "type": "string", + "description": "Database version" } }, "required": ["host", "version"] @@ -2341,23 +3502,29 @@ "type": "object", "properties": { "db_pass": { - "type": "string" + "type": "string", + "description": "Database password" }, "name": { - "type": "string" + "type": "string", + "description": "Name of your project, should not contain dots" }, "organization_id": { - "type": "string" + "type": "string", + "description": "Slug of your organization" }, "plan": { "type": "string", - "enum": ["free", "pro"] + "enum": ["free", "pro"], + "description": "Subscription plan", + "example": "free" }, "region": { "type": "string", "enum": [ "us-east-1", "us-west-1", + "us-west-2", "ap-southeast-1", "ap-northeast-1", "ap-northeast-2", @@ -2369,7 +3536,9 @@ "ca-central-1", "ap-south-1", "sa-east-1" - ] + ], + "description": "Region you want your server to reside in", + "example": "us-east-1" }, "kps_enabled": { "type": "boolean" @@ -2585,6 +3754,18 @@ }, "required": ["dbAllowedCidrs"] }, + "old_config": { + "type": "object", + "properties": { + "dbAllowedCidrs": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": ["dbAllowedCidrs"] + }, "status": { "enum": ["stored", "applied"], "type": "string" @@ -2756,6 +3937,872 @@ } }, "required": ["custom_domain"] + }, + "UpgradeDatabaseBody": { + "type": "object", + "properties": { + "target_version": { + "type": "number" + } + }, + "required": ["target_version"] + }, + "ProjectVersion": { + "type": "object", + "properties": { + "postgres_version": { + "type": "number" + }, + "app_version": { + "type": "string" + } + }, + "required": ["postgres_version", "app_version"] + }, + "ProjectUpgradeEligibilityResponse": { + "type": "object", + "properties": { + "eligible": { + "type": "boolean" + }, + "current_app_version": { + "type": "string" + }, + "latest_app_version": { + "type": "string" + }, + "target_upgrade_versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "postgres_version": { + "type": "number" + }, + "app_version": { + "type": "string" + } + }, + "required": ["postgres_version", "app_version"] + } + }, + "requires_manual_intervention": { + "type": "string", + "nullable": true + }, + "potential_breaking_changes": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "eligible", + "current_app_version", + "latest_app_version", + "target_upgrade_versions", + "requires_manual_intervention", + "potential_breaking_changes" + ] + }, + "DatabaseUpgradeStatus": { + "type": "object", + "properties": { + "initiated_at": { + "type": "string" + }, + "target_version": { + "type": "number" + }, + "error": { + "type": "string", + "enum": [ + "1_upgraded_instance_launch_failed", + "2_volume_detachchment_from_upgraded_instance_failed", + "3_volume_attachment_to_original_instance_failed", + "4_data_upgrade_initiation_failed", + "5_data_upgrade_completion_failed", + "6_volume_detachchment_from_original_instance_failed", + "7_volume_attachment_to_upgraded_instance_failed", + "8_upgrade_completion_failed" + ] + }, + "progress": { + "type": "string", + "enum": [ + "1_started", + "2_launched_upgraded_instance", + "3_detached_volume_from_upgraded_instance", + "4_attached_volume_to_original_instance", + "5_initiated_data_upgrade", + "6_completed_data_upgrade", + "7_detached_volume_from_original_instance", + "8_attached_volume_to_upgraded_instance", + "9_completed_upgrade" + ] + }, + "status": { + "type": "number", + "enum": [0, 1, 2] + } + }, + "required": ["initiated_at", "target_version", "status"] + }, + "DatabaseUpgradeStatusResponse": { + "type": "object", + "properties": { + "databaseUpgradeStatus": { + "nullable": true, + "allOf": [ + { + "type": "object", + "properties": { + "initiated_at": { + "type": "string" + }, + "target_version": { + "type": "number" + }, + "error": { + "type": "string", + "enum": [ + "1_upgraded_instance_launch_failed", + "2_volume_detachchment_from_upgraded_instance_failed", + "3_volume_attachment_to_original_instance_failed", + "4_data_upgrade_initiation_failed", + "5_data_upgrade_completion_failed", + "6_volume_detachchment_from_original_instance_failed", + "7_volume_attachment_to_upgraded_instance_failed", + "8_upgrade_completion_failed" + ] + }, + "progress": { + "type": "string", + "enum": [ + "1_started", + "2_launched_upgraded_instance", + "3_detached_volume_from_upgraded_instance", + "4_attached_volume_to_original_instance", + "5_initiated_data_upgrade", + "6_completed_data_upgrade", + "7_detached_volume_from_original_instance", + "8_attached_volume_to_upgraded_instance", + "9_completed_upgrade" + ] + }, + "status": { + "type": "number", + "enum": [0, 1, 2] + } + }, + "required": ["initiated_at", "target_version", "status"] + } + ] + } + }, + "required": ["databaseUpgradeStatus"] + }, + "ReadOnlyStatusResponse": { + "type": "object", + "properties": { + "enabled": { + "type": "boolean" + }, + "override_enabled": { + "type": "boolean" + }, + "override_active_until": { + "type": "string" + } + }, + "required": ["enabled", "override_enabled", "override_active_until"] + }, + "AttributeValue": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + }, + "AttributeMapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + }, + "CreateProviderBody": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": ["saml"], + "description": "What type of provider will be created" + }, + "metadata_xml": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["type"] + }, + "SamlDescriptor": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "Domain": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + }, + "CreateProviderResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + }, + "Provider": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + }, + "ListProvidersResponse": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + } + }, + "required": ["items"] + }, + "GetProviderResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + }, + "UpdateProviderBody": { + "type": "object", + "properties": { + "metadata_xml": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + } + }, + "UpdateProviderResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + }, + "DeleteProviderResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "saml": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "entity_id": { + "type": "string" + }, + "metadata_url": { + "type": "string" + }, + "metadata_xml": { + "type": "string" + }, + "attribute_mapping": { + "type": "object", + "properties": { + "keys": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "names": { + "type": "array", + "items": { + "type": "string" + } + }, + "default": { + "type": "object" + } + } + } + } + }, + "required": ["keys"] + } + }, + "required": ["id", "entity_id"] + }, + "domains": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] + } + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + } + }, + "required": ["id"] } } } diff --git a/spec/transforms/storage_v0_openapi_deparsed.json b/spec/transforms/storage_v0_openapi_deparsed.json index 03ba4ce5301..979f053c542 100644 --- a/spec/transforms/storage_v0_openapi_deparsed.json +++ b/spec/transforms/storage_v0_openapi_deparsed.json @@ -58,6 +58,22 @@ "public": { "type": "boolean", "example": false + }, + "file_size_limit": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "allowed_mime_types": { + "type": "array", + "items": { + "type": "string" + } } }, "required": ["name"] @@ -159,6 +175,15 @@ "public": { "type": "boolean" }, + "file_size_limit": { + "type": "integer" + }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { + "type": "string" + } + }, "created_at": { "type": "string" }, @@ -342,6 +367,15 @@ "public": { "type": "boolean" }, + "file_size_limit": { + "type": "integer" + }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { + "type": "string" + } + }, "created_at": { "type": "string" }, @@ -407,6 +441,22 @@ "public": { "type": "boolean", "example": false + }, + "file_size_limit": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + }, + "allowed_mime_types": { + "type": "array", + "items": { + "type": "string" + } } } } @@ -923,6 +973,9 @@ } ] }, + "version": { + "type": "string" + }, "created_at": { "anyOf": [ { @@ -969,6 +1022,15 @@ "public": { "type": "boolean" }, + "file_size_limit": { + "type": "integer" + }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { + "type": "string" + } + }, "created_at": { "type": "string" }, @@ -1097,6 +1159,167 @@ } } }, + "/object/upload/sign/{bucketName}/{wildcard}": { + "post": { + "summary": "Generate a presigned url to upload an object", + "tags": ["object"], + "parameters": [ + { + "schema": { + "type": "string", + "example": "avatars" + }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { + "type": "string", + "example": "folder/cat.png" + }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + }, + { + "in": "header", + "name": "authorization", + "required": true, + "schema": { + "type": "string" + }, + "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs" + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "description": "Successful response", + "type": "object", + "properties": { + "url": { + "type": "string", + "example": "/object/sign/upload/avatars/folder/cat.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhdmF0YXJzL2ZvbGRlci9jYXQucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.s7Gt8ME80iREVxPhH01ZNv8oUn4XtaWsmiQ5csiUHn4" + } + }, + "required": ["url"] + } + } + } + }, + "4XX": { + "description": "Error response", + "content": { + "application/json": { + "schema": { + "description": "Error response", + "type": "object", + "properties": { + "statusCode": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["statusCode", "error", "message"], + "title": "errorSchema" + } + } + } + } + } + }, + "put": { + "summary": "Uploads an object via a presigned URL", + "tags": ["object"], + "parameters": [ + { + "schema": { + "type": "string", + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk" + }, + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJidWNrZXQyL3B1YmxpYy9zYWRjYXQtdXBsb2FkMjMucG5nIiwiaWF0IjoxNjE3NzI2MjczLCJleHAiOjE2MTc3MjcyNzN9.uBQcXzuvXxfw-9WgzWMBfE_nR3VOgpvfZe032sfLSSk", + "in": "query", + "name": "token", + "required": true + }, + { + "schema": { + "type": "string", + "example": "avatars" + }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { + "type": "string", + "example": "folder/cat.png" + }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + } + ], + "responses": { + "200": { + "description": "Succesful response", + "content": { + "application/json": { + "schema": { + "description": "Succesful response", + "type": "object", + "properties": { + "Key": { + "type": "string", + "example": "projectref/avatars/folder/cat.png" + } + }, + "required": ["Key"] + } + } + } + }, + "4XX": { + "description": "Error response", + "content": { + "application/json": { + "schema": { + "description": "Error response", + "type": "object", + "properties": { + "statusCode": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": ["statusCode", "error", "message"], + "title": "errorSchema" + } + } + } + } + } + } + }, "/object/sign/{bucketName}/{wildcard}": { "post": { "summary": "Generate a presigned url to retrieve an object", @@ -1603,6 +1826,9 @@ } ] }, + "version": { + "type": "string" + }, "created_at": { "anyOf": [ { @@ -1649,6 +1875,15 @@ "public": { "type": "boolean" }, + "file_size_limit": { + "type": "integer" + }, + "allowed_mime_types": { + "type": ["null", "array"], + "items": { + "type": "string" + } + }, "created_at": { "type": "string" },