, 'size'> {
disabled?: boolean
layout?: 'horizontal' | 'vertical' | 'flex'
error?: string
- descriptionText?: string
- label?: string
+ descriptionText?: string | React.ReactNode
+ label?: string | React.ReactNode
afterLabel?: string
beforeLabel?: string
labelOptional?: string
@@ -129,7 +128,7 @@ function Toggle({
type="button"
id={id}
name={name}
- className={toggleClasses.join(' ')}
+ className={clsx(...toggleClasses, disabled && 'opacity-50 cursor-default')}
onClick={onClick}
disabled={disabled}
onBlur={handleBlurEvent}
diff --git a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx
index d400ed44020..9715d795b1d 100644
--- a/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx
+++ b/packages/ui/src/lib/Layout/FormLayout/FormLayout.tsx
@@ -86,9 +86,7 @@ export function FormLayout({
} else {
dataInputContainerClasses.push(__styles.data_input_vertical_layout)
if (align === 'right') {
- dataInputContainerClasses.push(
- __styles.data_input_vertical_layout__align_right
- )
+ dataInputContainerClasses.push(__styles.data_input_vertical_layout__align_right)
}
}
@@ -128,10 +126,7 @@ export function FormLayout({
const renderDescription = descriptionText && (
{descriptionText}
@@ -153,19 +148,14 @@ export function FormLayout({
>
{labelled && (
{beforeLabel && (
{beforeLabel}
@@ -174,10 +164,7 @@ export function FormLayout({
{label}
{afterLabel && (
{afterLabel}
@@ -187,10 +174,9 @@ export function FormLayout({
)}
{labelOptional && (
{labelOptional}
diff --git a/packages/ui/src/lib/Markdown/index.tsx b/packages/ui/src/lib/Markdown/index.tsx
new file mode 100644
index 00000000000..09274ae7ac9
--- /dev/null
+++ b/packages/ui/src/lib/Markdown/index.tsx
@@ -0,0 +1,15 @@
+import * as React from 'react'
+import { CodeBlock } from '../../components/CodeBlock/CodeBlock'
+import Image from 'next/image'
+
+export const markdownComponents = {
+ mono: (props: any) => {props.children},
+ code: (props: any) => ,
+ img: (props: any) => {
+ return (
+
+
+
+ )
+ },
+}
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index 82df294f687..8e1e8e16aff 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -123,7 +123,7 @@ export default {
outline-none
focus-visible:ring-1
- focus-visible:z-50
+ focus-visible:z-10
ring-scale-1100
`,
content: `
@@ -161,7 +161,7 @@ export default {
outline-none
focus-visible:ring-1
- focus-visible:z-50
+ focus-visible:z-10
ring-scale-1100
transition-colors
@@ -187,7 +187,11 @@ export default {
chevron: {
base: `
text-scale-900
- rotate-0 group-state-open:rotate-180
+ rotate-0
+ group-state-open:rotate-180
+ group-data-[state=open]:rotate-180
+ ease-[cubic-bezier(0.87,_0,_0.13,_1)]
+ transition-transform duration-300
duration-200
`,
align: {
@@ -365,6 +369,7 @@ export default {
transition
shadow-sm
rounded
+ border
focus:outline-none
focus-visible:ring
focus-visible:ring-scale-700
@@ -372,13 +377,13 @@ export default {
`,
inactive: `
bg-scale-200
- border border-scale-700 hover:border-scale-900
+ border-scale-700 hover:border-scale-900
text-scale-900 hover:text-scale-1200
`,
active: `
- bg-scale-1200
- text-scale-200
- border-scale-1200
+ bg-scale-600
+ text-scale-1200
+ border-scale-800
`,
},
'rounded-pills': {
@@ -968,11 +973,11 @@ export default {
sidepanel: {
base: `
+ z-40
bg-scale-100 dark:bg-scale-300
flex flex-col
fixed
inset-y-0
- max-w-full
h-screen
border-l border-overlay-border
shadow-xl
@@ -998,6 +1003,7 @@ export default {
medium: `w-screen max-w-md h-full`,
large: `w-screen max-w-2xl h-full`,
xlarge: `w-screen max-w-3xl h-full`,
+ xxlarge: `w-screen max-w-4xl h-full`,
},
align: {
left: `
@@ -1018,6 +1024,7 @@ export default {
bg-scale-300 dark:bg-scale-500
`,
overlay: `
+ z-40
fixed
bg-scale-300
dark:bg-scale-100
@@ -1054,8 +1061,8 @@ export default {
hover:bg-scale-700
`,
active: `
- bg-brand-900
- hover:bg-brand-900
+ !bg-brand-900
+ !hover:bg-brand-900
`,
handle_container: {
tiny: 'h-4 w-7',
@@ -1074,11 +1081,11 @@ export default {
transition
ease-in-out duration-200
`,
- tiny: 'h-3 w-3',
- small: 'h-5 w-5',
- medium: 'h-5 w-5',
- large: 'h-6 w-6',
- xlarge: 'h-6 w-6',
+ tiny: '!h-3 !w-3',
+ small: '!h-5 !w-5',
+ medium: '!h-5 !w-5',
+ large: '!h-6 !w-6',
+ xlarge: '!h-6 !w-6',
},
handle_active: {
tiny: ' translate-x-3 dark:bg-white',
@@ -1146,13 +1153,13 @@ export default {
},
},
label_before: {
- base: 'text-scale-500 ',
+ base: 'text-scale-1000 ',
size: {
...defaults.size.text,
},
},
label_after: {
- base: 'text-scale-500',
+ base: 'text-scale-1000',
size: {
...defaults.size.text,
},
@@ -1205,12 +1212,12 @@ export default {
data-open:text-scale-1200
`,
content: `
+ z-40
bg-scale-100 dark:bg-scale-300
border border-scale-300 dark:border-scale-500
rounded
shadow-lg
py-1.5
-
origin-dropdown
data-open:animate-dropdown-content-show
data-closed:animate-dropdown-content-hide
@@ -1292,6 +1299,7 @@ export default {
`,
content: `
+ z-40
bg-scale-100 dark:bg-scale-300
border border-scale-300 dark:border-scale-500
rounded
@@ -1464,6 +1472,7 @@ export default {
xxxlarge: `sm:align-middle sm:w-full max-w-7xl`,
},
overlay: `
+ z-40
fixed
bg-scale-300
dark:bg-scale-100
@@ -1475,13 +1484,13 @@ export default {
data-open:animate-fade-in-overlay-bg
`,
scroll_overlay: `
+ z-40
fixed
inset-0
grid
place-items-center
overflow-y-auto
data-open:animate-overlay-show data-closed:animate-overlay-hide
- z-50
`,
separator: `
w-full
diff --git a/packages/ui/src/types/sse.d.ts b/packages/ui/src/types/sse.d.ts
new file mode 100644
index 00000000000..dbf97ac0836
--- /dev/null
+++ b/packages/ui/src/types/sse.d.ts
@@ -0,0 +1,12 @@
+declare module 'sse.js' {
+ export type SSEOptions = EventSourceInit & {
+ headers?: Record
+ payload?: string
+ method?: string
+ }
+
+ export class SSE extends EventSource {
+ constructor(url: string | URL, sseOptions?: SSEOptions)
+ stream(): void
+ }
+}
diff --git a/packages/ui/src/utils/cn.ts b/packages/ui/src/utils/cn.ts
new file mode 100644
index 00000000000..5589c557500
--- /dev/null
+++ b/packages/ui/src/utils/cn.ts
@@ -0,0 +1,6 @@
+import { ClassValue, clsx } from 'clsx'
+import { twMerge } from 'tailwind-merge'
+
+export function cn(...inputs: ClassValue[]) {
+ return twMerge(clsx(inputs))
+}
diff --git a/packages/ui/tsconfig.json b/packages/ui/tsconfig.json
new file mode 100644
index 00000000000..8637a0ecaf7
--- /dev/null
+++ b/packages/ui/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "extends": "tsconfig/react-library.json",
+ "compilerOptions": {
+ "resolveJsonModule": true
+ },
+ "include": [
+ "."
+ ],
+ "exclude": [
+ "dist",
+ "build",
+ "node_modules"
+ ]
+}
\ No newline at end of file
diff --git a/spec/Makefile b/spec/Makefile
index b138b4d5961..4d435a6915a 100644
--- a/spec/Makefile
+++ b/spec/Makefile
@@ -51,10 +51,13 @@ download.tsdoc.v2:
curl -sS https://supabase.github.io/storage-js/v2/spec.json > $(REPO_DIR)/enrichments/tsdoc_v2/storage.json
curl -sS https://supabase.github.io/functions-js/v2/spec.json > $(REPO_DIR)/enrichments/tsdoc_v2/functions.json
+download.analytics.v0:
+ curl -sS https://logflare.app/api/openapi > $(REPO_DIR)/analytics_v0_openapi.json
+
###############################################################################
# Transform docs into working files
###############################################################################
-transform: dereference.api.v0 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v2 combine.tsdoc.v2
+transform: dereference.api.v0 dereference.auth.v1 dereference.storage.v0 dereference.tsdoc.v2 combine.tsdoc.v2
dereference.api.v0:
npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/api_v0_openapi_deparsed.json $(REPO_DIR)/api_v0_openapi.json
@@ -65,6 +68,9 @@ dereference.auth.v1:
dereference.storage.v0:
npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/storage_v0_openapi_deparsed.json $(REPO_DIR)/storage_v0_openapi.json
+dereference.analytics.v0:
+ npx swagger-cli bundle --dereference --outfile $(REPO_DIR)/transforms/analytics_v0_openapi_deparsed.json $(REPO_DIR)/analytics_v0_openapi.json
+
# No longer updated
# dereference.tsdoc.v1:
# cd $(REPO_DIR)/parser && npm run tsdoc:dereference:functions:v1
@@ -113,6 +119,13 @@ combine-raw.tsdoc.v2:
$(REPO_DIR)/enrichments/tsdoc_v2/functions.json \
> $(REPO_DIR)/enrichments/tsdoc_v2/combined_raw.json
+###############################################################################
+# Validate OpenAPI 3.0
+###############################################################################
+
+validate.analytics.v0:
+ npx swagger-cli validate --no-schema $(REPO_DIR)/analytics_v0_openapi.json
+
###############################################################################
# Format everything - easier for git to track changes.
###############################################################################
diff --git a/spec/analytics_v0_config.yaml b/spec/analytics_v0_config.yaml
new file mode 100644
index 00000000000..8753ffd0b7d
--- /dev/null
+++ b/spec/analytics_v0_config.yaml
@@ -0,0 +1,73 @@
+configspec: '001'
+
+# This section outlines the general information for the tool.
+info:
+ id: 'analytics' # {string} A unique ID for this tool.
+ version: 'next' # {string} The current version number of the tool.
+ title: 'Analytics' # {string} A readable name.
+ source: 'https://github.com/supabase/realtime' # {string} Where developers can find the source code.
+ bugs: 'https://github.com/supabase/realtime/issues' # {string} Where developers can file bugs.
+ spec: 'https://github.com/supabase/supabase/blob/master/spec/realtime_v0_config.yml' # {string} Where developers can find this spec (to link directly in the docs).
+ description: |
+ You can use environment variables to configure your Analytics Server.
+ tags:
+ - id: general
+ title: General Settings
+ description: General server settings.
+
+# This section is an array of public functions which a user might need to execute.
+parameters:
+ - id: 'LOGFLARE_SINGLE_TENANT' # {string} A unique identifier for this param.
+ title: 'LOGFLARE_SINGLE_TENANT' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: 'true'
+ type: 'boolean'
+ description: |
+ This is will seed a singular user into the database, and will disable browser authentication. All browser usage will default to this user. Inviting team users and other team-related functionality is currently not supported for self-hosted. Logflare self-hosted is currently intended for single-user experience only.
+ - id: 'LOGFLARE_API_KEY' # {string} A unique identifier for this param.
+ title: 'LOGFLARE_API_KEY' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: ''
+ type: 'string'
+ description: |
+ Allows you to pass in an API key that will used for authentication. This is intended for programmatic usage where an external program sets the API key. It is advised to use the UI to configure the access tokens instead. If this value is not provided, the default API key will be automatically generated.
+ - id: 'LOGFLARE_SUPABASE_MODE' # {string} A unique identifier for this param.
+ title: 'LOGFLARE_SUPABASE_MODE' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: 'false'
+ type: 'boolean'
+ description: |
+ This is a special mode for Logflare which will seed additional resources for usage with Supabase self-hosted.
+ - id: 'PHX_HTTP_PORT' # {string} A unique identifier for this param.
+ title: 'PHX_HTTP_PORT' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: '4000'
+ type: 'string'
+ description: |
+ Port which serves HTTP requests
+ - id: 'DB_SCHEMA' # {string} A unique identifier for this param.
+ title: 'DB_SCHEMA' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: ''
+ type: 'string'
+ description: |
+ This ENV variable sets the search path to a custom database schema. This allows you to customize the schema used on the database.
+ - id: 'LOGFLARE_LOG_LEVEL' # {string} A unique identifier for this param.
+ title: 'LOGFLARE_LOG_LEVEL' # {string} Any name.
+ tags: ['general'] # {string[]} These tags are useful for grouping parameters
+ links: [] # {string[]} These tags are useful for grouping parameters
+ required: true
+ default: 'info'
+ type: 'string'
+ description: |
+ Allows the setting of the log level at runtime. For production settings, we advise `warn`.
\ No newline at end of file
diff --git a/spec/analytics_v0_openapi.json b/spec/analytics_v0_openapi.json
new file mode 100644
index 00000000000..345cae6aefd
--- /dev/null
+++ b/spec/analytics_v0_openapi.json
@@ -0,0 +1,1036 @@
+{
+ "components": {
+ "responses": {},
+ "schemas": {
+ "Accepted": {
+ "title": "Accepted"
+ },
+ "Endpoint": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ },
+ "NotFound": {
+ "title": "NotFound"
+ },
+ "Notification": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "Source": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "$ref": "#/components/schemas/Notification"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ },
+ "Team": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "$ref": "#/components/schemas/TeamUser"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/components/schemas/User"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ },
+ "TeamUser": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "User": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ }
+ },
+ "info": {
+ "title": "logflare",
+ "version": "1.0.0"
+ },
+ "openapi": "3.0.0",
+ "paths": {
+ "/api/endpoints": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Endpoint"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Endpoint List Response"
+ }
+ },
+ "summary": "List endpoints",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create endpoint",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/endpoints/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.delete",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete endpoint",
+ "tags": [
+ "management",
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.show",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch endpoint",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update (2)",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Endpoint"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/sources": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Source"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Source List Response"
+ }
+ },
+ "summary": "List sources",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create source",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/sources/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.delete",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete source",
+ "tags": [
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.show",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch source",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update (2)",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Source"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/teams": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Team"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Team List Response"
+ }
+ },
+ "summary": "List teams",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create Team",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/teams/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.delete",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete Team",
+ "tags": [
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.show",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch team",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update (2)",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Team"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "$ref": "#/components/schemas/NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": [
+ "management"
+ ]
+ }
+ }
+ },
+ "security": [],
+ "servers": [
+ {
+ "url": "https://logflare.app",
+ "variables": {}
+ }
+ ],
+ "tags": []
+}
\ No newline at end of file
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/cli_v1_commands--old.yaml b/spec/cli_v1_commands--old.yaml
index d7af310d127..f3671ceb1ae 100644
--- a/spec/cli_v1_commands--old.yaml
+++ b/spec/cli_v1_commands--old.yaml
@@ -380,12 +380,12 @@ commands:
```
- id: supabase-functions-serve
title: supabase functions serve
- summary: Serve a Function locally
+ summary: Serve Functions locally
tags: []
links: []
usage: |-
```sh
- supabase functions serve [flags]
+ supabase functions serve [flags]
```
subcommands: []
options: |-
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yaml
index c060b75634e..595ce8ff2d7 100644
--- a/spec/cli_v1_commands.yaml
+++ b/spec/cli_v1_commands.yaml
@@ -1,7 +1,7 @@
clispec: '001'
info:
id: cli
- version: 1.34.5
+ version: 1.42.0
title: Supabase CLI
language: sh
source: https://github.com/supabase/cli
@@ -21,6 +21,17 @@ flags:
name: --debug
description: output debug logs to stderr
default_value: 'false'
+ - id: dns-resolver
+ name: --dns-resolver <[ native | https ]>
+ description: lookup domain names using the specified resolver
+ default_value: native
+ accepted_values:
+ - id: native
+ name: native
+ type: '[ native | https ]'
+ - id: https
+ name: https
+ type: '[ native | https ]'
- id: experimental
name: --experimental
description: enable experimental features
@@ -155,6 +166,13 @@ commands:
- id: supabase-stop
title: supabase stop
summary: Stop all local Supabase containers
+ description: |2
+
+ Stops the Supabase local development stack.
+
+ Requires `supabase/config.toml` to be created in your current working directory by running `supabase init`.
+
+ All Docker resources are cleaned up by default. Use `--backup` flag to persist your local development data between restarts.
examples:
- id: basic-usage
name: Basic usage
@@ -165,7 +183,8 @@ commands:
name: Backup local database before stopping
code: supabase stop --backup
response: |
- Database exported to supabase/.branches/main
+ Postgres database saved to volume: supabase_db_cli
+ Storage directory saved to volume: supabase_storage_cli
Stopped supabase local development setup.
tags:
- local-dev
@@ -180,6 +199,13 @@ commands:
- id: supabase-status
title: supabase status
summary: Show status of local Supabase containers
+ description: |2
+
+ Shows status of the Supabase local development stack.
+
+ Requires the local development stack to be started by running `supabase start` or `supabase db start`.
+
+ You can export the connection parameters for [initializing supabase-js](https://supabase.com/docs/reference/javascript/initializing) locally by specifying the `-o env` flag. Supported parameters include `JWT_SECRET`, `ANON_KEY`, and `SERVICE_ROLE_KEY`.
examples:
- id: basic-usage
name: Basic usage
@@ -253,7 +279,9 @@ commands:
Requires `supabase/config.toml` to be created in your current working directory by running `supabase init`.
- All service containers are started by default. You can exclude those not needed by passing in `-x` flag.
+ All service containers are started by default. You can exclude those not needed by passing in `-x` flag. To exclude multiple containers, either pass in a comma separated string, such as `-x gotrue,imgproxy`, or specify `-x` flag multiple times.
+
+ > It is recommended to have at least 7GB of RAM to start all services.
Health checks are automatically added to verify the started containers. Use `--ignore-health-check` flag to ignore these errors.
examples:
@@ -265,10 +293,11 @@ commands:
Seeding data supabase/seed.sql...
Started supabase local development setup.
- id: without-studio
- name: Start containers without studio
- code: supabase start -x studio
+ name: Start containers without studio and imgproxy
+ code: supabase start -x studio,imgproxy
response: |
Excluding container: supabase/studio:20221214-4eecc99
+ Excluding container: darthsim/imgproxy:v3.8.0
Seeding data supabase/seed.sql...
Started supabase local development setup.
- id: ignore-health-check
@@ -287,12 +316,66 @@ commands:
- id: exclude
name: -x, --exclude
description: |
- Names of containers to not start. [gotrue, realtime, storage-api, imgproxy, kong, inbucket, postgrest, pgadmin-schema-diff, migra, postgres-meta, studio, deno-relay]
+ Names of containers to not start. [gotrue,realtime,storage-api,imgproxy,kong,inbucket,postgrest,pgadmin-schema-diff,migra,postgres-meta,studio,deno-relay]
default_value: '[]'
- id: ignore-health-check
name: --ignore-health-check
description: Ignore unhealthy services and exit 0
default_value: 'false'
+ - id: supabase-ssl-enforcement
+ title: supabase ssl-enforcement
+ summary: Manage SSL enforcement configuration
+ tags:
+ - management-api
+ links: []
+ subcommands:
+ - supabase-ssl-enforcement-get
+ - supabase-ssl-enforcement-update
+ flags: []
+ - id: supabase-ssl-enforcement-update
+ title: supabase ssl-enforcement update
+ summary: Update SSL enforcement configuration
+ tags: []
+ links: []
+ usage: supabase ssl-enforcement update [flags]
+ subcommands: []
+ flags:
+ - id: disable-db-ssl-enforcement
+ name: --disable-db-ssl-enforcement
+ description: |
+ Whether the DB should disable SSL enforcement for all external connections.
+ default_value: 'false'
+ - id: enable-db-ssl-enforcement
+ name: --enable-db-ssl-enforcement
+ description: |
+ Whether the DB should enable SSL enforcement for all external connections.
+ default_value: 'false'
+ - id: experimental
+ name: --experimental
+ description: enable experimental features
+ required: true
+ default_value: 'false'
+ - id: project-ref
+ name: --project-ref
+ description: Project ref of the Supabase project.
+ default_value: ''
+ - id: supabase-ssl-enforcement-get
+ title: supabase ssl-enforcement get
+ summary: Get the current SSL enforcement configuration
+ tags: []
+ links: []
+ usage: supabase ssl-enforcement get
+ subcommands: []
+ flags:
+ - id: experimental
+ name: --experimental
+ description: enable experimental features
+ required: true
+ default_value: 'false'
+ - id: project-ref
+ name: --project-ref
+ description: Project ref of the Supabase project.
+ default_value: ''
- id: supabase-secrets
title: supabase secrets
summary: Manage Supabase secrets
@@ -565,6 +648,55 @@ commands:
- id: supabase-migration-repair
title: supabase migration repair
summary: Repairs the migration history table
+ description: |2
+
+ Repairs the remote migration history table.
+
+ Requires your local project to be linked to a remote database by running `supabase link`.
+
+ If your local and remote migration history goes out of sync, you can repair the remote history by marking specific migrations as `--status applied` or `--status reverted`. Marking as `reverted` will delete an existing record from the migration history table while marking as `applied` will insert a new record.
+
+ For example, your migration history table may look like this after running `db remote commit` for the first time.
+
+ ```bash
+ $ supabase migration list
+ LOCAL │ REMOTE │ TIME (UTC)
+ ─────────────────┼────────────────┼──────────────────────
+ 20230103054303 │ 20230103054303 │ 2023-01-03 05:43:03
+ ```
+
+ To reset your migration history to a clean state, first delete your local migration file.
+
+ ```bash
+ $ rm supabase/migrations/20230103054303_remote_commit.sql
+ $ supabase migration list
+ LOCAL │ REMOTE │ TIME (UTC)
+ ─────────────────┼────────────────┼──────────────────────
+ │ 20230103054303 │ 2023-01-03 05:43:03
+ ```
+
+ Then mark the remote migration `20230103054303` as reverted.
+
+ ```bash
+ $ supabase migration repair 20230103054303 --status reverted
+ Repaired migration history: 20230103054303 => reverted
+ $ supabase migration list
+ LOCAL │ REMOTE │ TIME (UTC)
+ ─────────────────┼────────────────┼──────────────────────
+ ```
+
+ Now you can run `db remote commit` again to dump the remote schema as a local migration file.
+ examples:
+ - id: basic-usage
+ name: Mark a migration as reverted
+ code: supabase migration repair 20230103054303 --status reverted
+ response: |
+ Repaired migration history: 20230103054303 => reverted
+ - id: mark-applied
+ name: Mark a migration as applied
+ code: supabase migration repair 20230222032233 --status applied
+ response: |
+ Repaired migration history: 20230222032233 => applied
tags: []
links: []
usage: supabase migration repair [flags]
@@ -586,17 +718,72 @@ commands:
- id: reverted
name: reverted
type: '[ applied | reverted ]'
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-migration-new
title: supabase migration new
summary: Create an empty migration script
+ description: |2
+
+ Creates a new migration file locally.
+
+ A `supabase/migrations` directory will be created if it does not already exists in your current `workdir`. All schema migration files must be created in this directory following the pattern `_.sql`.
+
+ Outputs from other commands like `db diff` may be piped to `migration new ` via stdin.
+ examples:
+ - id: basic-usage
+ name: Basic usage
+ code: supabase migration new schema_test
+ response: |
+ Created new migration at supabase/migrations/20230306095710_schema_test.sql.
+ - id: pipe-stdin
+ name: With statements piped from stdin
+ code: echo "create schema if not exists test;" | supabase migration new schema_test
+ response: |
+ Created new migration at supabase/migrations/20230306095710_schema_test.sql.
tags: []
links: []
usage: supabase migration new
subcommands: []
- flags: []
+ flags:
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-migration-list
title: supabase migration list
summary: List local and remote migrations
+ description: |2
+
+ Lists migration history in both local and remote databases.
+
+ Requires your local project to be linked to a remote database by running `supabase link`. For self-hosted databases, you can pass in the connection parameters using `--db-url` flag.
+
+ > Note that URL strings must be escaped according to [RFC 3986](https://www.rfc-editor.org/rfc/rfc3986).
+
+ Local migrations are stored in `supabase/migrations` directory while remote migrations are tracked in `supabase_migrations.schema_migrations` table. Only the timestamps are compared to identify any differences.
+
+ In case of discrepancies between the local and remote migration history, you can resolve them using the `migration repair` command.
+ examples:
+ - id: basic-usage
+ name: Basic usage
+ code: supabase migration list
+ response: |2
+ LOCAL │ REMOTE │ TIME (UTC)
+ ─────────────────┼────────────────┼──────────────────────
+ │ 20230103054303 │ 2023-01-03 05:43:03
+ │ 20230103093141 │ 2023-01-03 09:31:41
+ 20230222032233 │ │ 2023-02-22 03:22:33
+ - id: with-db-url
+ name: Connect to self-hosted database
+ code: supabase migration list --db-url 'postgres://postgres[:percent_encoded_password]@localhost[:port]/postgres'
+ response: |2
+ LOCAL │ REMOTE │ TIME (UTC)
+ ─────────────────┼────────────────┼──────────────────────
+ 20230103054303 │ 20230103054303 │ 2023-01-03 05:43:03
+ 20230103093141 │ 20230103093141 │ 2023-01-03 09:31:41
tags: []
links: []
usage: supabase migration list [flags]
@@ -606,6 +793,10 @@ commands:
name: -p, --password
description: Password to your remote Postgres database.
default_value: ''
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-login
title: supabase login
summary: Authenticate using an access token
@@ -643,6 +834,8 @@ commands:
Optionally, database settings can be validated if you provide a password. Your database password is saved in native credentials storage if available.
+ > If you do not want to be prompted for the database password, such as in a CI environment, you may specify it explicitly via the `SUPABASE_DB_PASSWORD` environment variable.
+
Some commands like `db dump`, `db push`, and `db remote commit` require your project to be linked first.
examples:
- id: basic-usage
@@ -657,6 +850,12 @@ commands:
response: |
Enter your database password:
Finished supabase link.
+ - id: using-alternate-dns
+ name: Link using DNS-over-HTTPS resolver
+ code: supabase link --project-ref ******************** --dns-resolver https
+ response: |
+ Enter your database password:
+ Finished supabase link.
tags:
- local-dev
links: []
@@ -681,7 +880,7 @@ commands:
A `supabase/config.toml` file is created in your current working directory. This configuration is specific to each local project.
- > You may override the directory path by specifying the `SUPABASE_WORKDIR` environment variable.
+ > You may override the directory path by specifying the `SUPABASE_WORKDIR` environment variable or `--workdir` flag.
In addition to `config.toml`, the `supabase` directory may also contain other Supabase objects, such as `migrations`, `functions`, `tests`, etc.
examples:
@@ -761,7 +960,7 @@ commands:
flags: []
- id: supabase-functions-serve
title: supabase functions serve
- summary: Serve a Function locally
+ summary: Serve all Functions locally
tags: []
links: []
usage: supabase functions serve [flags]
@@ -975,7 +1174,11 @@ commands:
links: []
usage: supabase db start
subcommands: []
- flags: []
+ flags:
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-reset
title: supabase db reset
summary: Resets the local database to current migrations
@@ -983,7 +1186,11 @@ commands:
links: []
usage: supabase db reset
subcommands: []
- flags: []
+ flags:
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-remote
title: supabase db remote
summary: Manage remote databases
@@ -1000,6 +1207,10 @@ commands:
usage: supabase db remote commit
subcommands: []
flags:
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: password
name: -p, --password
description: Password to your remote Postgres database.
@@ -1025,6 +1236,10 @@ commands:
name: -p, --password
description: Password to your remote Postgres database.
default_value: ''
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-lint
title: supabase db lint
summary: Checks local database for typing error
@@ -1048,22 +1263,38 @@ commands:
name: -s, --schema
description: List of schema to include.
default_value: all
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-dump
title: supabase db dump
- summary: Dumps schemas from the remote database
+ summary: Dumps data or schemas from the remote database
tags: []
links: []
usage: supabase db dump [flags]
subcommands: []
flags:
+ - id: data-only
+ name: --data-only
+ description: Dumps only data records.
+ default_value: 'false'
- id: file
name: -f, --file
- description: File path to save the dumped schema.
+ description: File path to save the dumped contents.
default_value: ''
- id: password
name: -p, --password
description: Password to your remote Postgres database.
default_value: ''
+ - id: role-only
+ name: --role-only
+ description: Dumps only cluster roles.
+ default_value: 'false'
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-db-diff
title: supabase db diff
summary: Diffs the local database for schema changes
@@ -1092,6 +1323,10 @@ commands:
name: --use-pgadmin
description: Use pgAdmin to generate schema diff.
default_value: 'false'
+ - id: db-url
+ name: --db-url
+ description: connect using the specified database url
+ default_value: ''
- id: supabase-completion
title: supabase completion
summary: Generate the autocompletion script for the specified shell
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index 8e5dff89916..ceb5c2eb7ea 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -239,7 +239,7 @@
},
{
"id": "supabase-functions-serve",
- "title": "Serve a function",
+ "title": "Serve functions locally",
"slug": "supabase-functions-serve",
"type": "cli-command"
},
@@ -408,6 +408,29 @@
}
]
},
+ {
+ "title": "SSL Enforcement",
+ "items": [
+ {
+ "id": "supabase-ssl-enforcement",
+ "title": "Manage SSL enforcement configuration",
+ "slug": "supabase-ssl-enforcement",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-ssl-enforcement-get",
+ "title": "Get the current SSL enforcement configuration",
+ "slug": "supabase-ssl-enforcement-get",
+ "type": "cli-command"
+ },
+ {
+ "id": "supabase-ssl-enforcement-update",
+ "title": "Update SSL enforcement configuration",
+ "slug": "supabase-ssl-enforcement-update",
+ "type": "cli-command"
+ }
+ ]
+ },
{
"title": "Autocompletion Scripts",
"items": [
diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json
index b77ac83e9f2..492e6e5f966 100644
--- a/spec/common-client-libs-sections.json
+++ b/spec/common-client-libs-sections.json
@@ -13,7 +13,8 @@
"excludes": [
"reference_javascript_v1",
"reference_dart_v0",
- "reference_python_v2"
+ "reference_python_v2",
+ "reference_swift_v1"
]
},
{
@@ -32,7 +33,8 @@
"reference_dart_v0",
"reference_dart_v1",
"reference_python_v2",
- "reference_csharp_v0"
+ "reference_csharp_v0",
+ "reference_swift_v1"
]
},
{
@@ -44,7 +46,8 @@
"reference_javascript_v2",
"reference_dart_v1",
"reference_python_v2",
- "reference_csharp_v0"
+ "reference_csharp_v0",
+ "reference_swift_v1"
]
},
{
@@ -297,7 +300,7 @@
"items": [
{
"id": "db-modifiers-select",
- "title": "Select the query",
+ "title": "Return data after inserting",
"slug": "db-modifiers-select",
"product": "database",
"parent": "modifiers",
@@ -305,7 +308,7 @@
},
{
"id": "order",
- "title": "Order the query",
+ "title": "Order the results",
"slug": "order",
"product": "database",
"parent": "modifiers",
@@ -313,7 +316,7 @@
},
{
"id": "limit",
- "title": "Limit the query",
+ "title": "Limit the number of rows returned",
"slug": "limit",
"product": "database",
"parent": "modifiers",
@@ -857,7 +860,10 @@
"title": "Misc",
"excludes": [
"reference_dart_v1",
- "reference_dart_v0"
+ "reference_dart_v0",
+ "reference_python_v2",
+ "reference_csharp_v0",
+ "reference_swift_v1"
],
"items": [
{
@@ -869,4 +875,4 @@
}
]
}
-]
\ No newline at end of file
+]
diff --git a/spec/common-self-hosting-analytics-sections.json b/spec/common-self-hosting-analytics-sections.json
new file mode 100644
index 00000000000..b1eaffff1fb
--- /dev/null
+++ b/spec/common-self-hosting-analytics-sections.json
@@ -0,0 +1,104 @@
+[
+ {
+ "id": "introduction",
+ "title": "Introduction",
+ "slug": "introduction",
+ "summary": "Introduction",
+ "type": "markdown"
+ },
+ {
+ "title": "Management API",
+ "items": [
+ {
+ "id": "list-endpoints",
+ "slug": "list-endpoints",
+ "title": "List endpoints",
+ "type": "operation"
+ },
+ {
+ "id": "create-endpoint",
+ "slug": "create-endpoint",
+ "title": "Create endpoint",
+ "type": "operation"
+ },
+ {
+ "id": "delete-endpoint",
+ "slug": "delete-endpoint",
+ "title": "Delete endpoint",
+ "type": "operation"
+ },
+ {
+ "id": "fetch-endpoint",
+ "slug": "fetch-endpoint",
+ "title": "Fetch endpoint",
+ "type": "operation"
+ },
+ {
+ "id": "update-endpoint",
+ "slug": "update-endpoint",
+ "title": "Update endpoint",
+ "type": "operation"
+ },
+ {
+ "id": "list-sources",
+ "slug": "list-sources",
+ "title": "List sources",
+ "type": "operation"
+ },
+ {
+ "id": "create-source",
+ "slug": "create-source",
+ "title": "Create source",
+ "type": "operation"
+ },
+ {
+ "id": "delete-source",
+ "slug": "delete-source",
+ "title": "Delete source",
+ "type": "operation"
+ },
+ {
+ "id": "fetch-source",
+ "slug": "fetch-source",
+ "title": "Fetch source",
+ "type": "operation"
+ },
+ {
+ "id": "update-source",
+ "slug": "update-source",
+ "title": "Update source",
+ "type": "operation"
+ },
+ {
+ "id": "list-teams",
+ "slug": "list-teams",
+ "title": "List teams",
+ "type": "operation"
+ },
+ {
+ "id": "create-team",
+ "slug": "create-team",
+ "title": "Create team",
+ "type": "operation"
+ },
+ {
+ "id": "delete-team",
+ "slug": "delete-team",
+ "title": "Delete team",
+ "type": "operation"
+ },
+ {
+ "id": "fetch-team",
+ "slug": "fetch-team",
+ "title": "Fetch team",
+ "type": "operation"
+ },
+ {
+ "id": "update-team",
+ "slug": "update-team",
+ "title": "Update team",
+ "type": "operation"
+ }
+ ]
+ }
+]
\ No newline at end of file
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 06f1d93beed..b927354fa38 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": 789,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 751,
+ "id": 790,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6005,14 +6069,14 @@
],
"signatures": [
{
- "id": 752,
+ "id": 791,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 753,
+ "id": 792,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6023,7 +6087,7 @@
}
},
{
- "id": 754,
+ "id": 793,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -6036,24 +6100,24 @@
],
"type": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 755,
+ "id": 794,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6071,12 +6135,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 756,
+ "id": 795,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -6090,7 +6154,7 @@
],
"signatures": [
{
- "id": 757,
+ "id": 796,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -6098,14 +6162,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 758,
+ "id": 797,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 760,
+ "id": 799,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -6124,7 +6188,7 @@
"defaultValue": "..."
},
{
- "id": 759,
+ "id": 798,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6143,7 +6207,7 @@
"defaultValue": "..."
},
{
- "id": 761,
+ "id": 800,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6166,7 +6230,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [760, 759, 761]
+ "children": [799, 798, 800]
}
]
}
@@ -6179,17 +6243,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [751]
+ "children": [790]
},
{
"title": "Properties",
"kind": 1024,
- "children": [755]
+ "children": [794]
},
{
"title": "Methods",
"kind": 2048,
- "children": [756]
+ "children": [795]
}
],
"sources": [
@@ -6202,20 +6266,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 743,
+ "id": 782,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 744,
+ "id": 783,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6229,14 +6293,14 @@
],
"signatures": [
{
- "id": 745,
+ "id": 784,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 746,
+ "id": 785,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6247,7 +6311,7 @@
}
},
{
- "id": 747,
+ "id": 786,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -6262,7 +6326,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
"overwrites": {
@@ -6277,7 +6341,7 @@
}
},
{
- "id": 748,
+ "id": 787,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6308,12 +6372,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [744]
+ "children": [783]
},
{
"title": "Properties",
"kind": 1024,
- "children": [748]
+ "children": [787]
}
],
"sources": [
@@ -6334,30 +6398,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 812,
+ "id": 851,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6371,14 +6435,14 @@
],
"signatures": [
{
- "id": 813,
+ "id": 852,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 814,
+ "id": 853,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6389,7 +6453,7 @@
}
},
{
- "id": 815,
+ "id": 854,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -6404,14 +6468,14 @@
{
"type": "reflection",
"declaration": {
- "id": 816,
+ "id": 855,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 818,
+ "id": 857,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -6429,7 +6493,7 @@
}
},
{
- "id": 817,
+ "id": 856,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6451,7 +6515,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [818, 817]
+ "children": [857, 856]
}
]
}
@@ -6463,24 +6527,24 @@
],
"type": {
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 819,
+ "id": 858,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -6502,14 +6566,14 @@
{
"type": "reflection",
"declaration": {
- "id": 820,
+ "id": 859,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 822,
+ "id": 861,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -6527,7 +6591,7 @@
}
},
{
- "id": 821,
+ "id": 860,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6549,7 +6613,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [822, 821]
+ "children": [861, 860]
}
]
}
@@ -6559,7 +6623,7 @@
"defaultValue": "null"
},
{
- "id": 833,
+ "id": 872,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6577,12 +6641,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 834,
+ "id": 873,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6600,12 +6664,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 823,
+ "id": 862,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -6619,7 +6683,7 @@
],
"signatures": [
{
- "id": 824,
+ "id": 863,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -6627,14 +6691,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 825,
+ "id": 864,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 829,
+ "id": 868,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -6656,14 +6720,14 @@
{
"type": "reflection",
"declaration": {
- "id": 830,
+ "id": 869,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 832,
+ "id": 871,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -6681,7 +6745,7 @@
}
},
{
- "id": 831,
+ "id": 870,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -6703,7 +6767,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [832, 831]
+ "children": [871, 870]
}
]
}
@@ -6713,7 +6777,7 @@
"defaultValue": "..."
},
{
- "id": 827,
+ "id": 866,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -6732,7 +6796,7 @@
"defaultValue": "..."
},
{
- "id": 826,
+ "id": 865,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -6751,7 +6815,7 @@
"defaultValue": "..."
},
{
- "id": 828,
+ "id": 867,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -6774,21 +6838,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [829, 827, 826, 828]
+ "children": [868, 866, 865, 867]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -6797,17 +6861,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [812]
+ "children": [851]
},
{
"title": "Properties",
"kind": 1024,
- "children": [819, 833, 834]
+ "children": [858, 872, 873]
},
{
"title": "Methods",
"kind": 2048,
- "children": [823]
+ "children": [862]
}
],
"sources": [
@@ -6820,20 +6884,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 799,
+ "id": 838,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -6847,14 +6911,14 @@
],
"signatures": [
{
- "id": 800,
+ "id": 839,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 801,
+ "id": 840,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -6867,276 +6931,19 @@
],
"type": {
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 802,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 777,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 803,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 778,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 804,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 805,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 806,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 808,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 807,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 809,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [808, 807, 809]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 780,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 779,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [799]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [802, 803]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [804]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 72,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 771,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 836,
- "name": "AuthRetryableFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 837,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 838,
- "name": "new AuthRetryableFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 839,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 840,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 836,
- "name": "AuthRetryableFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 773,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
@@ -7159,7 +6966,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
@@ -7182,7 +6989,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
@@ -7284,14 +7091,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -7300,7 +7107,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [837]
+ "children": [838]
},
{
"title": "Properties",
@@ -7316,27 +7123,27 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 95,
+ "line": 72,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 786,
- "name": "AuthSessionMissingError",
+ "id": 875,
+ "name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 787,
+ "id": 876,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7344,37 +7151,61 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 67,
+ "line": 96,
"character": 2
}
],
"signatures": [
{
- "id": 788,
- "name": "new AuthSessionMissingError",
+ "id": 877,
+ "name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
+ "parameters": [
+ {
+ "id": 878,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 879,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
"type": {
"type": "reference",
- "id": 786,
- "name": "AuthSessionMissingError"
+ "id": 875,
+ "name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 789,
+ "id": 880,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7392,12 +7223,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 790,
+ "id": 881,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7415,12 +7246,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 791,
+ "id": 882,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -7434,7 +7265,7 @@
],
"signatures": [
{
- "id": 792,
+ "id": 883,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -7442,14 +7273,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 793,
+ "id": 884,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 795,
+ "id": 886,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -7468,7 +7299,7 @@
"defaultValue": "..."
},
{
- "id": 794,
+ "id": 885,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7487,7 +7318,7 @@
"defaultValue": "..."
},
{
- "id": 796,
+ "id": 887,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7510,21 +7341,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [795, 794, 796]
+ "children": [886, 885, 887]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -7533,17 +7364,250 @@
{
"title": "Constructors",
"kind": 512,
- "children": [787]
+ "children": [876]
},
{
"title": "Properties",
"kind": 1024,
- "children": [789, 790]
+ "children": [880, 881]
},
{
"title": "Methods",
"kind": 2048,
- "children": [791]
+ "children": [882]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 95,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 810,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 825,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 826,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 827,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 825,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 812,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 811,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 828,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 816,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 829,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 817,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 830,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 831,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 832,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 833,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 835,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834, 833, 835]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 819,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 818,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [826]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [828, 829]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [830]
}
],
"sources": [
@@ -7556,20 +7620,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 764,
+ "id": 803,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7583,14 +7647,14 @@
],
"signatures": [
{
- "id": 765,
+ "id": 804,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 766,
+ "id": 805,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -7601,7 +7665,7 @@
}
},
{
- "id": 767,
+ "id": 806,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -7614,24 +7678,24 @@
],
"type": {
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 768,
+ "id": 807,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -7649,7 +7713,7 @@
}
},
{
- "id": 769,
+ "id": 808,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7676,7 +7740,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
}
@@ -7685,12 +7749,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [764]
+ "children": [803]
},
{
"title": "Properties",
"kind": 1024,
- "children": [768, 769]
+ "children": [807, 808]
}
],
"sources": [
@@ -7703,20 +7767,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 771,
+ "id": 810,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 772,
+ "id": 811,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -7730,14 +7794,14 @@
],
"signatures": [
{
- "id": 773,
+ "id": 812,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 774,
+ "id": 813,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -7748,7 +7812,7 @@
}
},
{
- "id": 775,
+ "id": 814,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -7759,7 +7823,7 @@
}
},
{
- "id": 776,
+ "id": 815,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -7772,24 +7836,24 @@
],
"type": {
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 777,
+ "id": 816,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7811,7 +7875,7 @@
}
},
{
- "id": 778,
+ "id": 817,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7829,12 +7893,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 779,
+ "id": 818,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -7848,7 +7912,7 @@
],
"signatures": [
{
- "id": 780,
+ "id": 819,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -7856,14 +7920,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 781,
+ "id": 820,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 783,
+ "id": 822,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -7882,7 +7946,7 @@
"defaultValue": "..."
},
{
- "id": 782,
+ "id": 821,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -7901,7 +7965,7 @@
"defaultValue": "..."
},
{
- "id": 784,
+ "id": 823,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -7924,7 +7988,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [783, 782, 784]
+ "children": [822, 821, 823]
}
]
}
@@ -7937,17 +8001,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [772]
+ "children": [811]
},
{
"title": "Properties",
"kind": 1024,
- "children": [777, 778]
+ "children": [816, 817]
},
{
"title": "Methods",
"kind": 2048,
- "children": [779]
+ "children": [818]
}
],
"sources": [
@@ -7960,29 +8024,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 786,
+ "id": 825,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 836,
+ "id": 875,
"name": "AuthRetryableFetchError"
}
]
@@ -8225,10 +8289,10 @@
],
"type": {
"type": "reference",
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -8244,14 +8308,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -8271,17 +8335,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8297,21 +8361,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -8322,7 +8386,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -8332,7 +8396,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -8343,7 +8407,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -8357,13 +8421,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -8378,7 +8442,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -8390,14 +8454,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -8407,17 +8471,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8433,21 +8497,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -8458,7 +8522,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -8472,13 +8536,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -8493,7 +8557,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -8509,13 +8573,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -8680,86 +8714,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -8773,7 +8727,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 591,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8951,7 +8995,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -8959,7 +9003,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8967,21 +9011,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -8989,7 +9033,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -8999,7 +9043,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9009,7 +9053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -9018,7 +9062,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -9041,7 +9085,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -9049,7 +9093,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -9059,7 +9103,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9067,7 +9111,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -9081,13 +9125,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -9095,7 +9139,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9103,21 +9147,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9128,7 +9172,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -9138,7 +9182,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9148,7 +9192,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -9157,7 +9201,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -9180,7 +9224,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9188,7 +9232,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -9211,13 +9255,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -9225,7 +9269,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9233,21 +9277,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9258,7 +9302,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -9268,7 +9312,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9278,7 +9322,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -9287,7 +9331,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -9301,7 +9345,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9309,7 +9353,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -9323,13 +9367,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -9337,7 +9381,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9345,21 +9389,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9370,7 +9414,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -9380,7 +9424,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -9391,7 +9435,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -9401,7 +9445,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9411,7 +9455,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -9420,7 +9464,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -9434,7 +9478,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -9442,7 +9486,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -9465,13 +9509,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -9489,7 +9533,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 553,
+ "id": 592,
"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": 772,
"name": "PageParams",
"dereferenced": {
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9732,21 +9776,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -9759,7 +9803,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -9769,7 +9813,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -9782,7 +9826,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -9796,13 +9840,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"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": 765,
"name": "Pagination"
}
]
@@ -10012,7 +10056,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -10127,7 +10171,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -10323,86 +10337,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -10416,7 +10350,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 754,
"name": "SupportedStorage",
"dereferenced": {
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -10734,7 +10758,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"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": 747,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -11124,14 +11148,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -11151,17 +11175,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11177,21 +11201,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -11202,7 +11226,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -11212,7 +11236,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -11223,7 +11247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -11237,13 +11261,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -11258,7 +11282,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -11270,14 +11294,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -11287,17 +11311,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11313,21 +11337,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -11338,7 +11362,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -11352,13 +11376,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -11373,7 +11397,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -11389,13 +11413,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -11560,86 +11554,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -11653,7 +11567,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 591,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11831,7 +11835,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -11839,7 +11843,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11847,21 +11851,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11869,7 +11873,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -11879,7 +11883,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11889,7 +11893,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -11898,7 +11902,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -11921,7 +11925,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -11929,7 +11933,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -11939,7 +11943,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -11947,7 +11951,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -11961,13 +11965,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -11975,7 +11979,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11983,21 +11987,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12008,7 +12012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -12018,7 +12022,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12028,7 +12032,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -12037,7 +12041,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -12060,7 +12064,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -12068,7 +12072,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -12091,13 +12095,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -12105,7 +12109,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12113,21 +12117,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12138,7 +12142,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -12148,7 +12152,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12158,7 +12162,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -12167,7 +12171,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -12181,7 +12185,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -12189,7 +12193,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -12203,13 +12207,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -12217,7 +12221,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12225,21 +12229,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -12250,7 +12254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -12260,7 +12264,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -12271,7 +12275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -12281,7 +12285,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12291,7 +12295,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -12300,7 +12304,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -12314,7 +12318,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -12322,7 +12326,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -12345,13 +12349,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -12369,7 +12373,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 553,
+ "id": 592,
"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": 772,
"name": "PageParams",
"dereferenced": {
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12612,21 +12616,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -12639,7 +12643,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -12649,7 +12653,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -12662,7 +12666,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -12676,13 +12680,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"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": 765,
"name": "Pagination"
}
]
@@ -12892,7 +12896,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -13007,7 +13011,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -13203,86 +13177,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -13296,7 +13190,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 702,
"name": "GoTrueMFAApi",
"dereferenced": {
- "id": 663,
+ "id": 702,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -13420,14 +13404,14 @@
},
"children": [
{
- "id": 667,
+ "id": 706,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 668,
+ "id": 707,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -13437,17 +13421,17 @@
},
"parameters": [
{
- "id": 669,
+ "id": 708,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13455,21 +13439,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13480,7 +13464,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -13494,13 +13478,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -13515,7 +13499,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse"
}
],
@@ -13527,14 +13511,14 @@
]
},
{
- "id": 676,
+ "id": 715,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 677,
+ "id": 716,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -13544,17 +13528,17 @@
},
"parameters": [
{
- "id": 678,
+ "id": 717,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13562,21 +13546,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -13587,7 +13571,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -13597,7 +13581,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13608,7 +13592,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -13622,13 +13606,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -13643,7 +13627,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -13655,14 +13639,14 @@
]
},
{
- "id": 664,
+ "id": 703,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 665,
+ "id": 704,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -13673,17 +13657,17 @@
},
"parameters": [
{
- "id": 666,
+ "id": 705,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13691,21 +13675,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -13716,7 +13700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -13726,7 +13710,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -13739,7 +13723,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -13749,7 +13733,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -13762,7 +13746,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -13776,13 +13760,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -13797,7 +13781,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse"
}
],
@@ -13809,14 +13793,14 @@
]
},
{
- "id": 681,
+ "id": 720,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 682,
+ "id": 721,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -13830,7 +13814,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -13842,14 +13826,14 @@
]
},
{
- "id": 679,
+ "id": 718,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 680,
+ "id": 719,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -13876,7 +13860,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -13888,14 +13872,14 @@
]
},
{
- "id": 673,
+ "id": 712,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 674,
+ "id": 713,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -13905,17 +13889,17 @@
},
"parameters": [
{
- "id": 675,
+ "id": 714,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13923,21 +13907,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13948,7 +13932,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -13962,13 +13946,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -13983,7 +13967,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -13995,14 +13979,14 @@
]
},
{
- "id": 670,
+ "id": 709,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 671,
+ "id": 710,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -14012,17 +13996,17 @@
},
"parameters": [
{
- "id": 672,
+ "id": 711,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14030,21 +14014,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -14055,7 +14039,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -14065,7 +14049,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -14076,7 +14060,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -14086,7 +14070,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -14097,7 +14081,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -14111,13 +14095,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -14132,7 +14116,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -14148,13 +14132,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [667, 676, 664, 681, 679, 673, 670]
+ "children": [706, 715, 703, 720, 718, 712, 709]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 761,
+ "line": 790,
"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": 605,
"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": 607,
"character": 8
}
],
@@ -14408,13 +14266,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 526,
+ "line": 608,
"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": 610,
"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": 613,
+ "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": 614,
+ "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": 616,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 782,
+ "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": 619,
+ "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": 620,
+ "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": 622,
+ "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": 668,
"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": 755,
"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": 959,
"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": 960,
"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": 960,
"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": 320,
"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": 324,
"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": 328,
"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": 316,
"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": 814,
"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": 814,
"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": 999,
"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": 1003,
"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": 1002,
"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": 1007,
"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": 1008,
"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": 1010,
"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": 1010,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 750,
"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": 751,
"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": 752,
"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,63 +15416,92 @@
]
},
{
- "id": 113,
- "name": "signInWithOAuth",
+ "id": 123,
+ "name": "signInWithIdToken",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 358,
+ "line": 429,
"character": 8
}
],
"signatures": [
{
- "id": 114,
- "name": "signInWithOAuth",
+ "id": 124,
+ "name": "signInWithIdToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Log in an existing user via a third-party provider."
+ "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": 115,
+ "id": 125,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"dereferenced": {
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 456,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "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": 464,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -15442,21 +15511,281 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 465,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "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": 467,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 465,
+ "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": 460,
+ "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": 462,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [530, 531, 528, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 456,
+ "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",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 384,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 118,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 119,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "dereferenced": {
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "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": 452,
+ "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": 438,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 520,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -15469,14 +15798,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -15484,19 +15813,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 18
}
],
"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",
@@ -15528,7 +15857,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 438,
+ "line": 444,
"character": 4
}
],
@@ -15538,7 +15867,7 @@
}
},
{
- "id": 492,
+ "id": 519,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -15551,7 +15880,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 440,
+ "line": 446,
"character": 4
}
],
@@ -15561,7 +15890,7 @@
}
},
{
- "id": 497,
+ "id": 524,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -15574,7 +15903,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 444,
+ "line": 450,
"character": 4
}
],
@@ -15588,13 +15917,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 497]
+ "children": [525, 520, 518, 519, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 442,
"character": 12
}
]
@@ -15602,7 +15931,7 @@
}
},
{
- "id": 488,
+ "id": 515,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -15613,16 +15942,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 435,
+ "line": 441,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 293,
+ "id": 318,
"name": "Provider",
"dereferenced": {
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -15714,13 +16043,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 488]
+ "children": [516, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 439,
"character": 41
}
]
@@ -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": 400,
"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": 403,
"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": 404,
"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": 416,
"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": 414,
"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": 406,
"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": 408,
"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": 404,
"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": 401,
"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": 422,
"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": 432,
"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": 434,
+ "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": 430,
"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": 424,
"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": 422,
"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": 421,
"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": 419,
"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 distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. 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": 370,
"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": 373,
"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": 376,
"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": 378,
"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": 376,
"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": 375,
"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": 371,
"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": 386,
"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": 394,
"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": 396,
+ "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": 392,
"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": 386,
"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": 385,
"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": 383,
"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": 381,
"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,40 +16925,34 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 482,
+ "line": 576,
"character": 8
}
],
"signatures": [
{
- "id": 123,
+ "id": 133,
"name": "signInWithSSO",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.",
- "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n\nThis API is experimental and availability is conditional on correct\nsettings on the Auth service.\n",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n"
},
"parameters": [
{
- "id": 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,24 +16960,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 509,
"character": 12
}
],
"type": {
- "type": "intersection",
+ "type": "union",
"types": [
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 554,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 556,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -16624,21 +16987,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
+ "line": 514,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 522,
+ "id": 559,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -16651,8 +17014,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 491,
- "character": 4
+ "line": 518,
+ "character": 8
}
],
"type": {
@@ -16661,7 +17024,7 @@
}
},
{
- "id": 521,
+ "id": 558,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -16674,8 +17037,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 489,
- "character": 4
+ "line": 516,
+ "character": 8
}
],
"type": {
@@ -16688,14 +17051,170 @@
{
"title": "Properties",
"kind": 1024,
- "children": [522, 521]
+ "children": [559, 558]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 12
+ "line": 514,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 555,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [556, 555]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 510,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 560,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 561,
+ "name": "domain",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 562,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 563,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 565,
+ "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": 529,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 564,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [565, 564]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 16
}
]
}
@@ -16706,116 +17225,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [519]
+ "children": [561, 562]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
- "character": 28
+ "line": 521,
+ "character": 4
}
]
}
- },
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 524,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 494,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 4
- }
- ]
- }
- }
- ]
}
]
}
@@ -16828,7 +17248,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 335,
+ "id": 360,
"name": "SSOResponse"
}
],
@@ -16840,7 +17260,7 @@
]
},
{
- "id": 182,
+ "id": 195,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -16848,13 +17268,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 8
}
],
"signatures": [
{
- "id": 183,
+ "id": 196,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -16869,14 +17289,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 +17304,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 29
}
],
@@ -16897,7 +17317,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
@@ -16908,7 +17328,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [185]
+ "children": [198]
}
]
}
@@ -16922,7 +17342,7 @@
]
},
{
- "id": 107,
+ "id": 111,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -16930,13 +17350,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 +17368,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 +17386,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 328,
+ "line": 335,
"character": 12
}
],
@@ -16976,14 +17396,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 +17414,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 338,
"character": 6
}
],
@@ -17004,7 +17424,7 @@
}
},
{
- "id": 443,
+ "id": 468,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17014,21 +17434,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"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 +17461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 351,
"character": 8
}
],
@@ -17051,7 +17471,7 @@
}
},
{
- "id": 446,
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17065,7 +17485,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 342,
+ "line": 349,
"character": 8
}
],
@@ -17075,7 +17495,7 @@
}
},
{
- "id": 445,
+ "id": 470,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17088,7 +17508,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 343,
"character": 8
}
],
@@ -17102,13 +17522,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 446, 445]
+ "children": [472, 471, 470]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"character": 16
}
]
@@ -17116,7 +17536,7 @@
}
},
{
- "id": 442,
+ "id": 467,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -17127,7 +17547,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 340,
"character": 6
}
],
@@ -17141,13 +17561,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441, 443, 442]
+ "children": [466, 468, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 336,
"character": 4
}
]
@@ -17156,14 +17576,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 +17593,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"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 +17620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 367,
"character": 8
}
],
@@ -17210,7 +17630,7 @@
}
},
{
- "id": 453,
+ "id": 478,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17224,7 +17644,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 365,
"character": 8
}
],
@@ -17238,13 +17658,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [454, 453]
+ "children": [479, 478]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"character": 16
}
]
@@ -17252,7 +17672,7 @@
}
},
{
- "id": 450,
+ "id": 475,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -17263,7 +17683,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 351,
+ "line": 358,
"character": 6
}
],
@@ -17273,7 +17693,7 @@
}
},
{
- "id": 449,
+ "id": 474,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -17284,7 +17704,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 356,
"character": 6
}
],
@@ -17298,13 +17718,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [451, 450, 449]
+ "children": [476, 475, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 354,
"character": 4
}
]
@@ -17321,7 +17741,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -17333,7 +17753,7 @@
]
},
{
- "id": 252,
+ "id": 276,
"name": "startAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -17341,20 +17761,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1106,
+ "line": 1288,
"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 desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -17372,7 +17792,7 @@
]
},
{
- "id": 254,
+ "id": 278,
"name": "stopAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -17380,19 +17800,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1121,
+ "line": 1301,
"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 +17831,7 @@
]
},
{
- "id": 145,
+ "id": 155,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -17418,40 +17839,40 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 603,
+ "line": 697,
"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 +17886,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 255,
+ "line": 263,
"character": 2
}
],
@@ -17475,7 +17896,7 @@
}
},
{
- "id": 415,
+ "id": 441,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -17488,7 +17909,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -17498,7 +17919,7 @@
}
},
{
- "id": 417,
+ "id": 443,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -17511,7 +17932,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 255,
"character": 2
}
],
@@ -17521,7 +17942,7 @@
}
},
{
- "id": 416,
+ "id": 442,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -17534,7 +17955,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 250,
"character": 2
}
],
@@ -17548,25 +17969,65 @@
{
"title": "Properties",
"kind": 1024,
- "children": [418, 415, 417, 416]
+ "children": [444, 441, 443, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 241,
"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": 700,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [160]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
@@ -17574,7 +18035,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 344,
+ "id": 369,
"name": "UserResponse"
}
],
@@ -17586,7 +18047,7 @@
]
},
{
- "id": 119,
+ "id": 129,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -17594,13 +18055,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 +18071,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 +18089,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 471,
"character": 12
}
],
@@ -17636,14 +18097,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 +18114,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +18147,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -17696,7 +18157,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17709,7 +18170,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -17723,14 +18184,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -17741,7 +18202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -17751,7 +18212,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -17762,7 +18223,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -17772,7 +18233,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -17783,16 +18244,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +18261,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -17825,26 +18286,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"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 +18316,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -17865,7 +18326,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -17875,21 +18336,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +18363,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -17912,7 +18373,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -17925,7 +18386,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -17939,14 +18400,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -17957,7 +18418,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -17967,7 +18428,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -17978,16 +18439,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +18456,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -18021,6 +18482,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -18032,13 +18497,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"character": 17
}
]
@@ -18054,7 +18519,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -18081,20 +18546,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 +18577,7 @@
},
"children": [
{
- "id": 365,
+ "id": 390,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -18122,7 +18588,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 159,
"character": 2
}
],
@@ -18132,7 +18598,7 @@
}
},
{
- "id": 366,
+ "id": 391,
"name": "timestamp",
"kind": 1024,
"kindString": "Property",
@@ -18143,7 +18609,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 165,
"character": 2
}
],
@@ -18157,26 +18623,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366]
+ "children": [390, 391]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 157,
"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 +18656,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 280,
+ "line": 287,
"character": 2
}
],
@@ -18200,7 +18666,7 @@
}
},
{
- "id": 424,
+ "id": 450,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -18214,7 +18680,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 306,
+ "line": 313,
"character": 2
}
],
@@ -18224,36 +18690,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 +18703,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -18276,12 +18713,11 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 415,
- "name": "UserAttributes.email"
+ "name": "Omit.email"
}
},
{
- "id": 422,
+ "id": 448,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -18292,86 +18728,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -18385,7 +18741,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 446,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -18394,12 +18828,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": 277,
"character": 2
}
],
@@ -18413,26 +18847,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": 266,
"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 +18902,7 @@
},
"children": [
{
- "id": 383,
+ "id": 408,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -18464,7 +18910,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 196,
+ "line": 203,
"character": 2
}
],
@@ -18474,7 +18920,7 @@
}
},
{
- "id": 381,
+ "id": 406,
"name": "factor_type",
"kind": 1024,
"kindString": "Property",
@@ -18485,7 +18931,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 191,
+ "line": 198,
"character": 2
}
],
@@ -18495,7 +18941,7 @@
}
},
{
- "id": 380,
+ "id": 405,
"name": "friendly_name",
"kind": 1024,
"kindString": "Property",
@@ -18508,7 +18954,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 185,
+ "line": 192,
"character": 2
}
],
@@ -18518,7 +18964,7 @@
}
},
{
- "id": 379,
+ "id": 404,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -18529,7 +18975,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 182,
+ "line": 189,
"character": 2
}
],
@@ -18539,7 +18985,7 @@
}
},
{
- "id": 382,
+ "id": 407,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -18550,7 +18996,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 194,
+ "line": 201,
"character": 2
}
],
@@ -18569,7 +19015,7 @@
}
},
{
- "id": 384,
+ "id": 409,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -18577,7 +19023,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 197,
+ "line": 204,
"character": 2
}
],
@@ -18591,26 +19037,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": 187,
"character": 17
}
]
},
{
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 550,
+ "id": 589,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18624,7 +19070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 542,
+ "line": 571,
"character": 2
}
],
@@ -18634,7 +19080,7 @@
}
},
{
- "id": 551,
+ "id": 590,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -18647,7 +19093,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 544,
+ "line": 573,
"character": 2
}
],
@@ -18661,19 +19107,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [589, 590]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 536,
+ "line": 565,
"character": 17
}
]
},
{
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -18689,14 +19135,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -18716,17 +19162,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18742,21 +19188,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -18767,7 +19213,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -18777,7 +19223,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -18788,7 +19234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -18802,13 +19248,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -18823,7 +19269,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -18835,14 +19281,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -18852,17 +19298,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18878,21 +19324,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -18903,7 +19349,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -18917,13 +19363,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -18938,7 +19384,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -18954,19 +19400,19 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"character": 17
}
]
},
{
- "id": 663,
+ "id": 702,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -18976,14 +19422,14 @@
},
"children": [
{
- "id": 667,
+ "id": 706,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 668,
+ "id": 707,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -18993,17 +19439,17 @@
},
"parameters": [
{
- "id": 669,
+ "id": 708,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19011,21 +19457,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -19036,7 +19482,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -19050,13 +19496,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -19071,7 +19517,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse"
}
],
@@ -19083,14 +19529,14 @@
]
},
{
- "id": 676,
+ "id": 715,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 677,
+ "id": 716,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -19100,17 +19546,17 @@
},
"parameters": [
{
- "id": 678,
+ "id": 717,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19118,21 +19564,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -19143,7 +19589,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -19153,7 +19599,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -19164,7 +19610,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -19178,13 +19624,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -19199,7 +19645,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -19211,14 +19657,14 @@
]
},
{
- "id": 664,
+ "id": 703,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 665,
+ "id": 704,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -19229,17 +19675,17 @@
},
"parameters": [
{
- "id": 666,
+ "id": 705,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19247,21 +19693,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -19272,7 +19718,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -19282,7 +19728,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -19295,7 +19741,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -19305,7 +19751,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -19318,7 +19764,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -19332,13 +19778,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -19353,7 +19799,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse"
}
],
@@ -19365,14 +19811,14 @@
]
},
{
- "id": 681,
+ "id": 720,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 682,
+ "id": 721,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -19386,7 +19832,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -19398,14 +19844,14 @@
]
},
{
- "id": 679,
+ "id": 718,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 680,
+ "id": 719,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -19432,7 +19878,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -19444,14 +19890,14 @@
]
},
{
- "id": 673,
+ "id": 712,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 674,
+ "id": 713,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -19461,17 +19907,17 @@
},
"parameters": [
{
- "id": 675,
+ "id": 714,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19479,21 +19925,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -19504,7 +19950,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -19518,13 +19964,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -19539,7 +19985,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -19551,14 +19997,14 @@
]
},
{
- "id": 670,
+ "id": 709,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 671,
+ "id": 710,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -19568,17 +20014,17 @@
},
"parameters": [
{
- "id": 672,
+ "id": 711,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19586,21 +20032,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -19611,7 +20057,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -19621,7 +20067,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -19632,7 +20078,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -19642,7 +20088,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -19653,7 +20099,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -19667,13 +20113,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -19688,7 +20134,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -19704,26 +20150,26 @@
{
"title": "Methods",
"kind": 2048,
- "children": [667, 676, 664, 681, 679, 673, 670]
+ "children": [706, 715, 703, 720, 718, 712, 709]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 761,
+ "line": 790,
"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 +20180,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 132,
"character": 2
}
],
@@ -19744,7 +20190,7 @@
}
},
{
- "id": 361,
+ "id": 386,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -19757,7 +20203,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 137,
+ "line": 144,
"character": 2
}
],
@@ -19767,7 +20213,7 @@
}
},
{
- "id": 360,
+ "id": 385,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -19778,7 +20224,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 133,
+ "line": 140,
"character": 2
}
],
@@ -19788,7 +20234,7 @@
}
},
{
- "id": 357,
+ "id": 382,
"name": "provider_refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -19801,7 +20247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 128,
"character": 2
}
],
@@ -19820,7 +20266,7 @@
}
},
{
- "id": 356,
+ "id": 381,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -19833,7 +20279,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 123,
"character": 2
}
],
@@ -19852,7 +20298,7 @@
}
},
{
- "id": 359,
+ "id": 384,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -19863,7 +20309,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 129,
+ "line": 136,
"character": 2
}
],
@@ -19873,7 +20319,7 @@
}
},
{
- "id": 362,
+ "id": 387,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -19881,7 +20327,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 145,
"character": 2
}
],
@@ -19891,7 +20337,7 @@
}
},
{
- "id": 363,
+ "id": 388,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -19899,456 +20345,29 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 146,
"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",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -20362,8 +20381,169 @@
}
},
{
- "id": 411,
- "name": "updated_at",
+ "id": 419,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "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": 208,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [411]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 207,
+ "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": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 432,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 431,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 429,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -20382,7 +20562,293 @@
}
},
{
- "id": 395,
+ "id": 424,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 433,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "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": 238,
+ "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": 217,
+ "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": 237,
+ "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": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 225,
+ "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": 229,
+ "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": 233,
+ "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": 222,
+ "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": 235,
+ "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": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -20390,16 +20856,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 219,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"dereferenced": {
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -20407,19 +20873,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +20909,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": 216,
"character": 17
}
]
@@ -20463,26 +20929,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": 119,
"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 +20959,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 313,
+ "line": 320,
"character": 2
}
],
@@ -20503,7 +20969,7 @@
}
},
{
- "id": 431,
+ "id": 456,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -20511,13 +20977,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 317,
+ "line": 324,
"character": 2
}
],
"signatures": [
{
- "id": 432,
+ "id": 457,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -20527,17 +20993,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 +21018,10 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
@@ -20577,7 +21047,7 @@
"value": "USER_DELETED"
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -20600,7 +21070,7 @@
}
},
{
- "id": 434,
+ "id": 459,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -20614,7 +21084,7 @@
},
{
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
]
@@ -20629,7 +21099,7 @@
]
},
{
- "id": 435,
+ "id": 460,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -20637,13 +21107,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 328,
"character": 2
}
],
"signatures": [
{
- "id": 436,
+ "id": 461,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -20663,31 +21133,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": 316,
"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 +21165,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 332,
"character": 2
}
],
@@ -20709,459 +21179,32 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438]
+ "children": [463]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 324,
+ "line": 331,
"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",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -21175,8 +21218,169 @@
}
},
{
- "id": 411,
- "name": "updated_at",
+ "id": 419,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "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": 208,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [411]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 207,
+ "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": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 432,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 431,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 429,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -21195,7 +21399,293 @@
}
},
{
- "id": 395,
+ "id": 424,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 433,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "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": 238,
+ "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": 217,
+ "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": 237,
+ "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": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 225,
+ "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": 229,
+ "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": 233,
+ "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": 222,
+ "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": 235,
+ "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": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -21203,16 +21693,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 219,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"dereferenced": {
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -21220,19 +21710,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +21746,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": 216,
"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 +21777,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 201,
+ "line": 208,
"character": 2
}
],
@@ -21301,25 +21791,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [411]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 200,
+ "line": 207,
"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 +21826,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 +21847,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 255,
+ "line": 263,
"character": 2
}
],
@@ -21367,7 +21857,7 @@
}
},
{
- "id": 415,
+ "id": 441,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -21380,7 +21870,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -21390,7 +21880,7 @@
}
},
{
- "id": 417,
+ "id": 443,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -21403,7 +21893,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 255,
"character": 2
}
],
@@ -21413,7 +21903,7 @@
}
},
{
- "id": 416,
+ "id": 442,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -21426,7 +21916,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 250,
"character": 2
}
],
@@ -21440,41 +21930,36 @@
{
"title": "Properties",
"kind": 1024,
- "children": [418, 415, 417, 416]
+ "children": [444, 441, 443, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 241,
"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": 175,
"character": 2
}
],
@@ -21484,7 +21969,7 @@
}
},
{
- "id": 368,
+ "id": 393,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -21492,7 +21977,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 169,
"character": 2
}
],
@@ -21502,35 +21987,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": 171,
"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,15 +22036,17 @@
}
},
{
- "id": 376,
+ "id": 401,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 169,
+ "line": 176,
"character": 2
}
],
@@ -21567,7 +22056,7 @@
}
},
{
- "id": 374,
+ "id": 399,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -21575,7 +22064,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 174,
"character": 2
}
],
@@ -21585,7 +22074,7 @@
}
},
{
- "id": 377,
+ "id": 402,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -21595,7 +22084,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 170,
+ "line": 177,
"character": 2
}
],
@@ -21605,7 +22094,7 @@
}
},
{
- "id": 369,
+ "id": 394,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -21613,7 +22102,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 163,
+ "line": 170,
"character": 2
}
],
@@ -21627,19 +22116,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": 168,
"character": 17
}
]
},
{
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -21647,19 +22136,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +22165,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 +22183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -21704,7 +22193,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21714,21 +22203,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +22230,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -21751,7 +22240,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -21764,7 +22253,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -21778,14 +22267,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -21796,7 +22285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -21806,7 +22295,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -21817,16 +22306,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +22323,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -21860,6 +22349,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -21871,26 +22364,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"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 +22393,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +22426,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -21943,7 +22436,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -21956,7 +22449,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -21970,14 +22463,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -21988,7 +22481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -21998,7 +22491,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -22009,7 +22502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -22019,7 +22512,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -22030,16 +22523,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +22540,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -22072,19 +22565,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"character": 17
}
]
},
{
- "id": 295,
+ "id": 320,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -22099,6 +22592,10 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
@@ -22124,7 +22621,7 @@
"value": "USER_DELETED"
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -22145,7 +22642,7 @@
}
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -22163,7 +22660,7 @@
}
},
{
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -22179,21 +22676,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22204,7 +22701,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -22214,7 +22711,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -22225,7 +22722,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -22239,13 +22736,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -22253,7 +22750,7 @@
}
},
{
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -22269,7 +22766,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 827,
+ "line": 856,
"character": 12
}
],
@@ -22279,14 +22776,14 @@
{
"type": "reflection",
"declaration": {
- "id": 684,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 685,
+ "id": 724,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22294,21 +22791,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 686,
+ "id": 725,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 687,
+ "id": 726,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22319,7 +22816,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 831,
+ "line": 860,
"character": 8
}
],
@@ -22333,13 +22830,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [687]
+ "children": [726]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 12
}
]
@@ -22347,7 +22844,7 @@
}
},
{
- "id": 688,
+ "id": 727,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22355,7 +22852,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 833,
+ "line": 862,
"character": 6
}
],
@@ -22369,13 +22866,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [685, 688]
+ "children": [724, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 828,
+ "line": 857,
"character": 4
}
]
@@ -22384,14 +22881,14 @@
{
"type": "reflection",
"declaration": {
- "id": 689,
+ "id": 728,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 690,
+ "id": 729,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22399,7 +22896,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 6
}
],
@@ -22409,7 +22906,7 @@
}
},
{
- "id": 691,
+ "id": 730,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22417,13 +22914,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -22432,13 +22929,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [690, 691]
+ "children": [729, 730]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 4
}
]
@@ -22448,7 +22945,7 @@
}
},
{
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -22464,21 +22961,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -22489,7 +22986,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -22503,13 +23000,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -22517,7 +23014,7 @@
}
},
{
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -22533,7 +23030,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 851,
+ "line": 880,
"character": 12
}
],
@@ -22543,14 +23040,14 @@
{
"type": "reflection",
"declaration": {
- "id": 697,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 698,
+ "id": 737,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22558,21 +23055,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 699,
+ "id": 738,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 700,
+ "id": 739,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -22583,7 +23080,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 884,
"character": 8
}
],
@@ -22591,7 +23088,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -22601,13 +23098,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [700]
+ "children": [739]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 12
}
]
@@ -22615,7 +23112,7 @@
}
},
{
- "id": 701,
+ "id": 740,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22623,7 +23120,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 886,
"character": 6
}
],
@@ -22637,13 +23134,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [698, 701]
+ "children": [737, 740]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 852,
+ "line": 881,
"character": 4
}
]
@@ -22652,14 +23149,14 @@
{
"type": "reflection",
"declaration": {
- "id": 702,
+ "id": 741,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 703,
+ "id": 742,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22667,7 +23164,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 6
}
],
@@ -22677,7 +23174,7 @@
}
},
{
- "id": 704,
+ "id": 743,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22685,13 +23182,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -22700,13 +23197,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [703, 704]
+ "children": [742, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 4
}
]
@@ -22716,7 +23213,7 @@
}
},
{
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -22724,7 +23221,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 704,
+ "line": 733,
"character": 12
}
],
@@ -22734,14 +23231,14 @@
{
"type": "reflection",
"declaration": {
- "id": 632,
+ "id": 671,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 633,
+ "id": 672,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22749,21 +23246,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 634,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 636,
+ "id": 675,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -22774,7 +23271,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 711,
+ "line": 740,
"character": 8
}
],
@@ -22784,7 +23281,7 @@
}
},
{
- "id": 635,
+ "id": 674,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22795,7 +23292,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 708,
+ "line": 737,
"character": 8
}
],
@@ -22809,13 +23306,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [636, 635]
+ "children": [675, 674]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 12
}
]
@@ -22823,7 +23320,7 @@
}
},
{
- "id": 637,
+ "id": 676,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22831,7 +23328,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 713,
+ "line": 742,
"character": 6
}
],
@@ -22845,13 +23342,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [633, 637]
+ "children": [672, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 705,
+ "line": 734,
"character": 4
}
]
@@ -22860,14 +23357,14 @@
{
"type": "reflection",
"declaration": {
- "id": 638,
+ "id": 677,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 639,
+ "id": 678,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22875,7 +23372,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 6
}
],
@@ -22885,7 +23382,7 @@
}
},
{
- "id": 640,
+ "id": 679,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -22893,13 +23390,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -22908,13 +23405,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [639, 640]
+ "children": [678, 679]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 4
}
]
@@ -22924,7 +23421,7 @@
}
},
{
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -22932,7 +23429,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 661,
+ "line": 690,
"character": 12
}
],
@@ -22942,14 +23439,14 @@
{
"type": "reflection",
"declaration": {
- "id": 608,
+ "id": 647,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 609,
+ "id": 648,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22957,21 +23454,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 610,
+ "id": 649,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 611,
+ "id": 650,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -22982,7 +23479,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 665,
+ "line": 694,
"character": 8
}
],
@@ -22992,7 +23489,7 @@
}
},
{
- "id": 613,
+ "id": 652,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -23003,21 +23500,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 614,
+ "id": 653,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 615,
+ "id": 654,
"name": "qr_code",
"kind": 1024,
"kindString": "Property",
@@ -23028,7 +23525,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 704,
"character": 10
}
],
@@ -23038,7 +23535,7 @@
}
},
{
- "id": 616,
+ "id": 655,
"name": "secret",
"kind": 1024,
"kindString": "Property",
@@ -23049,7 +23546,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 709,
"character": 10
}
],
@@ -23059,7 +23556,7 @@
}
},
{
- "id": 617,
+ "id": 656,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -23070,7 +23567,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 684,
+ "line": 713,
"character": 10
}
],
@@ -23084,13 +23581,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [615, 616, 617]
+ "children": [654, 655, 656]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 14
}
]
@@ -23098,7 +23595,7 @@
}
},
{
- "id": 612,
+ "id": 651,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -23109,7 +23606,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 668,
+ "line": 697,
"character": 8
}
],
@@ -23123,13 +23620,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [611, 613, 612]
+ "children": [650, 652, 651]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 12
}
]
@@ -23137,7 +23634,7 @@
}
},
{
- "id": 618,
+ "id": 657,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23145,7 +23642,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 716,
"character": 6
}
],
@@ -23159,13 +23656,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [609, 618]
+ "children": [648, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 691,
"character": 4
}
]
@@ -23174,14 +23671,14 @@
{
"type": "reflection",
"declaration": {
- "id": 619,
+ "id": 658,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 620,
+ "id": 659,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23189,7 +23686,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 690,
+ "line": 719,
"character": 6
}
],
@@ -23199,7 +23696,7 @@
}
},
{
- "id": 621,
+ "id": 660,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23207,13 +23704,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 720,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -23222,13 +23719,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [620, 621]
+ "children": [659, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 689,
+ "line": 718,
"character": 4
}
]
@@ -23238,7 +23735,7 @@
}
},
{
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23246,7 +23743,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 732,
+ "line": 761,
"character": 12
}
],
@@ -23256,14 +23753,14 @@
{
"type": "reflection",
"declaration": {
- "id": 653,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 693,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23271,21 +23768,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 655,
+ "id": 694,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 658,
+ "id": 697,
"name": "currentAuthenticationMethods",
"kind": 1024,
"kindString": "Property",
@@ -23296,7 +23793,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 751,
+ "line": 780,
"character": 8
}
],
@@ -23304,13 +23801,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 364,
+ "id": 389,
"name": "AMREntry"
}
}
},
{
- "id": 656,
+ "id": 695,
"name": "currentLevel",
"kind": 1024,
"kindString": "Property",
@@ -23321,7 +23818,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 736,
+ "line": 765,
"character": 8
}
],
@@ -23330,7 +23827,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -23341,7 +23838,7 @@
}
},
{
- "id": 657,
+ "id": 696,
"name": "nextLevel",
"kind": 1024,
"kindString": "Property",
@@ -23358,7 +23855,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 744,
+ "line": 773,
"character": 8
}
],
@@ -23367,7 +23864,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -23382,13 +23879,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [658, 656, 657]
+ "children": [697, 695, 696]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 12
}
]
@@ -23396,7 +23893,7 @@
}
},
{
- "id": 659,
+ "id": 698,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23404,7 +23901,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 753,
+ "line": 782,
"character": 6
}
],
@@ -23418,13 +23915,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [654, 659]
+ "children": [693, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 733,
+ "line": 762,
"character": 4
}
]
@@ -23433,14 +23930,14 @@
{
"type": "reflection",
"declaration": {
- "id": 660,
+ "id": 699,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 661,
+ "id": 700,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23448,7 +23945,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 6
}
],
@@ -23458,7 +23955,7 @@
}
},
{
- "id": 662,
+ "id": 701,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23466,13 +23963,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -23481,13 +23978,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [661, 662]
+ "children": [700, 701]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 4
}
]
@@ -23497,7 +23994,7 @@
}
},
{
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23505,7 +24002,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 746,
"character": 12
}
],
@@ -23515,14 +24012,14 @@
{
"type": "reflection",
"declaration": {
- "id": 642,
+ "id": 681,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 643,
+ "id": 682,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23530,21 +24027,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 683,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 645,
+ "id": 684,
"name": "all",
"kind": 1024,
"kindString": "Property",
@@ -23555,7 +24052,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 721,
+ "line": 750,
"character": 8
}
],
@@ -23563,13 +24060,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
},
{
- "id": 646,
+ "id": 685,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -23580,7 +24077,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 724,
+ "line": 753,
"character": 8
}
],
@@ -23588,7 +24085,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -23598,13 +24095,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [645, 646]
+ "children": [684, 685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 12
}
]
@@ -23612,7 +24109,7 @@
}
},
{
- "id": 647,
+ "id": 686,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23620,7 +24117,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 726,
+ "line": 755,
"character": 6
}
],
@@ -23634,13 +24131,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [643, 647]
+ "children": [682, 686]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 718,
+ "line": 747,
"character": 4
}
]
@@ -23649,14 +24146,14 @@
{
"type": "reflection",
"declaration": {
- "id": 648,
+ "id": 687,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 649,
+ "id": 688,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23664,7 +24161,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 6
}
],
@@ -23674,7 +24171,7 @@
}
},
{
- "id": 650,
+ "id": 689,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23682,13 +24179,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -23697,13 +24194,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [649, 650]
+ "children": [688, 689]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 4
}
]
@@ -23713,7 +24210,7 @@
}
},
{
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23721,7 +24218,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 694,
+ "line": 723,
"character": 12
}
],
@@ -23731,14 +24228,14 @@
{
"type": "reflection",
"declaration": {
- "id": 623,
+ "id": 662,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 624,
+ "id": 663,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23746,21 +24243,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 625,
+ "id": 664,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 626,
+ "id": 665,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -23771,7 +24268,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 698,
+ "line": 727,
"character": 8
}
],
@@ -23785,13 +24282,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [626]
+ "children": [665]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 12
}
]
@@ -23799,7 +24296,7 @@
}
},
{
- "id": 627,
+ "id": 666,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23807,7 +24304,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 700,
+ "line": 729,
"character": 6
}
],
@@ -23821,13 +24318,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [624, 627]
+ "children": [663, 666]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 695,
+ "line": 724,
"character": 4
}
]
@@ -23836,14 +24333,14 @@
{
"type": "reflection",
"declaration": {
- "id": 628,
+ "id": 667,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 629,
+ "id": 668,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23851,7 +24348,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 6
}
],
@@ -23861,7 +24358,7 @@
}
},
{
- "id": 630,
+ "id": 669,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23869,13 +24366,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -23884,13 +24381,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 630]
+ "children": [668, 669]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 4
}
]
@@ -23900,7 +24397,7 @@
}
},
{
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23908,7 +24405,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 636,
+ "line": 665,
"character": 12
}
],
@@ -23918,14 +24415,14 @@
{
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 596,
+ "id": 635,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23933,21 +24430,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 597,
+ "id": 636,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 598,
+ "id": 637,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -23958,7 +24455,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 640,
+ "line": 669,
"character": 8
}
],
@@ -23968,7 +24465,7 @@
}
},
{
- "id": 600,
+ "id": 639,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -23979,7 +24476,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 646,
+ "line": 675,
"character": 8
}
],
@@ -23989,7 +24486,7 @@
}
},
{
- "id": 601,
+ "id": 640,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -24000,7 +24497,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 649,
+ "line": 678,
"character": 8
}
],
@@ -24010,7 +24507,7 @@
}
},
{
- "id": 599,
+ "id": 638,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -24021,7 +24518,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 643,
+ "line": 672,
"character": 8
}
],
@@ -24031,7 +24528,7 @@
}
},
{
- "id": 602,
+ "id": 641,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -24042,13 +24539,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 652,
+ "line": 681,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -24057,13 +24554,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [598, 600, 601, 599, 602]
+ "children": [637, 639, 640, 638, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 12
}
]
@@ -24071,7 +24568,7 @@
}
},
{
- "id": 603,
+ "id": 642,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24079,7 +24576,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 654,
+ "line": 683,
"character": 6
}
],
@@ -24093,13 +24590,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [596, 603]
+ "children": [635, 642]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 637,
+ "line": 666,
"character": 4
}
]
@@ -24108,14 +24605,14 @@
{
"type": "reflection",
"declaration": {
- "id": 604,
+ "id": 643,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 605,
+ "id": 644,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -24123,7 +24620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 686,
"character": 6
}
],
@@ -24133,7 +24630,7 @@
}
},
{
- "id": 606,
+ "id": 645,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24141,13 +24638,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 687,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -24156,13 +24653,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 606]
+ "children": [644, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 656,
+ "line": 685,
"character": 4
}
]
@@ -24172,7 +24669,7 @@
}
},
{
- "id": 309,
+ "id": 334,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -24180,7 +24677,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 54,
"character": 12
}
],
@@ -24190,14 +24687,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 +24702,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 +24761,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 +24776,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 +24790,7 @@
}
},
{
- "id": 315,
+ "id": 340,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24301,7 +24798,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 6
}
],
@@ -24315,13 +24812,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 +24827,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 +24842,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 +24890,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 +24910,7 @@
}
},
{
- "id": 321,
+ "id": 346,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24421,13 +24918,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 67,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -24436,13 +24933,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 +24949,7 @@
}
},
{
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels",
"kind": 4194304,
"kindString": "Type alias",
@@ -24460,7 +24957,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 730,
+ "line": 759,
"character": 12
}
],
@@ -24479,7 +24976,7 @@
}
},
{
- "id": 719,
+ "id": 758,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -24487,7 +24984,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 905,
+ "line": 934,
"character": 12
}
],
@@ -24497,14 +24994,14 @@
{
"type": "reflection",
"declaration": {
- "id": 720,
+ "id": 759,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 722,
+ "id": 761,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24512,7 +25009,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 908,
+ "line": 937,
"character": 6
}
],
@@ -24522,7 +25019,7 @@
}
},
{
- "id": 721,
+ "id": 760,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -24530,13 +25027,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 936,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
}
@@ -24545,13 +25042,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [722, 721]
+ "children": [761, 760]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 906,
+ "line": 935,
"character": 4
}
]
@@ -24560,14 +25057,14 @@
{
"type": "reflection",
"declaration": {
- "id": 723,
+ "id": 762,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 725,
+ "id": 764,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -24575,18 +25072,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 912,
+ "line": 941,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
},
{
- "id": 724,
+ "id": 763,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -24594,7 +25091,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 911,
+ "line": 940,
"character": 6
}
],
@@ -24608,13 +25105,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [725, 724]
+ "children": [764, 763]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 910,
+ "line": 939,
"character": 4
}
]
@@ -24624,7 +25121,7 @@
}
},
{
- "id": 516,
+ "id": 552,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -24632,7 +25129,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -24658,12 +25155,16 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24671,21 +25172,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -24696,7 +25197,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -24706,7 +25207,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -24717,7 +25218,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -24727,7 +25228,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24737,7 +25238,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -24746,7 +25247,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -24760,7 +25261,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24768,7 +25269,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -24791,13 +25292,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -24805,7 +25306,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24813,21 +25314,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -24838,7 +25339,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -24848,7 +25349,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -24858,7 +25359,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -24867,7 +25368,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -24890,7 +25391,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24898,7 +25399,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -24921,13 +25422,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -24935,7 +25436,7 @@
}
},
{
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24943,7 +25444,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -24951,7 +25452,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -24959,21 +25460,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -24981,7 +25482,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -24991,7 +25492,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25001,7 +25502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -25010,7 +25511,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -25033,7 +25534,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -25041,7 +25542,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -25051,7 +25552,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -25059,7 +25560,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -25073,13 +25574,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -25087,7 +25588,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -25095,21 +25596,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -25120,7 +25621,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -25130,7 +25631,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25140,7 +25641,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -25149,7 +25650,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -25172,7 +25673,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -25180,7 +25681,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -25203,13 +25704,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -25217,7 +25718,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -25225,21 +25726,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -25250,7 +25751,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -25260,7 +25761,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25270,7 +25771,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -25279,7 +25780,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -25293,7 +25794,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -25301,7 +25802,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -25315,13 +25816,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -25329,7 +25830,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -25337,21 +25838,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -25362,7 +25863,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -25372,7 +25873,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -25383,7 +25884,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -25393,7 +25894,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -25403,7 +25904,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -25412,7 +25913,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -25426,7 +25927,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -25434,7 +25935,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -25457,13 +25958,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -25474,7 +25975,7 @@
}
},
{
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -25485,21 +25986,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 606,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 607,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -25510,7 +26011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 604,
"character": 2
}
],
@@ -25520,7 +26021,7 @@
}
},
{
- "id": 569,
+ "id": 608,
"name": "email_otp",
"kind": 1024,
"kindString": "Property",
@@ -25531,7 +26032,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 609,
"character": 2
}
],
@@ -25541,7 +26042,7 @@
}
},
{
- "id": 570,
+ "id": 609,
"name": "hashed_token",
"kind": 1024,
"kindString": "Property",
@@ -25552,7 +26053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 584,
+ "line": 613,
"character": 2
}
],
@@ -25562,7 +26063,7 @@
}
},
{
- "id": 571,
+ "id": 610,
"name": "redirect_to",
"kind": 1024,
"kindString": "Property",
@@ -25573,7 +26074,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 615,
"character": 2
}
],
@@ -25583,7 +26084,7 @@
}
},
{
- "id": 572,
+ "id": 611,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -25594,16 +26095,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 588,
+ "line": 617,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"dereferenced": {
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -25611,7 +26112,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 591,
+ "line": 620,
"character": 12
}
],
@@ -25652,13 +26153,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [568, 569, 570, 571, 572]
+ "children": [607, 608, 609, 610, 611]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 37
}
]
@@ -25666,7 +26167,7 @@
}
},
{
- "id": 553,
+ "id": 592,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -25674,7 +26175,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 553,
+ "line": 582,
"character": 12
}
],
@@ -25684,14 +26185,14 @@
{
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 555,
+ "id": 594,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25699,21 +26200,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 556,
+ "id": 595,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 557,
+ "id": 596,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -25721,18 +26222,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 556,
+ "line": 585,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties"
}
},
{
- "id": 558,
+ "id": 597,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -25740,13 +26241,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 557,
+ "line": 586,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -25755,13 +26256,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [557, 558]
+ "children": [596, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 12
}
]
@@ -25769,7 +26270,7 @@
}
},
{
- "id": 559,
+ "id": 598,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25777,7 +26278,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 588,
"character": 6
}
],
@@ -25791,13 +26292,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [555, 559]
+ "children": [594, 598]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 583,
"character": 4
}
]
@@ -25806,14 +26307,14 @@
{
"type": "reflection",
"declaration": {
- "id": 560,
+ "id": 599,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 561,
+ "id": 600,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -25821,21 +26322,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 562,
+ "id": 601,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 563,
+ "id": 602,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -25843,7 +26344,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 563,
+ "line": 592,
"character": 8
}
],
@@ -25853,7 +26354,7 @@
}
},
{
- "id": 564,
+ "id": 603,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -25861,7 +26362,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 564,
+ "line": 593,
"character": 8
}
],
@@ -25875,13 +26376,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [563, 564]
+ "children": [602, 603]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 12
}
]
@@ -25889,7 +26390,7 @@
}
},
{
- "id": 565,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -25897,13 +26398,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 595,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -25912,13 +26413,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [561, 565]
+ "children": [600, 604]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 590,
"character": 4
}
]
@@ -25928,7 +26429,7 @@
}
},
{
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -25936,7 +26437,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 591,
+ "line": 620,
"character": 12
}
],
@@ -25971,7 +26472,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -25979,21 +26480,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -26004,7 +26505,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -26014,7 +26515,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -26024,7 +26525,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -26033,7 +26534,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -26047,7 +26548,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -26055,7 +26556,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -26069,13 +26570,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -26083,7 +26584,7 @@
}
},
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26091,21 +26592,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -26113,7 +26614,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -26123,7 +26624,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -26133,7 +26634,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -26142,7 +26643,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -26165,7 +26666,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -26173,7 +26674,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -26183,7 +26684,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -26191,7 +26692,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -26205,13 +26706,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -26219,7 +26720,7 @@
}
},
{
- "id": 296,
+ "id": 321,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -26227,21 +26728,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 +26752,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -26261,7 +26762,7 @@
}
},
{
- "id": 304,
+ "id": 329,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -26271,7 +26772,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -26281,7 +26782,7 @@
}
},
{
- "id": 308,
+ "id": 333,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -26291,7 +26792,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -26301,7 +26802,7 @@
}
},
{
- "id": 299,
+ "id": 324,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -26311,14 +26812,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 +26827,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 +26858,7 @@
}
},
{
- "id": 306,
+ "id": 331,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -26367,7 +26868,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -26377,7 +26878,7 @@
}
},
{
- "id": 307,
+ "id": 332,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -26387,16 +26888,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"dereferenced": {
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -26404,7 +26905,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"character": 12
}
],
@@ -26449,7 +26950,7 @@
}
},
{
- "id": 303,
+ "id": 328,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -26459,7 +26960,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 40,
+ "line": 41,
"character": 2
}
],
@@ -26469,7 +26970,7 @@
}
},
{
- "id": 298,
+ "id": 323,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -26479,7 +26980,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 37,
"character": 2
}
],
@@ -26493,13 +26994,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 +27008,7 @@
}
},
{
- "id": 716,
+ "id": 755,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -26515,21 +27016,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 717,
+ "id": 756,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 718,
+ "id": 757,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -26537,7 +27038,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 33
}
],
@@ -26546,7 +27047,7 @@
"types": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
{
@@ -26561,13 +27062,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [718]
+ "children": [757]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 31
}
]
@@ -26575,7 +27076,7 @@
}
},
{
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26583,21 +27084,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -26608,7 +27109,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -26618,7 +27119,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -26629,7 +27130,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -26643,13 +27144,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -26657,7 +27158,7 @@
}
},
{
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26665,21 +27166,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -26690,7 +27191,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -26704,13 +27205,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -26718,7 +27219,7 @@
}
},
{
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26726,21 +27227,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -26751,7 +27252,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -26761,7 +27262,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -26774,7 +27275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -26784,7 +27285,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -26797,7 +27298,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -26811,13 +27312,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -26825,7 +27326,7 @@
}
},
{
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26833,21 +27334,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -26858,7 +27359,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -26872,13 +27373,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -26886,7 +27387,7 @@
}
},
{
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -26894,21 +27395,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -26919,7 +27420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -26929,7 +27430,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -26940,7 +27441,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -26950,7 +27451,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -26961,7 +27462,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -26975,13 +27476,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -26989,7 +27490,7 @@
}
},
{
- "id": 515,
+ "id": 551,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -26997,7 +27498,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -27016,7 +27517,34 @@
}
},
{
- "id": 322,
+ "id": 512,
+ "name": "OAuthFlowType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 438,
+ "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 +27552,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 69,
+ "line": 70,
"character": 12
}
],
@@ -27034,14 +27562,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 +27577,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 +27599,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 +27618,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 74,
"character": 8
}
],
@@ -27104,13 +27632,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 +27646,7 @@
}
},
{
- "id": 328,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27126,7 +27654,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 75,
+ "line": 76,
"character": 6
}
],
@@ -27140,13 +27668,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 +27683,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 +27698,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 +27720,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 +27739,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 81,
"character": 8
}
],
@@ -27225,13 +27753,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 +27767,7 @@
}
},
{
- "id": 334,
+ "id": 359,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27247,13 +27775,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
+ "line": 83,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -27262,13 +27790,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 +27806,7 @@
}
},
{
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -27286,21 +27814,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -27313,7 +27841,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -27323,7 +27851,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -27336,7 +27864,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -27350,13 +27878,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 25
}
]
@@ -27364,7 +27892,7 @@
}
},
{
- "id": 726,
+ "id": 765,
"name": "Pagination",
"kind": 4194304,
"kindString": "Type alias",
@@ -27372,21 +27900,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 727,
+ "id": 766,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 729,
+ "id": 768,
"name": "lastPage",
"kind": 1024,
"kindString": "Property",
@@ -27394,7 +27922,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 947,
"character": 2
}
],
@@ -27404,7 +27932,7 @@
}
},
{
- "id": 728,
+ "id": 767,
"name": "nextPage",
"kind": 1024,
"kindString": "Property",
@@ -27412,7 +27940,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 917,
+ "line": 946,
"character": 2
}
],
@@ -27431,7 +27959,7 @@
}
},
{
- "id": 730,
+ "id": 769,
"name": "total",
"kind": 1024,
"kindString": "Property",
@@ -27439,7 +27967,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 948,
"character": 2
}
],
@@ -27453,25 +27981,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [729, 728, 730]
+ "children": [768, 767, 769]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 25
}
],
"indexSignature": {
- "id": 731,
+ "id": 770,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 732,
+ "id": 771,
"name": "key",
"kind": 32768,
"flags": {},
@@ -27490,7 +28018,7 @@
}
},
{
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -27576,7 +28104,7 @@
}
},
{
- "id": 335,
+ "id": 360,
"name": "SSOResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -27584,7 +28112,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 86,
"character": 12
}
],
@@ -27594,14 +28122,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,32 +28137,33 @@
"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",
"flags": {},
"comment": {
- "shortText": "URL to take the user to (in a browser) to complete SSO."
+ "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.",
+ "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 96,
"character": 8
}
],
@@ -27648,13 +28177,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339]
+ "children": [364]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 87,
+ "line": 88,
"character": 12
}
]
@@ -27662,7 +28191,7 @@
}
},
{
- "id": 340,
+ "id": 365,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27670,7 +28199,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 98,
"character": 6
}
],
@@ -27684,13 +28213,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337, 340]
+ "children": [362, 365]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 86,
+ "line": 87,
"character": 4
}
]
@@ -27699,14 +28228,14 @@
{
"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",
@@ -27714,7 +28243,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 94,
+ "line": 101,
"character": 6
}
],
@@ -27724,7 +28253,7 @@
}
},
{
- "id": 343,
+ "id": 368,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -27732,13 +28261,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 102,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -27747,13 +28276,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 343]
+ "children": [367, 368]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 93,
+ "line": 100,
"character": 4
}
]
@@ -27763,29 +28292,52 @@
}
},
{
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 456,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "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": 464,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -27795,21 +28347,228 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 465,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "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": 467,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 465,
+ "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": 460,
+ "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": 462,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [530, 531, 528, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 456,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "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": 452,
+ "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": 438,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 520,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -27822,14 +28581,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -27837,19 +28596,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 18
}
],
"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 +28627,7 @@
}
},
{
- "id": 491,
+ "id": 518,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -27881,7 +28640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 438,
+ "line": 444,
"character": 4
}
],
@@ -27891,7 +28650,7 @@
}
},
{
- "id": 492,
+ "id": 519,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -27904,7 +28663,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 440,
+ "line": 446,
"character": 4
}
],
@@ -27914,7 +28673,7 @@
}
},
{
- "id": 497,
+ "id": 524,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -27927,7 +28686,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 444,
+ "line": 450,
"character": 4
}
],
@@ -27941,13 +28700,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 497]
+ "children": [525, 520, 518, 519, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 442,
"character": 12
}
]
@@ -27955,7 +28714,7 @@
}
},
{
- "id": 488,
+ "id": 515,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -27966,16 +28725,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 435,
+ "line": 441,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 293,
+ "id": 318,
"name": "Provider",
"dereferenced": {
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -28067,13 +28826,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 488]
+ "children": [516, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 439,
"character": 41
}
]
@@ -28081,7 +28840,7 @@
}
},
{
- "id": 455,
+ "id": 480,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -28089,7 +28848,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 370,
"character": 12
}
],
@@ -28099,14 +28858,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 +28876,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 373,
"character": 6
}
],
@@ -28127,7 +28886,7 @@
}
},
{
- "id": 459,
+ "id": 484,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28137,21 +28896,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 369,
+ "line": 376,
"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 +28923,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 377,
+ "line": 378,
"character": 8
}
],
@@ -28172,43 +28931,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": 376,
"character": 16
}
]
@@ -28216,7 +28951,7 @@
}
},
{
- "id": 458,
+ "id": 483,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -28227,7 +28962,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 375,
"character": 6
}
],
@@ -28241,13 +28976,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 459, 458]
+ "children": [482, 484, 483]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 371,
"character": 4
}
]
@@ -28256,14 +28991,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 +29008,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"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 +29035,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 394,
"character": 8
}
],
@@ -28310,7 +29045,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": 396,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 492,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -28324,7 +29091,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 391,
+ "line": 392,
"character": 8
}
],
@@ -28338,13 +29105,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468]
+ "children": [493, 494, 492]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"character": 16
}
]
@@ -28352,7 +29119,7 @@
}
},
{
- "id": 465,
+ "id": 489,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -28363,7 +29130,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 385,
"character": 6
}
],
@@ -28373,7 +29140,7 @@
}
},
{
- "id": 464,
+ "id": 488,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -28384,7 +29151,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 383,
"character": 6
}
],
@@ -28398,13 +29165,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 465, 464]
+ "children": [490, 489, 488]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 380,
+ "line": 381,
"character": 4
}
]
@@ -28414,7 +29181,7 @@
}
},
{
- "id": 470,
+ "id": 495,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -28422,7 +29189,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 400,
"character": 12
}
],
@@ -28432,14 +29199,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 +29217,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 400,
+ "line": 403,
"character": 6
}
],
@@ -28460,7 +29227,7 @@
}
},
{
- "id": 473,
+ "id": 498,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28470,21 +29237,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"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 +29264,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 416,
"character": 8
}
],
@@ -28507,7 +29274,7 @@
}
},
{
- "id": 477,
+ "id": 502,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -28521,7 +29288,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 411,
+ "line": 414,
"character": 8
}
],
@@ -28531,7 +29298,7 @@
}
},
{
- "id": 475,
+ "id": 500,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -28544,7 +29311,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 406,
"character": 8
}
],
@@ -28554,7 +29321,7 @@
}
},
{
- "id": 476,
+ "id": 501,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -28567,7 +29334,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 408,
"character": 8
}
],
@@ -28581,13 +29348,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [478, 477, 475, 476]
+ "children": [503, 502, 500, 501]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"character": 16
}
]
@@ -28599,13 +29366,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 473]
+ "children": [497, 498]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 398,
+ "line": 401,
"character": 4
}
]
@@ -28614,14 +29381,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 +29398,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"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 +29425,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 429,
+ "line": 432,
"character": 8
}
],
@@ -28668,7 +29435,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": 434,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 509,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -28682,7 +29481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 427,
+ "line": 430,
"character": 8
}
],
@@ -28692,7 +29491,7 @@
}
},
{
- "id": 483,
+ "id": 508,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -28705,7 +29504,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -28719,13 +29518,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [485, 484, 483]
+ "children": [510, 511, 509, 508]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"character": 16
}
]
@@ -28733,7 +29532,7 @@
}
},
{
- "id": 480,
+ "id": 505,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -28744,7 +29543,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 418,
+ "line": 421,
"character": 6
}
],
@@ -28758,13 +29557,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [481, 480]
+ "children": [506, 505]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 419,
"character": 4
}
]
@@ -28774,7 +29573,7 @@
}
},
{
- "id": 517,
+ "id": 553,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -28782,24 +29581,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 509,
"character": 12
}
],
"type": {
- "type": "intersection",
+ "type": "union",
"types": [
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 554,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 556,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -28809,21 +29608,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
+ "line": 514,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 522,
+ "id": 559,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -28836,8 +29635,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 491,
- "character": 4
+ "line": 518,
+ "character": 8
}
],
"type": {
@@ -28846,7 +29645,7 @@
}
},
{
- "id": 521,
+ "id": 558,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -28859,8 +29658,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 489,
- "character": 4
+ "line": 516,
+ "character": 8
}
],
"type": {
@@ -28873,176 +29672,79 @@
{
"title": "Properties",
"kind": 1024,
- "children": [522, 521]
+ "children": [559, 558]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 12
+ "line": 514,
+ "character": 16
}
]
}
}
+ },
+ {
+ "id": 555,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [519]
+ "children": [556, 555]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
- "character": 28
+ "line": 510,
+ "character": 4
}
]
}
},
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 524,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 494,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- ]
- }
- },
- {
- "id": 439,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 328,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
{
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 560,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 441,
- "name": "email",
+ "id": 561,
+ "name": "domain",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The user's email address."
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 523,
"character": 6
}
],
@@ -29052,7 +29754,7 @@
}
},
{
- "id": 443,
+ "id": 562,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -29062,21 +29764,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 525,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 444,
+ "id": 563,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 565,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -29089,7 +29791,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 529,
"character": 8
}
],
@@ -29099,7 +29801,161 @@
}
},
{
- "id": 446,
+ "id": 564,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [565, 564]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561, 562]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 521,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 335,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 338,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 468,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 341,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 472,
+ "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": 351,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -29113,7 +29969,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 342,
+ "line": 349,
"character": 8
}
],
@@ -29123,7 +29979,7 @@
}
},
{
- "id": 445,
+ "id": 470,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -29136,7 +29992,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 343,
"character": 8
}
],
@@ -29150,13 +30006,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 446, 445]
+ "children": [472, 471, 470]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"character": 16
}
]
@@ -29164,7 +30020,7 @@
}
},
{
- "id": 442,
+ "id": 467,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -29175,7 +30031,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 340,
"character": 6
}
],
@@ -29189,13 +30045,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441, 443, 442]
+ "children": [466, 468, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 336,
"character": 4
}
]
@@ -29204,14 +30060,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 +30077,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"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 +30104,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 367,
"character": 8
}
],
@@ -29258,7 +30114,7 @@
}
},
{
- "id": 453,
+ "id": 478,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -29272,7 +30128,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 365,
"character": 8
}
],
@@ -29286,13 +30142,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [454, 453]
+ "children": [479, 478]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"character": 16
}
]
@@ -29300,7 +30156,7 @@
}
},
{
- "id": 450,
+ "id": 475,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -29311,7 +30167,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 351,
+ "line": 358,
"character": 6
}
],
@@ -29321,7 +30177,7 @@
}
},
{
- "id": 449,
+ "id": 474,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -29332,7 +30188,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 356,
"character": 6
}
],
@@ -29346,13 +30202,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [451, 450, 449]
+ "children": [476, 475, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 354,
"character": 4
}
]
@@ -29362,7 +30218,7 @@
}
},
{
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -29370,7 +30226,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"character": 12
}
],
@@ -29413,7 +30269,7 @@
}
},
{
- "id": 344,
+ "id": 369,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -29421,7 +30277,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 105,
"character": 12
}
],
@@ -29431,14 +30287,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 +30302,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"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 +30324,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 108,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -29483,13 +30339,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [348]
+ "children": [373]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"character": 12
}
]
@@ -29497,7 +30353,7 @@
}
},
{
- "id": 349,
+ "id": 374,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -29505,7 +30361,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 103,
+ "line": 110,
"character": 6
}
],
@@ -29519,13 +30375,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [346, 349]
+ "children": [371, 374]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 99,
+ "line": 106,
"character": 4
}
]
@@ -29534,14 +30390,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 +30405,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"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 +30427,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 107,
+ "line": 114,
"character": 8
}
],
@@ -29585,13 +30441,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [378]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"character": 12
}
]
@@ -29599,7 +30455,7 @@
}
},
{
- "id": 354,
+ "id": 379,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -29607,13 +30463,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 116,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -29622,13 +30478,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [351, 354]
+ "children": [376, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 112,
"character": 4
}
]
@@ -29638,7 +30494,7 @@
}
},
{
- "id": 498,
+ "id": 534,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -29646,7 +30502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 471,
"character": 12
}
],
@@ -29654,14 +30510,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 +30527,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +30560,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -29714,7 +30570,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -29727,7 +30583,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -29741,14 +30597,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -29759,7 +30615,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -29769,7 +30625,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -29780,7 +30636,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -29790,7 +30646,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -29801,16 +30657,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +30674,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -29843,26 +30699,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"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 +30729,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -29883,7 +30739,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -29893,21 +30749,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +30776,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -29930,7 +30786,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -29943,7 +30799,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -29957,14 +30813,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -29975,7 +30831,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -29985,7 +30841,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -29996,16 +30852,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +30869,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -30039,6 +30895,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -30050,13 +30910,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"character": 17
}
]
@@ -30065,7 +30925,7 @@
}
},
{
- "id": 740,
+ "id": 779,
"name": "isAuthApiError",
"kind": 64,
"kindString": "Function",
@@ -30079,14 +30939,14 @@
],
"signatures": [
{
- "id": 741,
+ "id": 780,
"name": "isAuthApiError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 742,
+ "id": 781,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -30103,7 +30963,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
}
}
@@ -30111,7 +30971,7 @@
]
},
{
- "id": 737,
+ "id": 776,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -30125,14 +30985,14 @@
],
"signatures": [
{
- "id": 738,
+ "id": 777,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 739,
+ "id": 778,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -30149,7 +31009,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -30161,28 +31021,28 @@
{
"title": "Classes",
"kind": 128,
- "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77]
+ "children": [789, 782, 850, 837, 875, 825, 802, 810, 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, 588, 747, 702, 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, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582,
+ 572, 591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347,
+ 772, 765, 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
]
},
{
"title": "Functions",
"kind": 64,
- "children": [740, 737]
+ "children": [779, 776]
}
],
"sources": [
@@ -30202,7 +31062,7 @@
"originalName": "",
"children": [
{
- "id": 498,
+ "id": 502,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -30211,7 +31071,7 @@
},
"children": [
{
- "id": 499,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -30225,14 +31085,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 +31101,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 +31130,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 +31152,7 @@
],
"typeParameter": [
{
- "id": 530,
+ "id": 534,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -30302,7 +31162,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 401,
+ "id": 403,
"name": "PostgrestTransformBuilder"
}
],
@@ -30312,15 +31172,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 +31194,11 @@
],
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -30348,7 +31208,7 @@
]
},
{
- "id": 515,
+ "id": 519,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -30368,7 +31228,7 @@
}
},
{
- "id": 507,
+ "id": 511,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -30389,7 +31249,7 @@
}
},
{
- "id": 510,
+ "id": 514,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -30406,21 +31266,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 +31304,7 @@
}
},
{
- "id": 514,
+ "id": 518,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -30479,7 +31339,7 @@
}
},
{
- "id": 505,
+ "id": 509,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -30511,7 +31371,7 @@
}
},
{
- "id": 503,
+ "id": 507,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -30552,7 +31412,7 @@
}
},
{
- "id": 506,
+ "id": 510,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -30573,7 +31433,7 @@
}
},
{
- "id": 508,
+ "id": 512,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -30594,7 +31454,7 @@
"defaultValue": "false"
},
{
- "id": 509,
+ "id": 513,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -30617,7 +31477,7 @@
}
},
{
- "id": 504,
+ "id": 508,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -30639,7 +31499,7 @@
}
},
{
- "id": 518,
+ "id": 522,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -30653,33 +31513,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 +31551,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 +31584,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 +31680,7 @@
"types": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
},
{
@@ -30828,7 +31688,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
],
@@ -30854,12 +31714,12 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
]
@@ -30881,7 +31741,7 @@
}
},
{
- "id": 516,
+ "id": 520,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -30895,7 +31755,7 @@
],
"signatures": [
{
- "id": 517,
+ "id": 521,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -30906,11 +31766,11 @@
},
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -30924,17 +31784,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 +31806,7 @@
],
"typeParameter": [
{
- "id": 530,
+ "id": 534,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -30956,7 +31816,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 401,
+ "id": 403,
"name": "PostgrestTransformBuilder"
}
],
@@ -30966,15 +31826,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 +33076,7 @@
"flags": {},
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
@@ -32226,7 +33086,7 @@
],
"name": "default",
"dereferenced": {
- "id": 498,
+ "id": 502,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
@@ -32235,7 +33095,7 @@
},
"children": [
{
- "id": 499,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -32249,14 +33109,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 +33125,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 +33147,11 @@
],
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -32301,7 +33161,7 @@
]
},
{
- "id": 515,
+ "id": 519,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -32321,7 +33181,7 @@
}
},
{
- "id": 507,
+ "id": 511,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -32342,7 +33202,7 @@
}
},
{
- "id": 510,
+ "id": 514,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -32359,21 +33219,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 +33257,7 @@
}
},
{
- "id": 514,
+ "id": 518,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -32432,7 +33292,7 @@
}
},
{
- "id": 505,
+ "id": 509,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -32464,7 +33324,7 @@
}
},
{
- "id": 503,
+ "id": 507,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -32505,7 +33365,7 @@
}
},
{
- "id": 506,
+ "id": 510,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -32526,7 +33386,7 @@
}
},
{
- "id": 508,
+ "id": 512,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -32547,7 +33407,7 @@
"defaultValue": "false"
},
{
- "id": 509,
+ "id": 513,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -32570,7 +33430,7 @@
}
},
{
- "id": 504,
+ "id": 508,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -32592,7 +33452,7 @@
}
},
{
- "id": 518,
+ "id": 522,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -32606,33 +33466,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 +33504,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 +33537,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 +33633,7 @@
"types": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
},
{
@@ -32781,7 +33641,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
],
@@ -32807,12 +33667,12 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
]
@@ -32834,7 +33694,7 @@
}
},
{
- "id": 516,
+ "id": 520,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -32848,7 +33708,7 @@
],
"signatures": [
{
- "id": 517,
+ "id": 521,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -32859,11 +33719,11 @@
},
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -32877,17 +33737,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 +33759,7 @@
],
"typeParameter": [
{
- "id": 530,
+ "id": 534,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -32909,7 +33769,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 401,
+ "id": 403,
"name": "PostgrestTransformBuilder"
}
],
@@ -32919,15 +33779,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 +33823,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 +33855,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 480,
+ "id": 484,
"name": "default.allowEmpty"
}
},
{
- "id": 375,
+ "id": 377,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -33021,12 +33881,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 472,
+ "id": 476,
"name": "default.body"
}
},
{
- "id": 378,
+ "id": 380,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -33043,21 +33903,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 +33941,7 @@
}
},
{
- "id": 382,
+ "id": 384,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -33116,12 +33976,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 475,
+ "id": 479,
"name": "default.fetch"
}
},
{
- "id": 373,
+ "id": 375,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -33153,12 +34013,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 470,
+ "id": 474,
"name": "default.headers"
}
},
{
- "id": 371,
+ "id": 373,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -33199,12 +34059,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 468,
+ "id": 472,
"name": "default.method"
}
},
{
- "id": 374,
+ "id": 376,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -33225,12 +34085,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 471,
+ "id": 475,
"name": "default.schema"
}
},
{
- "id": 376,
+ "id": 378,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -33251,12 +34111,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 +34139,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 474,
+ "id": 478,
"name": "default.signal"
}
},
{
- "id": 372,
+ "id": 374,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -33306,7 +34166,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 469,
+ "id": 473,
"name": "default.url"
}
},
@@ -33319,7 +34179,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 130,
+ "line": 125,
"character": 2
}
],
@@ -33375,14 +34235,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 443,
+ "id": 445,
"name": "default.abortSignal"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 442,
+ "id": 444,
"name": "default.abortSignal"
}
},
@@ -33827,7 +34687,7 @@
]
},
{
- "id": 352,
+ "id": 354,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -33835,13 +34695,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 +34711,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 +34900,7 @@
]
},
{
- "id": 356,
+ "id": 358,
"name": "explain",
"kind": 2048,
"kindString": "Method",
@@ -34056,13 +34908,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 +34924,7 @@
},
"parameters": [
{
- "id": 358,
+ "id": 360,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -34084,14 +34936,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 +34956,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 203,
+ "line": 202,
"character": 4
}
],
@@ -34114,7 +34966,7 @@
}
},
{
- "id": 363,
+ "id": 365,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -34127,7 +34979,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 206,
+ "line": 205,
"character": 4
}
],
@@ -34137,7 +34989,7 @@
}
},
{
- "id": 365,
+ "id": 367,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -34150,7 +35002,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 207,
"character": 4
}
],
@@ -34169,7 +35021,7 @@
}
},
{
- "id": 362,
+ "id": 364,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -34179,29 +35031,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 +35044,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 +35080,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 207,
+ "line": 206,
"character": 4
}
],
@@ -34242,7 +35094,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [360, 363, 365, 362, 361, 364]
+ "children": [362, 365, 367, 364, 363, 366]
}
]
}
@@ -34255,66 +35107,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 +35436,7 @@
]
},
{
- "id": 354,
+ "id": 356,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -34605,13 +35444,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 +35460,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 +36544,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 101,
+ "line": 96,
"character": 2
}
],
@@ -35775,7 +36606,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 101,
+ "line": 96,
"character": 43
}
],
@@ -35821,14 +36652,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 430,
+ "id": 432,
"name": "default.limit"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 429,
+ "id": 431,
"name": "default.limit"
}
},
@@ -36320,7 +37151,7 @@
]
},
{
- "id": 350,
+ "id": 351,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -36328,13 +37159,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 +37174,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 +37723,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 49,
+ "line": 44,
"character": 2
}
],
@@ -36938,7 +37802,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 16
}
],
@@ -36961,7 +37825,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 59
}
],
@@ -36984,7 +37848,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 37
}
],
@@ -37029,7 +37893,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 414,
+ "id": 416,
"name": "default.order"
}
},
@@ -37092,7 +37956,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 16
}
],
@@ -37113,7 +37977,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 59
}
],
@@ -37136,7 +38000,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 37
}
],
@@ -37181,14 +38045,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 422,
+ "id": 424,
"name": "default.order"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 413,
+ "id": 415,
"name": "default.order"
}
},
@@ -37389,7 +38253,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 116,
+ "line": 111,
"character": 2
}
],
@@ -37465,7 +38329,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 116,
+ "line": 111,
"character": 54
}
],
@@ -37511,14 +38375,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 436,
+ "id": 438,
"name": "default.range"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 435,
+ "id": 437,
"name": "default.range"
}
},
@@ -38298,7 +39162,7 @@
]
},
{
- "id": 368,
+ "id": 370,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -38306,13 +39170,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 +39186,7 @@
},
"typeParameter": [
{
- "id": 370,
+ "id": 372,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -38334,7 +39198,7 @@
],
"type": {
"type": "reference",
- "id": 401,
+ "id": 403,
"typeArguments": [
{
"type": "reference",
@@ -38348,7 +39212,7 @@
},
{
"type": "reference",
- "id": 370,
+ "id": 372,
"name": "NewResult"
}
],
@@ -38356,19 +39220,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 +39240,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 +39279,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 464,
+ "id": 468,
"name": "default.rollback"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 463,
+ "id": 467,
"name": "default.rollback"
}
},
@@ -38435,7 +39299,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 24,
+ "line": 19,
"character": 2
}
],
@@ -38468,7 +39332,7 @@
},
{
"id": 314,
- "name": "NewResult",
+ "name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
@@ -38517,7 +39381,7 @@
],
"type": {
"type": "reference",
- "id": 401,
+ "id": 403,
"typeArguments": [
{
"type": "reference",
@@ -38530,23 +39394,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 +39426,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 141,
+ "line": 136,
"character": 2
}
],
@@ -38574,36 +39441,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 +39834,7 @@
]
},
{
- "id": 386,
+ "id": 388,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -38957,21 +39848,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 +39870,11 @@
"name": "Result"
}
],
- "name": "PostgrestResponse"
+ "name": "PostgrestSingleResponse"
}
},
{
- "id": 389,
+ "id": 391,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
@@ -38996,7 +39887,7 @@
],
"parameters": [
{
- "id": 390,
+ "id": 392,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
@@ -39013,28 +39904,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 +39933,7 @@
"name": "Result"
}
],
- "name": "PostgrestResponse"
+ "name": "PostgrestSingleResponse"
}
}
],
@@ -39051,7 +39942,7 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
@@ -39059,7 +39950,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
}
],
@@ -39077,7 +39968,7 @@
}
},
{
- "id": 394,
+ "id": 396,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
@@ -39094,21 +39985,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 +40015,7 @@
"types": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
},
{
@@ -39132,7 +40023,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
],
@@ -39158,12 +40049,12 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
]
@@ -39175,19 +40066,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 +40092,7 @@
],
"signatures": [
{
- "id": 385,
+ "id": 387,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -39234,14 +40125,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 482,
+ "id": 486,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 481,
+ "id": 485,
"name": "default.throwOnError"
}
}
@@ -39255,15 +40146,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 +40167,7 @@
],
"typeParameter": [
{
- "id": 398,
+ "id": 400,
"name": "Schema",
"kind": 131072,
"kindString": "Type parameter",
@@ -39287,7 +40178,7 @@
}
},
{
- "id": 399,
+ "id": 401,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -39310,7 +40201,7 @@
}
},
{
- "id": 400,
+ "id": 402,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -39320,7 +40211,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 401,
+ "id": 403,
"typeArguments": [
{
"type": "reference",
@@ -39902,8 +40793,8 @@
}
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
],
"name": "default"
@@ -40079,8 +40970,8 @@
}
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
],
"name": "default"
@@ -40129,7 +41020,7 @@
},
{
"id": 76,
- "name": "Result",
+ "name": "ResultOne",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
@@ -40173,7 +41064,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 +41186,12 @@
}
},
{
- "type": "reference",
- "id": 76,
- "name": "Result"
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 76,
+ "name": "ResultOne"
+ }
}
],
"name": "default"
@@ -40461,8 +41355,8 @@
}
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
],
"name": "default"
@@ -40684,8 +41578,8 @@
}
},
{
- "type": "intrinsic",
- "name": "undefined"
+ "type": "literal",
+ "value": null
}
],
"name": "default"
@@ -40753,28 +41647,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 +41679,7 @@
}
},
{
- "id": 405,
+ "id": 407,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -40808,7 +41702,7 @@
}
},
{
- "id": 406,
+ "id": 408,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -40817,24 +41711,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 +41737,7 @@
},
"children": [
{
- "id": 499,
+ "id": 503,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -40857,14 +41751,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 +41767,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 +41789,11 @@
],
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -40909,7 +41803,7 @@
]
},
{
- "id": 515,
+ "id": 519,
"name": "allowEmpty",
"kind": 1024,
"kindString": "Property",
@@ -40929,7 +41823,7 @@
}
},
{
- "id": 507,
+ "id": 511,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -40950,7 +41844,7 @@
}
},
{
- "id": 510,
+ "id": 514,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -40967,21 +41861,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 +41899,7 @@
}
},
{
- "id": 514,
+ "id": 518,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -41040,7 +41934,7 @@
}
},
{
- "id": 505,
+ "id": 509,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -41072,7 +41966,7 @@
}
},
{
- "id": 503,
+ "id": 507,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -41113,7 +42007,7 @@
}
},
{
- "id": 506,
+ "id": 510,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -41134,7 +42028,7 @@
}
},
{
- "id": 508,
+ "id": 512,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -41155,7 +42049,7 @@
"defaultValue": "false"
},
{
- "id": 509,
+ "id": 513,
"name": "signal",
"kind": 1024,
"kindString": "Property",
@@ -41178,7 +42072,7 @@
}
},
{
- "id": 504,
+ "id": 508,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -41200,7 +42094,7 @@
}
},
{
- "id": 518,
+ "id": 522,
"name": "then",
"kind": 2048,
"kindString": "Method",
@@ -41214,33 +42108,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 +42146,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 +42179,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 +42275,7 @@
"types": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
},
{
@@ -41389,7 +42283,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
],
@@ -41415,12 +42309,12 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
]
@@ -41442,7 +42336,7 @@
}
},
{
- "id": 516,
+ "id": 520,
"name": "throwOnError",
"kind": 2048,
"kindString": "Method",
@@ -41456,7 +42350,7 @@
],
"signatures": [
{
- "id": 517,
+ "id": 521,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -41467,11 +42361,11 @@
},
"type": {
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 501,
+ "id": 505,
"name": "Result"
}
],
@@ -41485,17 +42379,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 +42401,7 @@
],
"typeParameter": [
{
- "id": 530,
+ "id": 534,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -41517,7 +42411,7 @@
"extendedBy": [
{
"type": "reference",
- "id": 401,
+ "id": 403,
"name": "PostgrestTransformBuilder"
}
],
@@ -41527,15 +42421,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 +42443,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 +42465,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 +42497,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 515,
+ "id": 519,
"name": "default.allowEmpty"
}
},
{
- "id": 472,
+ "id": 476,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -41629,12 +42523,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 507,
+ "id": 511,
"name": "default.body"
}
},
{
- "id": 475,
+ "id": 479,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -41651,21 +42545,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 +42583,7 @@
}
},
{
- "id": 479,
+ "id": 483,
"name": "init",
"kind": 32768,
"kindString": "Parameter",
@@ -41724,12 +42618,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 510,
+ "id": 514,
"name": "default.fetch"
}
},
{
- "id": 470,
+ "id": 474,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -41761,12 +42655,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 505,
+ "id": 509,
"name": "default.headers"
}
},
{
- "id": 468,
+ "id": 472,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -41807,12 +42701,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 503,
+ "id": 507,
"name": "default.method"
}
},
{
- "id": 471,
+ "id": 475,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -41833,12 +42727,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 506,
+ "id": 510,
"name": "default.schema"
}
},
{
- "id": 473,
+ "id": 477,
"name": "shouldThrowOnError",
"kind": 1024,
"kindString": "Property",
@@ -41859,12 +42753,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 +42781,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 509,
+ "id": 513,
"name": "default.signal"
}
},
{
- "id": 469,
+ "id": 473,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -41914,12 +42808,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 504,
+ "id": 508,
"name": "default.url"
}
},
{
- "id": 442,
+ "id": 444,
"name": "abortSignal",
"kind": 2048,
"kindString": "Method",
@@ -41927,13 +42821,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 +42837,7 @@
},
"parameters": [
{
- "id": 444,
+ "id": 446,
"name": "signal",
"kind": 32768,
"kindString": "Parameter",
@@ -41961,21 +42855,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 +42879,7 @@
]
},
{
- "id": 449,
+ "id": 453,
"name": "csv",
"kind": 2048,
"kindString": "Method",
@@ -41993,13 +42887,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 +42903,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 +42924,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 +42940,7 @@
},
"parameters": [
{
- "id": 455,
+ "id": 459,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42066,14 +42952,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 +42972,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 203,
+ "line": 202,
"character": 4
}
],
@@ -42096,7 +42982,7 @@
}
},
{
- "id": 460,
+ "id": 464,
"name": "buffers",
"kind": 1024,
"kindString": "Property",
@@ -42109,7 +42995,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 206,
+ "line": 205,
"character": 4
}
],
@@ -42119,7 +43005,7 @@
}
},
{
- "id": 462,
+ "id": 466,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -42132,7 +43018,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 208,
+ "line": 207,
"character": 4
}
],
@@ -42151,7 +43037,7 @@
}
},
{
- "id": 459,
+ "id": 463,
"name": "settings",
"kind": 1024,
"kindString": "Property",
@@ -42161,29 +43047,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 +43060,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 +43096,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 207,
+ "line": 206,
"character": 4
}
],
@@ -42224,7 +43110,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 460, 462, 459, 458, 461]
+ "children": [461, 464, 466, 463, 462, 465]
}
]
}
@@ -42237,53 +43123,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 +43164,7 @@
]
},
{
- "id": 451,
+ "id": 455,
"name": "geojson",
"kind": 2048,
"kindString": "Method",
@@ -42299,13 +43172,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 +43188,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 +43221,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 +43237,7 @@
},
"parameters": [
{
- "id": 431,
+ "id": 433,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
@@ -42386,7 +43251,7 @@
}
},
{
- "id": 432,
+ "id": 434,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42398,14 +43263,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 +43283,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 101,
+ "line": 96,
"character": 43
}
],
@@ -42432,7 +43297,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [434]
+ "children": [436]
}
]
}
@@ -42442,21 +43307,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 +43331,7 @@
]
},
{
- "id": 447,
+ "id": 450,
"name": "maybeSingle",
"kind": 2048,
"kindString": "Method",
@@ -42474,13 +43339,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 +43354,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 +43419,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 +43436,7 @@
},
"typeParameter": [
{
- "id": 415,
+ "id": 417,
"name": "ColumnName",
"kind": 131072,
"kindString": "Type parameter",
@@ -42551,7 +43449,7 @@
],
"parameters": [
{
- "id": 416,
+ "id": 418,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42567,7 +43465,7 @@
}
},
{
- "id": 417,
+ "id": 419,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42580,14 +43478,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 +43498,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 16
}
],
@@ -42610,7 +43508,7 @@
}
},
{
- "id": 421,
+ "id": 423,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -42623,7 +43521,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 59
}
],
@@ -42633,7 +43531,7 @@
}
},
{
- "id": 420,
+ "id": 422,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -42646,7 +43544,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 51,
+ "line": 46,
"character": 37
}
],
@@ -42660,7 +43558,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [419, 421, 420]
+ "children": [421, 423, 422]
}
]
}
@@ -42669,21 +43567,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 +43589,7 @@
}
},
{
- "id": 422,
+ "id": 424,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
@@ -42702,7 +43600,7 @@
},
"parameters": [
{
- "id": 423,
+ "id": 425,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
@@ -42716,7 +43614,7 @@
}
},
{
- "id": 424,
+ "id": 426,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42729,14 +43627,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 +43647,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 16
}
],
@@ -42759,7 +43657,7 @@
}
},
{
- "id": 428,
+ "id": 430,
"name": "foreignTable",
"kind": 1024,
"kindString": "Property",
@@ -42770,7 +43668,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 59
}
],
@@ -42780,7 +43678,7 @@
}
},
{
- "id": 427,
+ "id": 429,
"name": "nullsFirst",
"kind": 1024,
"kindString": "Property",
@@ -42793,7 +43691,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 55,
+ "line": 50,
"character": 37
}
],
@@ -42807,7 +43705,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [426, 428, 427]
+ "children": [428, 430, 429]
}
]
}
@@ -42816,21 +43714,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 +43738,7 @@
]
},
{
- "id": 435,
+ "id": 437,
"name": "range",
"kind": 2048,
"kindString": "Method",
@@ -42848,13 +43746,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 +43762,7 @@
},
"parameters": [
{
- "id": 437,
+ "id": 439,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
@@ -42878,7 +43776,7 @@
}
},
{
- "id": 438,
+ "id": 440,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
@@ -42892,7 +43790,7 @@
}
},
{
- "id": 439,
+ "id": 441,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -42904,14 +43802,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 +43822,7 @@
"sources": [
{
"fileName": "src/PostgrestTransformBuilder.ts",
- "line": 116,
+ "line": 111,
"character": 54
}
],
@@ -42938,7 +43836,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441]
+ "children": [443]
}
]
}
@@ -42948,21 +43846,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 +43870,7 @@
]
},
{
- "id": 465,
+ "id": 469,
"name": "returns",
"kind": 2048,
"kindString": "Method",
@@ -42980,13 +43878,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 +43894,7 @@
},
"typeParameter": [
{
- "id": 467,
+ "id": 471,
"name": "NewResult",
"kind": 131072,
"kindString": "Type parameter",
@@ -43008,21 +43906,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 +43930,7 @@
]
},
{
- "id": 463,
+ "id": 467,
"name": "rollback",
"kind": 2048,
"kindString": "Method",
@@ -43040,13 +43938,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 +43955,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 +43979,7 @@
]
},
{
- "id": 408,
+ "id": 410,
"name": "select",
"kind": 2048,
"kindString": "Method",
@@ -43089,13 +43987,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 +44004,7 @@
},
"typeParameter": [
{
- "id": 410,
+ "id": 412,
"name": "Query",
"kind": 131072,
"kindString": "Type parameter",
@@ -43121,8 +44019,8 @@
}
},
{
- "id": 411,
- "name": "NewResult",
+ "id": 413,
+ "name": "NewResultOne",
"kind": 131072,
"kindString": "Type parameter",
"flags": {},
@@ -43131,12 +44029,12 @@
"typeArguments": [
{
"type": "reference",
- "id": 404,
+ "id": 406,
"name": "Schema"
},
{
"type": "reference",
- "id": 405,
+ "id": 407,
"name": "Row"
},
{
@@ -43151,7 +44049,7 @@
],
"parameters": [
{
- "id": 412,
+ "id": 414,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
@@ -43171,22 +44069,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 +44096,7 @@
]
},
{
- "id": 445,
+ "id": 447,
"name": "single",
"kind": 2048,
"kindString": "Method",
@@ -43203,13 +44104,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 +44119,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 +44181,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 +44219,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 +44252,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 +44348,7 @@
"types": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
},
{
@@ -43431,7 +44356,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
],
@@ -43457,12 +44382,12 @@
"types": [
{
"type": "reference",
- "id": 388,
+ "id": 390,
"name": "TResult1"
},
{
"type": "reference",
- "id": 389,
+ "id": 391,
"name": "TResult2"
}
]
@@ -43474,19 +44399,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 +44425,7 @@
],
"signatures": [
{
- "id": 482,
+ "id": 486,
"name": "throwOnError",
"kind": 4096,
"kindString": "Call signature",
@@ -43511,21 +44436,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 +44458,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 517,
+ "id": 521,
"name": "default.throwOnError"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 516,
+ "id": 520,
"name": "default.throwOnError"
}
}
@@ -43549,29 +44474,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 +44507,7 @@
}
},
{
- "id": 496,
+ "id": 500,
"name": "Row",
"kind": 131072,
"kindString": "Type parameter",
@@ -43605,7 +44530,7 @@
}
},
{
- "id": 497,
+ "id": 501,
"name": "Result",
"kind": 131072,
"kindString": "Type parameter",
@@ -43615,11 +44540,11 @@
"extendedTypes": [
{
"type": "reference",
- "id": 498,
+ "id": 502,
"typeArguments": [
{
"type": "reference",
- "id": 406,
+ "id": 408,
"name": "Result"
}
],
@@ -43636,6 +44561,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 +44970,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 +44995,7 @@
}
},
{
- "id": 540,
+ "id": 557,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -43697,7 +45013,7 @@
}
},
{
- "id": 541,
+ "id": 558,
"name": "hint",
"kind": 1024,
"kindString": "Property",
@@ -43715,7 +45031,7 @@
}
},
{
- "id": 539,
+ "id": 556,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -43737,7 +45053,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [542, 540, 541, 539]
+ "children": [559, 557, 558, 556]
}
],
"sources": [
@@ -43751,7 +45067,7 @@
}
},
{
- "id": 535,
+ "id": 552,
"name": "PostgrestMaybeSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -43759,7 +45075,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 +45134,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 +45157,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 +45172,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 +45572,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 +45602,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 +45617,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 89,
+ "line": 93,
"character": 2
}
],
@@ -43904,7 +45628,7 @@
"defaultValue": "\"broadcast\""
},
{
- "id": 519,
+ "id": 538,
"name": "POSTGRES_CHANGES",
"kind": 16,
"kindString": "Enumeration Member",
@@ -43915,7 +45639,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 94,
+ "line": 98,
"character": 2
}
],
@@ -43926,7 +45650,7 @@
"defaultValue": "\"postgres_changes\""
},
{
- "id": 518,
+ "id": 537,
"name": "PRESENCE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -43934,7 +45658,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 90,
+ "line": 94,
"character": 2
}
],
@@ -43949,26 +45673,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 +45700,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 82,
+ "line": 86,
"character": 2
}
],
@@ -43987,7 +45711,7 @@
"defaultValue": "\"*\""
},
{
- "id": 524,
+ "id": 543,
"name": "DELETE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -43995,7 +45719,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 85,
+ "line": 89,
"character": 2
}
],
@@ -44006,7 +45730,7 @@
"defaultValue": "\"DELETE\""
},
{
- "id": 522,
+ "id": 541,
"name": "INSERT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44014,7 +45738,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 83,
+ "line": 87,
"character": 2
}
],
@@ -44025,7 +45749,7 @@
"defaultValue": "\"INSERT\""
},
{
- "id": 523,
+ "id": 542,
"name": "UPDATE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44033,7 +45757,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 84,
+ "line": 88,
"character": 2
}
],
@@ -44048,26 +45772,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 +45799,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 35,
+ "line": 37,
"character": 2
}
],
@@ -44086,7 +45810,7 @@
"defaultValue": "\"join\""
},
{
- "id": 528,
+ "id": 547,
"name": "LEAVE",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44094,7 +45818,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 36,
+ "line": 38,
"character": 2
}
],
@@ -44105,7 +45829,7 @@
"defaultValue": "\"leave\""
},
{
- "id": 526,
+ "id": 545,
"name": "SYNC",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44113,7 +45837,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 34,
+ "line": 36,
"character": 2
}
],
@@ -44128,26 +45852,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 +45879,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 101,
+ "line": 105,
"character": 2
}
],
@@ -44166,7 +45890,7 @@
"defaultValue": "\"CHANNEL_ERROR\""
},
{
- "id": 532,
+ "id": 551,
"name": "CLOSED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44174,7 +45898,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 100,
+ "line": 104,
"character": 2
}
],
@@ -44185,7 +45909,7 @@
"defaultValue": "\"CLOSED\""
},
{
- "id": 530,
+ "id": 549,
"name": "SUBSCRIBED",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44193,7 +45917,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 98,
+ "line": 102,
"character": 2
}
],
@@ -44204,7 +45928,7 @@
"defaultValue": "\"SUBSCRIBED\""
},
{
- "id": 531,
+ "id": 550,
"name": "TIMED_OUT",
"kind": 16,
"kindString": "Enumeration Member",
@@ -44212,7 +45936,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 99,
+ "line": 103,
"character": 2
}
],
@@ -44227,19 +45951,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 +45973,7 @@
},
"children": [
{
- "id": 66,
+ "id": 75,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -44257,20 +45981,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 +46005,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 +46023,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 +46045,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 +46072,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 +46096,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -44382,7 +46106,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -44392,7 +46116,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -44406,13 +46130,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -44420,7 +46144,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -44433,21 +46157,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 +46181,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -44471,13 +46195,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -44489,13 +46213,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -44507,13 +46231,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -44524,24 +46248,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 +46273,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 +46289,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -44579,7 +46303,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -44588,10 +46312,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -44599,27 +46323,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 +46381,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 +46479,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 +46489,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 +46504,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 +46535,7 @@
}
},
{
- "id": 434,
+ "id": 448,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -44821,7 +46545,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 24,
"character": 2
}
],
@@ -44833,7 +46557,7 @@
}
},
{
- "id": 429,
+ "id": 443,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -44843,7 +46567,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 19,
"character": 2
}
],
@@ -44853,7 +46577,7 @@
}
},
{
- "id": 428,
+ "id": 442,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -44863,7 +46587,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -44880,14 +46604,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 +46623,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -44914,7 +46638,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -44934,7 +46658,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -44942,7 +46666,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -44950,14 +46674,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 +46689,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -44987,11 +46711,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 +46751,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 +46759,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -45046,7 +46770,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -45054,7 +46778,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -45065,7 +46789,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -45075,27 +46799,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 +46839,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -45123,7 +46847,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -45134,7 +46858,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -45142,7 +46866,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -45164,7 +46888,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -45172,7 +46896,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -45183,7 +46907,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -45191,7 +46915,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -45204,7 +46928,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -45214,27 +46938,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 +46978,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -45262,7 +46986,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -45282,7 +47006,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -45290,7 +47014,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -45302,11 +47026,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 +47056,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 +47063,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -45347,7 +47071,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -45363,30 +47087,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 +47099,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 +47151,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -45473,7 +47174,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 +47205,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -45500,7 +47224,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -45508,30 +47232,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 +47244,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 +47270,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -45554,20 +47278,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 +47302,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 +47320,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 +47342,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 +47369,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 +47393,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -45679,7 +47403,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -45689,7 +47413,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -45703,13 +47427,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -45717,7 +47441,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -45730,21 +47454,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 +47478,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -45768,13 +47492,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -45786,13 +47510,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -45804,13 +47528,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -45823,14 +47547,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -45838,13 +47562,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 +47584,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -45868,13 +47592,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 +47614,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -45898,13 +47622,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 +47638,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -45930,7 +47654,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -45954,7 +47678,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -45962,13 +47686,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 +47704,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -45988,7 +47712,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -45996,13 +47720,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 +47742,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -46026,13 +47750,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 +47767,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -46054,7 +47778,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -46065,7 +47789,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -46086,7 +47810,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -46094,13 +47818,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 +47835,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 +47853,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 +47957,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 +47996,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -46281,12 +48005,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -46301,7 +48025,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -46314,7 +48038,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -46322,13 +48046,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 +48062,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -46348,10 +48072,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -46364,25 +48088,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 +48119,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -46407,7 +48131,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -46415,13 +48139,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 +48155,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -46466,26 +48190,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 +48219,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 71,
+ "id": 80,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -46510,27 +48234,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 +48269,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 +48284,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 114,
+ "line": 118,
"character": 6
}
],
@@ -46572,7 +48296,7 @@
}
},
{
- "id": 77,
+ "id": 86,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -46580,14 +48304,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 +48319,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 +48350,7 @@
}
},
{
- "id": 82,
+ "id": 91,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -46636,7 +48360,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 115,
+ "line": 119,
"character": 6
}
],
@@ -46646,7 +48370,7 @@
}
},
{
- "id": 76,
+ "id": 85,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -46654,7 +48378,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 112,
+ "line": 116,
"character": 6
}
],
@@ -46668,13 +48392,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 +48411,7 @@
"defaultValue": "{}"
},
{
- "id": 86,
+ "id": 95,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -46695,7 +48419,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 121,
+ "line": 125,
"character": 2
}
],
@@ -46705,7 +48429,7 @@
}
},
{
- "id": 85,
+ "id": 94,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -46713,7 +48437,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 120,
+ "line": 124,
"character": 2
}
],
@@ -46724,7 +48448,7 @@
"defaultValue": "false"
},
{
- "id": 91,
+ "id": 100,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -46733,10 +48457,10 @@
},
"type": {
"type": "reference",
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"dereferenced": {
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -46744,21 +48468,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 +48490,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 +48517,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 +48541,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -46827,7 +48551,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -46837,7 +48561,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -46851,13 +48575,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -46865,7 +48589,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -46878,21 +48602,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 +48626,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -46916,13 +48640,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -46934,13 +48658,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -46952,13 +48676,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -46969,7 +48693,7 @@
"defaultValue": "..."
},
{
- "id": 89,
+ "id": 98,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -46977,7 +48701,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 124,
+ "line": 128,
"character": 2
}
],
@@ -46993,7 +48717,7 @@
"flags": {},
"children": [
{
- "id": 28,
+ "id": 36,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -47001,13 +48725,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 +48741,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 38,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -47027,10 +48751,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -47043,23 +48767,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 +48791,7 @@
}
},
{
- "id": 31,
+ "id": 39,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -47094,7 +48818,7 @@
]
},
{
- "id": 35,
+ "id": 44,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -47102,21 +48826,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 +48848,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 66,
+ "line": 68,
"character": 4
}
],
@@ -47136,7 +48860,7 @@
}
},
{
- "id": 38,
+ "id": 47,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -47144,7 +48868,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 67,
+ "line": 69,
"character": 4
}
],
@@ -47156,7 +48880,7 @@
}
},
{
- "id": 39,
+ "id": 48,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -47164,13 +48888,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 +48911,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [37, 38]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [39]
+ "children": [48]
}
]
}
@@ -47200,7 +48924,7 @@
"defaultValue": "..."
},
{
- "id": 41,
+ "id": 50,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -47209,10 +48933,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -47225,23 +48949,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 +48973,7 @@
}
},
{
- "id": 34,
+ "id": 43,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -47257,7 +48981,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 66,
"character": 2
}
],
@@ -47277,7 +49001,7 @@
"defaultValue": "null"
},
{
- "id": 33,
+ "id": 42,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -47285,7 +49009,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 63,
+ "line": 65,
"character": 2
}
],
@@ -47299,7 +49023,7 @@
"defaultValue": "[]"
},
{
- "id": 32,
+ "id": 40,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -47307,16 +49031,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 +49064,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 +49142,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 +49167,13 @@
"type": "array",
"elementType": {
"type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "T"
+ }
+ ],
"name": "Presence"
}
}
@@ -47380,18 +49189,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 +49208,7 @@
}
},
{
- "id": 88,
+ "id": 97,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -47407,7 +49216,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 123,
+ "line": 127,
"character": 2
}
],
@@ -47421,7 +49230,7 @@
"defaultValue": "[]"
},
{
- "id": 87,
+ "id": 96,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -47429,7 +49238,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 122,
+ "line": 126,
"character": 2
}
],
@@ -47439,7 +49248,7 @@
}
},
{
- "id": 92,
+ "id": 101,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -47448,17 +49257,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 +49275,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 +49291,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -47496,7 +49305,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -47505,10 +49314,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -47516,225 +49325,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 +49361,8 @@
}
},
{
- "id": 429,
- "name": "timeout",
+ "id": 446,
+ "name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -47760,7 +49371,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 +49459,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 +49589,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -47796,13 +49605,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 +49623,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -47829,7 +49638,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -47849,7 +49658,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -47857,7 +49666,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -47865,14 +49674,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 +49689,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -47902,11 +49711,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 +49751,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 +49759,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -47961,7 +49770,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -47969,7 +49778,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -47980,7 +49789,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -47990,27 +49799,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 +49839,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -48038,7 +49847,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -48049,7 +49858,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -48057,7 +49866,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -48079,7 +49888,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -48087,7 +49896,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -48098,7 +49907,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -48106,7 +49915,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -48119,7 +49928,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -48129,27 +49938,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 +49978,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -48177,7 +49986,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -48197,7 +50006,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -48205,7 +50014,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -48217,11 +50026,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 +50056,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 +50063,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -48262,7 +50071,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -48278,30 +50087,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 +50099,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 +50151,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -48388,7 +50174,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 +50205,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -48415,7 +50224,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -48423,30 +50232,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 +50244,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 +50270,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -48469,20 +50278,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 +50302,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 +50320,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 +50342,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 +50369,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 +50393,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -48594,7 +50403,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -48604,7 +50413,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -48618,13 +50427,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -48632,7 +50441,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -48645,21 +50454,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 +50478,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -48683,13 +50492,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -48701,13 +50510,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -48719,13 +50528,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -48738,14 +50547,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -48753,13 +50562,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 +50584,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -48783,13 +50592,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 +50614,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -48813,13 +50622,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 +50638,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -48845,7 +50654,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -48869,7 +50678,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -48877,13 +50686,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 +50704,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -48903,7 +50712,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -48911,13 +50720,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 +50742,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -48941,13 +50750,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 +50767,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -48969,7 +50778,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -48980,7 +50789,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -49001,7 +50810,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -49009,13 +50818,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 +50835,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 +50853,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 +50957,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 +50996,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -49196,12 +51005,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -49216,7 +51025,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -49229,7 +51038,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -49237,13 +51046,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 +51062,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -49263,10 +51072,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -49279,23 +51088,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 +51117,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -49320,7 +51129,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -49328,13 +51137,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 +51153,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -49379,26 +51188,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 +51215,7 @@
}
},
{
- "id": 84,
+ "id": 93,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -49414,7 +51223,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 119,
+ "line": 123,
"character": 2
}
],
@@ -49425,7 +51234,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 83,
+ "id": 92,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -49433,7 +51242,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 118,
+ "line": 122,
"character": 2
}
],
@@ -49443,7 +51252,7 @@
}
},
{
- "id": 90,
+ "id": 99,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -49456,7 +51265,7 @@
}
},
{
- "id": 119,
+ "id": 133,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -49464,13 +51273,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 +51289,7 @@
},
"parameters": [
{
- "id": 121,
+ "id": 135,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -49491,7 +51300,7 @@
}
},
{
- "id": 122,
+ "id": 136,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -49499,14 +51308,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 +51323,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 334,
+ "line": 340,
"character": 14
}
],
@@ -49528,14 +51337,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [138]
}
]
}
}
},
{
- "id": 125,
+ "id": 139,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -49543,14 +51352,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 +51376,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 +51396,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 +51430,7 @@
],
"parameters": [
{
- "id": 133,
+ "id": 147,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -49632,7 +51441,7 @@
}
},
{
- "id": 134,
+ "id": 148,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -49640,14 +51449,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 +51464,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 339,
+ "line": 345,
"character": 14
}
],
@@ -49669,14 +51478,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136]
+ "children": [150]
}
]
}
}
},
{
- "id": 137,
+ "id": 151,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -49684,32 +51493,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 +51538,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 +51558,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 +51592,7 @@
],
"parameters": [
{
- "id": 146,
+ "id": 160,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -49794,7 +51603,7 @@
}
},
{
- "id": 147,
+ "id": 161,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -49802,14 +51611,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 +51626,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 344,
+ "line": 350,
"character": 14
}
],
@@ -49831,14 +51640,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [149]
+ "children": [163]
}
]
}
}
},
{
- "id": 150,
+ "id": 164,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -49846,32 +51655,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 +51700,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 +51720,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 +51754,7 @@
],
"parameters": [
{
- "id": 159,
+ "id": 173,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -49956,14 +51765,14 @@
}
},
{
- "id": 160,
+ "id": 174,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -49972,7 +51781,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -49980,13 +51789,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 +51807,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -50010,14 +51819,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 +51837,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 +51862,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -50063,7 +51872,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -50074,7 +51883,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -50084,7 +51893,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -50097,7 +51906,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -50111,14 +51920,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 +51936,7 @@
}
},
{
- "id": 161,
+ "id": 175,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -50135,32 +51944,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 +51989,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 +52009,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 +52043,7 @@
],
"parameters": [
{
- "id": 170,
+ "id": 184,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -50245,14 +52054,14 @@
}
},
{
- "id": 171,
+ "id": 185,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -50261,7 +52070,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -50269,13 +52078,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 +52096,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -50299,14 +52108,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 +52126,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 +52151,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -50352,7 +52161,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -50363,7 +52172,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -50373,7 +52182,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -50386,7 +52195,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -50400,14 +52209,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 +52225,7 @@
}
},
{
- "id": 172,
+ "id": 186,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -50424,32 +52233,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 +52278,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 +52298,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 +52332,7 @@
],
"parameters": [
{
- "id": 181,
+ "id": 195,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -50534,14 +52343,14 @@
}
},
{
- "id": 182,
+ "id": 196,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -50550,7 +52359,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -50558,13 +52367,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 +52385,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -50588,14 +52397,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 +52415,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 +52440,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -50641,7 +52450,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -50652,7 +52461,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -50662,7 +52471,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -50675,7 +52484,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -50689,14 +52498,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 +52514,7 @@
}
},
{
- "id": 183,
+ "id": 197,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -50713,32 +52522,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 +52567,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 +52587,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 +52621,7 @@
],
"parameters": [
{
- "id": 192,
+ "id": 206,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -50823,14 +52632,14 @@
}
},
{
- "id": 193,
+ "id": 207,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -50839,7 +52648,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -50847,13 +52656,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 +52674,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -50877,14 +52686,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 +52704,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 +52729,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -50930,7 +52739,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -50941,7 +52750,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -50951,7 +52760,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -50964,7 +52773,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -50978,14 +52787,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 +52803,7 @@
}
},
{
- "id": 194,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -51002,32 +52811,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 +52856,12 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
},
{
- "id": 198,
+ "id": 212,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -51062,7 +52871,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 213,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -51076,7 +52885,7 @@
}
},
{
- "id": 200,
+ "id": 214,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -51087,14 +52896,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 +52911,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 375,
+ "line": 381,
"character": 14
}
],
@@ -51116,14 +52925,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [216]
}
]
}
}
},
{
- "id": 203,
+ "id": 217,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -51134,21 +52943,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 +52965,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 +52980,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 378,
+ "line": 384,
"character": 6
}
],
@@ -51181,7 +52990,7 @@
}
},
{
- "id": 208,
+ "id": 222,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -51189,7 +52998,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 377,
+ "line": 383,
"character": 6
}
],
@@ -51203,18 +53012,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 +53054,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 101,
+ "id": 110,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -51260,27 +53069,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 +53156,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 +53177,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 +53192,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 391,
+ "line": 397,
"character": 15
}
],
@@ -51338,18 +53206,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 +53236,7 @@
}
},
{
- "id": 219,
+ "id": 233,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -51376,20 +53244,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 +53282,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -51426,7 +53294,7 @@
]
},
{
- "id": 93,
+ "id": 102,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -51434,13 +53302,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 +53318,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 104,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -51460,21 +53328,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 +53370,7 @@
}
},
{
- "id": 99,
+ "id": 108,
"name": "err",
"kind": 32768,
"kindString": "Parameter",
@@ -51527,7 +53395,7 @@
}
},
{
- "id": 100,
+ "id": 109,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -51541,14 +53409,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 103,
+ "id": 117,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -51556,20 +53424,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 +53445,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 +53477,7 @@
}
},
{
- "id": 109,
+ "id": 123,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -51617,20 +53485,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 +53523,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -51667,7 +53535,7 @@
]
},
{
- "id": 229,
+ "id": 243,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -51675,13 +53543,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 +53560,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 245,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -51733,7 +53601,7 @@
]
},
{
- "id": 113,
+ "id": 127,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -51741,20 +53609,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 +53630,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 +53668,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -51812,7 +53680,7 @@
]
},
{
- "id": 223,
+ "id": 237,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -51820,20 +53688,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 +53709,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 +53753,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 +53790,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 +53806,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -51952,7 +53820,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -51961,10 +53829,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -51972,225 +53840,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 +53876,8 @@
}
},
{
- "id": 429,
- "name": "timeout",
+ "id": 446,
+ "name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -52216,7 +53886,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 +53974,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 +54104,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -52252,13 +54120,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 +54138,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -52285,7 +54153,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -52305,7 +54173,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -52313,7 +54181,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -52321,14 +54189,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 +54204,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -52358,11 +54226,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 +54266,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 +54274,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -52417,7 +54285,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -52425,7 +54293,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -52436,7 +54304,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -52446,27 +54314,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 +54354,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -52494,7 +54362,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -52505,7 +54373,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -52513,7 +54381,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -52535,7 +54403,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -52543,7 +54411,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -52554,7 +54422,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -52562,7 +54430,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -52575,7 +54443,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -52585,27 +54453,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 +54493,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -52633,7 +54501,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -52653,7 +54521,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -52661,7 +54529,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -52673,11 +54541,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 +54571,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 +54578,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -52718,7 +54586,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -52734,30 +54602,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 +54614,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 +54666,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -52844,7 +54689,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 +54720,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -52871,7 +54739,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -52879,30 +54747,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 +54759,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 +54785,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -52925,20 +54793,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 +54817,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 +54835,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 +54857,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 +54884,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 +54908,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -53050,7 +54918,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -53060,7 +54928,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -53074,13 +54942,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -53088,7 +54956,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -53101,21 +54969,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 +54993,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -53139,13 +55007,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -53157,13 +55025,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -53175,13 +55043,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -53194,14 +55062,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -53209,13 +55077,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 +55099,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -53239,13 +55107,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 +55129,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -53269,13 +55137,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 +55153,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -53301,7 +55169,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -53325,7 +55193,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -53333,13 +55201,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 +55219,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -53359,7 +55227,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -53367,13 +55235,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 +55257,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -53397,13 +55265,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 +55282,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -53425,7 +55293,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -53436,7 +55304,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -53457,7 +55325,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -53465,13 +55333,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 +55350,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 +55368,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 +55472,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 +55511,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -53652,12 +55520,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -53672,7 +55540,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -53685,7 +55553,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -53693,13 +55561,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 +55577,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -53719,10 +55587,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -53732,7 +55600,7 @@
},
"children": [
{
- "id": 66,
+ "id": 75,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -53740,20 +55608,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 +55632,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 +55650,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 +55672,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 +55699,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 +55723,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -53865,7 +55733,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -53875,7 +55743,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -53889,13 +55757,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -53903,7 +55771,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -53916,21 +55784,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 +55808,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -53954,13 +55822,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -53972,13 +55840,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -53990,13 +55858,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -54007,17 +55875,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 +55895,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 +55928,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 71,
+ "id": 80,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -54075,27 +55943,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 +55978,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 +55993,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 114,
+ "line": 118,
"character": 6
}
],
@@ -54137,7 +56005,7 @@
}
},
{
- "id": 77,
+ "id": 86,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -54145,14 +56013,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 +56028,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 +56059,7 @@
}
},
{
- "id": 82,
+ "id": 91,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -54201,7 +56069,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 115,
+ "line": 119,
"character": 6
}
],
@@ -54211,7 +56079,7 @@
}
},
{
- "id": 76,
+ "id": 85,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -54219,7 +56087,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 112,
+ "line": 116,
"character": 6
}
],
@@ -54233,13 +56101,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 +56120,7 @@
"defaultValue": "{}"
},
{
- "id": 86,
+ "id": 95,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -54260,7 +56128,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 121,
+ "line": 125,
"character": 2
}
],
@@ -54270,7 +56138,7 @@
}
},
{
- "id": 85,
+ "id": 94,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -54278,7 +56146,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 120,
+ "line": 124,
"character": 2
}
],
@@ -54289,7 +56157,7 @@
"defaultValue": "false"
},
{
- "id": 91,
+ "id": 100,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -54298,10 +56166,10 @@
},
"type": {
"type": "reference",
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"dereferenced": {
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -54309,21 +56177,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 +56199,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 +56226,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 +56250,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -54392,7 +56260,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -54402,7 +56270,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -54416,13 +56284,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -54430,7 +56298,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -54443,21 +56311,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 +56335,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -54481,13 +56349,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -54499,13 +56367,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -54517,13 +56385,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -54534,7 +56402,7 @@
"defaultValue": "..."
},
{
- "id": 89,
+ "id": 98,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -54542,7 +56410,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 124,
+ "line": 128,
"character": 2
}
],
@@ -54558,7 +56426,7 @@
"flags": {},
"children": [
{
- "id": 28,
+ "id": 36,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -54566,13 +56434,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 +56450,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 38,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -54592,13 +56460,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 +56493,7 @@
]
},
{
- "id": 35,
+ "id": 44,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -54633,21 +56501,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 +56523,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 66,
+ "line": 68,
"character": 4
}
],
@@ -54667,7 +56535,7 @@
}
},
{
- "id": 38,
+ "id": 47,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -54675,7 +56543,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 67,
+ "line": 69,
"character": 4
}
],
@@ -54687,7 +56555,7 @@
}
},
{
- "id": 39,
+ "id": 48,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -54695,13 +56563,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 +56586,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [37, 38]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [39]
+ "children": [48]
}
]
}
@@ -54731,7 +56599,7 @@
"defaultValue": "..."
},
{
- "id": 41,
+ "id": 50,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -54740,13 +56608,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 +56622,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 66,
"character": 2
}
],
@@ -54774,7 +56642,7 @@
"defaultValue": "null"
},
{
- "id": 33,
+ "id": 42,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -54782,7 +56650,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 63,
+ "line": 65,
"character": 2
}
],
@@ -54796,7 +56664,7 @@
"defaultValue": "[]"
},
{
- "id": 32,
+ "id": 40,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -54804,16 +56672,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 +56705,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 +56783,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 +56808,13 @@
"type": "array",
"elementType": {
"type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "T"
+ }
+ ],
"name": "Presence"
}
}
@@ -54877,18 +56830,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 +56849,7 @@
}
},
{
- "id": 88,
+ "id": 97,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -54904,7 +56857,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 123,
+ "line": 127,
"character": 2
}
],
@@ -54918,11 +56871,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 +56971,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 +56990,7 @@
}
},
{
- "id": 119,
+ "id": 133,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -55045,13 +56998,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 +57014,7 @@
},
"parameters": [
{
- "id": 121,
+ "id": 135,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -55072,7 +57025,7 @@
}
},
{
- "id": 122,
+ "id": 136,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -55080,14 +57033,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 +57048,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 334,
+ "line": 340,
"character": 14
}
],
@@ -55109,14 +57062,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [138]
}
]
}
}
},
{
- "id": 125,
+ "id": 139,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -55124,14 +57077,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 +57101,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 +57121,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 +57155,7 @@
],
"parameters": [
{
- "id": 133,
+ "id": 147,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -55213,7 +57166,7 @@
}
},
{
- "id": 134,
+ "id": 148,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -55221,14 +57174,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 +57189,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 339,
+ "line": 345,
"character": 14
}
],
@@ -55250,14 +57203,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136]
+ "children": [150]
}
]
}
}
},
{
- "id": 137,
+ "id": 151,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -55265,32 +57218,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 +57263,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 +57283,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 +57317,7 @@
],
"parameters": [
{
- "id": 146,
+ "id": 160,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -55375,7 +57328,7 @@
}
},
{
- "id": 147,
+ "id": 161,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -55383,14 +57336,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 +57351,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 344,
+ "line": 350,
"character": 14
}
],
@@ -55412,14 +57365,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [149]
+ "children": [163]
}
]
}
}
},
{
- "id": 150,
+ "id": 164,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -55427,32 +57380,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 +57425,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 +57445,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 +57479,7 @@
],
"parameters": [
{
- "id": 159,
+ "id": 173,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -55537,14 +57490,14 @@
}
},
{
- "id": 160,
+ "id": 174,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -55553,7 +57506,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -55561,13 +57514,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 +57532,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -55591,14 +57544,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 +57562,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 +57587,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -55644,7 +57597,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -55655,7 +57608,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -55665,7 +57618,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -55678,7 +57631,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -55692,14 +57645,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 +57661,7 @@
}
},
{
- "id": 161,
+ "id": 175,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -55716,32 +57669,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 +57714,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 +57734,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 +57768,7 @@
],
"parameters": [
{
- "id": 170,
+ "id": 184,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -55826,14 +57779,14 @@
}
},
{
- "id": 171,
+ "id": 185,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -55842,7 +57795,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -55850,13 +57803,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 +57821,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -55880,14 +57833,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 +57851,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 +57876,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -55933,7 +57886,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -55944,7 +57897,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -55954,7 +57907,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -55967,7 +57920,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -55981,14 +57934,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 +57950,7 @@
}
},
{
- "id": 172,
+ "id": 186,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -56005,32 +57958,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 +58003,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 +58023,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 +58057,7 @@
],
"parameters": [
{
- "id": 181,
+ "id": 195,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -56115,14 +58068,14 @@
}
},
{
- "id": 182,
+ "id": 196,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -56131,7 +58084,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -56139,13 +58092,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 +58110,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -56169,14 +58122,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 +58140,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 +58165,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -56222,7 +58175,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -56233,7 +58186,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -56243,7 +58196,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -56256,7 +58209,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -56270,14 +58223,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 +58239,7 @@
}
},
{
- "id": 183,
+ "id": 197,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -56294,32 +58247,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 +58292,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 +58312,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 +58346,7 @@
],
"parameters": [
{
- "id": 192,
+ "id": 206,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -56404,14 +58357,14 @@
}
},
{
- "id": 193,
+ "id": 207,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -56420,7 +58373,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -56428,13 +58381,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 +58399,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -56458,14 +58411,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 +58429,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 +58454,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -56511,7 +58464,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -56522,7 +58475,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -56532,7 +58485,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -56545,7 +58498,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -56559,14 +58512,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 +58528,7 @@
}
},
{
- "id": 194,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -56583,32 +58536,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 +58581,12 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
},
{
- "id": 198,
+ "id": 212,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -56643,7 +58596,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 213,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -56657,7 +58610,7 @@
}
},
{
- "id": 200,
+ "id": 214,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -56668,14 +58621,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 +58636,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 375,
+ "line": 381,
"character": 14
}
],
@@ -56697,14 +58650,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [216]
}
]
}
}
},
{
- "id": 203,
+ "id": 217,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -56715,21 +58668,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 +58690,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 +58705,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 378,
+ "line": 384,
"character": 6
}
],
@@ -56762,7 +58715,7 @@
}
},
{
- "id": 208,
+ "id": 222,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -56770,7 +58723,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 377,
+ "line": 383,
"character": 6
}
],
@@ -56784,18 +58737,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 +58779,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 101,
+ "id": 110,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -56841,27 +58794,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 +58881,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 +58902,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 +58917,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 391,
+ "line": 397,
"character": 15
}
],
@@ -56919,18 +58931,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 +58961,7 @@
}
},
{
- "id": 219,
+ "id": 233,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -56957,20 +58969,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 +59007,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -57007,7 +59019,7 @@
]
},
{
- "id": 93,
+ "id": 102,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -57015,13 +59027,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 +59043,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 104,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -57041,21 +59053,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 +59095,7 @@
}
},
{
- "id": 99,
+ "id": 108,
"name": "err",
"kind": 32768,
"kindString": "Parameter",
@@ -57108,7 +59120,7 @@
}
},
{
- "id": 100,
+ "id": 109,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -57122,14 +59134,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 103,
+ "id": 117,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -57137,20 +59149,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 +59170,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 +59202,7 @@
}
},
{
- "id": 109,
+ "id": 123,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -57198,20 +59210,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 +59248,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -57248,7 +59260,7 @@
]
},
{
- "id": 229,
+ "id": 243,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -57256,13 +59268,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 +59285,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 245,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -57314,7 +59326,7 @@
]
},
{
- "id": 113,
+ "id": 127,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -57322,20 +59334,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 +59355,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 +59393,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -57393,7 +59405,7 @@
]
},
{
- "id": 223,
+ "id": 237,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -57401,20 +59413,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 +59434,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 +59478,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 +59507,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -57507,7 +59519,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -57515,13 +59527,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 +59543,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -57566,26 +59578,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 +59610,7 @@
"flags": {},
"children": [
{
- "id": 28,
+ "id": 36,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -57606,13 +59618,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 +59634,7 @@
},
"parameters": [
{
- "id": 30,
+ "id": 38,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -57632,10 +59644,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -57645,7 +59657,7 @@
},
"children": [
{
- "id": 66,
+ "id": 75,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -57653,20 +59665,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 +59689,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 +59707,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 +59729,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 +59756,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 +59780,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -57778,7 +59790,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -57788,7 +59800,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -57802,13 +59814,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -57816,7 +59828,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -57829,21 +59841,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 +59865,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -57867,13 +59879,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -57885,13 +59897,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -57903,13 +59915,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -57920,24 +59932,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 +59957,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 +59973,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -57975,7 +59987,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -57984,10 +59996,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -57995,27 +60007,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 +60065,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 +60163,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 +60173,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 +60188,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 +60219,7 @@
}
},
{
- "id": 434,
+ "id": 448,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -58217,7 +60229,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 24,
"character": 2
}
],
@@ -58229,7 +60241,7 @@
}
},
{
- "id": 429,
+ "id": 443,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -58239,7 +60251,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 19,
"character": 2
}
],
@@ -58249,7 +60261,7 @@
}
},
{
- "id": 428,
+ "id": 442,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -58259,7 +60271,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -58276,15 +60288,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 +60308,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -58311,7 +60323,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -58331,7 +60343,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -58339,7 +60351,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -58347,14 +60359,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 +60374,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -58384,11 +60396,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 +60436,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 +60444,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -58443,7 +60455,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -58451,7 +60463,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -58462,7 +60474,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -58472,27 +60484,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 +60524,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -58520,7 +60532,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -58531,7 +60543,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -58539,7 +60551,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -58561,7 +60573,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -58569,7 +60581,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -58580,7 +60592,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -58588,7 +60600,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -58601,7 +60613,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -58611,27 +60623,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 +60663,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -58659,7 +60671,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -58679,7 +60691,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -58687,7 +60699,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -58699,11 +60711,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 +60741,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 +60748,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -58744,7 +60756,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -58760,30 +60772,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 +60784,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 +60836,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -58870,7 +60859,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 +60890,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -58897,7 +60909,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -58905,30 +60917,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 +60929,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 +60955,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -58951,20 +60963,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 +60987,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 +61005,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 +61027,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 +61054,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 +61078,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -59076,7 +61088,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -59086,7 +61098,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -59101,14 +61113,14 @@
"title": "Properties",
"kind": 1024,
"children": [
- 309, 308
+ 323, 322
]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -59116,7 +61128,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -59129,21 +61141,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 +61165,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -59167,13 +61179,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -59185,13 +61197,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -59203,13 +61215,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -59222,14 +61234,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -59237,13 +61249,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 +61271,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -59267,13 +61279,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 +61301,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -59297,13 +61309,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 +61325,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -59329,7 +61341,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -59353,7 +61365,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -59361,13 +61373,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 +61391,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -59387,7 +61399,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -59395,13 +61407,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 +61429,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -59425,13 +61437,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 +61454,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -59453,7 +61465,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -59464,7 +61476,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -59485,7 +61497,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -59493,13 +61505,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 +61522,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 +61540,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 +61644,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 +61651,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 +61685,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -59682,12 +61694,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -59702,7 +61714,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -59715,7 +61727,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -59723,13 +61735,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 +61751,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -59749,7 +61761,7 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
}
@@ -59760,7 +61772,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -59772,7 +61784,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -59780,13 +61792,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 +61808,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -59831,30 +61843,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 +61876,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 71,
+ "id": 80,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -59879,27 +61891,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 +61926,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 +61941,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 114,
+ "line": 118,
"character": 6
}
],
@@ -59941,7 +61953,7 @@
}
},
{
- "id": 77,
+ "id": 86,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -59949,14 +61961,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 +61976,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 +62007,7 @@
}
},
{
- "id": 82,
+ "id": 91,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -60005,7 +62017,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 115,
+ "line": 119,
"character": 6
}
],
@@ -60015,7 +62027,7 @@
}
},
{
- "id": 76,
+ "id": 85,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -60023,7 +62035,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 112,
+ "line": 116,
"character": 6
}
],
@@ -60037,13 +62049,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 +62068,7 @@
"defaultValue": "{}"
},
{
- "id": 86,
+ "id": 95,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -60064,7 +62076,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 121,
+ "line": 125,
"character": 2
}
],
@@ -60074,7 +62086,7 @@
}
},
{
- "id": 85,
+ "id": 94,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -60082,7 +62094,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 120,
+ "line": 124,
"character": 2
}
],
@@ -60093,7 +62105,7 @@
"defaultValue": "false"
},
{
- "id": 91,
+ "id": 100,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -60102,10 +62114,10 @@
},
"type": {
"type": "reference",
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"dereferenced": {
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -60113,21 +62125,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 +62147,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 +62174,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 +62198,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -60196,7 +62208,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -60206,7 +62218,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -60220,13 +62232,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -60234,7 +62246,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -60247,21 +62259,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 +62283,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -60285,13 +62297,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -60303,13 +62315,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -60321,13 +62333,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -60338,7 +62350,7 @@
"defaultValue": "..."
},
{
- "id": 89,
+ "id": 98,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -60346,7 +62358,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 124,
+ "line": 128,
"character": 2
}
],
@@ -60365,18 +62377,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 +62396,7 @@
}
},
{
- "id": 88,
+ "id": 97,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -60392,7 +62404,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 123,
+ "line": 127,
"character": 2
}
],
@@ -60406,7 +62418,7 @@
"defaultValue": "[]"
},
{
- "id": 87,
+ "id": 96,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -60414,7 +62426,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 122,
+ "line": 126,
"character": 2
}
],
@@ -60424,7 +62436,7 @@
}
},
{
- "id": 92,
+ "id": 101,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -60433,17 +62445,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 +62463,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 +62479,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -60481,7 +62493,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -60490,10 +62502,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -60501,27 +62513,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 +62571,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 +62669,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 +62679,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 +62694,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 +62725,7 @@
}
},
{
- "id": 434,
+ "id": 448,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -60723,7 +62735,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 24,
"character": 2
}
],
@@ -60735,7 +62747,7 @@
}
},
{
- "id": 429,
+ "id": 443,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -60745,7 +62757,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 19,
"character": 2
}
],
@@ -60755,7 +62767,7 @@
}
},
{
- "id": 428,
+ "id": 442,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -60765,7 +62777,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -60782,15 +62794,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 +62814,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -60817,7 +62829,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -60837,7 +62849,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -60845,7 +62857,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -60853,14 +62865,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 +62880,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -60890,11 +62902,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 +62942,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 +62950,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -60949,7 +62961,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -60957,7 +62969,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -60968,7 +62980,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -60978,27 +62990,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 +63030,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -61026,7 +63038,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -61037,7 +63049,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -61045,7 +63057,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -61067,7 +63079,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -61075,7 +63087,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -61086,7 +63098,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -61094,7 +63106,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -61107,7 +63119,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -61117,27 +63129,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 +63169,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -61165,7 +63177,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -61185,7 +63197,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -61193,7 +63205,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -61205,11 +63217,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 +63247,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 +63254,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -61250,7 +63262,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -61266,30 +63278,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 +63290,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 +63342,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -61376,7 +63365,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 +63396,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -61403,7 +63415,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -61411,30 +63423,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 +63435,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 +63461,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -61457,20 +63469,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 +63493,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 +63511,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 +63533,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 +63560,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 +63584,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -61582,7 +63594,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -61592,7 +63604,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -61606,13 +63618,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -61620,7 +63632,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -61633,21 +63645,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 +63669,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -61671,13 +63683,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -61689,13 +63701,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -61707,13 +63719,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -61726,14 +63738,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -61741,13 +63753,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 +63775,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -61771,13 +63783,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 +63805,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -61801,13 +63813,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 +63829,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -61833,7 +63845,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -61857,7 +63869,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -61865,13 +63877,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 +63895,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -61891,7 +63903,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -61899,13 +63911,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 +63933,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -61929,13 +63941,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 +63958,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -61957,7 +63969,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -61968,7 +63980,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -61989,7 +64001,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -61997,13 +64009,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 +64026,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 +64044,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 +64148,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 +64187,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -62184,12 +64196,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -62204,7 +64216,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -62217,7 +64229,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -62225,13 +64237,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 +64253,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -62251,7 +64263,7 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
}
@@ -62262,7 +64274,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -62274,7 +64286,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -62282,13 +64294,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 +64310,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -62333,28 +64345,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 +64374,7 @@
}
},
{
- "id": 84,
+ "id": 93,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -62370,7 +64382,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 119,
+ "line": 123,
"character": 2
}
],
@@ -62381,7 +64393,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 83,
+ "id": 92,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -62389,7 +64401,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 118,
+ "line": 122,
"character": 2
}
],
@@ -62399,7 +64411,7 @@
}
},
{
- "id": 90,
+ "id": 99,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -62412,7 +64424,7 @@
}
},
{
- "id": 119,
+ "id": 133,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -62420,13 +64432,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 +64448,7 @@
},
"parameters": [
{
- "id": 121,
+ "id": 135,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -62447,7 +64459,7 @@
}
},
{
- "id": 122,
+ "id": 136,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -62455,14 +64467,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 +64482,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 334,
+ "line": 340,
"character": 14
}
],
@@ -62484,14 +64496,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [138]
}
]
}
}
},
{
- "id": 125,
+ "id": 139,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -62499,14 +64511,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 +64535,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 +64555,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 +64589,7 @@
],
"parameters": [
{
- "id": 133,
+ "id": 147,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -62588,7 +64600,7 @@
}
},
{
- "id": 134,
+ "id": 148,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -62596,14 +64608,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 +64623,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 339,
+ "line": 345,
"character": 14
}
],
@@ -62625,14 +64637,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136]
+ "children": [150]
}
]
}
}
},
{
- "id": 137,
+ "id": 151,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -62640,32 +64652,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 +64697,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 +64717,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 +64751,7 @@
],
"parameters": [
{
- "id": 146,
+ "id": 160,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -62750,7 +64762,7 @@
}
},
{
- "id": 147,
+ "id": 161,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -62758,14 +64770,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 +64785,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 344,
+ "line": 350,
"character": 14
}
],
@@ -62787,14 +64799,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [149]
+ "children": [163]
}
]
}
}
},
{
- "id": 150,
+ "id": 164,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -62802,32 +64814,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 +64859,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 +64879,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 +64913,7 @@
],
"parameters": [
{
- "id": 159,
+ "id": 173,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -62912,14 +64924,14 @@
}
},
{
- "id": 160,
+ "id": 174,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -62928,7 +64940,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -62936,13 +64948,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 +64966,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -62966,14 +64978,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 +64996,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 +65021,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -63019,7 +65031,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -63030,7 +65042,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -63040,7 +65052,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -63053,7 +65065,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -63067,14 +65079,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 +65095,7 @@
}
},
{
- "id": 161,
+ "id": 175,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -63091,32 +65103,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 +65148,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 +65168,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 +65202,7 @@
],
"parameters": [
{
- "id": 170,
+ "id": 184,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -63201,14 +65213,14 @@
}
},
{
- "id": 171,
+ "id": 185,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -63217,7 +65229,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -63225,13 +65237,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 +65255,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -63255,14 +65267,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 +65285,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 +65310,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -63308,7 +65320,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -63319,7 +65331,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -63329,7 +65341,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -63342,7 +65354,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -63356,14 +65368,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 +65384,7 @@
}
},
{
- "id": 172,
+ "id": 186,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -63380,32 +65392,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 +65437,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 +65457,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 +65491,7 @@
],
"parameters": [
{
- "id": 181,
+ "id": 195,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -63490,14 +65502,14 @@
}
},
{
- "id": 182,
+ "id": 196,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -63506,7 +65518,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -63514,13 +65526,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 +65544,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -63544,14 +65556,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 +65574,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 +65599,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -63597,7 +65609,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -63608,7 +65620,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -63618,7 +65630,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -63631,7 +65643,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -63645,14 +65657,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 +65673,7 @@
}
},
{
- "id": 183,
+ "id": 197,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -63669,32 +65681,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 +65726,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 +65746,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 +65780,7 @@
],
"parameters": [
{
- "id": 192,
+ "id": 206,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -63779,14 +65791,14 @@
}
},
{
- "id": 193,
+ "id": 207,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -63795,7 +65807,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -63803,13 +65815,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 +65833,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -63833,14 +65845,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 +65863,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 +65888,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -63886,7 +65898,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -63897,7 +65909,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -63907,7 +65919,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -63920,7 +65932,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -63934,14 +65946,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 +65962,7 @@
}
},
{
- "id": 194,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -63958,32 +65970,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 +66015,12 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
},
{
- "id": 198,
+ "id": 212,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -64018,7 +66030,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 213,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -64032,7 +66044,7 @@
}
},
{
- "id": 200,
+ "id": 214,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -64043,14 +66055,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 +66070,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 375,
+ "line": 381,
"character": 14
}
],
@@ -64072,14 +66084,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [216]
}
]
}
}
},
{
- "id": 203,
+ "id": 217,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -64090,21 +66102,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 +66124,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 +66139,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 378,
+ "line": 384,
"character": 6
}
],
@@ -64137,7 +66149,7 @@
}
},
{
- "id": 208,
+ "id": 222,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -64145,7 +66157,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 377,
+ "line": 383,
"character": 6
}
],
@@ -64159,18 +66171,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 +66213,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 101,
+ "id": 110,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -64216,27 +66228,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 +66315,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 +66336,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 +66351,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 391,
+ "line": 397,
"character": 15
}
],
@@ -64294,18 +66365,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 +66395,7 @@
}
},
{
- "id": 219,
+ "id": 233,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -64332,20 +66403,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 +66441,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -64382,7 +66453,7 @@
]
},
{
- "id": 93,
+ "id": 102,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -64390,13 +66461,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 +66477,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 104,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -64416,21 +66487,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 +66529,7 @@
}
},
{
- "id": 99,
+ "id": 108,
"name": "err",
"kind": 32768,
"kindString": "Parameter",
@@ -64483,7 +66554,7 @@
}
},
{
- "id": 100,
+ "id": 109,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -64497,14 +66568,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 103,
+ "id": 117,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -64512,20 +66583,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 +66604,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 +66636,7 @@
}
},
{
- "id": 109,
+ "id": 123,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -64573,20 +66644,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 +66682,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -64623,7 +66694,7 @@
]
},
{
- "id": 229,
+ "id": 243,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -64631,13 +66702,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 +66719,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 245,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -64689,7 +66760,7 @@
]
},
{
- "id": 113,
+ "id": 127,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -64697,20 +66768,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 +66789,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 +66827,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -64768,7 +66839,7 @@
]
},
{
- "id": 223,
+ "id": 237,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -64776,20 +66847,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 +66868,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 +66912,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 +66936,7 @@
}
},
{
- "id": 31,
+ "id": 39,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -64892,7 +66963,7 @@
]
},
{
- "id": 35,
+ "id": 44,
"name": "caller",
"kind": 1024,
"kindString": "Property",
@@ -64900,21 +66971,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 +66993,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 66,
+ "line": 68,
"character": 4
}
],
@@ -64934,7 +67005,7 @@
}
},
{
- "id": 38,
+ "id": 47,
"name": "onLeave",
"kind": 1024,
"kindString": "Property",
@@ -64942,7 +67013,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 67,
+ "line": 69,
"character": 4
}
],
@@ -64954,7 +67025,7 @@
}
},
{
- "id": 39,
+ "id": 48,
"name": "onSync",
"kind": 2048,
"kindString": "Method",
@@ -64962,13 +67033,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 +67056,12 @@
{
"title": "Properties",
"kind": 1024,
- "children": [37, 38]
+ "children": [46, 47]
},
{
"title": "Methods",
"kind": 2048,
- "children": [39]
+ "children": [48]
}
]
}
@@ -64998,7 +67069,7 @@
"defaultValue": "..."
},
{
- "id": 41,
+ "id": 50,
"name": "channel",
"kind": 1024,
"kindString": "Property",
@@ -65007,10 +67078,10 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": {
- "id": 55,
+ "id": 64,
"name": "RealtimeChannel",
"kind": 128,
"kindString": "Class",
@@ -65020,7 +67091,7 @@
},
"children": [
{
- "id": 66,
+ "id": 75,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -65028,20 +67099,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 +67123,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 +67141,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 +67163,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 +67190,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 +67214,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -65153,7 +67224,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -65163,7 +67234,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -65177,13 +67248,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -65191,7 +67262,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -65204,21 +67275,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 +67299,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -65242,13 +67313,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -65260,13 +67331,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -65278,13 +67349,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -65295,24 +67366,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 +67391,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 +67407,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -65350,7 +67421,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -65359,10 +67430,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -65370,27 +67441,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 +67499,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 +67597,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 +67607,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 +67622,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 +67653,7 @@
}
},
{
- "id": 434,
+ "id": 448,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -65592,7 +67663,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 24,
"character": 2
}
],
@@ -65604,7 +67675,7 @@
}
},
{
- "id": 429,
+ "id": 443,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -65614,7 +67685,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 19,
"character": 2
}
],
@@ -65624,7 +67695,7 @@
}
},
{
- "id": 428,
+ "id": 442,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -65634,7 +67705,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -65651,15 +67722,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 +67742,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -65686,7 +67757,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -65706,7 +67777,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -65714,7 +67785,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -65722,14 +67793,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 +67808,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -65759,11 +67830,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 +67870,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 +67878,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -65818,7 +67889,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -65826,7 +67897,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -65837,7 +67908,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -65847,27 +67918,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 +67958,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -65895,7 +67966,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -65906,7 +67977,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -65914,7 +67985,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -65936,7 +68007,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -65944,7 +68015,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -65955,7 +68026,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -65963,7 +68034,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -65976,7 +68047,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -65986,27 +68057,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 +68097,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -66034,7 +68105,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -66054,7 +68125,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -66062,7 +68133,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -66074,11 +68145,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 +68175,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 +68182,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -66119,7 +68190,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -66135,30 +68206,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 +68218,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 +68270,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -66245,7 +68293,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 +68324,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -66272,7 +68343,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -66280,30 +68351,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 +68363,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 +68389,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -66326,20 +68397,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 +68421,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 +68439,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 +68461,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 +68488,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 +68512,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -66451,7 +68522,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -66461,7 +68532,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -66475,13 +68546,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -66489,7 +68560,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -66502,21 +68573,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 +68597,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -66540,13 +68611,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -66558,13 +68629,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -66576,13 +68647,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -66595,14 +68666,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -66610,13 +68681,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 +68703,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -66640,13 +68711,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 +68733,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -66670,13 +68741,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 +68757,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -66702,7 +68773,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -66726,7 +68797,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -66734,13 +68805,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 +68823,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -66760,7 +68831,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -66768,13 +68839,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 +68861,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -66798,13 +68869,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 +68886,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -66826,7 +68897,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -66837,7 +68908,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -66858,7 +68929,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -66866,13 +68937,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 +68954,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 +68972,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 +69076,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 +69115,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -67053,12 +69124,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -67073,7 +69144,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -67086,7 +69157,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -67094,13 +69165,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 +69181,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -67120,7 +69191,7 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
}
@@ -67131,7 +69202,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -67143,7 +69214,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -67151,13 +69222,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 +69238,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -67202,28 +69273,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 +69304,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 71,
+ "id": 80,
"name": "bindings",
"kind": 1024,
"kindString": "Property",
@@ -67248,27 +69319,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 +69354,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 +69369,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 114,
+ "line": 118,
"character": 6
}
],
@@ -67310,7 +69381,7 @@
}
},
{
- "id": 77,
+ "id": 86,
"name": "filter",
"kind": 1024,
"kindString": "Property",
@@ -67318,14 +69389,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 +69404,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 +69435,7 @@
}
},
{
- "id": 82,
+ "id": 91,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -67374,7 +69445,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 115,
+ "line": 119,
"character": 6
}
],
@@ -67384,7 +69455,7 @@
}
},
{
- "id": 76,
+ "id": 85,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -67392,7 +69463,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 112,
+ "line": 116,
"character": 6
}
],
@@ -67406,13 +69477,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 +69496,7 @@
"defaultValue": "{}"
},
{
- "id": 86,
+ "id": 95,
"name": "joinPush",
"kind": 1024,
"kindString": "Property",
@@ -67433,7 +69504,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 121,
+ "line": 125,
"character": 2
}
],
@@ -67443,7 +69514,7 @@
}
},
{
- "id": 85,
+ "id": 94,
"name": "joinedOnce",
"kind": 1024,
"kindString": "Property",
@@ -67451,7 +69522,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 120,
+ "line": 124,
"character": 2
}
],
@@ -67462,7 +69533,7 @@
"defaultValue": "false"
},
{
- "id": 91,
+ "id": 100,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -67471,10 +69542,10 @@
},
"type": {
"type": "reference",
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"dereferenced": {
- "id": 302,
+ "id": 316,
"name": "RealtimeChannelOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -67482,21 +69553,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 +69575,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 +69602,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 +69626,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -67565,7 +69636,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -67575,7 +69646,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -67589,13 +69660,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -67603,7 +69674,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -67616,21 +69687,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 +69711,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -67654,13 +69725,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -67672,13 +69743,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -67690,13 +69761,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -67707,7 +69778,7 @@
"defaultValue": "..."
},
{
- "id": 89,
+ "id": 98,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -67715,7 +69786,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 124,
+ "line": 128,
"character": 2
}
],
@@ -67734,18 +69805,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 +69824,7 @@
}
},
{
- "id": 88,
+ "id": 97,
"name": "pushBuffer",
"kind": 1024,
"kindString": "Property",
@@ -67761,7 +69832,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 123,
+ "line": 127,
"character": 2
}
],
@@ -67775,7 +69846,7 @@
"defaultValue": "[]"
},
{
- "id": 87,
+ "id": 96,
"name": "rejoinTimer",
"kind": 1024,
"kindString": "Property",
@@ -67783,7 +69854,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 122,
+ "line": 126,
"character": 2
}
],
@@ -67793,7 +69864,7 @@
}
},
{
- "id": 92,
+ "id": 101,
"name": "socket",
"kind": 1024,
"kindString": "Property",
@@ -67802,17 +69873,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 +69891,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 +69907,7 @@
},
"parameters": [
{
- "id": 317,
+ "id": 331,
"name": "endPoint",
"kind": 32768,
"kindString": "Parameter",
@@ -67850,7 +69921,7 @@
}
},
{
- "id": 318,
+ "id": 332,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
@@ -67859,10 +69930,10 @@
},
"type": {
"type": "reference",
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"dereferenced": {
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -67870,27 +69941,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 +69999,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 +70097,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 +70107,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 +70122,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 +70153,7 @@
}
},
{
- "id": 434,
+ "id": 448,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -68092,7 +70163,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 23,
+ "line": 24,
"character": 2
}
],
@@ -68104,7 +70175,7 @@
}
},
{
- "id": 429,
+ "id": 443,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -68114,7 +70185,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 18,
+ "line": 19,
"character": 2
}
],
@@ -68124,7 +70195,7 @@
}
},
{
- "id": 428,
+ "id": 442,
"name": "transport",
"kind": 1024,
"kindString": "Property",
@@ -68134,7 +70205,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -68151,14 +70222,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 +70241,14 @@
],
"type": {
"type": "reference",
- "id": 314,
+ "id": 328,
"name": "default"
}
}
]
},
{
- "id": 319,
+ "id": 333,
"name": "accessToken",
"kind": 1024,
"kindString": "Property",
@@ -68185,7 +70256,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 41,
+ "line": 42,
"character": 2
}
],
@@ -68205,7 +70276,7 @@
"defaultValue": "null"
},
{
- "id": 320,
+ "id": 334,
"name": "channels",
"kind": 1024,
"kindString": "Property",
@@ -68213,7 +70284,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -68221,14 +70292,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 +70307,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 57,
+ "line": 58,
"character": 2
}
],
@@ -68258,11 +70329,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 +70369,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 +70377,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 43,
+ "line": 44,
"character": 2
}
],
@@ -68317,7 +70388,7 @@
"defaultValue": "''"
},
{
- "id": 350,
+ "id": 364,
"name": "eventsPerSecondLimitMs",
"kind": 1024,
"kindString": "Property",
@@ -68325,7 +70396,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 71,
+ "line": 72,
"character": 2
}
],
@@ -68336,7 +70407,7 @@
"defaultValue": "100"
},
{
- "id": 322,
+ "id": 336,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -68346,27 +70417,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 +70457,7 @@
"defaultValue": "DEFAULT_HEADERS"
},
{
- "id": 332,
+ "id": 346,
"name": "heartbeatIntervalMs",
"kind": 1024,
"kindString": "Property",
@@ -68394,7 +70465,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
@@ -68405,7 +70476,7 @@
"defaultValue": "30000"
},
{
- "id": 333,
+ "id": 347,
"name": "heartbeatTimer",
"kind": 1024,
"kindString": "Property",
@@ -68413,7 +70484,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 49,
+ "line": 50,
"character": 2
}
],
@@ -68435,7 +70506,7 @@
"defaultValue": "undefined"
},
{
- "id": 351,
+ "id": 365,
"name": "inThrottle",
"kind": 1024,
"kindString": "Property",
@@ -68443,7 +70514,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 72,
+ "line": 73,
"character": 2
}
],
@@ -68454,7 +70525,7 @@
"defaultValue": "false"
},
{
- "id": 337,
+ "id": 351,
"name": "logger",
"kind": 1024,
"kindString": "Property",
@@ -68462,7 +70533,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 53,
+ "line": 54,
"character": 2
}
],
@@ -68475,7 +70546,7 @@
"defaultValue": "noop"
},
{
- "id": 326,
+ "id": 340,
"name": "params",
"kind": 1024,
"kindString": "Property",
@@ -68485,27 +70556,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 +70596,7 @@
"defaultValue": "{}"
},
{
- "id": 334,
+ "id": 348,
"name": "pendingHeartbeatRef",
"kind": 1024,
"kindString": "Property",
@@ -68533,7 +70604,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -68553,7 +70624,7 @@
"defaultValue": "null"
},
{
- "id": 340,
+ "id": 354,
"name": "reconnectAfterMs",
"kind": 1024,
"kindString": "Property",
@@ -68561,7 +70632,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 56,
+ "line": 57,
"character": 2
}
],
@@ -68573,11 +70644,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 +70674,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 +70681,7 @@
"defaultValue": "0"
},
{
- "id": 342,
+ "id": 356,
"name": "sendBuffer",
"kind": 1024,
"kindString": "Property",
@@ -68618,7 +70689,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 58,
+ "line": 59,
"character": 2
}
],
@@ -68634,30 +70705,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 +70717,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 +70769,8 @@
}
},
{
- "id": 349,
- "name": "message",
+ "id": 362,
+ "name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
@@ -68744,7 +70792,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 +70823,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 61,
+ "line": 62,
"character": 4
}
],
@@ -68771,7 +70842,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [347, 348, 349, 346]
+ "children": [361, 362, 363, 360]
}
]
}
@@ -68779,30 +70850,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 +70862,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 +70888,7 @@
"defaultValue": "w3cwebsocket"
},
{
- "id": 374,
+ "id": 388,
"name": "channel",
"kind": 2048,
"kindString": "Method",
@@ -68825,20 +70896,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 +70920,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 +70938,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 +70960,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 +70987,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 +71011,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -68950,7 +71021,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -68960,7 +71031,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -68974,13 +71045,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -68988,7 +71059,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -69001,21 +71072,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 +71096,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -69039,13 +71110,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -69057,13 +71128,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -69075,13 +71146,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -69094,14 +71165,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 352,
+ "id": 366,
"name": "connect",
"kind": 2048,
"kindString": "Method",
@@ -69109,13 +71180,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 +71202,7 @@
]
},
{
- "id": 370,
+ "id": 384,
"name": "connectionState",
"kind": 2048,
"kindString": "Method",
@@ -69139,13 +71210,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 +71232,7 @@
]
},
{
- "id": 354,
+ "id": 368,
"name": "disconnect",
"kind": 2048,
"kindString": "Method",
@@ -69169,13 +71240,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 +71256,7 @@
},
"parameters": [
{
- "id": 356,
+ "id": 370,
"name": "code",
"kind": 32768,
"kindString": "Parameter",
@@ -69201,7 +71272,7 @@
}
},
{
- "id": 357,
+ "id": 371,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
@@ -69225,7 +71296,7 @@
]
},
{
- "id": 358,
+ "id": 372,
"name": "getChannels",
"kind": 2048,
"kindString": "Method",
@@ -69233,13 +71304,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 +71322,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
@@ -69259,7 +71330,7 @@
]
},
{
- "id": 372,
+ "id": 386,
"name": "isConnected",
"kind": 2048,
"kindString": "Method",
@@ -69267,13 +71338,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 +71360,7 @@
]
},
{
- "id": 365,
+ "id": 379,
"name": "log",
"kind": 2048,
"kindString": "Method",
@@ -69297,13 +71368,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 +71385,7 @@
},
"parameters": [
{
- "id": 367,
+ "id": 381,
"name": "kind",
"kind": 32768,
"kindString": "Parameter",
@@ -69325,7 +71396,7 @@
}
},
{
- "id": 368,
+ "id": 382,
"name": "msg",
"kind": 32768,
"kindString": "Parameter",
@@ -69336,7 +71407,7 @@
}
},
{
- "id": 369,
+ "id": 383,
"name": "data",
"kind": 32768,
"kindString": "Parameter",
@@ -69357,7 +71428,7 @@
]
},
{
- "id": 378,
+ "id": 392,
"name": "push",
"kind": 2048,
"kindString": "Method",
@@ -69365,13 +71436,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 +71453,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 +71471,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 +71575,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 +71614,7 @@
]
},
{
- "id": 363,
+ "id": 377,
"name": "removeAllChannels",
"kind": 2048,
"kindString": "Method",
@@ -69552,12 +71623,12 @@
{
"fileName": "RealtimeClient.ts",
"line": 187,
- "character": 2
+ "character": 8
}
],
"signatures": [
{
- "id": 364,
+ "id": 378,
"name": "removeAllChannels",
"kind": 4096,
"kindString": "Call signature",
@@ -69572,7 +71643,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
}
@@ -69585,7 +71656,7 @@
]
},
{
- "id": 360,
+ "id": 374,
"name": "removeChannel",
"kind": 2048,
"kindString": "Method",
@@ -69593,13 +71664,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 +71680,7 @@
},
"parameters": [
{
- "id": 362,
+ "id": 376,
"name": "channel",
"kind": 32768,
"kindString": "Parameter",
@@ -69619,7 +71690,7 @@
},
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default",
"dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
}
@@ -69630,7 +71701,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse"
}
],
@@ -69642,7 +71713,7 @@
]
},
{
- "id": 381,
+ "id": 395,
"name": "setAuth",
"kind": 2048,
"kindString": "Method",
@@ -69650,13 +71721,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 +71737,7 @@
},
"parameters": [
{
- "id": 383,
+ "id": 397,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
@@ -69701,26 +71772,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 +71799,7 @@
}
},
{
- "id": 84,
+ "id": 93,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -69736,7 +71807,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 119,
+ "line": 123,
"character": 2
}
],
@@ -69747,7 +71818,7 @@
"defaultValue": "CHANNEL_STATES.closed"
},
{
- "id": 83,
+ "id": 92,
"name": "timeout",
"kind": 1024,
"kindString": "Property",
@@ -69755,7 +71826,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 118,
+ "line": 122,
"character": 2
}
],
@@ -69765,7 +71836,7 @@
}
},
{
- "id": 90,
+ "id": 99,
"name": "topic",
"kind": 1024,
"kindString": "Property",
@@ -69778,7 +71849,7 @@
}
},
{
- "id": 119,
+ "id": 133,
"name": "on",
"kind": 2048,
"kindString": "Method",
@@ -69786,13 +71857,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 +71873,7 @@
},
"parameters": [
{
- "id": 121,
+ "id": 135,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -69813,7 +71884,7 @@
}
},
{
- "id": 122,
+ "id": 136,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -69821,14 +71892,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 +71907,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 334,
+ "line": 340,
"character": 14
}
],
@@ -69850,14 +71921,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [124]
+ "children": [138]
}
]
}
}
},
{
- "id": 125,
+ "id": 139,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -69865,14 +71936,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 +71960,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 +71980,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 +72014,7 @@
],
"parameters": [
{
- "id": 133,
+ "id": 147,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -69954,7 +72025,7 @@
}
},
{
- "id": 134,
+ "id": 148,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -69962,14 +72033,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 +72048,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 339,
+ "line": 345,
"character": 14
}
],
@@ -69991,14 +72062,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [136]
+ "children": [150]
}
]
}
}
},
{
- "id": 137,
+ "id": 151,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -70006,32 +72077,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 +72122,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 +72142,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 +72176,7 @@
],
"parameters": [
{
- "id": 146,
+ "id": 160,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -70116,7 +72187,7 @@
}
},
{
- "id": 147,
+ "id": 161,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -70124,14 +72195,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 +72210,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 344,
+ "line": 350,
"character": 14
}
],
@@ -70153,14 +72224,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [149]
+ "children": [163]
}
]
}
}
},
{
- "id": 150,
+ "id": 164,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -70168,32 +72239,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 +72284,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 +72304,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 +72338,7 @@
],
"parameters": [
{
- "id": 159,
+ "id": 173,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -70278,14 +72349,14 @@
}
},
{
- "id": 160,
+ "id": 174,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -70294,7 +72365,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -70302,13 +72373,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 +72391,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -70332,14 +72403,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 +72421,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 +72446,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -70385,7 +72456,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70396,7 +72467,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -70406,7 +72477,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -70419,7 +72490,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -70433,14 +72504,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 +72520,7 @@
}
},
{
- "id": 161,
+ "id": 175,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -70457,32 +72528,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 +72573,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 +72593,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 +72627,7 @@
],
"parameters": [
{
- "id": 170,
+ "id": 184,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -70567,14 +72638,14 @@
}
},
{
- "id": 171,
+ "id": 185,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -70583,7 +72654,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -70591,13 +72662,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 +72680,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -70621,14 +72692,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 +72710,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 +72735,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -70674,7 +72745,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70685,7 +72756,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -70695,7 +72766,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -70708,7 +72779,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -70722,14 +72793,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 +72809,7 @@
}
},
{
- "id": 172,
+ "id": 186,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -70746,32 +72817,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 +72862,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 +72882,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 +72916,7 @@
],
"parameters": [
{
- "id": 181,
+ "id": 195,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -70856,14 +72927,14 @@
}
},
{
- "id": 182,
+ "id": 196,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -70872,7 +72943,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -70880,13 +72951,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 +72969,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -70910,14 +72981,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 +72999,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 +73024,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -70963,7 +73034,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -70974,7 +73045,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -70984,7 +73055,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -70997,7 +73068,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -71011,14 +73082,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 +73098,7 @@
}
},
{
- "id": 183,
+ "id": 197,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -71035,32 +73106,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 +73151,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 +73171,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 +73205,7 @@
],
"parameters": [
{
- "id": 192,
+ "id": 206,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -71145,14 +73216,14 @@
}
},
{
- "id": 193,
+ "id": 207,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 450,
+ "id": 464,
"typeArguments": [
{
"type": "literal",
@@ -71161,7 +73232,7 @@
],
"name": "RealtimePostgresChangesFilter",
"dereferenced": {
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -71169,13 +73240,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 +73258,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -71199,14 +73270,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 +73288,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 +73313,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -71252,7 +73323,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -71263,7 +73334,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -71273,7 +73344,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -71286,7 +73357,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -71300,14 +73371,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 +73387,7 @@
}
},
{
- "id": 194,
+ "id": 208,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -71324,32 +73395,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 +73440,12 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
},
{
- "id": 198,
+ "id": 212,
"name": "on",
"kind": 4096,
"kindString": "Call signature",
@@ -71384,7 +73455,7 @@
},
"parameters": [
{
- "id": 199,
+ "id": 213,
"name": "type",
"kind": 32768,
"kindString": "Parameter",
@@ -71398,7 +73469,7 @@
}
},
{
- "id": 200,
+ "id": 214,
"name": "filter",
"kind": 32768,
"kindString": "Parameter",
@@ -71409,14 +73480,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 +73495,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 375,
+ "line": 381,
"character": 14
}
],
@@ -71438,14 +73509,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [202]
+ "children": [216]
}
]
}
}
},
{
- "id": 203,
+ "id": 217,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -71456,21 +73527,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 +73549,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 +73564,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 378,
+ "line": 384,
"character": 6
}
],
@@ -71503,7 +73574,7 @@
}
},
{
- "id": 208,
+ "id": 222,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -71511,7 +73582,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 377,
+ "line": 383,
"character": 6
}
],
@@ -71525,18 +73596,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 +73638,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 101,
+ "id": 110,
"name": "presenceState",
"kind": 2048,
"kindString": "Method",
@@ -71582,27 +73653,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 +73740,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 +73761,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 +73776,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 391,
+ "line": 397,
"character": 15
}
],
@@ -71660,18 +73790,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 +73820,7 @@
}
},
{
- "id": 219,
+ "id": 233,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -71698,20 +73828,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 +73866,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -71748,7 +73878,7 @@
]
},
{
- "id": 93,
+ "id": 102,
"name": "subscribe",
"kind": 2048,
"kindString": "Method",
@@ -71756,13 +73886,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 +73902,7 @@
},
"parameters": [
{
- "id": 95,
+ "id": 104,
"name": "callback",
"kind": 32768,
"kindString": "Parameter",
@@ -71782,21 +73912,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 +73954,7 @@
}
},
{
- "id": 99,
+ "id": 108,
"name": "err",
"kind": 32768,
"kindString": "Parameter",
@@ -71849,7 +73979,7 @@
}
},
{
- "id": 100,
+ "id": 109,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -71863,14 +73993,14 @@
],
"type": {
"type": "reference",
- "id": 55,
+ "id": 64,
"name": "default"
}
}
]
},
{
- "id": 103,
+ "id": 117,
"name": "track",
"kind": 2048,
"kindString": "Method",
@@ -71878,20 +74008,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 +74029,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 +74061,7 @@
}
},
{
- "id": 109,
+ "id": 123,
"name": "opts",
"kind": 32768,
"kindString": "Parameter",
@@ -71939,20 +74069,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 +74107,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -71989,7 +74119,7 @@
]
},
{
- "id": 229,
+ "id": 243,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -71997,13 +74127,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 +74144,7 @@
},
"parameters": [
{
- "id": 231,
+ "id": 245,
"name": "timeout",
"kind": 32768,
"kindString": "Parameter",
@@ -72055,7 +74185,7 @@
]
},
{
- "id": 113,
+ "id": 127,
"name": "untrack",
"kind": 2048,
"kindString": "Method",
@@ -72063,20 +74193,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 +74214,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 +74252,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse"
}
],
@@ -72134,7 +74264,7 @@
]
},
{
- "id": 223,
+ "id": 237,
"name": "updateJoinPayload",
"kind": 2048,
"kindString": "Method",
@@ -72142,20 +74272,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 +74293,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 +74337,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 +74361,7 @@
}
},
{
- "id": 34,
+ "id": 43,
"name": "joinRef",
"kind": 1024,
"kindString": "Property",
@@ -72239,7 +74369,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 64,
+ "line": 66,
"character": 2
}
],
@@ -72259,7 +74389,7 @@
"defaultValue": "null"
},
{
- "id": 33,
+ "id": 42,
"name": "pendingDiffs",
"kind": 1024,
"kindString": "Property",
@@ -72267,7 +74397,7 @@
"sources": [
{
"fileName": "RealtimePresence.ts",
- "line": 63,
+ "line": 65,
"character": 2
}
],
@@ -72281,7 +74411,7 @@
"defaultValue": "[]"
},
{
- "id": 32,
+ "id": 40,
"name": "state",
"kind": 1024,
"kindString": "Property",
@@ -72289,16 +74419,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 +74452,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 +74530,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 +74555,13 @@
"type": "array",
"elementType": {
"type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "T"
+ }
+ ],
"name": "Presence"
}
}
@@ -72362,24 +74577,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 +74602,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 +74624,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 +74651,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 +74675,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 34
}
],
@@ -72470,7 +74685,7 @@
}
},
{
- "id": 308,
+ "id": 322,
"name": "self",
"kind": 1024,
"kindString": "Property",
@@ -72480,7 +74695,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 18
}
],
@@ -72494,13 +74709,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [309, 308]
+ "children": [323, 322]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 19,
+ "line": 21,
"character": 16
}
]
@@ -72508,7 +74723,7 @@
}
},
{
- "id": 310,
+ "id": 324,
"name": "presence",
"kind": 1024,
"kindString": "Property",
@@ -72521,21 +74736,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 +74760,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 17
}
],
@@ -72559,13 +74774,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [312]
+ "children": [326]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 23,
+ "line": 25,
"character": 15
}
]
@@ -72577,13 +74792,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [306, 310]
+ "children": [320, 324]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 14,
+ "line": 16,
"character": 10
}
]
@@ -72595,13 +74810,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [304]
+ "children": [318]
}
],
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 13,
+ "line": 15,
"character": 37
}
]
@@ -72609,7 +74824,7 @@
}
},
{
- "id": 313,
+ "id": 327,
"name": "RealtimeChannelSendResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -72617,7 +74832,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 79,
+ "line": 83,
"character": 12
}
],
@@ -72640,7 +74855,7 @@
}
},
{
- "id": 426,
+ "id": 440,
"name": "RealtimeClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -72648,225 +74863,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 +74899,8 @@
}
},
{
- "id": 429,
- "name": "timeout",
+ "id": 446,
+ "name": "encode",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -72892,7 +74909,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 +74997,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 +75127,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 17,
+ "line": 18,
"character": 2
}
],
@@ -72928,13 +75143,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 +75157,7 @@
}
},
{
- "id": 443,
+ "id": 457,
"name": "RealtimeMessage",
"kind": 4194304,
"kindString": "Type alias",
@@ -72950,25 +75165,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 +75269,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 +75289,7 @@
}
},
{
- "id": 450,
+ "id": 464,
"name": "RealtimePostgresChangesFilter",
"kind": 4194304,
"kindString": "Type alias",
@@ -73082,13 +75297,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 +75315,7 @@
[
{
"type": "reference",
- "id": 520,
+ "id": 539,
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
},
""
@@ -73112,14 +75327,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 +75345,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 +75370,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 76,
+ "line": 80,
"character": 2
}
],
@@ -73165,7 +75380,7 @@
}
},
{
- "id": 453,
+ "id": 467,
"name": "schema",
"kind": 1024,
"kindString": "Property",
@@ -73176,7 +75391,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 68,
+ "line": 72,
"character": 2
}
],
@@ -73186,7 +75401,7 @@
}
},
{
- "id": 454,
+ "id": 468,
"name": "table",
"kind": 1024,
"kindString": "Property",
@@ -73199,7 +75414,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 72,
+ "line": 76,
"character": 2
}
],
@@ -73213,21 +75428,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 +75450,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 +75464,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 458,
+ "id": 472,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -73257,19 +75472,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 +75507,7 @@
"type": "union",
"types": [
{
- "id": 462,
+ "id": 476,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -73300,13 +75515,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 +75529,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 468,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -73322,19 +75537,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 +75578,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 +75597,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 +75655,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 38,
+ "line": 40,
"character": 9
}
]
@@ -73452,13 +75667,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 +75683,7 @@
}
},
{
- "id": 472,
+ "id": 486,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -73476,13 +75691,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 +75705,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 491,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -73498,19 +75713,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 +75754,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 +75773,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 +75839,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 +75855,7 @@
}
},
{
- "id": 481,
+ "id": 495,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -73648,13 +75863,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 +75877,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 501,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -73670,19 +75885,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 +75926,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 +75945,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 +76023,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 +76042,7 @@
}
},
{
- "id": 481,
+ "id": 495,
"name": "RealtimePostgresDeletePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -73835,13 +76050,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 +76064,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 501,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -73857,19 +76072,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 +76113,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 +76132,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 +76210,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 +76226,7 @@
}
},
{
- "id": 462,
+ "id": 476,
"name": "RealtimePostgresInsertPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -74019,13 +76234,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 +76248,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 468,
+ "id": 482,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -74041,19 +76256,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 +76297,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 +76316,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 +76374,7 @@
"sources": [
{
"fileName": "RealtimeChannel.ts",
- "line": 38,
+ "line": 40,
"character": 9
}
]
@@ -74171,13 +76386,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 +76402,7 @@
}
},
{
- "id": 472,
+ "id": 486,
"name": "RealtimePostgresUpdatePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -74195,13 +76410,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 +76424,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 477,
+ "id": 491,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -74217,19 +76432,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 +76473,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 +76492,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 +76558,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 +76574,7 @@
}
},
{
- "id": 491,
+ "id": 505,
"name": "RealtimePresenceJoinPayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -74367,13 +76582,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 +76596,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 497,
+ "id": 511,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -74389,19 +76604,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 +76638,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 +76685,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 +76692,7 @@
[
{
"type": "reference",
- "id": 527,
+ "id": 546,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
},
""
@@ -74486,29 +76701,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 +76713,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 +76738,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 500,
+ "id": 514,
"name": "T"
}
],
@@ -74536,13 +76751,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 +76765,7 @@
}
},
{
- "id": 501,
+ "id": 515,
"name": "RealtimePresenceLeavePayload",
"kind": 4194304,
"kindString": "Type alias",
@@ -74558,13 +76773,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 +76787,7 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 507,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -74580,19 +76795,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 +76829,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 +76876,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 +76883,7 @@
[
{
"type": "reference",
- "id": 528,
+ "id": 547,
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
},
""
@@ -74677,29 +76892,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 +76904,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 +76929,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 510,
+ "id": 524,
"name": "T"
}
],
@@ -74727,13 +76942,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 +76956,7 @@
}
},
{
- "id": 511,
+ "id": 525,
"name": "RealtimePresenceState",
"kind": 4194304,
"kindString": "Type alias",
@@ -74753,10 +76968,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 +77046,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 +77071,13 @@
"type": "array",
"elementType": {
"type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 533,
+ "name": "T"
+ }
+ ],
"name": "Presence"
}
}
@@ -74798,7 +77086,7 @@
}
},
{
- "id": 515,
+ "id": 534,
"name": "RealtimeRemoveChannelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -74806,7 +77094,7 @@
"sources": [
{
"fileName": "RealtimeClient.ts",
- "line": 36,
+ "line": 37,
"character": 12
}
],
@@ -74833,17 +77121,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 +77157,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 +77178,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 +77196,7 @@
}
},
{
- "id": 407,
+ "id": 408,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -74921,24 +77209,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 +77244,7 @@
}
},
{
- "id": 409,
+ "id": 410,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -74970,7 +77258,7 @@
],
"signatures": [
{
- "id": 410,
+ "id": 411,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -74978,14 +77266,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 +77292,7 @@
"defaultValue": "..."
},
{
- "id": 412,
+ "id": 413,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -75023,7 +77311,7 @@
"defaultValue": "..."
},
{
- "id": 414,
+ "id": 415,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -75046,7 +77334,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [413, 412, 414]
+ "children": [414, 413, 415]
}
]
}
@@ -75059,17 +77347,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 +77370,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
]
@@ -75462,7 +77750,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -75671,7 +77959,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -75880,7 +78168,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -76104,7 +78392,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -76268,7 +78556,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -76524,7 +78812,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -76587,14 +78875,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 +78896,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 +78916,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
},
"overwrites": {
@@ -76647,7 +78935,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [399]
+ "children": [400]
}
],
"sources": [
@@ -76668,25 +78956,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 +78988,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 +79006,7 @@
}
},
{
- "id": 420,
+ "id": 421,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -76731,24 +79019,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 +79058,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [417]
+ "children": [418]
},
{
"title": "Properties",
"kind": 1024,
- "children": [421]
+ "children": [422]
}
],
"sources": [
@@ -76788,7 +79076,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
]
@@ -77684,7 +79972,7 @@
"flags": {},
"children": [
{
- "id": 394,
+ "id": 395,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -77698,7 +79986,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 102,
"character": 2
}
],
@@ -77730,6 +80018,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 +80105,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [394, 392, 393, 391]
+ "children": [395, 392, 394, 393, 391]
}
],
"sources": [
@@ -77806,7 +80117,7 @@
]
},
{
- "id": 395,
+ "id": 396,
"name": "isStorageError",
"kind": 64,
"kindString": "Function",
@@ -77820,14 +80131,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 +80155,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -77856,7 +80167,7 @@
{
"title": "Classes",
"kind": 128,
- "children": [403, 266, 398, 416]
+ "children": [404, 266, 399, 417]
},
{
"title": "Interfaces",
@@ -77866,7 +80177,7 @@
{
"title": "Functions",
"kind": 64,
- "children": [395]
+ "children": [396]
}
],
"sources": [
@@ -78249,7 +80560,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -78448,7 +80759,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -78647,7 +80958,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -78814,7 +81125,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -78968,7 +81279,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -79214,7 +81525,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -79652,7 +81963,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -79807,7 +82118,7 @@
"flags": {},
"children": [
{
- "id": 394,
+ "id": 395,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -79821,7 +82132,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 102,
"character": 2
}
],
@@ -79853,6 +82164,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 +82251,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [394, 392, 393, 391]
+ "children": [395, 392, 394, 393, 391]
}
],
"sources": [
@@ -80078,7 +82412,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -80409,7 +82743,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -80518,7 +82852,7 @@
"flags": {},
"children": [
{
- "id": 394,
+ "id": 395,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -80532,7 +82866,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 102,
"character": 2
}
],
@@ -80564,6 +82898,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 +82985,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [394, 392, 393, 391]
+ "children": [395, 392, 394, 393, 391]
}
],
"sources": [
@@ -80758,7 +83115,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -80899,7 +83256,7 @@
"flags": {},
"children": [
{
- "id": 394,
+ "id": 395,
"name": "format",
"kind": 1024,
"kindString": "Property",
@@ -80913,7 +83270,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 102,
"character": 2
}
],
@@ -80945,6 +83302,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 +83389,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [394, 392, 393, 391]
+ "children": [395, 392, 394, 393, 391]
}
],
"sources": [
@@ -81510,7 +83890,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -81723,7 +84103,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -81896,7 +84276,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -82282,7 +84662,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -82668,7 +85048,7 @@
],
"type": {
"type": "reference",
- "id": 398,
+ "id": 399,
"name": "StorageError"
}
}
@@ -83172,7 +85552,7 @@
"flags": {},
"children": [
{
- "id": 34,
+ "id": 35,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -83185,7 +85565,7 @@
"sources": [
{
"fileName": "src/types.ts",
- "line": 52,
+ "line": 56,
"character": 2
}
],
@@ -83311,13 +85691,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 +85763,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 57,
+ "id": 58,
"typeArguments": [
{
"type": "reference",
@@ -83430,14 +85854,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 +85875,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 +85893,7 @@
}
},
{
- "id": 39,
+ "id": 40,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -83481,7 +85905,7 @@
"defaultValue": "'FunctionsError'"
},
{
- "id": 40,
+ "id": 41,
"name": "context",
"kind": 32768,
"kindString": "Parameter",
@@ -83496,7 +85920,7 @@
],
"type": {
"type": "reference",
- "id": 35,
+ "id": 36,
"name": "FunctionsError"
},
"overwrites": {
@@ -83511,7 +85935,7 @@
}
},
{
- "id": 41,
+ "id": 42,
"name": "context",
"kind": 1024,
"kindString": "Property",
@@ -83533,12 +85957,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [36]
+ "children": [37]
},
{
"title": "Properties",
"kind": 1024,
- "children": [41]
+ "children": [42]
}
],
"sources": [
@@ -83559,30 +85983,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 +86020,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 +86040,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 +86075,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 42,
"name": "FunctionsError.context"
}
}
@@ -83660,12 +86084,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [43]
+ "children": [44]
},
{
"title": "Properties",
"kind": 1024,
- "children": [46]
+ "children": [47]
}
],
"sources": [
@@ -83678,20 +86102,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 +86129,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 +86149,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 +86184,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 42,
"name": "FunctionsError.context"
}
}
@@ -83769,12 +86193,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [48]
+ "children": [49]
},
{
"title": "Properties",
"kind": 1024,
- "children": [51]
+ "children": [52]
}
],
"sources": [
@@ -83787,20 +86211,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 +86238,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 +86258,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 +86293,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 41,
+ "id": 42,
"name": "FunctionsError.context"
}
}
@@ -83878,12 +86302,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [53]
+ "children": [54]
},
{
"title": "Properties",
"kind": 1024,
- "children": [56]
+ "children": [57]
}
],
"sources": [
@@ -83896,7 +86320,7 @@
"extendedTypes": [
{
"type": "reference",
- "id": 35,
+ "id": 36,
"name": "FunctionsError"
}
]
@@ -83924,7 +86348,7 @@
"flags": {},
"children": [
{
- "id": 34,
+ "id": 35,
"name": "body",
"kind": 1024,
"kindString": "Property",
@@ -83937,7 +86361,7 @@
"sources": [
{
"fileName": "src/types.ts",
- "line": 52,
+ "line": 56,
"character": 2
}
],
@@ -84063,13 +86487,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 +86551,7 @@
}
},
{
- "id": 57,
+ "id": 58,
"name": "FunctionsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -84097,7 +86565,7 @@
],
"typeParameter": [
{
- "id": 58,
+ "id": 59,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
@@ -84114,12 +86582,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..6496309fd73 100644
--- a/spec/enrichments/tsdoc_v2/gotrue.json
+++ b/spec/enrichments/tsdoc_v2/gotrue.json
@@ -7,14 +7,14 @@
"originalName": "",
"children": [
{
- "id": 750,
+ "id": 789,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 751,
+ "id": 790,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 752,
+ "id": 791,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 753,
+ "id": 792,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 754,
+ "id": 793,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 755,
+ "id": 794,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,12 +94,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 756,
+ "id": 795,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -113,7 +113,7 @@
],
"signatures": [
{
- "id": 757,
+ "id": 796,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -121,14 +121,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 758,
+ "id": 797,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 760,
+ "id": 799,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -147,7 +147,7 @@
"defaultValue": "..."
},
{
- "id": 759,
+ "id": 798,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -166,7 +166,7 @@
"defaultValue": "..."
},
{
- "id": 761,
+ "id": 800,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -189,7 +189,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [760, 759, 761]
+ "children": [799, 798, 800]
}
]
}
@@ -202,17 +202,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [751]
+ "children": [790]
},
{
"title": "Properties",
"kind": 1024,
- "children": [755]
+ "children": [794]
},
{
"title": "Methods",
"kind": 2048,
- "children": [756]
+ "children": [795]
}
],
"sources": [
@@ -225,20 +225,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 743,
+ "id": 782,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 744,
+ "id": 783,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -252,14 +252,14 @@
],
"signatures": [
{
- "id": 745,
+ "id": 784,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 746,
+ "id": 785,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -270,7 +270,7 @@
}
},
{
- "id": 747,
+ "id": 786,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -285,7 +285,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
"overwrites": {
@@ -300,7 +300,7 @@
}
},
{
- "id": 748,
+ "id": 787,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -331,12 +331,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [744]
+ "children": [783]
},
{
"title": "Properties",
"kind": 1024,
- "children": [748]
+ "children": [787]
}
],
"sources": [
@@ -357,30 +357,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 812,
+ "id": 851,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -394,14 +394,14 @@
],
"signatures": [
{
- "id": 813,
+ "id": 852,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 814,
+ "id": 853,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -412,7 +412,7 @@
}
},
{
- "id": 815,
+ "id": 854,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -427,14 +427,14 @@
{
"type": "reflection",
"declaration": {
- "id": 816,
+ "id": 855,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 818,
+ "id": 857,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -452,7 +452,7 @@
}
},
{
- "id": 817,
+ "id": 856,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -474,7 +474,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [818, 817]
+ "children": [857, 856]
}
]
}
@@ -486,24 +486,24 @@
],
"type": {
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 819,
+ "id": 858,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -525,14 +525,14 @@
{
"type": "reflection",
"declaration": {
- "id": 820,
+ "id": 859,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 822,
+ "id": 861,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -550,7 +550,7 @@
}
},
{
- "id": 821,
+ "id": 860,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -572,7 +572,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [822, 821]
+ "children": [861, 860]
}
]
}
@@ -582,7 +582,7 @@
"defaultValue": "null"
},
{
- "id": 833,
+ "id": 872,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -600,12 +600,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 834,
+ "id": 873,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -623,12 +623,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 823,
+ "id": 862,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -642,7 +642,7 @@
],
"signatures": [
{
- "id": 824,
+ "id": 863,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -650,14 +650,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 825,
+ "id": 864,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 829,
+ "id": 868,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -679,14 +679,14 @@
{
"type": "reflection",
"declaration": {
- "id": 830,
+ "id": 869,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 832,
+ "id": 871,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -704,7 +704,7 @@
}
},
{
- "id": 831,
+ "id": 870,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -726,7 +726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [832, 831]
+ "children": [871, 870]
}
]
}
@@ -736,7 +736,7 @@
"defaultValue": "..."
},
{
- "id": 827,
+ "id": 866,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -755,7 +755,7 @@
"defaultValue": "..."
},
{
- "id": 826,
+ "id": 865,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -774,7 +774,7 @@
"defaultValue": "..."
},
{
- "id": 828,
+ "id": 867,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -797,21 +797,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [829, 827, 826, 828]
+ "children": [868, 866, 865, 867]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -820,17 +820,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [812]
+ "children": [851]
},
{
"title": "Properties",
"kind": 1024,
- "children": [819, 833, 834]
+ "children": [858, 872, 873]
},
{
"title": "Methods",
"kind": 2048,
- "children": [823]
+ "children": [862]
}
],
"sources": [
@@ -843,20 +843,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 799,
+ "id": 838,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -870,14 +870,14 @@
],
"signatures": [
{
- "id": 800,
+ "id": 839,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 801,
+ "id": 840,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -890,276 +890,19 @@
],
"type": {
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 802,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 777,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 803,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 778,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 804,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 805,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 806,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 808,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 807,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 809,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [808, 807, 809]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 780,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 779,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [799]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [802, 803]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [804]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 72,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 771,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 836,
- "name": "AuthRetryableFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 837,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 838,
- "name": "new AuthRetryableFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 839,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 840,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 836,
- "name": "AuthRetryableFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 773,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
@@ -1182,7 +925,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
@@ -1205,7 +948,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
@@ -1307,14 +1050,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -1323,7 +1066,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [837]
+ "children": [838]
},
{
"title": "Properties",
@@ -1339,27 +1082,27 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 95,
+ "line": 72,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 786,
- "name": "AuthSessionMissingError",
+ "id": 875,
+ "name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 787,
+ "id": 876,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1367,37 +1110,61 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 67,
+ "line": 96,
"character": 2
}
],
"signatures": [
{
- "id": 788,
- "name": "new AuthSessionMissingError",
+ "id": 877,
+ "name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
+ "parameters": [
+ {
+ "id": 878,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 879,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
"type": {
"type": "reference",
- "id": 786,
- "name": "AuthSessionMissingError"
+ "id": 875,
+ "name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 789,
+ "id": 880,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1415,12 +1182,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 790,
+ "id": 881,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1438,12 +1205,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 791,
+ "id": 882,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1457,7 +1224,7 @@
],
"signatures": [
{
- "id": 792,
+ "id": 883,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1465,14 +1232,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 793,
+ "id": 884,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 795,
+ "id": 886,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1491,7 +1258,7 @@
"defaultValue": "..."
},
{
- "id": 794,
+ "id": 885,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1510,7 +1277,7 @@
"defaultValue": "..."
},
{
- "id": 796,
+ "id": 887,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1533,21 +1300,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [795, 794, 796]
+ "children": [886, 885, 887]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -1556,17 +1323,250 @@
{
"title": "Constructors",
"kind": 512,
- "children": [787]
+ "children": [876]
},
{
"title": "Properties",
"kind": 1024,
- "children": [789, 790]
+ "children": [880, 881]
},
{
"title": "Methods",
"kind": 2048,
- "children": [791]
+ "children": [882]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 95,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 810,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 825,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 826,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 827,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 825,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 812,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 811,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 828,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 816,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 829,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 817,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 830,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 831,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 832,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 833,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 835,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834, 833, 835]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 819,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 818,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [826]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [828, 829]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [830]
}
],
"sources": [
@@ -1579,20 +1579,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 764,
+ "id": 803,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1606,14 +1606,14 @@
],
"signatures": [
{
- "id": 765,
+ "id": 804,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 766,
+ "id": 805,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1624,7 +1624,7 @@
}
},
{
- "id": 767,
+ "id": 806,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1637,24 +1637,24 @@
],
"type": {
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 768,
+ "id": 807,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1672,7 +1672,7 @@
}
},
{
- "id": 769,
+ "id": 808,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1699,7 +1699,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
}
@@ -1708,12 +1708,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [764]
+ "children": [803]
},
{
"title": "Properties",
"kind": 1024,
- "children": [768, 769]
+ "children": [807, 808]
}
],
"sources": [
@@ -1726,20 +1726,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 771,
+ "id": 810,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 772,
+ "id": 811,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1753,14 +1753,14 @@
],
"signatures": [
{
- "id": 773,
+ "id": 812,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 774,
+ "id": 813,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1771,7 +1771,7 @@
}
},
{
- "id": 775,
+ "id": 814,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1782,7 +1782,7 @@
}
},
{
- "id": 776,
+ "id": 815,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1795,24 +1795,24 @@
],
"type": {
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 777,
+ "id": 816,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1834,7 +1834,7 @@
}
},
{
- "id": 778,
+ "id": 817,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1852,12 +1852,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 779,
+ "id": 818,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1871,7 +1871,7 @@
],
"signatures": [
{
- "id": 780,
+ "id": 819,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1879,14 +1879,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 781,
+ "id": 820,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 783,
+ "id": 822,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1905,7 +1905,7 @@
"defaultValue": "..."
},
{
- "id": 782,
+ "id": 821,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1924,7 +1924,7 @@
"defaultValue": "..."
},
{
- "id": 784,
+ "id": 823,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1947,7 +1947,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [783, 782, 784]
+ "children": [822, 821, 823]
}
]
}
@@ -1960,17 +1960,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [772]
+ "children": [811]
},
{
"title": "Properties",
"kind": 1024,
- "children": [777, 778]
+ "children": [816, 817]
},
{
"title": "Methods",
"kind": 2048,
- "children": [779]
+ "children": [818]
}
],
"sources": [
@@ -1983,29 +1983,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 786,
+ "id": 825,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 836,
+ "id": 875,
"name": "AuthRetryableFetchError"
}
]
@@ -2248,7 +2248,7 @@
],
"type": {
"type": "reference",
- "id": 708,
+ "id": 747,
"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": 591,
"name": "GenerateLinkParams"
}
}
@@ -2417,7 +2417,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 553,
+ "id": 592,
"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": 772,
"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": 765,
"name": "Pagination"
}
]
@@ -2854,7 +2854,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -2969,7 +2969,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 702,
"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": 605,
"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": 607,
"character": 8
}
],
@@ -3429,13 +3303,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 526,
+ "line": 608,
"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": 610,
"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": 613,
+ "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": 614,
+ "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": 616,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 782,
+ "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": 619,
+ "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": 620,
+ "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": 622,
+ "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": 668,
"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": 755,
"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": 959,
"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": 960,
"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": 960,
"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": 814,
"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": 814,
"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": 999,
"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": 1003,
"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": 1002,
"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": 1007,
"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": 1008,
"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": 1010,
"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": 1010,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 750,
"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": 751,
"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": 752,
"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 distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. 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,37 +4472,31 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 482,
+ "line": 576,
"character": 8
}
],
"signatures": [
{
- "id": 123,
+ "id": 133,
"name": "signInWithSSO",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.",
- "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n\nThis API is experimental and availability is conditional on correct\nsettings on the Auth service.\n",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n"
},
"parameters": [
{
- "id": 124,
+ "id": 134,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 517,
+ "id": 553,
"name": "SignInWithSSO"
}
}
@@ -4401,7 +4506,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 335,
+ "id": 360,
"name": "SSOResponse"
}
],
@@ -4413,7 +4518,7 @@
]
},
{
- "id": 182,
+ "id": 195,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -4421,13 +4526,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 8
}
],
"signatures": [
{
- "id": 183,
+ "id": 196,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -4442,14 +4547,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 +4562,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 29
}
],
@@ -4470,7 +4575,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
@@ -4481,7 +4586,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [185]
+ "children": [198]
}
]
}
@@ -4495,7 +4600,7 @@
]
},
{
- "id": 107,
+ "id": 111,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -4503,13 +4608,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 +4626,14 @@
},
"parameters": [
{
- "id": 109,
+ "id": 113,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 439,
+ "id": 464,
"name": "SignUpWithPasswordCredentials"
}
}
@@ -4538,7 +4643,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -4550,7 +4655,7 @@
]
},
{
- "id": 252,
+ "id": 276,
"name": "startAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -4558,20 +4663,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1106,
+ "line": 1288,
"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 desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -4589,7 +4694,7 @@
]
},
{
- "id": 254,
+ "id": 278,
"name": "stopAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -4597,19 +4702,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1121,
+ "line": 1301,
"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 +4733,7 @@
]
},
{
- "id": 145,
+ "id": 155,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -4635,32 +4741,79 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 603,
+ "line": 697,
"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": 700,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [160]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
@@ -4668,7 +4821,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 344,
+ "id": 369,
"name": "UserResponse"
}
],
@@ -4680,7 +4833,7 @@
]
},
{
- "id": 119,
+ "id": 129,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -4688,13 +4841,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 +4857,14 @@
},
"parameters": [
{
- "id": 121,
+ "id": 131,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 498,
+ "id": 534,
"name": "VerifyOtpParams"
}
}
@@ -4721,7 +4874,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -4748,20 +4901,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 +4932,7 @@
},
"children": [
{
- "id": 365,
+ "id": 390,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -4789,7 +4943,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 159,
"character": 2
}
],
@@ -4799,7 +4953,7 @@
}
},
{
- "id": 366,
+ "id": 391,
"name": "timestamp",
"kind": 1024,
"kindString": "Property",
@@ -4810,7 +4964,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 165,
"character": 2
}
],
@@ -4824,26 +4978,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366]
+ "children": [390, 391]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 157,
"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 +5011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 280,
+ "line": 287,
"character": 2
}
],
@@ -4867,7 +5021,7 @@
}
},
{
- "id": 424,
+ "id": 450,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -4881,7 +5035,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 306,
+ "line": 313,
"character": 2
}
],
@@ -4891,36 +5045,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 +5058,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -4943,12 +5068,11 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 415,
- "name": "UserAttributes.email"
+ "name": "Omit.email"
}
},
{
- "id": 422,
+ "id": 448,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -4959,86 +5083,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5052,7 +5096,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 446,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -5061,12 +5183,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": 277,
"character": 2
}
],
@@ -5080,26 +5202,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": 266,
"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 +5257,7 @@
},
"children": [
{
- "id": 383,
+ "id": 408,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -5131,7 +5265,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 196,
+ "line": 203,
"character": 2
}
],
@@ -5141,7 +5275,7 @@
}
},
{
- "id": 381,
+ "id": 406,
"name": "factor_type",
"kind": 1024,
"kindString": "Property",
@@ -5152,7 +5286,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 191,
+ "line": 198,
"character": 2
}
],
@@ -5162,7 +5296,7 @@
}
},
{
- "id": 380,
+ "id": 405,
"name": "friendly_name",
"kind": 1024,
"kindString": "Property",
@@ -5175,7 +5309,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 185,
+ "line": 192,
"character": 2
}
],
@@ -5185,7 +5319,7 @@
}
},
{
- "id": 379,
+ "id": 404,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -5196,7 +5330,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 182,
+ "line": 189,
"character": 2
}
],
@@ -5206,7 +5340,7 @@
}
},
{
- "id": 382,
+ "id": 407,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -5217,7 +5351,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 194,
+ "line": 201,
"character": 2
}
],
@@ -5236,7 +5370,7 @@
}
},
{
- "id": 384,
+ "id": 409,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -5244,7 +5378,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 197,
+ "line": 204,
"character": 2
}
],
@@ -5258,26 +5392,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": 187,
"character": 17
}
]
},
{
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 550,
+ "id": 589,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -5291,7 +5425,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 542,
+ "line": 571,
"character": 2
}
],
@@ -5301,7 +5435,7 @@
}
},
{
- "id": 551,
+ "id": 590,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -5314,7 +5448,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 544,
+ "line": 573,
"character": 2
}
],
@@ -5328,19 +5462,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [589, 590]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 536,
+ "line": 565,
"character": 17
}
]
},
{
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -5356,14 +5490,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -5383,14 +5517,14 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams"
}
}
@@ -5400,7 +5534,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -5412,14 +5546,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -5429,14 +5563,14 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams"
}
}
@@ -5446,7 +5580,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -5462,19 +5596,19 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"character": 17
}
]
},
{
- "id": 663,
+ "id": 702,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -5484,14 +5618,14 @@
},
"children": [
{
- "id": 667,
+ "id": 706,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 668,
+ "id": 707,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -5501,14 +5635,14 @@
},
"parameters": [
{
- "id": 669,
+ "id": 708,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams"
}
}
@@ -5518,7 +5652,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse"
}
],
@@ -5530,14 +5664,14 @@
]
},
{
- "id": 676,
+ "id": 715,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 677,
+ "id": 716,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -5547,14 +5681,14 @@
},
"parameters": [
{
- "id": 678,
+ "id": 717,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams"
}
}
@@ -5564,7 +5698,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -5576,14 +5710,14 @@
]
},
{
- "id": 664,
+ "id": 703,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 665,
+ "id": 704,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -5594,14 +5728,14 @@
},
"parameters": [
{
- "id": 666,
+ "id": 705,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams"
}
}
@@ -5611,7 +5745,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse"
}
],
@@ -5623,14 +5757,14 @@
]
},
{
- "id": 681,
+ "id": 720,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 682,
+ "id": 721,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -5644,7 +5778,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -5656,14 +5790,14 @@
]
},
{
- "id": 679,
+ "id": 718,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 680,
+ "id": 719,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -5690,7 +5824,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -5702,14 +5836,14 @@
]
},
{
- "id": 673,
+ "id": 712,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 674,
+ "id": 713,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -5719,14 +5853,14 @@
},
"parameters": [
{
- "id": 675,
+ "id": 714,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams"
}
}
@@ -5736,7 +5870,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -5748,14 +5882,14 @@
]
},
{
- "id": 670,
+ "id": 709,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 671,
+ "id": 710,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -5765,14 +5899,14 @@
},
"parameters": [
{
- "id": 672,
+ "id": 711,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams"
}
}
@@ -5782,7 +5916,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -5798,26 +5932,26 @@
{
"title": "Methods",
"kind": 2048,
- "children": [667, 676, 664, 681, 679, 673, 670]
+ "children": [706, 715, 703, 720, 718, 712, 709]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 761,
+ "line": 790,
"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 +5962,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 132,
"character": 2
}
],
@@ -5838,7 +5972,7 @@
}
},
{
- "id": 361,
+ "id": 386,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -5851,7 +5985,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 137,
+ "line": 144,
"character": 2
}
],
@@ -5861,7 +5995,7 @@
}
},
{
- "id": 360,
+ "id": 385,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -5872,7 +6006,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 133,
+ "line": 140,
"character": 2
}
],
@@ -5882,7 +6016,7 @@
}
},
{
- "id": 357,
+ "id": 382,
"name": "provider_refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -5895,7 +6029,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 128,
"character": 2
}
],
@@ -5914,7 +6048,7 @@
}
},
{
- "id": 356,
+ "id": 381,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -5927,7 +6061,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 123,
"character": 2
}
],
@@ -5946,7 +6080,7 @@
}
},
{
- "id": 359,
+ "id": 384,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -5957,7 +6091,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 129,
+ "line": 136,
"character": 2
}
],
@@ -5967,7 +6101,7 @@
}
},
{
- "id": 362,
+ "id": 387,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -5975,7 +6109,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 145,
"character": 2
}
],
@@ -5985,7 +6119,7 @@
}
},
{
- "id": 363,
+ "id": 388,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -5993,13 +6127,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 146,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -6008,26 +6142,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": 119,
"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 +6172,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 313,
+ "line": 320,
"character": 2
}
],
@@ -6048,7 +6182,7 @@
}
},
{
- "id": 431,
+ "id": 456,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -6056,13 +6190,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 317,
+ "line": 324,
"character": 2
}
],
"signatures": [
{
- "id": 432,
+ "id": 457,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -6072,19 +6206,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 +6232,7 @@
},
{
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
]
@@ -6113,7 +6247,7 @@
]
},
{
- "id": 435,
+ "id": 460,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -6121,13 +6255,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 328,
"character": 2
}
],
"signatures": [
{
- "id": 436,
+ "id": 461,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -6147,31 +6281,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": 316,
"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 +6313,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 332,
"character": 2
}
],
@@ -6193,393 +6327,32 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438]
+ "children": [463]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 324,
+ "line": 331,
"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",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -6593,8 +6366,103 @@
}
},
{
- "id": 411,
- "name": "updated_at",
+ "id": 419,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "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": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 432,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 431,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 429,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -6613,7 +6481,293 @@
}
},
{
- "id": 395,
+ "id": 424,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 433,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "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": 238,
+ "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": 217,
+ "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": 237,
+ "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": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 225,
+ "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": 229,
+ "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": 233,
+ "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": 222,
+ "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": 235,
+ "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": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -6621,13 +6775,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 219,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 389,
+ "id": 414,
"name": "UserMetadata"
}
}
@@ -6637,28 +6791,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": 216,
"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 +6822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 201,
+ "line": 208,
"character": 2
}
],
@@ -6682,25 +6836,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [411]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 200,
+ "line": 207,
"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 +6871,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 +6892,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 255,
+ "line": 263,
"character": 2
}
],
@@ -6748,7 +6902,7 @@
}
},
{
- "id": 415,
+ "id": 441,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6761,7 +6915,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -6771,7 +6925,7 @@
}
},
{
- "id": 417,
+ "id": 443,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -6784,7 +6938,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 255,
"character": 2
}
],
@@ -6794,7 +6948,7 @@
}
},
{
- "id": 416,
+ "id": 442,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -6807,7 +6961,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 250,
"character": 2
}
],
@@ -6821,41 +6975,36 @@
{
"title": "Properties",
"kind": 1024,
- "children": [418, 415, 417, 416]
+ "children": [444, 441, 443, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 241,
"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": 175,
"character": 2
}
],
@@ -6865,7 +7014,7 @@
}
},
{
- "id": 368,
+ "id": 393,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -6873,7 +7022,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 169,
"character": 2
}
],
@@ -6883,35 +7032,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": 171,
"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,15 +7081,17 @@
}
},
{
- "id": 376,
+ "id": 401,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 169,
+ "line": 176,
"character": 2
}
],
@@ -6948,7 +7101,7 @@
}
},
{
- "id": 374,
+ "id": 399,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -6956,7 +7109,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 174,
"character": 2
}
],
@@ -6966,7 +7119,7 @@
}
},
{
- "id": 377,
+ "id": 402,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -6976,7 +7129,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 170,
+ "line": 177,
"character": 2
}
],
@@ -6986,7 +7139,7 @@
}
},
{
- "id": 369,
+ "id": 394,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -6994,7 +7147,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 163,
+ "line": 170,
"character": 2
}
],
@@ -7008,19 +7161,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": 168,
"character": 17
}
]
},
{
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -7028,19 +7181,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +7210,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 +7228,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -7085,7 +7238,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -7095,21 +7248,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +7275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -7132,7 +7285,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7145,7 +7298,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -7159,14 +7312,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -7177,7 +7330,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -7187,7 +7340,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7198,13 +7351,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 516,
+ "id": 552,
"name": "EmailOtpType"
}
}
@@ -7213,26 +7366,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"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 +7395,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +7428,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -7285,7 +7438,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -7298,7 +7451,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -7312,14 +7465,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -7330,7 +7483,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -7340,7 +7493,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -7351,7 +7504,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -7361,7 +7514,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -7372,13 +7525,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 515,
+ "id": 551,
"name": "MobileOtpType"
}
}
@@ -7387,19 +7540,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"character": 17
}
]
},
{
- "id": 295,
+ "id": 320,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -7414,6 +7567,10 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
@@ -7440,14 +7597,14 @@
},
{
"type": "reference",
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA"
}
]
}
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -7465,7 +7622,7 @@
}
},
{
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7481,21 +7638,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -7506,7 +7663,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -7516,7 +7673,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -7527,7 +7684,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -7541,13 +7698,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -7555,7 +7712,7 @@
}
},
{
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -7571,7 +7728,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 827,
+ "line": 856,
"character": 12
}
],
@@ -7581,14 +7738,14 @@
{
"type": "reflection",
"declaration": {
- "id": 684,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 685,
+ "id": 724,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7596,21 +7753,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 686,
+ "id": 725,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 687,
+ "id": 726,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -7621,7 +7778,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 831,
+ "line": 860,
"character": 8
}
],
@@ -7635,13 +7792,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [687]
+ "children": [726]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 12
}
]
@@ -7649,7 +7806,7 @@
}
},
{
- "id": 688,
+ "id": 727,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7657,7 +7814,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 833,
+ "line": 862,
"character": 6
}
],
@@ -7671,13 +7828,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [685, 688]
+ "children": [724, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 828,
+ "line": 857,
"character": 4
}
]
@@ -7686,14 +7843,14 @@
{
"type": "reflection",
"declaration": {
- "id": 689,
+ "id": 728,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 690,
+ "id": 729,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7701,7 +7858,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 6
}
],
@@ -7711,7 +7868,7 @@
}
},
{
- "id": 691,
+ "id": 730,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7719,13 +7876,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -7734,13 +7891,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [690, 691]
+ "children": [729, 730]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 4
}
]
@@ -7750,7 +7907,7 @@
}
},
{
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7766,21 +7923,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -7791,7 +7948,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -7805,13 +7962,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -7819,7 +7976,7 @@
}
},
{
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -7835,7 +7992,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 851,
+ "line": 880,
"character": 12
}
],
@@ -7845,14 +8002,14 @@
{
"type": "reflection",
"declaration": {
- "id": 697,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 698,
+ "id": 737,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7860,21 +8017,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 699,
+ "id": 738,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 700,
+ "id": 739,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -7885,7 +8042,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 884,
"character": 8
}
],
@@ -7893,7 +8050,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -7903,13 +8060,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [700]
+ "children": [739]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 12
}
]
@@ -7917,7 +8074,7 @@
}
},
{
- "id": 701,
+ "id": 740,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7925,7 +8082,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 886,
"character": 6
}
],
@@ -7939,13 +8096,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [698, 701]
+ "children": [737, 740]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 852,
+ "line": 881,
"character": 4
}
]
@@ -7954,14 +8111,14 @@
{
"type": "reflection",
"declaration": {
- "id": 702,
+ "id": 741,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 703,
+ "id": 742,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -7969,7 +8126,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 6
}
],
@@ -7979,7 +8136,7 @@
}
},
{
- "id": 704,
+ "id": 743,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -7987,13 +8144,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -8002,13 +8159,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [703, 704]
+ "children": [742, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 4
}
]
@@ -8018,7 +8175,7 @@
}
},
{
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8026,7 +8183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 704,
+ "line": 733,
"character": 12
}
],
@@ -8036,14 +8193,14 @@
{
"type": "reflection",
"declaration": {
- "id": 632,
+ "id": 671,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 633,
+ "id": 672,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8051,21 +8208,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 634,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 636,
+ "id": 675,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -8076,7 +8233,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 711,
+ "line": 740,
"character": 8
}
],
@@ -8086,7 +8243,7 @@
}
},
{
- "id": 635,
+ "id": 674,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -8097,7 +8254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 708,
+ "line": 737,
"character": 8
}
],
@@ -8111,13 +8268,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [636, 635]
+ "children": [675, 674]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 12
}
]
@@ -8125,7 +8282,7 @@
}
},
{
- "id": 637,
+ "id": 676,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8133,7 +8290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 713,
+ "line": 742,
"character": 6
}
],
@@ -8147,13 +8304,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [633, 637]
+ "children": [672, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 705,
+ "line": 734,
"character": 4
}
]
@@ -8162,14 +8319,14 @@
{
"type": "reflection",
"declaration": {
- "id": 638,
+ "id": 677,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 639,
+ "id": 678,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8177,7 +8334,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 6
}
],
@@ -8187,7 +8344,7 @@
}
},
{
- "id": 640,
+ "id": 679,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8195,13 +8352,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -8210,13 +8367,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [639, 640]
+ "children": [678, 679]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 4
}
]
@@ -8226,7 +8383,7 @@
}
},
{
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8234,7 +8391,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 661,
+ "line": 690,
"character": 12
}
],
@@ -8244,14 +8401,14 @@
{
"type": "reflection",
"declaration": {
- "id": 608,
+ "id": 647,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 609,
+ "id": 648,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8259,21 +8416,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 610,
+ "id": 649,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 611,
+ "id": 650,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -8284,7 +8441,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 665,
+ "line": 694,
"character": 8
}
],
@@ -8294,7 +8451,7 @@
}
},
{
- "id": 613,
+ "id": 652,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -8305,21 +8462,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 614,
+ "id": 653,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 615,
+ "id": 654,
"name": "qr_code",
"kind": 1024,
"kindString": "Property",
@@ -8330,7 +8487,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 704,
"character": 10
}
],
@@ -8340,7 +8497,7 @@
}
},
{
- "id": 616,
+ "id": 655,
"name": "secret",
"kind": 1024,
"kindString": "Property",
@@ -8351,7 +8508,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 709,
"character": 10
}
],
@@ -8361,7 +8518,7 @@
}
},
{
- "id": 617,
+ "id": 656,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -8372,7 +8529,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 684,
+ "line": 713,
"character": 10
}
],
@@ -8386,13 +8543,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [615, 616, 617]
+ "children": [654, 655, 656]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 14
}
]
@@ -8400,7 +8557,7 @@
}
},
{
- "id": 612,
+ "id": 651,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -8411,7 +8568,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 668,
+ "line": 697,
"character": 8
}
],
@@ -8425,13 +8582,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [611, 613, 612]
+ "children": [650, 652, 651]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 12
}
]
@@ -8439,7 +8596,7 @@
}
},
{
- "id": 618,
+ "id": 657,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8447,7 +8604,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 716,
"character": 6
}
],
@@ -8461,13 +8618,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [609, 618]
+ "children": [648, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 691,
"character": 4
}
]
@@ -8476,14 +8633,14 @@
{
"type": "reflection",
"declaration": {
- "id": 619,
+ "id": 658,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 620,
+ "id": 659,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8491,7 +8648,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 690,
+ "line": 719,
"character": 6
}
],
@@ -8501,7 +8658,7 @@
}
},
{
- "id": 621,
+ "id": 660,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8509,13 +8666,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 720,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -8524,13 +8681,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [620, 621]
+ "children": [659, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 689,
+ "line": 718,
"character": 4
}
]
@@ -8540,7 +8697,7 @@
}
},
{
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8548,7 +8705,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 732,
+ "line": 761,
"character": 12
}
],
@@ -8558,14 +8715,14 @@
{
"type": "reflection",
"declaration": {
- "id": 653,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 693,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8573,21 +8730,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 655,
+ "id": 694,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 658,
+ "id": 697,
"name": "currentAuthenticationMethods",
"kind": 1024,
"kindString": "Property",
@@ -8598,7 +8755,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 751,
+ "line": 780,
"character": 8
}
],
@@ -8606,13 +8763,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 364,
+ "id": 389,
"name": "AMREntry"
}
}
},
{
- "id": 656,
+ "id": 695,
"name": "currentLevel",
"kind": 1024,
"kindString": "Property",
@@ -8623,7 +8780,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 736,
+ "line": 765,
"character": 8
}
],
@@ -8632,7 +8789,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -8643,7 +8800,7 @@
}
},
{
- "id": 657,
+ "id": 696,
"name": "nextLevel",
"kind": 1024,
"kindString": "Property",
@@ -8660,7 +8817,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 744,
+ "line": 773,
"character": 8
}
],
@@ -8669,7 +8826,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -8684,13 +8841,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [658, 656, 657]
+ "children": [697, 695, 696]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 12
}
]
@@ -8698,7 +8855,7 @@
}
},
{
- "id": 659,
+ "id": 698,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8706,7 +8863,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 753,
+ "line": 782,
"character": 6
}
],
@@ -8720,13 +8877,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [654, 659]
+ "children": [693, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 733,
+ "line": 762,
"character": 4
}
]
@@ -8735,14 +8892,14 @@
{
"type": "reflection",
"declaration": {
- "id": 660,
+ "id": 699,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 661,
+ "id": 700,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8750,7 +8907,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 6
}
],
@@ -8760,7 +8917,7 @@
}
},
{
- "id": 662,
+ "id": 701,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8768,13 +8925,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -8783,13 +8940,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [661, 662]
+ "children": [700, 701]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 4
}
]
@@ -8799,7 +8956,7 @@
}
},
{
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -8807,7 +8964,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 746,
"character": 12
}
],
@@ -8817,14 +8974,14 @@
{
"type": "reflection",
"declaration": {
- "id": 642,
+ "id": 681,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 643,
+ "id": 682,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8832,21 +8989,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 683,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 645,
+ "id": 684,
"name": "all",
"kind": 1024,
"kindString": "Property",
@@ -8857,7 +9014,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 721,
+ "line": 750,
"character": 8
}
],
@@ -8865,13 +9022,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
},
{
- "id": 646,
+ "id": 685,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -8882,7 +9039,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 724,
+ "line": 753,
"character": 8
}
],
@@ -8890,7 +9047,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -8900,13 +9057,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [645, 646]
+ "children": [684, 685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 12
}
]
@@ -8914,7 +9071,7 @@
}
},
{
- "id": 647,
+ "id": 686,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8922,7 +9079,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 726,
+ "line": 755,
"character": 6
}
],
@@ -8936,13 +9093,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [643, 647]
+ "children": [682, 686]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 718,
+ "line": 747,
"character": 4
}
]
@@ -8951,14 +9108,14 @@
{
"type": "reflection",
"declaration": {
- "id": 648,
+ "id": 687,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 649,
+ "id": 688,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -8966,7 +9123,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 6
}
],
@@ -8976,7 +9133,7 @@
}
},
{
- "id": 650,
+ "id": 689,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -8984,13 +9141,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -8999,13 +9156,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [649, 650]
+ "children": [688, 689]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 4
}
]
@@ -9015,7 +9172,7 @@
}
},
{
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9023,7 +9180,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 694,
+ "line": 723,
"character": 12
}
],
@@ -9033,14 +9190,14 @@
{
"type": "reflection",
"declaration": {
- "id": 623,
+ "id": 662,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 624,
+ "id": 663,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9048,21 +9205,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 625,
+ "id": 664,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 626,
+ "id": 665,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -9073,7 +9230,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 698,
+ "line": 727,
"character": 8
}
],
@@ -9087,13 +9244,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [626]
+ "children": [665]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 12
}
]
@@ -9101,7 +9258,7 @@
}
},
{
- "id": 627,
+ "id": 666,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9109,7 +9266,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 700,
+ "line": 729,
"character": 6
}
],
@@ -9123,13 +9280,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [624, 627]
+ "children": [663, 666]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 695,
+ "line": 724,
"character": 4
}
]
@@ -9138,14 +9295,14 @@
{
"type": "reflection",
"declaration": {
- "id": 628,
+ "id": 667,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 629,
+ "id": 668,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9153,7 +9310,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 6
}
],
@@ -9163,7 +9320,7 @@
}
},
{
- "id": 630,
+ "id": 669,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9171,13 +9328,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -9186,13 +9343,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 630]
+ "children": [668, 669]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 4
}
]
@@ -9202,7 +9359,7 @@
}
},
{
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9210,7 +9367,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 636,
+ "line": 665,
"character": 12
}
],
@@ -9220,14 +9377,14 @@
{
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 596,
+ "id": 635,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9235,21 +9392,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 597,
+ "id": 636,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 598,
+ "id": 637,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -9260,7 +9417,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 640,
+ "line": 669,
"character": 8
}
],
@@ -9270,7 +9427,7 @@
}
},
{
- "id": 600,
+ "id": 639,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -9281,7 +9438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 646,
+ "line": 675,
"character": 8
}
],
@@ -9291,7 +9448,7 @@
}
},
{
- "id": 601,
+ "id": 640,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -9302,7 +9459,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 649,
+ "line": 678,
"character": 8
}
],
@@ -9312,7 +9469,7 @@
}
},
{
- "id": 599,
+ "id": 638,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -9323,7 +9480,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 643,
+ "line": 672,
"character": 8
}
],
@@ -9333,7 +9490,7 @@
}
},
{
- "id": 602,
+ "id": 641,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -9344,13 +9501,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 652,
+ "line": 681,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -9359,13 +9516,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [598, 600, 601, 599, 602]
+ "children": [637, 639, 640, 638, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 12
}
]
@@ -9373,7 +9530,7 @@
}
},
{
- "id": 603,
+ "id": 642,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9381,7 +9538,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 654,
+ "line": 683,
"character": 6
}
],
@@ -9395,13 +9552,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [596, 603]
+ "children": [635, 642]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 637,
+ "line": 666,
"character": 4
}
]
@@ -9410,14 +9567,14 @@
{
"type": "reflection",
"declaration": {
- "id": 604,
+ "id": 643,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 605,
+ "id": 644,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -9425,7 +9582,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 686,
"character": 6
}
],
@@ -9435,7 +9592,7 @@
}
},
{
- "id": 606,
+ "id": 645,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9443,13 +9600,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 687,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -9458,13 +9615,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 606]
+ "children": [644, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 656,
+ "line": 685,
"character": 4
}
]
@@ -9474,7 +9631,7 @@
}
},
{
- "id": 309,
+ "id": 334,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -9482,7 +9639,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 54,
"character": 12
}
],
@@ -9492,14 +9649,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 +9664,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 +9723,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 +9738,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 +9752,7 @@
}
},
{
- "id": 315,
+ "id": 340,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9603,7 +9760,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 6
}
],
@@ -9617,13 +9774,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 +9789,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 +9804,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 +9852,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 +9872,7 @@
}
},
{
- "id": 321,
+ "id": 346,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9723,13 +9880,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 67,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -9738,13 +9895,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 +9911,7 @@
}
},
{
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels",
"kind": 4194304,
"kindString": "Type alias",
@@ -9762,7 +9919,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 730,
+ "line": 759,
"character": 12
}
],
@@ -9781,7 +9938,7 @@
}
},
{
- "id": 719,
+ "id": 758,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -9789,7 +9946,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 905,
+ "line": 934,
"character": 12
}
],
@@ -9799,14 +9956,14 @@
{
"type": "reflection",
"declaration": {
- "id": 720,
+ "id": 759,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 722,
+ "id": 761,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9814,7 +9971,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 908,
+ "line": 937,
"character": 6
}
],
@@ -9824,7 +9981,7 @@
}
},
{
- "id": 721,
+ "id": 760,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9832,13 +9989,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 936,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
}
@@ -9847,13 +10004,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [722, 721]
+ "children": [761, 760]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 906,
+ "line": 935,
"character": 4
}
]
@@ -9862,14 +10019,14 @@
{
"type": "reflection",
"declaration": {
- "id": 723,
+ "id": 762,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 725,
+ "id": 764,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -9877,18 +10034,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 912,
+ "line": 941,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
},
{
- "id": 724,
+ "id": 763,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -9896,7 +10053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 911,
+ "line": 940,
"character": 6
}
],
@@ -9910,13 +10067,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [725, 724]
+ "children": [764, 763]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 910,
+ "line": 939,
"character": 4
}
]
@@ -9926,7 +10083,7 @@
}
},
{
- "id": 516,
+ "id": 552,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -9934,7 +10091,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -9960,12 +10117,16 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -9973,21 +10134,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -9998,7 +10159,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -10008,7 +10169,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -10019,7 +10180,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -10029,7 +10190,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10039,7 +10200,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -10048,7 +10209,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -10062,7 +10223,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10070,7 +10231,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -10093,13 +10254,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -10107,7 +10268,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10115,21 +10276,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10140,7 +10301,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -10150,7 +10311,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10160,7 +10321,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -10169,7 +10330,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -10192,7 +10353,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10200,7 +10361,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -10223,13 +10384,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -10237,7 +10398,7 @@
}
},
{
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10245,7 +10406,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -10254,29 +10415,29 @@
"types": [
{
"type": "reference",
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams"
},
{
"type": "reference",
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams"
},
{
"type": "reference",
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams"
},
{
"type": "reference",
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams"
}
]
}
},
{
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -10287,21 +10448,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 606,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 607,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -10312,7 +10473,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 604,
"character": 2
}
],
@@ -10322,7 +10483,7 @@
}
},
{
- "id": 569,
+ "id": 608,
"name": "email_otp",
"kind": 1024,
"kindString": "Property",
@@ -10333,7 +10494,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 609,
"character": 2
}
],
@@ -10343,7 +10504,7 @@
}
},
{
- "id": 570,
+ "id": 609,
"name": "hashed_token",
"kind": 1024,
"kindString": "Property",
@@ -10354,7 +10515,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 584,
+ "line": 613,
"character": 2
}
],
@@ -10364,7 +10525,7 @@
}
},
{
- "id": 571,
+ "id": 610,
"name": "redirect_to",
"kind": 1024,
"kindString": "Property",
@@ -10375,7 +10536,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 615,
"character": 2
}
],
@@ -10385,7 +10546,7 @@
}
},
{
- "id": 572,
+ "id": 611,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -10396,13 +10557,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 588,
+ "line": 617,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType"
}
}
@@ -10411,13 +10572,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [568, 569, 570, 571, 572]
+ "children": [607, 608, 609, 610, 611]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 37
}
]
@@ -10425,7 +10586,7 @@
}
},
{
- "id": 553,
+ "id": 592,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -10433,7 +10594,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 553,
+ "line": 582,
"character": 12
}
],
@@ -10443,14 +10604,14 @@
{
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 555,
+ "id": 594,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10458,21 +10619,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 556,
+ "id": 595,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 557,
+ "id": 596,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -10480,18 +10641,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 556,
+ "line": 585,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties"
}
},
{
- "id": 558,
+ "id": 597,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -10499,13 +10660,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 557,
+ "line": 586,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -10514,13 +10675,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [557, 558]
+ "children": [596, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 12
}
]
@@ -10528,7 +10689,7 @@
}
},
{
- "id": 559,
+ "id": 598,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10536,7 +10697,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 588,
"character": 6
}
],
@@ -10550,13 +10711,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [555, 559]
+ "children": [594, 598]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 583,
"character": 4
}
]
@@ -10565,14 +10726,14 @@
{
"type": "reflection",
"declaration": {
- "id": 560,
+ "id": 599,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 561,
+ "id": 600,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -10580,21 +10741,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 562,
+ "id": 601,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 563,
+ "id": 602,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -10602,7 +10763,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 563,
+ "line": 592,
"character": 8
}
],
@@ -10612,7 +10773,7 @@
}
},
{
- "id": 564,
+ "id": 603,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -10620,7 +10781,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 564,
+ "line": 593,
"character": 8
}
],
@@ -10634,13 +10795,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [563, 564]
+ "children": [602, 603]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 12
}
]
@@ -10648,7 +10809,7 @@
}
},
{
- "id": 565,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -10656,13 +10817,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 595,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -10671,13 +10832,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [561, 565]
+ "children": [600, 604]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 590,
"character": 4
}
]
@@ -10687,7 +10848,7 @@
}
},
{
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -10695,7 +10856,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 591,
+ "line": 620,
"character": 12
}
],
@@ -10730,7 +10891,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10738,21 +10899,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10763,7 +10924,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -10773,7 +10934,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10783,7 +10944,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -10792,7 +10953,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -10806,7 +10967,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10814,7 +10975,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -10828,13 +10989,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -10842,7 +11003,7 @@
}
},
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -10850,21 +11011,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -10872,7 +11033,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -10882,7 +11043,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10892,7 +11053,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -10901,7 +11062,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -10924,7 +11085,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -10932,7 +11093,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -10942,7 +11103,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -10950,7 +11111,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -10964,13 +11125,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -10978,7 +11139,7 @@
}
},
{
- "id": 296,
+ "id": 321,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -10986,21 +11147,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 +11171,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -11020,7 +11181,7 @@
}
},
{
- "id": 304,
+ "id": 329,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -11030,7 +11191,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -11040,7 +11201,7 @@
}
},
{
- "id": 308,
+ "id": 333,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -11050,7 +11211,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -11060,7 +11221,7 @@
}
},
{
- "id": 299,
+ "id": 324,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -11070,14 +11231,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 +11246,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 +11277,7 @@
}
},
{
- "id": 306,
+ "id": 331,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -11126,7 +11287,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -11136,7 +11297,7 @@
}
},
{
- "id": 307,
+ "id": 332,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -11146,18 +11307,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 715,
+ "id": 754,
"name": "SupportedStorage"
}
},
{
- "id": 303,
+ "id": 328,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -11167,7 +11328,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 40,
+ "line": 41,
"character": 2
}
],
@@ -11177,7 +11338,7 @@
}
},
{
- "id": 298,
+ "id": 323,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -11187,7 +11348,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 37,
"character": 2
}
],
@@ -11201,13 +11362,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 +11376,7 @@
}
},
{
- "id": 716,
+ "id": 755,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -11223,21 +11384,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 717,
+ "id": 756,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 718,
+ "id": 757,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11245,7 +11406,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 33
}
],
@@ -11254,7 +11415,7 @@
"types": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
{
@@ -11269,13 +11430,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [718]
+ "children": [757]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 31
}
]
@@ -11283,7 +11444,7 @@
}
},
{
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11291,21 +11452,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -11316,7 +11477,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -11326,7 +11487,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -11337,7 +11498,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -11351,13 +11512,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -11365,7 +11526,7 @@
}
},
{
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11373,21 +11534,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -11398,7 +11559,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -11412,13 +11573,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -11426,7 +11587,7 @@
}
},
{
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11434,21 +11595,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -11459,7 +11620,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -11469,7 +11630,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -11482,7 +11643,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -11492,7 +11653,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -11505,7 +11666,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -11519,13 +11680,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -11533,7 +11694,7 @@
}
},
{
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11541,21 +11702,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -11566,7 +11727,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -11580,13 +11741,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -11594,7 +11755,7 @@
}
},
{
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11602,21 +11763,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -11627,7 +11788,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -11637,7 +11798,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -11648,7 +11809,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -11658,7 +11819,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -11669,7 +11830,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -11683,13 +11844,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -11697,7 +11858,7 @@
}
},
{
- "id": 515,
+ "id": 551,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -11705,7 +11866,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -11724,7 +11885,34 @@
}
},
{
- "id": 322,
+ "id": 512,
+ "name": "OAuthFlowType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 438,
+ "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 +11920,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 69,
+ "line": 70,
"character": 12
}
],
@@ -11742,14 +11930,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 +11945,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 +11967,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 +11986,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 74,
"character": 8
}
],
@@ -11812,13 +12000,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 +12014,7 @@
}
},
{
- "id": 328,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11834,7 +12022,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 75,
+ "line": 76,
"character": 6
}
],
@@ -11848,13 +12036,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 +12051,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 +12066,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 +12088,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 +12107,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 81,
"character": 8
}
],
@@ -11933,13 +12121,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 +12135,7 @@
}
},
{
- "id": 334,
+ "id": 359,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -11955,13 +12143,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
+ "line": 83,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -11970,13 +12158,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 +12174,7 @@
}
},
{
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -11994,21 +12182,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -12021,7 +12209,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -12031,7 +12219,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -12044,7 +12232,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -12058,13 +12246,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 25
}
]
@@ -12072,7 +12260,7 @@
}
},
{
- "id": 726,
+ "id": 765,
"name": "Pagination",
"kind": 4194304,
"kindString": "Type alias",
@@ -12080,21 +12268,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 727,
+ "id": 766,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 729,
+ "id": 768,
"name": "lastPage",
"kind": 1024,
"kindString": "Property",
@@ -12102,7 +12290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 947,
"character": 2
}
],
@@ -12112,7 +12300,7 @@
}
},
{
- "id": 728,
+ "id": 767,
"name": "nextPage",
"kind": 1024,
"kindString": "Property",
@@ -12120,7 +12308,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 917,
+ "line": 946,
"character": 2
}
],
@@ -12139,7 +12327,7 @@
}
},
{
- "id": 730,
+ "id": 769,
"name": "total",
"kind": 1024,
"kindString": "Property",
@@ -12147,7 +12335,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 948,
"character": 2
}
],
@@ -12161,25 +12349,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [729, 728, 730]
+ "children": [768, 767, 769]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 25
}
],
"indexSignature": {
- "id": 731,
+ "id": 770,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 732,
+ "id": 771,
"name": "key",
"kind": 32768,
"flags": {},
@@ -12198,7 +12386,7 @@
}
},
{
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -12284,7 +12472,7 @@
}
},
{
- "id": 335,
+ "id": 360,
"name": "SSOResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -12292,7 +12480,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 86,
"character": 12
}
],
@@ -12302,14 +12490,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,32 +12505,33 @@
"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",
"flags": {},
"comment": {
- "shortText": "URL to take the user to (in a browser) to complete SSO."
+ "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.",
+ "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 96,
"character": 8
}
],
@@ -12356,13 +12545,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339]
+ "children": [364]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 87,
+ "line": 88,
"character": 12
}
]
@@ -12370,7 +12559,7 @@
}
},
{
- "id": 340,
+ "id": 365,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -12378,7 +12567,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 98,
"character": 6
}
],
@@ -12392,13 +12581,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337, 340]
+ "children": [362, 365]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 86,
+ "line": 87,
"character": 4
}
]
@@ -12407,14 +12596,14 @@
{
"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",
@@ -12422,7 +12611,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 94,
+ "line": 101,
"character": 6
}
],
@@ -12432,7 +12621,7 @@
}
},
{
- "id": 343,
+ "id": 368,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -12440,13 +12629,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 102,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -12455,13 +12644,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 343]
+ "children": [367, 368]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 93,
+ "line": 100,
"character": 4
}
]
@@ -12471,29 +12660,52 @@
}
},
{
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 456,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "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": 464,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12503,21 +12715,201 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 465,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "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": 467,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 465,
+ "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": 460,
+ "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": 462,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [530, 531, 528, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 456,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "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": 452,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 512,
+ "name": "OAuthFlowType"
+ }
+ },
+ {
+ "id": 520,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -12530,14 +12922,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -12545,19 +12937,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 18
}
],
"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 +12968,7 @@
}
},
{
- "id": 491,
+ "id": 518,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -12589,7 +12981,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 438,
+ "line": 444,
"character": 4
}
],
@@ -12599,7 +12991,7 @@
}
},
{
- "id": 492,
+ "id": 519,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -12612,7 +13004,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 440,
+ "line": 446,
"character": 4
}
],
@@ -12622,7 +13014,7 @@
}
},
{
- "id": 497,
+ "id": 524,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -12635,7 +13027,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 444,
+ "line": 450,
"character": 4
}
],
@@ -12649,13 +13041,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 497]
+ "children": [525, 520, 518, 519, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 442,
"character": 12
}
]
@@ -12663,7 +13055,7 @@
}
},
{
- "id": 488,
+ "id": 515,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -12674,13 +13066,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 435,
+ "line": 441,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 293,
+ "id": 318,
"name": "Provider"
}
}
@@ -12689,13 +13081,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 488]
+ "children": [516, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 439,
"character": 41
}
]
@@ -12703,7 +13095,7 @@
}
},
{
- "id": 455,
+ "id": 480,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -12711,7 +13103,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 370,
"character": 12
}
],
@@ -12721,14 +13113,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 +13131,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 373,
"character": 6
}
],
@@ -12749,7 +13141,7 @@
}
},
{
- "id": 459,
+ "id": 484,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -12759,21 +13151,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 369,
+ "line": 376,
"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 +13178,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 377,
+ "line": 378,
"character": 8
}
],
@@ -12794,43 +13186,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": 376,
"character": 16
}
]
@@ -12838,7 +13206,7 @@
}
},
{
- "id": 458,
+ "id": 483,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12849,7 +13217,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 375,
"character": 6
}
],
@@ -12863,13 +13231,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 459, 458]
+ "children": [482, 484, 483]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 371,
"character": 4
}
]
@@ -12878,14 +13246,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 +13263,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"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 +13290,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 394,
"character": 8
}
],
@@ -12932,7 +13300,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": 396,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 492,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -12946,7 +13346,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 391,
+ "line": 392,
"character": 8
}
],
@@ -12960,13 +13360,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468]
+ "children": [493, 494, 492]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"character": 16
}
]
@@ -12974,7 +13374,7 @@
}
},
{
- "id": 465,
+ "id": 489,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -12985,7 +13385,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 385,
"character": 6
}
],
@@ -12995,7 +13395,7 @@
}
},
{
- "id": 464,
+ "id": 488,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13006,7 +13406,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 383,
"character": 6
}
],
@@ -13020,13 +13420,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 465, 464]
+ "children": [490, 489, 488]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 380,
+ "line": 381,
"character": 4
}
]
@@ -13036,7 +13436,7 @@
}
},
{
- "id": 470,
+ "id": 495,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -13044,7 +13444,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 400,
"character": 12
}
],
@@ -13054,14 +13454,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 +13472,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 400,
+ "line": 403,
"character": 6
}
],
@@ -13082,7 +13482,7 @@
}
},
{
- "id": 473,
+ "id": 498,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13092,21 +13492,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"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 +13519,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 416,
"character": 8
}
],
@@ -13129,7 +13529,7 @@
}
},
{
- "id": 477,
+ "id": 502,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13143,7 +13543,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 411,
+ "line": 414,
"character": 8
}
],
@@ -13153,7 +13553,7 @@
}
},
{
- "id": 475,
+ "id": 500,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13166,7 +13566,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 406,
"character": 8
}
],
@@ -13176,7 +13576,7 @@
}
},
{
- "id": 476,
+ "id": 501,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -13189,7 +13589,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 408,
"character": 8
}
],
@@ -13203,13 +13603,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [478, 477, 475, 476]
+ "children": [503, 502, 500, 501]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"character": 16
}
]
@@ -13221,13 +13621,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 473]
+ "children": [497, 498]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 398,
+ "line": 401,
"character": 4
}
]
@@ -13236,14 +13636,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 +13653,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"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 +13680,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 429,
+ "line": 432,
"character": 8
}
],
@@ -13290,7 +13690,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": 434,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 509,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13304,7 +13736,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 427,
+ "line": 430,
"character": 8
}
],
@@ -13314,7 +13746,7 @@
}
},
{
- "id": 483,
+ "id": 508,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -13327,7 +13759,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -13341,13 +13773,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [485, 484, 483]
+ "children": [510, 511, 509, 508]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"character": 16
}
]
@@ -13355,7 +13787,7 @@
}
},
{
- "id": 480,
+ "id": 505,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13366,7 +13798,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 418,
+ "line": 421,
"character": 6
}
],
@@ -13380,13 +13812,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [481, 480]
+ "children": [506, 505]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 419,
"character": 4
}
]
@@ -13396,7 +13828,7 @@
}
},
{
- "id": 517,
+ "id": 553,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -13404,24 +13836,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 509,
"character": 12
}
],
"type": {
- "type": "intersection",
+ "type": "union",
"types": [
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 554,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 556,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13431,21 +13863,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
+ "line": 514,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 522,
+ "id": 559,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13458,8 +13890,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 491,
- "character": 4
+ "line": 518,
+ "character": 8
}
],
"type": {
@@ -13468,7 +13900,7 @@
}
},
{
- "id": 521,
+ "id": 558,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13481,8 +13913,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 489,
- "character": 4
+ "line": 516,
+ "character": 8
}
],
"type": {
@@ -13495,176 +13927,79 @@
{
"title": "Properties",
"kind": 1024,
- "children": [522, 521]
+ "children": [559, 558]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 12
+ "line": 514,
+ "character": 16
}
]
}
}
+ },
+ {
+ "id": 555,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [519]
+ "children": [556, 555]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
- "character": 28
+ "line": 510,
+ "character": 4
}
]
}
},
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 524,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 494,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- ]
- }
- },
- {
- "id": 439,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 328,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
{
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 560,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 441,
- "name": "email",
+ "id": 561,
+ "name": "domain",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The user's email address."
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 523,
"character": 6
}
],
@@ -13674,7 +14009,7 @@
}
},
{
- "id": 443,
+ "id": 562,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -13684,21 +14019,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 525,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 444,
+ "id": 563,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 565,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -13711,7 +14046,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 529,
"character": 8
}
],
@@ -13721,7 +14056,161 @@
}
},
{
- "id": 446,
+ "id": 564,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [565, 564]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561, 562]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 521,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 335,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 338,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 468,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 341,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 472,
+ "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": 351,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13735,7 +14224,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 342,
+ "line": 349,
"character": 8
}
],
@@ -13745,7 +14234,7 @@
}
},
{
- "id": 445,
+ "id": 470,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -13758,7 +14247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 343,
"character": 8
}
],
@@ -13772,13 +14261,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 446, 445]
+ "children": [472, 471, 470]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"character": 16
}
]
@@ -13786,7 +14275,7 @@
}
},
{
- "id": 442,
+ "id": 467,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13797,7 +14286,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 340,
"character": 6
}
],
@@ -13811,13 +14300,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441, 443, 442]
+ "children": [466, 468, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 336,
"character": 4
}
]
@@ -13826,14 +14315,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 +14332,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"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 +14359,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 367,
"character": 8
}
],
@@ -13880,7 +14369,7 @@
}
},
{
- "id": 453,
+ "id": 478,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -13894,7 +14383,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 365,
"character": 8
}
],
@@ -13908,13 +14397,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [454, 453]
+ "children": [479, 478]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"character": 16
}
]
@@ -13922,7 +14411,7 @@
}
},
{
- "id": 450,
+ "id": 475,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -13933,7 +14422,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 351,
+ "line": 358,
"character": 6
}
],
@@ -13943,7 +14432,7 @@
}
},
{
- "id": 449,
+ "id": 474,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -13954,7 +14443,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 356,
"character": 6
}
],
@@ -13968,13 +14457,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [451, 450, 449]
+ "children": [476, 475, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 354,
"character": 4
}
]
@@ -13984,7 +14473,7 @@
}
},
{
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -13992,7 +14481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"character": 12
}
],
@@ -14035,7 +14524,7 @@
}
},
{
- "id": 344,
+ "id": 369,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -14043,7 +14532,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 105,
"character": 12
}
],
@@ -14053,14 +14542,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 +14557,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"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 +14579,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 108,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -14105,13 +14594,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [348]
+ "children": [373]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"character": 12
}
]
@@ -14119,7 +14608,7 @@
}
},
{
- "id": 349,
+ "id": 374,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14127,7 +14616,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 103,
+ "line": 110,
"character": 6
}
],
@@ -14141,13 +14630,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [346, 349]
+ "children": [371, 374]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 99,
+ "line": 106,
"character": 4
}
]
@@ -14156,14 +14645,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 +14660,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"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 +14682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 107,
+ "line": 114,
"character": 8
}
],
@@ -14207,13 +14696,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [378]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"character": 12
}
]
@@ -14221,7 +14710,7 @@
}
},
{
- "id": 354,
+ "id": 379,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -14229,13 +14718,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 116,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -14244,13 +14733,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [351, 354]
+ "children": [376, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 112,
"character": 4
}
]
@@ -14260,7 +14749,7 @@
}
},
{
- "id": 498,
+ "id": 534,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -14268,7 +14757,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 471,
"character": 12
}
],
@@ -14277,19 +14766,19 @@
"types": [
{
"type": "reference",
- "id": 499,
+ "id": 535,
"name": "VerifyMobileOtpParams"
},
{
"type": "reference",
- "id": 507,
+ "id": 543,
"name": "VerifyEmailOtpParams"
}
]
}
},
{
- "id": 740,
+ "id": 779,
"name": "isAuthApiError",
"kind": 64,
"kindString": "Function",
@@ -14303,14 +14792,14 @@
],
"signatures": [
{
- "id": 741,
+ "id": 780,
"name": "isAuthApiError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 742,
+ "id": 781,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -14327,7 +14816,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
}
}
@@ -14335,7 +14824,7 @@
]
},
{
- "id": 737,
+ "id": 776,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -14349,14 +14838,14 @@
],
"signatures": [
{
- "id": 738,
+ "id": 777,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 739,
+ "id": 778,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -14373,7 +14862,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -14385,26 +14874,26 @@
{
"title": "Classes",
"kind": 128,
- "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77]
+ "children": [789, 782, 850, 837, 875, 825, 802, 810, 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, 588, 747, 702, 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, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582, 572,
+ 591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347, 772, 765,
+ 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
]
},
{
"title": "Functions",
"kind": 64,
- "children": [740, 737]
+ "children": [779, 776]
}
],
"sources": [
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index 4981519575b..a32dbbfa4c8 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": 789,
"name": "AuthApiError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 751,
+ "id": 790,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -28,14 +28,14 @@
],
"signatures": [
{
- "id": 752,
+ "id": 791,
"name": "new AuthApiError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 753,
+ "id": 792,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -46,7 +46,7 @@
}
},
{
- "id": 754,
+ "id": 793,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -59,24 +59,24 @@
],
"type": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 755,
+ "id": 794,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -94,12 +94,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 756,
+ "id": 795,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -113,7 +113,7 @@
],
"signatures": [
{
- "id": 757,
+ "id": 796,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -121,14 +121,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 758,
+ "id": 797,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 760,
+ "id": 799,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -147,7 +147,7 @@
"defaultValue": "..."
},
{
- "id": 759,
+ "id": 798,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -166,7 +166,7 @@
"defaultValue": "..."
},
{
- "id": 761,
+ "id": 800,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -189,7 +189,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [760, 759, 761]
+ "children": [799, 798, 800]
}
]
}
@@ -202,17 +202,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [751]
+ "children": [790]
},
{
"title": "Properties",
"kind": 1024,
- "children": [755]
+ "children": [794]
},
{
"title": "Methods",
"kind": 2048,
- "children": [756]
+ "children": [795]
}
],
"sources": [
@@ -225,20 +225,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 743,
+ "id": 782,
"name": "AuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 744,
+ "id": 783,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -252,14 +252,14 @@
],
"signatures": [
{
- "id": 745,
+ "id": 784,
"name": "new AuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 746,
+ "id": 785,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -270,7 +270,7 @@
}
},
{
- "id": 747,
+ "id": 786,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -285,7 +285,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
"overwrites": {
@@ -300,7 +300,7 @@
}
},
{
- "id": 748,
+ "id": 787,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -331,12 +331,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [744]
+ "children": [783]
},
{
"title": "Properties",
"kind": 1024,
- "children": [748]
+ "children": [787]
}
],
"sources": [
@@ -357,30 +357,30 @@
"extendedBy": [
{
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
},
{
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 812,
+ "id": 851,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -394,14 +394,14 @@
],
"signatures": [
{
- "id": 813,
+ "id": 852,
"name": "new AuthImplicitGrantRedirectError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 814,
+ "id": 853,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -412,7 +412,7 @@
}
},
{
- "id": 815,
+ "id": 854,
"name": "details",
"kind": 32768,
"kindString": "Parameter",
@@ -427,14 +427,14 @@
{
"type": "reflection",
"declaration": {
- "id": 816,
+ "id": 855,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 818,
+ "id": 857,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -452,7 +452,7 @@
}
},
{
- "id": 817,
+ "id": 856,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -474,7 +474,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [818, 817]
+ "children": [857, 856]
}
]
}
@@ -486,24 +486,24 @@
],
"type": {
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 819,
+ "id": 858,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -525,14 +525,14 @@
{
"type": "reflection",
"declaration": {
- "id": 820,
+ "id": 859,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 822,
+ "id": 861,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -550,7 +550,7 @@
}
},
{
- "id": 821,
+ "id": 860,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -572,7 +572,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [822, 821]
+ "children": [861, 860]
}
]
}
@@ -582,7 +582,7 @@
"defaultValue": "null"
},
{
- "id": 833,
+ "id": 872,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -600,12 +600,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 834,
+ "id": 873,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -623,12 +623,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 823,
+ "id": 862,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -642,7 +642,7 @@
],
"signatures": [
{
- "id": 824,
+ "id": 863,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -650,14 +650,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 825,
+ "id": 864,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 829,
+ "id": 868,
"name": "details",
"kind": 1024,
"kindString": "Property",
@@ -679,14 +679,14 @@
{
"type": "reflection",
"declaration": {
- "id": 830,
+ "id": 869,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 832,
+ "id": 871,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -704,7 +704,7 @@
}
},
{
- "id": 831,
+ "id": 870,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -726,7 +726,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [832, 831]
+ "children": [871, 870]
}
]
}
@@ -736,7 +736,7 @@
"defaultValue": "..."
},
{
- "id": 827,
+ "id": 866,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -755,7 +755,7 @@
"defaultValue": "..."
},
{
- "id": 826,
+ "id": 865,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -774,7 +774,7 @@
"defaultValue": "..."
},
{
- "id": 828,
+ "id": 867,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -797,21 +797,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [829, 827, 826, 828]
+ "children": [868, 866, 865, 867]
}
]
}
},
"overwrites": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"overwrites": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -820,17 +820,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [812]
+ "children": [851]
},
{
"title": "Properties",
"kind": 1024,
- "children": [819, 833, 834]
+ "children": [858, 872, 873]
},
{
"title": "Methods",
"kind": 2048,
- "children": [823]
+ "children": [862]
}
],
"sources": [
@@ -843,20 +843,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 799,
+ "id": 838,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -870,14 +870,14 @@
],
"signatures": [
{
- "id": 800,
+ "id": 839,
"name": "new AuthInvalidCredentialsError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 801,
+ "id": 840,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -890,276 +890,19 @@
],
"type": {
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
- "name": "CustomAuthError.constructor"
- }
- },
- {
- "id": 802,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 49,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 777,
- "name": "CustomAuthError.name"
- }
- },
- {
- "id": 803,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 50,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 778,
- "name": "CustomAuthError.status"
- }
- },
- {
- "id": 804,
- "name": "toJSON",
- "kind": 2048,
- "kindString": "Method",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 57,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 805,
- "name": "toJSON",
- "kind": 4096,
- "kindString": "Call signature",
- "flags": {},
- "type": {
- "type": "reflection",
- "declaration": {
- "id": 806,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 808,
- "name": "message",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 60,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 807,
- "name": "name",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 59,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "defaultValue": "..."
- },
- {
- "id": 809,
- "name": "status",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 61,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "number"
- },
- "defaultValue": "..."
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [808, 807, 809]
- }
- ]
- }
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 780,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "inheritedFrom": {
- "type": "reference",
- "id": 779,
- "name": "CustomAuthError.toJSON"
- }
- }
- ],
- "groups": [
- {
- "title": "Constructors",
- "kind": 512,
- "children": [799]
- },
- {
- "title": "Properties",
- "kind": 1024,
- "children": [802, 803]
- },
- {
- "title": "Methods",
- "kind": 2048,
- "children": [804]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 72,
- "character": 13
- }
- ],
- "extendedTypes": [
- {
- "type": "reference",
- "id": 771,
- "name": "CustomAuthError"
- }
- ]
- },
- {
- "id": 836,
- "name": "AuthRetryableFetchError",
- "kind": 128,
- "kindString": "Class",
- "flags": {},
- "children": [
- {
- "id": 837,
- "name": "constructor",
- "kind": 512,
- "kindString": "Constructor",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/errors.ts",
- "line": 96,
- "character": 2
- }
- ],
- "signatures": [
- {
- "id": 838,
- "name": "new AuthRetryableFetchError",
- "kind": 16384,
- "kindString": "Constructor signature",
- "flags": {},
- "parameters": [
- {
- "id": 839,
- "name": "message",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 840,
- "name": "status",
- "kind": 32768,
- "kindString": "Parameter",
- "flags": {},
- "type": {
- "type": "intrinsic",
- "name": "number"
- }
- }
- ],
- "type": {
- "type": "reference",
- "id": 836,
- "name": "AuthRetryableFetchError"
- },
- "overwrites": {
- "type": "reference",
- "id": 773,
- "name": "CustomAuthError.constructor"
- }
- }
- ],
- "overwrites": {
- "type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
@@ -1182,7 +925,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
@@ -1205,7 +948,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
@@ -1307,14 +1050,14 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -1323,7 +1066,7 @@
{
"title": "Constructors",
"kind": 512,
- "children": [837]
+ "children": [838]
},
{
"title": "Properties",
@@ -1339,27 +1082,27 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 95,
+ "line": 72,
"character": 13
}
],
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 786,
- "name": "AuthSessionMissingError",
+ "id": 875,
+ "name": "AuthRetryableFetchError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 787,
+ "id": 876,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1367,37 +1110,61 @@
"sources": [
{
"fileName": "src/lib/errors.ts",
- "line": 67,
+ "line": 96,
"character": 2
}
],
"signatures": [
{
- "id": 788,
- "name": "new AuthSessionMissingError",
+ "id": 877,
+ "name": "new AuthRetryableFetchError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
+ "parameters": [
+ {
+ "id": 878,
+ "name": "message",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 879,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
"type": {
"type": "reference",
- "id": 786,
- "name": "AuthSessionMissingError"
+ "id": 875,
+ "name": "AuthRetryableFetchError"
},
"overwrites": {
"type": "reference",
- "id": 773,
+ "id": 812,
"name": "CustomAuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 772,
+ "id": 811,
"name": "CustomAuthError.constructor"
}
},
{
- "id": 789,
+ "id": 880,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1415,12 +1182,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 777,
+ "id": 816,
"name": "CustomAuthError.name"
}
},
{
- "id": 790,
+ "id": 881,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1438,12 +1205,12 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 778,
+ "id": 817,
"name": "CustomAuthError.status"
}
},
{
- "id": 791,
+ "id": 882,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1457,7 +1224,7 @@
],
"signatures": [
{
- "id": 792,
+ "id": 883,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1465,14 +1232,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 793,
+ "id": 884,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 795,
+ "id": 886,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1491,7 +1258,7 @@
"defaultValue": "..."
},
{
- "id": 794,
+ "id": 885,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1510,7 +1277,7 @@
"defaultValue": "..."
},
{
- "id": 796,
+ "id": 887,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1533,21 +1300,21 @@
{
"title": "Properties",
"kind": 1024,
- "children": [795, 794, 796]
+ "children": [886, 885, 887]
}
]
}
},
"inheritedFrom": {
"type": "reference",
- "id": 780,
+ "id": 819,
"name": "CustomAuthError.toJSON"
}
}
],
"inheritedFrom": {
"type": "reference",
- "id": 779,
+ "id": 818,
"name": "CustomAuthError.toJSON"
}
}
@@ -1556,17 +1323,250 @@
{
"title": "Constructors",
"kind": 512,
- "children": [787]
+ "children": [876]
},
{
"title": "Properties",
"kind": 1024,
- "children": [789, 790]
+ "children": [880, 881]
},
{
"title": "Methods",
"kind": 2048,
- "children": [791]
+ "children": [882]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 95,
+ "character": 13
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 810,
+ "name": "CustomAuthError"
+ }
+ ]
+ },
+ {
+ "id": 825,
+ "name": "AuthSessionMissingError",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 826,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 67,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 827,
+ "name": "new AuthSessionMissingError",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 825,
+ "name": "AuthSessionMissingError"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 812,
+ "name": "CustomAuthError.constructor"
+ }
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 811,
+ "name": "CustomAuthError.constructor"
+ }
+ },
+ {
+ "id": 828,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 816,
+ "name": "CustomAuthError.name"
+ }
+ },
+ {
+ "id": 829,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 817,
+ "name": "CustomAuthError.status"
+ }
+ },
+ {
+ "id": 830,
+ "name": "toJSON",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 831,
+ "name": "toJSON",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 832,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 834,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 60,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 833,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 59,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 835,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/errors.ts",
+ "line": 61,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [834, 833, 835]
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 819,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 818,
+ "name": "CustomAuthError.toJSON"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [826]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [828, 829]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [830]
}
],
"sources": [
@@ -1579,20 +1579,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
}
]
},
{
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 764,
+ "id": 803,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1606,14 +1606,14 @@
],
"signatures": [
{
- "id": 765,
+ "id": 804,
"name": "new AuthUnknownError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 766,
+ "id": 805,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1624,7 +1624,7 @@
}
},
{
- "id": 767,
+ "id": 806,
"name": "originalError",
"kind": 32768,
"kindString": "Parameter",
@@ -1637,24 +1637,24 @@
],
"type": {
"type": "reference",
- "id": 763,
+ "id": 802,
"name": "AuthUnknownError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 768,
+ "id": 807,
"name": "originalError",
"kind": 1024,
"kindString": "Property",
@@ -1672,7 +1672,7 @@
}
},
{
- "id": 769,
+ "id": 808,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1699,7 +1699,7 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
}
@@ -1708,12 +1708,12 @@
{
"title": "Constructors",
"kind": 512,
- "children": [764]
+ "children": [803]
},
{
"title": "Properties",
"kind": 1024,
- "children": [768, 769]
+ "children": [807, 808]
}
],
"sources": [
@@ -1726,20 +1726,20 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
},
{
- "id": 771,
+ "id": 810,
"name": "CustomAuthError",
"kind": 128,
"kindString": "Class",
"flags": {},
"children": [
{
- "id": 772,
+ "id": 811,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
@@ -1753,14 +1753,14 @@
],
"signatures": [
{
- "id": 773,
+ "id": 812,
"name": "new CustomAuthError",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {},
"parameters": [
{
- "id": 774,
+ "id": 813,
"name": "message",
"kind": 32768,
"kindString": "Parameter",
@@ -1771,7 +1771,7 @@
}
},
{
- "id": 775,
+ "id": 814,
"name": "name",
"kind": 32768,
"kindString": "Parameter",
@@ -1782,7 +1782,7 @@
}
},
{
- "id": 776,
+ "id": 815,
"name": "status",
"kind": 32768,
"kindString": "Parameter",
@@ -1795,24 +1795,24 @@
],
"type": {
"type": "reference",
- "id": 771,
+ "id": 810,
"name": "CustomAuthError"
},
"overwrites": {
"type": "reference",
- "id": 745,
+ "id": 784,
"name": "AuthError.constructor"
}
}
],
"overwrites": {
"type": "reference",
- "id": 744,
+ "id": 783,
"name": "AuthError.constructor"
}
},
{
- "id": 777,
+ "id": 816,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1834,7 +1834,7 @@
}
},
{
- "id": 778,
+ "id": 817,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1852,12 +1852,12 @@
},
"overwrites": {
"type": "reference",
- "id": 748,
+ "id": 787,
"name": "AuthError.status"
}
},
{
- "id": 779,
+ "id": 818,
"name": "toJSON",
"kind": 2048,
"kindString": "Method",
@@ -1871,7 +1871,7 @@
],
"signatures": [
{
- "id": 780,
+ "id": 819,
"name": "toJSON",
"kind": 4096,
"kindString": "Call signature",
@@ -1879,14 +1879,14 @@
"type": {
"type": "reflection",
"declaration": {
- "id": 781,
+ "id": 820,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 783,
+ "id": 822,
"name": "message",
"kind": 1024,
"kindString": "Property",
@@ -1905,7 +1905,7 @@
"defaultValue": "..."
},
{
- "id": 782,
+ "id": 821,
"name": "name",
"kind": 1024,
"kindString": "Property",
@@ -1924,7 +1924,7 @@
"defaultValue": "..."
},
{
- "id": 784,
+ "id": 823,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -1947,7 +1947,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [783, 782, 784]
+ "children": [822, 821, 823]
}
]
}
@@ -1960,17 +1960,17 @@
{
"title": "Constructors",
"kind": 512,
- "children": [772]
+ "children": [811]
},
{
"title": "Properties",
"kind": 1024,
- "children": [777, 778]
+ "children": [816, 817]
},
{
"title": "Methods",
"kind": 2048,
- "children": [779]
+ "children": [818]
}
],
"sources": [
@@ -1983,29 +1983,29 @@
"extendedTypes": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
],
"extendedBy": [
{
"type": "reference",
- "id": 786,
+ "id": 825,
"name": "AuthSessionMissingError"
},
{
"type": "reference",
- "id": 798,
+ "id": 837,
"name": "AuthInvalidCredentialsError"
},
{
"type": "reference",
- "id": 811,
+ "id": 850,
"name": "AuthImplicitGrantRedirectError"
},
{
"type": "reference",
- "id": 836,
+ "id": 875,
"name": "AuthRetryableFetchError"
}
]
@@ -2248,10 +2248,10 @@
],
"type": {
"type": "reference",
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -2267,14 +2267,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -2294,17 +2294,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2320,21 +2320,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -2345,7 +2345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -2355,7 +2355,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -2366,7 +2366,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -2380,13 +2380,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -2401,7 +2401,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -2413,14 +2413,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -2430,17 +2430,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2456,21 +2456,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -2481,7 +2481,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -2495,13 +2495,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -2516,7 +2516,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -2532,13 +2532,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -2703,86 +2673,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -2796,7 +2686,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 591,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2974,7 +2954,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -2982,7 +2962,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -2990,21 +2970,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3012,7 +2992,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -3022,7 +3002,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3032,7 +3012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -3041,7 +3021,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -3064,7 +3044,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -3072,7 +3052,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -3082,7 +3062,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3090,7 +3070,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -3104,13 +3084,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -3118,7 +3098,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3126,21 +3106,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3151,7 +3131,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -3161,7 +3141,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3171,7 +3151,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -3180,7 +3160,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -3203,7 +3183,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3211,7 +3191,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -3234,13 +3214,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -3248,7 +3228,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3256,21 +3236,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3281,7 +3261,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -3291,7 +3271,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3301,7 +3281,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -3310,7 +3290,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -3324,7 +3304,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3332,7 +3312,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -3346,13 +3326,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -3360,7 +3340,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3368,21 +3348,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -3393,7 +3373,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -3403,7 +3383,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -3414,7 +3394,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -3424,7 +3404,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -3434,7 +3414,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -3443,7 +3423,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -3457,7 +3437,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -3465,7 +3445,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -3488,13 +3468,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -3512,7 +3492,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 553,
+ "id": 592,
"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": 772,
"name": "PageParams",
"dereferenced": {
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -3755,21 +3735,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -3782,7 +3762,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -3792,7 +3772,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -3805,7 +3785,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -3819,13 +3799,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"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": 765,
"name": "Pagination"
}
]
@@ -4035,7 +4015,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -4150,7 +4130,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -4346,86 +4296,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -4439,7 +4309,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 754,
"name": "SupportedStorage",
"dereferenced": {
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -4757,7 +4717,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"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": 747,
"name": "GoTrueAdminMFAApi",
"dereferenced": {
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -5147,14 +5107,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -5174,17 +5134,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5200,21 +5160,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -5225,7 +5185,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -5235,7 +5195,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -5246,7 +5206,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -5260,13 +5220,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -5281,7 +5241,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -5293,14 +5253,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -5310,17 +5270,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5336,21 +5296,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -5361,7 +5321,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -5375,13 +5335,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -5396,7 +5356,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -5412,13 +5372,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -5583,86 +5513,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -5676,7 +5526,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 591,
"name": "GenerateLinkParams",
"dereferenced": {
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5854,7 +5794,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -5862,7 +5802,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -5870,21 +5810,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -5892,7 +5832,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -5902,7 +5842,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -5912,7 +5852,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -5921,7 +5861,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -5944,7 +5884,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -5952,7 +5892,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -5962,7 +5902,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -5970,7 +5910,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -5984,13 +5924,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -5998,7 +5938,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6006,21 +5946,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6031,7 +5971,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -6041,7 +5981,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6051,7 +5991,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -6060,7 +6000,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -6083,7 +6023,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6091,7 +6031,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -6114,13 +6054,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -6128,7 +6068,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6136,21 +6076,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6161,7 +6101,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -6171,7 +6111,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6181,7 +6121,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -6190,7 +6130,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -6204,7 +6144,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6212,7 +6152,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -6226,13 +6166,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -6240,7 +6180,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6248,21 +6188,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -6273,7 +6213,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -6283,7 +6223,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -6294,7 +6234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -6304,7 +6244,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -6314,7 +6254,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -6323,7 +6263,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -6337,7 +6277,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -6345,7 +6285,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -6368,13 +6308,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -6392,7 +6332,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 553,
+ "id": 592,
"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": 772,
"name": "PageParams",
"dereferenced": {
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -6635,21 +6575,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -6662,7 +6602,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -6672,7 +6612,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -6685,7 +6625,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -6699,13 +6639,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"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": 765,
"name": "Pagination"
}
]
@@ -6915,7 +6855,7 @@
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -7030,7 +6970,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 287,
"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": 313,
"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": 245,
"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",
@@ -7226,86 +7136,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -7319,7 +7149,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "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": 277,
"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": 266,
"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": 702,
"name": "GoTrueMFAApi",
"dereferenced": {
- "id": 663,
+ "id": 702,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -7443,14 +7363,14 @@
},
"children": [
{
- "id": 667,
+ "id": 706,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 668,
+ "id": 707,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -7460,17 +7380,17 @@
},
"parameters": [
{
- "id": 669,
+ "id": 708,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7478,21 +7398,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -7503,7 +7423,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -7517,13 +7437,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -7538,7 +7458,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse"
}
],
@@ -7550,14 +7470,14 @@
]
},
{
- "id": 676,
+ "id": 715,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 677,
+ "id": 716,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -7567,17 +7487,17 @@
},
"parameters": [
{
- "id": 678,
+ "id": 717,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7585,21 +7505,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -7610,7 +7530,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -7620,7 +7540,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -7631,7 +7551,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -7645,13 +7565,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -7666,7 +7586,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -7678,14 +7598,14 @@
]
},
{
- "id": 664,
+ "id": 703,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 665,
+ "id": 704,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -7696,17 +7616,17 @@
},
"parameters": [
{
- "id": 666,
+ "id": 705,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7714,21 +7634,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -7739,7 +7659,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -7749,7 +7669,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -7762,7 +7682,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -7772,7 +7692,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -7785,7 +7705,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -7799,13 +7719,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -7820,7 +7740,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse"
}
],
@@ -7832,14 +7752,14 @@
]
},
{
- "id": 681,
+ "id": 720,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 682,
+ "id": 721,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -7853,7 +7773,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -7865,14 +7785,14 @@
]
},
{
- "id": 679,
+ "id": 718,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 680,
+ "id": 719,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -7899,7 +7819,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -7911,14 +7831,14 @@
]
},
{
- "id": 673,
+ "id": 712,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 674,
+ "id": 713,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -7928,17 +7848,17 @@
},
"parameters": [
{
- "id": 675,
+ "id": 714,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -7946,21 +7866,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -7971,7 +7891,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -7985,13 +7905,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -8006,7 +7926,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -8018,14 +7938,14 @@
]
},
{
- "id": 670,
+ "id": 709,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 671,
+ "id": 710,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -8035,17 +7955,17 @@
},
"parameters": [
{
- "id": 672,
+ "id": 711,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -8053,21 +7973,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -8078,7 +7998,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -8088,7 +8008,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -8099,7 +8019,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -8109,7 +8029,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -8120,7 +8040,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -8134,13 +8054,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -8155,7 +8075,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -8171,13 +8091,13 @@
{
"title": "Methods",
"kind": 2048,
- "children": [667, 676, 664, 681, 679, 673, 670]
+ "children": [706, 715, 703, 720, 718, 712, 709]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 761,
+ "line": 790,
"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": 605,
"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": 607,
"character": 8
}
],
@@ -8431,13 +8225,14 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 526,
+ "line": 608,
"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": 610,
"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": 613,
+ "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": 614,
+ "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": 616,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 782,
+ "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": 619,
+ "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": 620,
+ "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": 622,
+ "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": 668,
"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": 755,
"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": 959,
"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": 960,
"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": 960,
"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": 320,
"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": 324,
"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": 328,
"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": 316,
"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": 814,
"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": 814,
"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": 999,
"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": 1003,
"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": 1002,
"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": 1007,
"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": 1008,
"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": 1010,
"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": 1010,
"character": 20
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"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": 750,
"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": 751,
"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": 752,
"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,63 +9375,92 @@
]
},
{
- "id": 113,
- "name": "signInWithOAuth",
+ "id": 123,
+ "name": "signInWithIdToken",
"kind": 2048,
"kindString": "Method",
"flags": {},
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 358,
+ "line": 429,
"character": 8
}
],
"signatures": [
{
- "id": 114,
- "name": "signInWithOAuth",
+ "id": 124,
+ "name": "signInWithIdToken",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
- "shortText": "Log in an existing user via a third-party provider."
+ "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": 115,
+ "id": 125,
"name": "credentials",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"dereferenced": {
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 456,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "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": 464,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -9465,21 +9470,281 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 465,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "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": 467,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 465,
+ "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": 460,
+ "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": 462,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [530, 531, 528, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 456,
+ "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",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueClient.ts",
+ "line": 384,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 118,
+ "name": "signInWithOAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Log in an existing user via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 119,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "dereferenced": {
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "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": 452,
+ "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": 438,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 520,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -9492,14 +9757,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -9507,19 +9772,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 18
}
],
"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",
@@ -9551,7 +9816,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 438,
+ "line": 444,
"character": 4
}
],
@@ -9561,7 +9826,7 @@
}
},
{
- "id": 492,
+ "id": 519,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -9574,7 +9839,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 440,
+ "line": 446,
"character": 4
}
],
@@ -9584,7 +9849,7 @@
}
},
{
- "id": 497,
+ "id": 524,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -9597,7 +9862,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 444,
+ "line": 450,
"character": 4
}
],
@@ -9611,13 +9876,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 497]
+ "children": [525, 520, 518, 519, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 442,
"character": 12
}
]
@@ -9625,7 +9890,7 @@
}
},
{
- "id": 488,
+ "id": 515,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -9636,16 +9901,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 435,
+ "line": 441,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 293,
+ "id": 318,
"name": "Provider",
"dereferenced": {
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -9737,13 +10002,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 488]
+ "children": [516, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 439,
"character": 41
}
]
@@ -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": 400,
"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": 403,
"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": 404,
"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": 416,
"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": 414,
"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": 406,
"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": 408,
"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": 404,
"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": 401,
"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": 422,
"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": 432,
"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": 434,
+ "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": 430,
"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": 424,
"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": 422,
"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": 421,
"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": 419,
"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 distinguish\nbetween the cases where the account does not exist or that the\nemail/phone and password combination is wrong or that the account can only\nbe accessed via social login. 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": 370,
"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": 373,
"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": 376,
"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": 378,
"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": 376,
"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": 375,
"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": 371,
"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": 386,
"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": 394,
"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": 396,
+ "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": 392,
"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": 386,
"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": 385,
"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": 383,
"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": 381,
"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,40 +10884,34 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 482,
+ "line": 576,
"character": 8
}
],
"signatures": [
{
- "id": 123,
+ "id": 133,
"name": "signInWithSSO",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"comment": {
"shortText": "Attempts a single-sign on using an enterprise Identity Provider. A\nsuccessful SSO attempt will redirect the current page to the identity\nprovider authorization page. The redirect URL is implementation and SSO\nprotocol specific.",
- "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n\nThis API is experimental and availability is conditional on correct\nsettings on the Auth service.\n",
- "tags": [
- {
- "tag": "experimental",
- "text": "\n"
- }
- ]
+ "text": "You can use it by providing a SSO domain. Typically you can extract this\ndomain by asking users for their email address. If this domain is\nregistered on the Auth instance the redirect will use that organization's\ncurrently active SSO Identity Provider for the login.\n\nIf you have built an organization-specific login page, you can use the\norganization's SSO Identity Provider UUID directly instead.\n"
},
"parameters": [
{
- "id": 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,24 +10919,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 509,
"character": 12
}
],
"type": {
- "type": "intersection",
+ "type": "union",
"types": [
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 554,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 556,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -10647,21 +10946,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
+ "line": 514,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 522,
+ "id": 559,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -10674,8 +10973,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 491,
- "character": 4
+ "line": 518,
+ "character": 8
}
],
"type": {
@@ -10684,7 +10983,7 @@
}
},
{
- "id": 521,
+ "id": 558,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -10697,8 +10996,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 489,
- "character": 4
+ "line": 516,
+ "character": 8
}
],
"type": {
@@ -10711,14 +11010,170 @@
{
"title": "Properties",
"kind": 1024,
- "children": [522, 521]
+ "children": [559, 558]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 12
+ "line": 514,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 555,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [556, 555]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 510,
+ "character": 4
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 560,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 561,
+ "name": "domain",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 562,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 563,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 565,
+ "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": 529,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 564,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [565, 564]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 16
}
]
}
@@ -10729,116 +11184,17 @@
{
"title": "Properties",
"kind": 1024,
- "children": [519]
+ "children": [561, 562]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
- "character": 28
+ "line": 521,
+ "character": 4
}
]
}
- },
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 524,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 494,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 4
- }
- ]
- }
- }
- ]
}
]
}
@@ -10851,7 +11207,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 335,
+ "id": 360,
"name": "SSOResponse"
}
],
@@ -10863,7 +11219,7 @@
]
},
{
- "id": 182,
+ "id": 195,
"name": "signOut",
"kind": 2048,
"kindString": "Method",
@@ -10871,13 +11227,13 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 8
}
],
"signatures": [
{
- "id": 183,
+ "id": 196,
"name": "signOut",
"kind": 4096,
"kindString": "Call signature",
@@ -10892,14 +11248,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 +11263,7 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 834,
+ "line": 934,
"character": 29
}
],
@@ -10920,7 +11276,7 @@
},
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
]
@@ -10931,7 +11287,7 @@
{
"title": "Properties",
"kind": 1024,
- "children": [185]
+ "children": [198]
}
]
}
@@ -10945,7 +11301,7 @@
]
},
{
- "id": 107,
+ "id": 111,
"name": "signUp",
"kind": 2048,
"kindString": "Method",
@@ -10953,13 +11309,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 +11327,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 +11345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 328,
+ "line": 335,
"character": 12
}
],
@@ -10999,14 +11355,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 +11373,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 338,
"character": 6
}
],
@@ -11027,7 +11383,7 @@
}
},
{
- "id": 443,
+ "id": 468,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11037,21 +11393,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"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 +11420,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 351,
"character": 8
}
],
@@ -11074,7 +11430,7 @@
}
},
{
- "id": 446,
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11088,7 +11444,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 342,
+ "line": 349,
"character": 8
}
],
@@ -11098,7 +11454,7 @@
}
},
{
- "id": 445,
+ "id": 470,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11111,7 +11467,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 343,
"character": 8
}
],
@@ -11125,13 +11481,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 446, 445]
+ "children": [472, 471, 470]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"character": 16
}
]
@@ -11139,7 +11495,7 @@
}
},
{
- "id": 442,
+ "id": 467,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -11150,7 +11506,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 340,
"character": 6
}
],
@@ -11164,13 +11520,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441, 443, 442]
+ "children": [466, 468, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 336,
"character": 4
}
]
@@ -11179,14 +11535,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 +11552,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"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 +11579,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 367,
"character": 8
}
],
@@ -11233,7 +11589,7 @@
}
},
{
- "id": 453,
+ "id": 478,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -11247,7 +11603,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 365,
"character": 8
}
],
@@ -11261,13 +11617,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [454, 453]
+ "children": [479, 478]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"character": 16
}
]
@@ -11275,7 +11631,7 @@
}
},
{
- "id": 450,
+ "id": 475,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -11286,7 +11642,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 351,
+ "line": 358,
"character": 6
}
],
@@ -11296,7 +11652,7 @@
}
},
{
- "id": 449,
+ "id": 474,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11307,7 +11663,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 356,
"character": 6
}
],
@@ -11321,13 +11677,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [451, 450, 449]
+ "children": [476, 475, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 354,
"character": 4
}
]
@@ -11344,7 +11700,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -11356,7 +11712,7 @@
]
},
{
- "id": 252,
+ "id": 276,
"name": "startAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -11364,20 +11720,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1106,
+ "line": 1288,
"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 desirable. You should hook into your\nplatform's foreground indication mechanism and call these methods\nappropriately to conserve resources.\n\n{@see #stopAutoRefresh}\n"
},
"type": {
"type": "reference",
@@ -11395,7 +11751,7 @@
]
},
{
- "id": 254,
+ "id": 278,
"name": "stopAutoRefresh",
"kind": 2048,
"kindString": "Method",
@@ -11403,19 +11759,20 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 1121,
+ "line": 1301,
"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 +11790,7 @@
]
},
{
- "id": 145,
+ "id": 155,
"name": "updateUser",
"kind": 2048,
"kindString": "Method",
@@ -11441,40 +11798,40 @@
"sources": [
{
"fileName": "src/GoTrueClient.ts",
- "line": 603,
+ "line": 697,
"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 +11845,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 255,
+ "line": 263,
"character": 2
}
],
@@ -11498,7 +11855,7 @@
}
},
{
- "id": 415,
+ "id": 441,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -11511,7 +11868,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -11521,7 +11878,7 @@
}
},
{
- "id": 417,
+ "id": 443,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -11534,7 +11891,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 255,
"character": 2
}
],
@@ -11544,7 +11901,7 @@
}
},
{
- "id": 416,
+ "id": 442,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11557,7 +11914,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 250,
"character": 2
}
],
@@ -11571,25 +11928,65 @@
{
"title": "Properties",
"kind": 1024,
- "children": [418, 415, 417, 416]
+ "children": [444, 441, 443, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 241,
"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": 700,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [160]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
}
],
"type": {
@@ -11597,7 +11994,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 344,
+ "id": 369,
"name": "UserResponse"
}
],
@@ -11609,7 +12006,7 @@
]
},
{
- "id": 119,
+ "id": 129,
"name": "verifyOtp",
"kind": 2048,
"kindString": "Method",
@@ -11617,13 +12014,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 +12030,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 +12048,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 471,
"character": 12
}
],
@@ -11659,14 +12056,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 +12073,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +12106,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -11719,7 +12116,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11732,7 +12129,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -11746,14 +12143,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -11764,7 +12161,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -11774,7 +12171,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -11785,7 +12182,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -11795,7 +12192,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -11806,16 +12203,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +12220,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -11848,26 +12245,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"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 +12275,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -11888,7 +12285,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -11898,21 +12295,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +12322,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -11935,7 +12332,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -11948,7 +12345,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -11962,14 +12359,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -11980,7 +12377,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -11990,7 +12387,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -12001,16 +12398,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +12415,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -12044,6 +12441,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -12055,13 +12456,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"character": 17
}
]
@@ -12077,7 +12478,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 309,
+ "id": 334,
"name": "AuthResponse"
}
],
@@ -12104,20 +12505,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 +12536,7 @@
},
"children": [
{
- "id": 365,
+ "id": 390,
"name": "method",
"kind": 1024,
"kindString": "Property",
@@ -12145,7 +12547,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 152,
+ "line": 159,
"character": 2
}
],
@@ -12155,7 +12557,7 @@
}
},
{
- "id": 366,
+ "id": 391,
"name": "timestamp",
"kind": 1024,
"kindString": "Property",
@@ -12166,7 +12568,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 158,
+ "line": 165,
"character": 2
}
],
@@ -12180,26 +12582,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [365, 366]
+ "children": [390, 391]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 150,
+ "line": 157,
"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 +12615,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 280,
+ "line": 287,
"character": 2
}
],
@@ -12223,7 +12625,7 @@
}
},
{
- "id": 424,
+ "id": 450,
"name": "ban_duration",
"kind": 1024,
"kindString": "Property",
@@ -12237,7 +12639,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 306,
+ "line": 313,
"character": 2
}
],
@@ -12247,36 +12649,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 +12662,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -12299,12 +12672,11 @@
},
"inheritedFrom": {
"type": "reference",
- "id": 415,
- "name": "UserAttributes.email"
+ "name": "Omit.email"
}
},
{
- "id": 422,
+ "id": 448,
"name": "email_confirm",
"kind": 1024,
"kindString": "Property",
@@ -12315,86 +12687,6 @@
"shortText": "Confirms the user's email address if set to true.",
"text": "Only a service role can modify.\n"
},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 287,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "boolean"
- }
- },
- {
- "id": 427,
- "name": "password",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's password."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 247,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 417,
- "name": "UserAttributes.password"
- }
- },
- {
- "id": 426,
- "name": "phone",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "The user's phone."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 242,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- },
- "inheritedFrom": {
- "type": "reference",
- "id": 416,
- "name": "UserAttributes.phone"
- }
- },
- {
- "id": 423,
- "name": "phone_confirm",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "comment": {
- "shortText": "Confirms the user's phone number if set to true.",
- "text": "Only a service role can modify.\n"
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -12408,7 +12700,85 @@
}
},
{
- "id": 420,
+ "id": 451,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.password"
+ }
+ },
+ {
+ "id": 453,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 250,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "name": "Omit.phone"
+ }
+ },
+ {
+ "id": 449,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 301,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 446,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -12417,12 +12787,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": 277,
"character": 2
}
],
@@ -12436,26 +12806,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": 266,
"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 +12861,7 @@
},
"children": [
{
- "id": 383,
+ "id": 408,
"name": "created_at",
"kind": 1024,
"kindString": "Property",
@@ -12487,7 +12869,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 196,
+ "line": 203,
"character": 2
}
],
@@ -12497,7 +12879,7 @@
}
},
{
- "id": 381,
+ "id": 406,
"name": "factor_type",
"kind": 1024,
"kindString": "Property",
@@ -12508,7 +12890,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 191,
+ "line": 198,
"character": 2
}
],
@@ -12518,7 +12900,7 @@
}
},
{
- "id": 380,
+ "id": 405,
"name": "friendly_name",
"kind": 1024,
"kindString": "Property",
@@ -12531,7 +12913,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 185,
+ "line": 192,
"character": 2
}
],
@@ -12541,7 +12923,7 @@
}
},
{
- "id": 379,
+ "id": 404,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -12552,7 +12934,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 182,
+ "line": 189,
"character": 2
}
],
@@ -12562,7 +12944,7 @@
}
},
{
- "id": 382,
+ "id": 407,
"name": "status",
"kind": 1024,
"kindString": "Property",
@@ -12573,7 +12955,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 194,
+ "line": 201,
"character": 2
}
],
@@ -12592,7 +12974,7 @@
}
},
{
- "id": 384,
+ "id": 409,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -12600,7 +12982,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 197,
+ "line": 204,
"character": 2
}
],
@@ -12614,26 +12996,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": 187,
"character": 17
}
]
},
{
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
- "id": 550,
+ "id": 589,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -12647,7 +13029,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 542,
+ "line": 571,
"character": 2
}
],
@@ -12657,7 +13039,7 @@
}
},
{
- "id": 551,
+ "id": 590,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -12670,7 +13052,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 544,
+ "line": 573,
"character": 2
}
],
@@ -12684,19 +13066,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [550, 551]
+ "children": [589, 590]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 536,
+ "line": 565,
"character": 17
}
]
},
{
- "id": 708,
+ "id": 747,
"name": "GoTrueAdminMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -12712,14 +13094,14 @@
},
"children": [
{
- "id": 712,
+ "id": 751,
"name": "deleteFactor",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 713,
+ "id": 752,
"name": "deleteFactor",
"kind": 4096,
"kindString": "Call signature",
@@ -12739,17 +13121,17 @@
},
"parameters": [
{
- "id": 714,
+ "id": 753,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"dereferenced": {
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12765,21 +13147,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -12790,7 +13172,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -12800,7 +13182,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -12811,7 +13193,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -12825,13 +13207,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -12846,7 +13228,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse"
}
],
@@ -12858,14 +13240,14 @@
]
},
{
- "id": 709,
+ "id": 748,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 710,
+ "id": 749,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -12875,17 +13257,17 @@
},
"parameters": [
{
- "id": 711,
+ "id": 750,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"dereferenced": {
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -12901,21 +13283,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -12926,7 +13308,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -12940,13 +13322,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -12961,7 +13343,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse"
}
],
@@ -12977,19 +13359,19 @@
{
"title": "Methods",
"kind": 2048,
- "children": [712, 709]
+ "children": [751, 748]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 874,
+ "line": 903,
"character": 17
}
]
},
{
- "id": 663,
+ "id": 702,
"name": "GoTrueMFAApi",
"kind": 256,
"kindString": "Interface",
@@ -12999,14 +13381,14 @@
},
"children": [
{
- "id": 667,
+ "id": 706,
"name": "challenge",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 668,
+ "id": 707,
"name": "challenge",
"kind": 4096,
"kindString": "Call signature",
@@ -13016,17 +13398,17 @@
},
"parameters": [
{
- "id": 669,
+ "id": 708,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"dereferenced": {
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13034,21 +13416,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13059,7 +13441,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -13073,13 +13455,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -13094,7 +13476,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse"
}
],
@@ -13106,14 +13488,14 @@
]
},
{
- "id": 676,
+ "id": 715,
"name": "challengeAndVerify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 677,
+ "id": 716,
"name": "challengeAndVerify",
"kind": 4096,
"kindString": "Call signature",
@@ -13123,17 +13505,17 @@
},
"parameters": [
{
- "id": 678,
+ "id": 717,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"dereferenced": {
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13141,21 +13523,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -13166,7 +13548,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -13176,7 +13558,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13187,7 +13569,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -13201,13 +13583,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -13222,7 +13604,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -13234,14 +13616,14 @@
]
},
{
- "id": 664,
+ "id": 703,
"name": "enroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 665,
+ "id": 704,
"name": "enroll",
"kind": 4096,
"kindString": "Call signature",
@@ -13252,17 +13634,17 @@
},
"parameters": [
{
- "id": 666,
+ "id": 705,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"dereferenced": {
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13270,21 +13652,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -13295,7 +13677,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -13305,7 +13687,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -13318,7 +13700,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -13328,7 +13710,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -13341,7 +13723,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -13355,13 +13737,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -13376,7 +13758,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse"
}
],
@@ -13388,14 +13770,14 @@
]
},
{
- "id": 681,
+ "id": 720,
"name": "getAuthenticatorAssuranceLevel",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 682,
+ "id": 721,
"name": "getAuthenticatorAssuranceLevel",
"kind": 4096,
"kindString": "Call signature",
@@ -13409,7 +13791,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
}
],
@@ -13421,14 +13803,14 @@
]
},
{
- "id": 679,
+ "id": 718,
"name": "listFactors",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 680,
+ "id": 719,
"name": "listFactors",
"kind": 4096,
"kindString": "Call signature",
@@ -13455,7 +13837,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse"
}
],
@@ -13467,14 +13849,14 @@
]
},
{
- "id": 673,
+ "id": 712,
"name": "unenroll",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 674,
+ "id": 713,
"name": "unenroll",
"kind": 4096,
"kindString": "Call signature",
@@ -13484,17 +13866,17 @@
},
"parameters": [
{
- "id": 675,
+ "id": 714,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"dereferenced": {
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13502,21 +13884,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13527,7 +13909,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -13541,13 +13923,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -13562,7 +13944,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse"
}
],
@@ -13574,14 +13956,14 @@
]
},
{
- "id": 670,
+ "id": 709,
"name": "verify",
"kind": 2048,
"kindString": "Method",
"flags": {},
"signatures": [
{
- "id": 671,
+ "id": 710,
"name": "verify",
"kind": 4096,
"kindString": "Call signature",
@@ -13591,17 +13973,17 @@
},
"parameters": [
{
- "id": 672,
+ "id": 711,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {},
"type": {
"type": "reference",
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"dereferenced": {
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -13609,21 +13991,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -13634,7 +14016,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -13644,7 +14026,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -13655,7 +14037,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -13665,7 +14047,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -13676,7 +14058,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -13690,13 +14072,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -13711,7 +14093,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse"
}
],
@@ -13727,26 +14109,26 @@
{
"title": "Methods",
"kind": 2048,
- "children": [667, 676, 664, 681, 679, 673, 670]
+ "children": [706, 715, 703, 720, 718, 712, 709]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 761,
+ "line": 790,
"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 +14139,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 125,
+ "line": 132,
"character": 2
}
],
@@ -13767,7 +14149,7 @@
}
},
{
- "id": 361,
+ "id": 386,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -13780,7 +14162,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 137,
+ "line": 144,
"character": 2
}
],
@@ -13790,7 +14172,7 @@
}
},
{
- "id": 360,
+ "id": 385,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -13801,7 +14183,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 133,
+ "line": 140,
"character": 2
}
],
@@ -13811,7 +14193,7 @@
}
},
{
- "id": 357,
+ "id": 382,
"name": "provider_refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -13824,7 +14206,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 121,
+ "line": 128,
"character": 2
}
],
@@ -13843,7 +14225,7 @@
}
},
{
- "id": 356,
+ "id": 381,
"name": "provider_token",
"kind": 1024,
"kindString": "Property",
@@ -13856,7 +14238,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 116,
+ "line": 123,
"character": 2
}
],
@@ -13875,7 +14257,7 @@
}
},
{
- "id": 359,
+ "id": 384,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -13886,7 +14268,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 129,
+ "line": 136,
"character": 2
}
],
@@ -13896,7 +14278,7 @@
}
},
{
- "id": 362,
+ "id": 387,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -13904,7 +14286,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 138,
+ "line": 145,
"character": 2
}
],
@@ -13914,7 +14296,7 @@
}
},
{
- "id": 363,
+ "id": 388,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -13922,456 +14304,29 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 139,
+ "line": 146,
"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",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -14385,8 +14340,169 @@
}
},
{
- "id": 411,
- "name": "updated_at",
+ "id": 419,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "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": 208,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [411]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 207,
+ "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": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 432,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 431,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 429,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -14405,7 +14521,293 @@
}
},
{
- "id": 395,
+ "id": 424,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 433,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "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": 238,
+ "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": 217,
+ "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": 237,
+ "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": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 225,
+ "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": 229,
+ "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": 233,
+ "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": 222,
+ "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": 235,
+ "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": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -14413,16 +14815,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 219,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"dereferenced": {
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -14430,19 +14832,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +14868,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": 216,
"character": 17
}
]
@@ -14486,26 +14888,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": 119,
"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 +14918,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 313,
+ "line": 320,
"character": 2
}
],
@@ -14526,7 +14928,7 @@
}
},
{
- "id": 431,
+ "id": 456,
"name": "callback",
"kind": 2048,
"kindString": "Method",
@@ -14534,13 +14936,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 317,
+ "line": 324,
"character": 2
}
],
"signatures": [
{
- "id": 432,
+ "id": 457,
"name": "callback",
"kind": 4096,
"kindString": "Call signature",
@@ -14550,17 +14952,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 +14977,10 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
@@ -14600,7 +15006,7 @@
"value": "USER_DELETED"
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -14623,7 +15029,7 @@
}
},
{
- "id": 434,
+ "id": 459,
"name": "session",
"kind": 32768,
"kindString": "Parameter",
@@ -14637,7 +15043,7 @@
},
{
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
]
@@ -14652,7 +15058,7 @@
]
},
{
- "id": 435,
+ "id": 460,
"name": "unsubscribe",
"kind": 2048,
"kindString": "Method",
@@ -14660,13 +15066,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 321,
+ "line": 328,
"character": 2
}
],
"signatures": [
{
- "id": 436,
+ "id": 461,
"name": "unsubscribe",
"kind": 4096,
"kindString": "Call signature",
@@ -14686,31 +15092,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": 316,
"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 +15124,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 325,
+ "line": 332,
"character": 2
}
],
@@ -14732,459 +15138,32 @@
{
"title": "Properties",
"kind": 1024,
- "children": [438]
+ "children": [463]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 324,
+ "line": 331,
"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",
- "line": 221,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 408,
- "name": "phone_confirmed_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 225,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 398,
- "name": "recovery_sent_at",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 215,
- "character": 2
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- },
- {
- "id": 410,
- "name": "role",
- "kind": 1024,
- "kindString": "Property",
- "flags": {
- "isOptional": true
- },
"sources": [
{
"fileName": "src/lib/types.ts",
@@ -15198,8 +15177,169 @@
}
},
{
- "id": 411,
- "name": "updated_at",
+ "id": 419,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "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": 208,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [411]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 207,
+ "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": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 422,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 432,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 231,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 431,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 429,
+ "name": "email",
"kind": 1024,
"kindString": "Property",
"flags": {
@@ -15218,7 +15358,293 @@
}
},
{
- "id": 395,
+ "id": 424,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 433,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 232,
+ "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": 238,
+ "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": 217,
+ "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": 237,
+ "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": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 435,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 234,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 425,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "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": 225,
+ "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": 229,
+ "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": 233,
+ "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": 222,
+ "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": 235,
+ "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": 236,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
"name": "user_metadata",
"kind": 1024,
"kindString": "Property",
@@ -15226,16 +15652,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 212,
+ "line": 219,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"dereferenced": {
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -15243,19 +15669,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +15705,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": 216,
"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 +15736,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 201,
+ "line": 208,
"character": 2
}
],
@@ -15324,25 +15750,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [386]
+ "children": [411]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 200,
+ "line": 207,
"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 +15785,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 +15806,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 255,
+ "line": 263,
"character": 2
}
],
@@ -15390,7 +15816,7 @@
}
},
{
- "id": 415,
+ "id": 441,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -15403,7 +15829,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 237,
+ "line": 245,
"character": 2
}
],
@@ -15413,7 +15839,7 @@
}
},
{
- "id": 417,
+ "id": 443,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -15426,7 +15852,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 247,
+ "line": 255,
"character": 2
}
],
@@ -15436,7 +15862,7 @@
}
},
{
- "id": 416,
+ "id": 442,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -15449,7 +15875,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 242,
+ "line": 250,
"character": 2
}
],
@@ -15463,41 +15889,36 @@
{
"title": "Properties",
"kind": 1024,
- "children": [418, 415, 417, 416]
+ "children": [444, 441, 443, 442]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 233,
+ "line": 241,
"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": 175,
"character": 2
}
],
@@ -15507,7 +15928,7 @@
}
},
{
- "id": 368,
+ "id": 393,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -15515,7 +15936,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 162,
+ "line": 169,
"character": 2
}
],
@@ -15525,35 +15946,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": 171,
"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,15 +15995,17 @@
}
},
{
- "id": 376,
+ "id": 401,
"name": "last_sign_in_at",
"kind": 1024,
"kindString": "Property",
- "flags": {},
+ "flags": {
+ "isOptional": true
+ },
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 169,
+ "line": 176,
"character": 2
}
],
@@ -15590,7 +16015,7 @@
}
},
{
- "id": 374,
+ "id": 399,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -15598,7 +16023,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 167,
+ "line": 174,
"character": 2
}
],
@@ -15608,7 +16033,7 @@
}
},
{
- "id": 377,
+ "id": 402,
"name": "updated_at",
"kind": 1024,
"kindString": "Property",
@@ -15618,7 +16043,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 170,
+ "line": 177,
"character": 2
}
],
@@ -15628,7 +16053,7 @@
}
},
{
- "id": 369,
+ "id": 394,
"name": "user_id",
"kind": 1024,
"kindString": "Property",
@@ -15636,7 +16061,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 163,
+ "line": 170,
"character": 2
}
],
@@ -15650,19 +16075,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": 168,
"character": 17
}
]
},
{
- "id": 389,
+ "id": 414,
"name": "UserMetadata",
"kind": 256,
"kindString": "Interface",
@@ -15670,19 +16095,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 205,
+ "line": 212,
"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 +16124,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 +16142,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -15727,7 +16152,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -15737,21 +16162,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +16189,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -15774,7 +16199,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -15787,7 +16212,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -15801,14 +16226,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -15819,7 +16244,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -15829,7 +16254,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -15840,16 +16265,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +16282,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -15883,6 +16308,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -15894,26 +16323,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"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 +16352,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +16385,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -15966,7 +16395,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -15979,7 +16408,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -15993,14 +16422,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -16011,7 +16440,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -16021,7 +16450,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -16032,7 +16461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -16042,7 +16471,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -16053,16 +16482,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +16499,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -16095,19 +16524,19 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"character": 17
}
]
},
{
- "id": 295,
+ "id": 320,
"name": "AuthChangeEvent",
"kind": 4194304,
"kindString": "Type alias",
@@ -16122,6 +16551,10 @@
"type": {
"type": "union",
"types": [
+ {
+ "type": "literal",
+ "value": "INITIAL_SESSION"
+ },
{
"type": "literal",
"value": "PASSWORD_RECOVERY"
@@ -16147,7 +16580,7 @@
"value": "USER_DELETED"
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -16168,7 +16601,7 @@
}
},
{
- "id": 294,
+ "id": 319,
"name": "AuthChangeEventMFA",
"kind": 4194304,
"kindString": "Type alias",
@@ -16186,7 +16619,7 @@
}
},
{
- "id": 692,
+ "id": 731,
"name": "AuthMFAAdminDeleteFactorParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -16202,21 +16635,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 693,
+ "id": 732,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 694,
+ "id": 733,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16227,7 +16660,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 842,
+ "line": 871,
"character": 2
}
],
@@ -16237,7 +16670,7 @@
}
},
{
- "id": 695,
+ "id": 734,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -16248,7 +16681,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 845,
+ "line": 874,
"character": 2
}
],
@@ -16262,13 +16695,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [694, 695]
+ "children": [733, 734]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 840,
+ "line": 869,
"character": 45
}
]
@@ -16276,7 +16709,7 @@
}
},
{
- "id": 683,
+ "id": 722,
"name": "AuthMFAAdminDeleteFactorResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -16292,7 +16725,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 827,
+ "line": 856,
"character": 12
}
],
@@ -16302,14 +16735,14 @@
{
"type": "reflection",
"declaration": {
- "id": 684,
+ "id": 723,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 685,
+ "id": 724,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16317,21 +16750,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 686,
+ "id": 725,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 687,
+ "id": 726,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16342,7 +16775,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 831,
+ "line": 860,
"character": 8
}
],
@@ -16356,13 +16789,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [687]
+ "children": [726]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 829,
+ "line": 858,
"character": 12
}
]
@@ -16370,7 +16803,7 @@
}
},
{
- "id": 688,
+ "id": 727,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16378,7 +16811,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 833,
+ "line": 862,
"character": 6
}
],
@@ -16392,13 +16825,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [685, 688]
+ "children": [724, 727]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 828,
+ "line": 857,
"character": 4
}
]
@@ -16407,14 +16840,14 @@
{
"type": "reflection",
"declaration": {
- "id": 689,
+ "id": 728,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 690,
+ "id": 729,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16422,7 +16855,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 6
}
],
@@ -16432,7 +16865,7 @@
}
},
{
- "id": 691,
+ "id": 730,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16440,13 +16873,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -16455,13 +16888,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [690, 691]
+ "children": [729, 730]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 835,
+ "line": 864,
"character": 4
}
]
@@ -16471,7 +16904,7 @@
}
},
{
- "id": 705,
+ "id": 744,
"name": "AuthMFAAdminListFactorsParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -16487,21 +16920,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 706,
+ "id": 745,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 707,
+ "id": 746,
"name": "userId",
"kind": 1024,
"kindString": "Property",
@@ -16512,7 +16945,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 866,
+ "line": 895,
"character": 2
}
],
@@ -16526,13 +16959,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [707]
+ "children": [746]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 864,
+ "line": 893,
"character": 44
}
]
@@ -16540,7 +16973,7 @@
}
},
{
- "id": 696,
+ "id": 735,
"name": "AuthMFAAdminListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -16556,7 +16989,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 851,
+ "line": 880,
"character": 12
}
],
@@ -16566,14 +16999,14 @@
{
"type": "reflection",
"declaration": {
- "id": 697,
+ "id": 736,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 698,
+ "id": 737,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16581,21 +17014,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 699,
+ "id": 738,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 700,
+ "id": 739,
"name": "factors",
"kind": 1024,
"kindString": "Property",
@@ -16606,7 +17039,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 855,
+ "line": 884,
"character": 8
}
],
@@ -16614,7 +17047,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -16624,13 +17057,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [700]
+ "children": [739]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 853,
+ "line": 882,
"character": 12
}
]
@@ -16638,7 +17071,7 @@
}
},
{
- "id": 701,
+ "id": 740,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16646,7 +17079,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 857,
+ "line": 886,
"character": 6
}
],
@@ -16660,13 +17093,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [698, 701]
+ "children": [737, 740]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 852,
+ "line": 881,
"character": 4
}
]
@@ -16675,14 +17108,14 @@
{
"type": "reflection",
"declaration": {
- "id": 702,
+ "id": 741,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 703,
+ "id": 742,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16690,7 +17123,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 6
}
],
@@ -16700,7 +17133,7 @@
}
},
{
- "id": 704,
+ "id": 743,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16708,13 +17141,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -16723,13 +17156,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [703, 704]
+ "children": [742, 743]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 859,
+ "line": 888,
"character": 4
}
]
@@ -16739,7 +17172,7 @@
}
},
{
- "id": 631,
+ "id": 670,
"name": "AuthMFAChallengeResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -16747,7 +17180,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 704,
+ "line": 733,
"character": 12
}
],
@@ -16757,14 +17190,14 @@
{
"type": "reflection",
"declaration": {
- "id": 632,
+ "id": 671,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 633,
+ "id": 672,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16772,21 +17205,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 634,
+ "id": 673,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 636,
+ "id": 675,
"name": "expires_at",
"kind": 1024,
"kindString": "Property",
@@ -16797,7 +17230,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 711,
+ "line": 740,
"character": 8
}
],
@@ -16807,7 +17240,7 @@
}
},
{
- "id": 635,
+ "id": 674,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -16818,7 +17251,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 708,
+ "line": 737,
"character": 8
}
],
@@ -16832,13 +17265,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [636, 635]
+ "children": [675, 674]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 706,
+ "line": 735,
"character": 12
}
]
@@ -16846,7 +17279,7 @@
}
},
{
- "id": 637,
+ "id": 676,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16854,7 +17287,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 713,
+ "line": 742,
"character": 6
}
],
@@ -16868,13 +17301,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [633, 637]
+ "children": [672, 676]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 705,
+ "line": 734,
"character": 4
}
]
@@ -16883,14 +17316,14 @@
{
"type": "reflection",
"declaration": {
- "id": 638,
+ "id": 677,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 639,
+ "id": 678,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16898,7 +17331,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 6
}
],
@@ -16908,7 +17341,7 @@
}
},
{
- "id": 640,
+ "id": 679,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -16916,13 +17349,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -16931,13 +17364,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [639, 640]
+ "children": [678, 679]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 715,
+ "line": 744,
"character": 4
}
]
@@ -16947,7 +17380,7 @@
}
},
{
- "id": 607,
+ "id": 646,
"name": "AuthMFAEnrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -16955,7 +17388,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 661,
+ "line": 690,
"character": 12
}
],
@@ -16965,14 +17398,14 @@
{
"type": "reflection",
"declaration": {
- "id": 608,
+ "id": 647,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 609,
+ "id": 648,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -16980,21 +17413,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 610,
+ "id": 649,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 611,
+ "id": 650,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -17005,7 +17438,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 665,
+ "line": 694,
"character": 8
}
],
@@ -17015,7 +17448,7 @@
}
},
{
- "id": 613,
+ "id": 652,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -17026,21 +17459,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 8
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 614,
+ "id": 653,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 615,
+ "id": 654,
"name": "qr_code",
"kind": 1024,
"kindString": "Property",
@@ -17051,7 +17484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 675,
+ "line": 704,
"character": 10
}
],
@@ -17061,7 +17494,7 @@
}
},
{
- "id": 616,
+ "id": 655,
"name": "secret",
"kind": 1024,
"kindString": "Property",
@@ -17072,7 +17505,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 680,
+ "line": 709,
"character": 10
}
],
@@ -17082,7 +17515,7 @@
}
},
{
- "id": 617,
+ "id": 656,
"name": "uri",
"kind": 1024,
"kindString": "Property",
@@ -17093,7 +17526,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 684,
+ "line": 713,
"character": 10
}
],
@@ -17107,13 +17540,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [615, 616, 617]
+ "children": [654, 655, 656]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 671,
+ "line": 700,
"character": 14
}
]
@@ -17121,7 +17554,7 @@
}
},
{
- "id": 612,
+ "id": 651,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -17132,7 +17565,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 668,
+ "line": 697,
"character": 8
}
],
@@ -17146,13 +17579,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [611, 613, 612]
+ "children": [650, 652, 651]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 663,
+ "line": 692,
"character": 12
}
]
@@ -17160,7 +17593,7 @@
}
},
{
- "id": 618,
+ "id": 657,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17168,7 +17601,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 687,
+ "line": 716,
"character": 6
}
],
@@ -17182,13 +17615,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [609, 618]
+ "children": [648, 657]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 662,
+ "line": 691,
"character": 4
}
]
@@ -17197,14 +17630,14 @@
{
"type": "reflection",
"declaration": {
- "id": 619,
+ "id": 658,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 620,
+ "id": 659,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17212,7 +17645,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 690,
+ "line": 719,
"character": 6
}
],
@@ -17222,7 +17655,7 @@
}
},
{
- "id": 621,
+ "id": 660,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17230,13 +17663,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 691,
+ "line": 720,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -17245,13 +17678,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [620, 621]
+ "children": [659, 660]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 689,
+ "line": 718,
"character": 4
}
]
@@ -17261,7 +17694,7 @@
}
},
{
- "id": 652,
+ "id": 691,
"name": "AuthMFAGetAuthenticatorAssuranceLevelResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -17269,7 +17702,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 732,
+ "line": 761,
"character": 12
}
],
@@ -17279,14 +17712,14 @@
{
"type": "reflection",
"declaration": {
- "id": 653,
+ "id": 692,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 654,
+ "id": 693,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17294,21 +17727,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 655,
+ "id": 694,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 658,
+ "id": 697,
"name": "currentAuthenticationMethods",
"kind": 1024,
"kindString": "Property",
@@ -17319,7 +17752,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 751,
+ "line": 780,
"character": 8
}
],
@@ -17327,13 +17760,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 364,
+ "id": 389,
"name": "AMREntry"
}
}
},
{
- "id": 656,
+ "id": 695,
"name": "currentLevel",
"kind": 1024,
"kindString": "Property",
@@ -17344,7 +17777,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 736,
+ "line": 765,
"character": 8
}
],
@@ -17353,7 +17786,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -17364,7 +17797,7 @@
}
},
{
- "id": 657,
+ "id": 696,
"name": "nextLevel",
"kind": 1024,
"kindString": "Property",
@@ -17381,7 +17814,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 744,
+ "line": 773,
"character": 8
}
],
@@ -17390,7 +17823,7 @@
"types": [
{
"type": "reference",
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels"
},
{
@@ -17405,13 +17838,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [658, 656, 657]
+ "children": [697, 695, 696]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 734,
+ "line": 763,
"character": 12
}
]
@@ -17419,7 +17852,7 @@
}
},
{
- "id": 659,
+ "id": 698,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17427,7 +17860,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 753,
+ "line": 782,
"character": 6
}
],
@@ -17441,13 +17874,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [654, 659]
+ "children": [693, 698]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 733,
+ "line": 762,
"character": 4
}
]
@@ -17456,14 +17889,14 @@
{
"type": "reflection",
"declaration": {
- "id": 660,
+ "id": 699,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 661,
+ "id": 700,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17471,7 +17904,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 6
}
],
@@ -17481,7 +17914,7 @@
}
},
{
- "id": 662,
+ "id": 701,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17489,13 +17922,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -17504,13 +17937,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [661, 662]
+ "children": [700, 701]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 755,
+ "line": 784,
"character": 4
}
]
@@ -17520,7 +17953,7 @@
}
},
{
- "id": 641,
+ "id": 680,
"name": "AuthMFAListFactorsResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -17528,7 +17961,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 717,
+ "line": 746,
"character": 12
}
],
@@ -17538,14 +17971,14 @@
{
"type": "reflection",
"declaration": {
- "id": 642,
+ "id": 681,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 643,
+ "id": 682,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17553,21 +17986,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 644,
+ "id": 683,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 645,
+ "id": 684,
"name": "all",
"kind": 1024,
"kindString": "Property",
@@ -17578,7 +18011,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 721,
+ "line": 750,
"character": 8
}
],
@@ -17586,13 +18019,13 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
},
{
- "id": 646,
+ "id": 685,
"name": "totp",
"kind": 1024,
"kindString": "Property",
@@ -17603,7 +18036,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 724,
+ "line": 753,
"character": 8
}
],
@@ -17611,7 +18044,7 @@
"type": "array",
"elementType": {
"type": "reference",
- "id": 378,
+ "id": 403,
"name": "Factor"
}
}
@@ -17621,13 +18054,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [645, 646]
+ "children": [684, 685]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 719,
+ "line": 748,
"character": 12
}
]
@@ -17635,7 +18068,7 @@
}
},
{
- "id": 647,
+ "id": 686,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17643,7 +18076,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 726,
+ "line": 755,
"character": 6
}
],
@@ -17657,13 +18090,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [643, 647]
+ "children": [682, 686]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 718,
+ "line": 747,
"character": 4
}
]
@@ -17672,14 +18105,14 @@
{
"type": "reflection",
"declaration": {
- "id": 648,
+ "id": 687,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 649,
+ "id": 688,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17687,7 +18120,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 6
}
],
@@ -17697,7 +18130,7 @@
}
},
{
- "id": 650,
+ "id": 689,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17705,13 +18138,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -17720,13 +18153,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [649, 650]
+ "children": [688, 689]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 728,
+ "line": 757,
"character": 4
}
]
@@ -17736,7 +18169,7 @@
}
},
{
- "id": 622,
+ "id": 661,
"name": "AuthMFAUnenrollResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -17744,7 +18177,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 694,
+ "line": 723,
"character": 12
}
],
@@ -17754,14 +18187,14 @@
{
"type": "reflection",
"declaration": {
- "id": 623,
+ "id": 662,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 624,
+ "id": 663,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17769,21 +18202,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 625,
+ "id": 664,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 626,
+ "id": 665,
"name": "id",
"kind": 1024,
"kindString": "Property",
@@ -17794,7 +18227,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 698,
+ "line": 727,
"character": 8
}
],
@@ -17808,13 +18241,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [626]
+ "children": [665]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 696,
+ "line": 725,
"character": 12
}
]
@@ -17822,7 +18255,7 @@
}
},
{
- "id": 627,
+ "id": 666,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17830,7 +18263,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 700,
+ "line": 729,
"character": 6
}
],
@@ -17844,13 +18277,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [624, 627]
+ "children": [663, 666]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 695,
+ "line": 724,
"character": 4
}
]
@@ -17859,14 +18292,14 @@
{
"type": "reflection",
"declaration": {
- "id": 628,
+ "id": 667,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 629,
+ "id": 668,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17874,7 +18307,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 6
}
],
@@ -17884,7 +18317,7 @@
}
},
{
- "id": 630,
+ "id": 669,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -17892,13 +18325,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 18
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -17907,13 +18340,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [629, 630]
+ "children": [668, 669]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 702,
+ "line": 731,
"character": 4
}
]
@@ -17923,7 +18356,7 @@
}
},
{
- "id": 594,
+ "id": 633,
"name": "AuthMFAVerifyResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -17931,7 +18364,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 636,
+ "line": 665,
"character": 12
}
],
@@ -17941,14 +18374,14 @@
{
"type": "reflection",
"declaration": {
- "id": 595,
+ "id": 634,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 596,
+ "id": 635,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -17956,21 +18389,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 597,
+ "id": 636,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 598,
+ "id": 637,
"name": "access_token",
"kind": 1024,
"kindString": "Property",
@@ -17981,7 +18414,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 640,
+ "line": 669,
"character": 8
}
],
@@ -17991,7 +18424,7 @@
}
},
{
- "id": 600,
+ "id": 639,
"name": "expires_in",
"kind": 1024,
"kindString": "Property",
@@ -18002,7 +18435,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 646,
+ "line": 675,
"character": 8
}
],
@@ -18012,7 +18445,7 @@
}
},
{
- "id": 601,
+ "id": 640,
"name": "refresh_token",
"kind": 1024,
"kindString": "Property",
@@ -18023,7 +18456,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 649,
+ "line": 678,
"character": 8
}
],
@@ -18033,7 +18466,7 @@
}
},
{
- "id": 599,
+ "id": 638,
"name": "token_type",
"kind": 1024,
"kindString": "Property",
@@ -18044,7 +18477,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 643,
+ "line": 672,
"character": 8
}
],
@@ -18054,7 +18487,7 @@
}
},
{
- "id": 602,
+ "id": 641,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -18065,13 +18498,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 652,
+ "line": 681,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -18080,13 +18513,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [598, 600, 601, 599, 602]
+ "children": [637, 639, 640, 638, 641]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 638,
+ "line": 667,
"character": 12
}
]
@@ -18094,7 +18527,7 @@
}
},
{
- "id": 603,
+ "id": 642,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18102,7 +18535,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 654,
+ "line": 683,
"character": 6
}
],
@@ -18116,13 +18549,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [596, 603]
+ "children": [635, 642]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 637,
+ "line": 666,
"character": 4
}
]
@@ -18131,14 +18564,14 @@
{
"type": "reflection",
"declaration": {
- "id": 604,
+ "id": 643,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 605,
+ "id": 644,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -18146,7 +18579,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 657,
+ "line": 686,
"character": 6
}
],
@@ -18156,7 +18589,7 @@
}
},
{
- "id": 606,
+ "id": 645,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18164,13 +18597,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 658,
+ "line": 687,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -18179,13 +18612,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [605, 606]
+ "children": [644, 645]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 656,
+ "line": 685,
"character": 4
}
]
@@ -18195,7 +18628,7 @@
}
},
{
- "id": 309,
+ "id": 334,
"name": "AuthResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -18203,7 +18636,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 53,
+ "line": 54,
"character": 12
}
],
@@ -18213,14 +18646,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 +18661,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 +18720,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 +18735,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 +18749,7 @@
}
},
{
- "id": 315,
+ "id": 340,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18324,7 +18757,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 59,
+ "line": 60,
"character": 6
}
],
@@ -18338,13 +18771,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 +18786,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 +18801,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 +18849,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 +18869,7 @@
}
},
{
- "id": 321,
+ "id": 346,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18444,13 +18877,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 66,
+ "line": 67,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -18459,13 +18892,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 +18908,7 @@
}
},
{
- "id": 651,
+ "id": 690,
"name": "AuthenticatorAssuranceLevels",
"kind": 4194304,
"kindString": "Type alias",
@@ -18483,7 +18916,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 730,
+ "line": 759,
"character": 12
}
],
@@ -18502,7 +18935,7 @@
}
},
{
- "id": 719,
+ "id": 758,
"name": "CallRefreshTokenResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -18510,7 +18943,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 905,
+ "line": 934,
"character": 12
}
],
@@ -18520,14 +18953,14 @@
{
"type": "reflection",
"declaration": {
- "id": 720,
+ "id": 759,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 722,
+ "id": 761,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18535,7 +18968,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 908,
+ "line": 937,
"character": 6
}
],
@@ -18545,7 +18978,7 @@
}
},
{
- "id": 721,
+ "id": 760,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -18553,13 +18986,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 907,
+ "line": 936,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 355,
+ "id": 380,
"name": "Session"
}
}
@@ -18568,13 +19001,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [722, 721]
+ "children": [761, 760]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 906,
+ "line": 935,
"character": 4
}
]
@@ -18583,14 +19016,14 @@
{
"type": "reflection",
"declaration": {
- "id": 723,
+ "id": 762,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 725,
+ "id": 764,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -18598,18 +19031,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 912,
+ "line": 941,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
},
{
- "id": 724,
+ "id": 763,
"name": "session",
"kind": 1024,
"kindString": "Property",
@@ -18617,7 +19050,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 911,
+ "line": 940,
"character": 6
}
],
@@ -18631,13 +19064,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [725, 724]
+ "children": [764, 763]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 910,
+ "line": 939,
"character": 4
}
]
@@ -18647,7 +19080,7 @@
}
},
{
- "id": 516,
+ "id": 552,
"name": "EmailOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -18655,7 +19088,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -18681,12 +19114,16 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18694,21 +19131,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -18719,7 +19156,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -18729,7 +19166,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -18740,7 +19177,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -18750,7 +19187,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18760,7 +19197,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -18769,7 +19206,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -18783,7 +19220,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -18791,7 +19228,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -18814,13 +19251,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -18828,7 +19265,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18836,21 +19273,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -18861,7 +19298,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -18871,7 +19308,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -18881,7 +19318,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -18890,7 +19327,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -18913,7 +19350,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -18921,7 +19358,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -18944,13 +19381,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -18958,7 +19395,7 @@
}
},
{
- "id": 552,
+ "id": 591,
"name": "GenerateLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18966,7 +19403,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 547,
+ "line": 576,
"character": 12
}
],
@@ -18974,7 +19411,7 @@
"type": "union",
"types": [
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -18982,21 +19419,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19004,7 +19441,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -19014,7 +19451,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19024,7 +19461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -19033,7 +19470,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -19056,7 +19493,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -19064,7 +19501,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -19074,7 +19511,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19082,7 +19519,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -19096,13 +19533,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -19110,7 +19547,7 @@
}
},
{
- "id": 533,
+ "id": 572,
"name": "GenerateInviteOrMagiclinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19118,21 +19555,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 534,
+ "id": 573,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 536,
+ "id": 575,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19143,7 +19580,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 514,
+ "line": 543,
"character": 2
}
],
@@ -19153,7 +19590,7 @@
}
},
{
- "id": 537,
+ "id": 576,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19163,7 +19600,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 515,
+ "line": 544,
"character": 2
}
],
@@ -19172,7 +19609,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -19195,7 +19632,7 @@
}
},
{
- "id": 535,
+ "id": 574,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19203,7 +19640,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 512,
+ "line": 541,
"character": 2
}
],
@@ -19226,13 +19663,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [536, 537, 535]
+ "children": [575, 576, 574]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 511,
+ "line": 540,
"character": 46
}
]
@@ -19240,7 +19677,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19248,21 +19685,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19273,7 +19710,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -19283,7 +19720,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19293,7 +19730,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -19302,7 +19739,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -19316,7 +19753,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19324,7 +19761,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -19338,13 +19775,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -19352,7 +19789,7 @@
}
},
{
- "id": 543,
+ "id": 582,
"name": "GenerateEmailChangeLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -19360,21 +19797,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 544,
+ "id": 583,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 546,
+ "id": 585,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -19385,7 +19822,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 528,
+ "line": 557,
"character": 2
}
],
@@ -19395,7 +19832,7 @@
}
},
{
- "id": 547,
+ "id": 586,
"name": "newEmail",
"kind": 1024,
"kindString": "Property",
@@ -19406,7 +19843,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 532,
+ "line": 561,
"character": 2
}
],
@@ -19416,7 +19853,7 @@
}
},
{
- "id": 548,
+ "id": 587,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -19426,7 +19863,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 533,
+ "line": 562,
"character": 2
}
],
@@ -19435,7 +19872,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -19449,7 +19886,7 @@
}
},
{
- "id": 545,
+ "id": 584,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -19457,7 +19894,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 526,
+ "line": 555,
"character": 2
}
],
@@ -19480,13 +19917,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [546, 547, 548, 545]
+ "children": [585, 586, 587, 584]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 525,
+ "line": 554,
"character": 44
}
]
@@ -19497,7 +19934,7 @@
}
},
{
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties",
"kind": 4194304,
"kindString": "Type alias",
@@ -19508,21 +19945,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 567,
+ "id": 606,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 568,
+ "id": 607,
"name": "action_link",
"kind": 1024,
"kindString": "Property",
@@ -19533,7 +19970,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 575,
+ "line": 604,
"character": 2
}
],
@@ -19543,7 +19980,7 @@
}
},
{
- "id": 569,
+ "id": 608,
"name": "email_otp",
"kind": 1024,
"kindString": "Property",
@@ -19554,7 +19991,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 580,
+ "line": 609,
"character": 2
}
],
@@ -19564,7 +20001,7 @@
}
},
{
- "id": 570,
+ "id": 609,
"name": "hashed_token",
"kind": 1024,
"kindString": "Property",
@@ -19575,7 +20012,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 584,
+ "line": 613,
"character": 2
}
],
@@ -19585,7 +20022,7 @@
}
},
{
- "id": 571,
+ "id": 610,
"name": "redirect_to",
"kind": 1024,
"kindString": "Property",
@@ -19596,7 +20033,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 586,
+ "line": 615,
"character": 2
}
],
@@ -19606,7 +20043,7 @@
}
},
{
- "id": 572,
+ "id": 611,
"name": "verification_type",
"kind": 1024,
"kindString": "Property",
@@ -19617,16 +20054,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 588,
+ "line": 617,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"dereferenced": {
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -19634,7 +20071,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 591,
+ "line": 620,
"character": 12
}
],
@@ -19675,13 +20112,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [568, 569, 570, 571, 572]
+ "children": [607, 608, 609, 610, 611]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 570,
+ "line": 599,
"character": 37
}
]
@@ -19689,7 +20126,7 @@
}
},
{
- "id": 553,
+ "id": 592,
"name": "GenerateLinkResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -19697,7 +20134,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 553,
+ "line": 582,
"character": 12
}
],
@@ -19707,14 +20144,14 @@
{
"type": "reflection",
"declaration": {
- "id": 554,
+ "id": 593,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 555,
+ "id": 594,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19722,21 +20159,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 556,
+ "id": 595,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 557,
+ "id": 596,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -19744,18 +20181,18 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 556,
+ "line": 585,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 566,
+ "id": 605,
"name": "GenerateLinkProperties"
}
},
{
- "id": 558,
+ "id": 597,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -19763,13 +20200,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 557,
+ "line": 586,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -19778,13 +20215,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [557, 558]
+ "children": [596, 597]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 555,
+ "line": 584,
"character": 12
}
]
@@ -19792,7 +20229,7 @@
}
},
{
- "id": 559,
+ "id": 598,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19800,7 +20237,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 559,
+ "line": 588,
"character": 6
}
],
@@ -19814,13 +20251,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [555, 559]
+ "children": [594, 598]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 554,
+ "line": 583,
"character": 4
}
]
@@ -19829,14 +20266,14 @@
{
"type": "reflection",
"declaration": {
- "id": 560,
+ "id": 599,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 561,
+ "id": 600,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -19844,21 +20281,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 562,
+ "id": 601,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 563,
+ "id": 602,
"name": "properties",
"kind": 1024,
"kindString": "Property",
@@ -19866,7 +20303,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 563,
+ "line": 592,
"character": 8
}
],
@@ -19876,7 +20313,7 @@
}
},
{
- "id": 564,
+ "id": 603,
"name": "user",
"kind": 1024,
"kindString": "Property",
@@ -19884,7 +20321,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 564,
+ "line": 593,
"character": 8
}
],
@@ -19898,13 +20335,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [563, 564]
+ "children": [602, 603]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 562,
+ "line": 591,
"character": 12
}
]
@@ -19912,7 +20349,7 @@
}
},
{
- "id": 565,
+ "id": 604,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -19920,13 +20357,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 566,
+ "line": 595,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -19935,13 +20372,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [561, 565]
+ "children": [600, 604]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 561,
+ "line": 590,
"character": 4
}
]
@@ -19951,7 +20388,7 @@
}
},
{
- "id": 573,
+ "id": 612,
"name": "GenerateLinkType",
"kind": 4194304,
"kindString": "Type alias",
@@ -19959,7 +20396,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 591,
+ "line": 620,
"character": 12
}
],
@@ -19994,7 +20431,7 @@
}
},
{
- "id": 538,
+ "id": 577,
"name": "GenerateRecoveryLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20002,21 +20439,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 539,
+ "id": 578,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 541,
+ "id": 580,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -20027,7 +20464,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 521,
+ "line": 550,
"character": 2
}
],
@@ -20037,7 +20474,7 @@
}
},
{
- "id": 542,
+ "id": 581,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -20047,7 +20484,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 522,
+ "line": 551,
"character": 2
}
],
@@ -20056,7 +20493,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -20070,7 +20507,7 @@
}
},
{
- "id": 540,
+ "id": 579,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -20078,7 +20515,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 519,
+ "line": 548,
"character": 2
}
],
@@ -20092,13 +20529,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [541, 542, 540]
+ "children": [580, 581, 579]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 518,
+ "line": 547,
"character": 41
}
]
@@ -20106,7 +20543,7 @@
}
},
{
- "id": 527,
+ "id": 566,
"name": "GenerateSignupLinkParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20114,21 +20551,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 528,
+ "id": 567,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 530,
+ "id": 569,
"name": "email",
"kind": 1024,
"kindString": "Property",
@@ -20136,7 +20573,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 506,
+ "line": 535,
"character": 2
}
],
@@ -20146,7 +20583,7 @@
}
},
{
- "id": 532,
+ "id": 571,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -20156,7 +20593,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 508,
+ "line": 537,
"character": 2
}
],
@@ -20165,7 +20602,7 @@
"typeArguments": [
{
"type": "reference",
- "id": 549,
+ "id": 588,
"name": "GenerateLinkOptions"
},
{
@@ -20188,7 +20625,7 @@
}
},
{
- "id": 531,
+ "id": 570,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -20196,7 +20633,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 507,
+ "line": 536,
"character": 2
}
],
@@ -20206,7 +20643,7 @@
}
},
{
- "id": 529,
+ "id": 568,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -20214,7 +20651,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 505,
+ "line": 534,
"character": 2
}
],
@@ -20228,13 +20665,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [530, 532, 531, 529]
+ "children": [569, 571, 570, 568]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 504,
+ "line": 533,
"character": 39
}
]
@@ -20242,7 +20679,7 @@
}
},
{
- "id": 296,
+ "id": 321,
"name": "GoTrueClientOptions",
"kind": 4194304,
"kindString": "Type alias",
@@ -20250,21 +20687,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 +20711,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 44,
+ "line": 45,
"character": 2
}
],
@@ -20284,7 +20721,7 @@
}
},
{
- "id": 304,
+ "id": 329,
"name": "detectSessionInUrl",
"kind": 1024,
"kindString": "Property",
@@ -20294,7 +20731,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 42,
+ "line": 43,
"character": 2
}
],
@@ -20304,7 +20741,7 @@
}
},
{
- "id": 308,
+ "id": 333,
"name": "fetch",
"kind": 1024,
"kindString": "Property",
@@ -20314,7 +20751,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 50,
+ "line": 51,
"character": 2
}
],
@@ -20324,7 +20761,7 @@
}
},
{
- "id": 299,
+ "id": 324,
"name": "headers",
"kind": 1024,
"kindString": "Property",
@@ -20334,14 +20771,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 +20786,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 +20817,7 @@
}
},
{
- "id": 306,
+ "id": 331,
"name": "persistSession",
"kind": 1024,
"kindString": "Property",
@@ -20390,7 +20827,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 46,
+ "line": 47,
"character": 2
}
],
@@ -20400,7 +20837,7 @@
}
},
{
- "id": 307,
+ "id": 332,
"name": "storage",
"kind": 1024,
"kindString": "Property",
@@ -20410,16 +20847,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 48,
+ "line": 49,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"dereferenced": {
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -20427,7 +20864,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"character": 12
}
],
@@ -20472,7 +20909,7 @@
}
},
{
- "id": 303,
+ "id": 328,
"name": "storageKey",
"kind": 1024,
"kindString": "Property",
@@ -20482,7 +20919,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 40,
+ "line": 41,
"character": 2
}
],
@@ -20492,7 +20929,7 @@
}
},
{
- "id": 298,
+ "id": 323,
"name": "url",
"kind": 1024,
"kindString": "Property",
@@ -20502,7 +20939,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 36,
+ "line": 37,
"character": 2
}
],
@@ -20516,13 +20953,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 +20967,7 @@
}
},
{
- "id": 716,
+ "id": 755,
"name": "InitializeResult",
"kind": 4194304,
"kindString": "Type alias",
@@ -20538,21 +20975,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 717,
+ "id": 756,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 718,
+ "id": 757,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -20560,7 +20997,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 33
}
],
@@ -20569,7 +21006,7 @@
"types": [
{
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
},
{
@@ -20584,13 +21021,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [718]
+ "children": [757]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 903,
+ "line": 932,
"character": 31
}
]
@@ -20598,7 +21035,7 @@
}
},
{
- "id": 590,
+ "id": 629,
"name": "MFAChallengeAndVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20606,21 +21043,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 591,
+ "id": 630,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 593,
+ "id": 632,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -20631,7 +21068,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 633,
+ "line": 662,
"character": 2
}
],
@@ -20641,7 +21078,7 @@
}
},
{
- "id": 592,
+ "id": 631,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -20652,7 +21089,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 631,
+ "line": 660,
"character": 2
}
],
@@ -20666,13 +21103,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [593, 592]
+ "children": [632, 631]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 629,
+ "line": 658,
"character": 42
}
]
@@ -20680,7 +21117,7 @@
}
},
{
- "id": 587,
+ "id": 626,
"name": "MFAChallengeParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20688,21 +21125,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 588,
+ "id": 627,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 589,
+ "id": 628,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -20713,7 +21150,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 626,
+ "line": 655,
"character": 2
}
],
@@ -20727,13 +21164,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [589]
+ "children": [628]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 624,
+ "line": 653,
"character": 33
}
]
@@ -20741,7 +21178,7 @@
}
},
{
- "id": 574,
+ "id": 613,
"name": "MFAEnrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20749,21 +21186,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 575,
+ "id": 614,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 576,
+ "id": 615,
"name": "factorType",
"kind": 1024,
"kindString": "Property",
@@ -20774,7 +21211,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 601,
+ "line": 630,
"character": 2
}
],
@@ -20784,7 +21221,7 @@
}
},
{
- "id": 578,
+ "id": 617,
"name": "friendlyName",
"kind": 1024,
"kindString": "Property",
@@ -20797,7 +21234,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 605,
+ "line": 634,
"character": 2
}
],
@@ -20807,7 +21244,7 @@
}
},
{
- "id": 577,
+ "id": 616,
"name": "issuer",
"kind": 1024,
"kindString": "Property",
@@ -20820,7 +21257,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 603,
+ "line": 632,
"character": 2
}
],
@@ -20834,13 +21271,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [576, 578, 577]
+ "children": [615, 617, 616]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 599,
+ "line": 628,
"character": 30
}
]
@@ -20848,7 +21285,7 @@
}
},
{
- "id": 579,
+ "id": 618,
"name": "MFAUnenrollParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20856,21 +21293,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 580,
+ "id": 619,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 581,
+ "id": 620,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -20881,7 +21318,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 610,
+ "line": 639,
"character": 2
}
],
@@ -20895,13 +21332,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [581]
+ "children": [620]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 608,
+ "line": 637,
"character": 32
}
]
@@ -20909,7 +21346,7 @@
}
},
{
- "id": 582,
+ "id": 621,
"name": "MFAVerifyParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -20917,21 +21354,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 583,
+ "id": 622,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 585,
+ "id": 624,
"name": "challengeId",
"kind": 1024,
"kindString": "Property",
@@ -20942,7 +21379,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 618,
+ "line": 647,
"character": 2
}
],
@@ -20952,7 +21389,7 @@
}
},
{
- "id": 586,
+ "id": 625,
"name": "code",
"kind": 1024,
"kindString": "Property",
@@ -20963,7 +21400,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 621,
+ "line": 650,
"character": 2
}
],
@@ -20973,7 +21410,7 @@
}
},
{
- "id": 584,
+ "id": 623,
"name": "factorId",
"kind": 1024,
"kindString": "Property",
@@ -20984,7 +21421,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 615,
+ "line": 644,
"character": 2
}
],
@@ -20998,13 +21435,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [585, 586, 584]
+ "children": [624, 625, 623]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 613,
+ "line": 642,
"character": 30
}
]
@@ -21012,7 +21449,7 @@
}
},
{
- "id": 515,
+ "id": 551,
"name": "MobileOtpType",
"kind": 4194304,
"kindString": "Type alias",
@@ -21020,7 +21457,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -21039,7 +21476,34 @@
}
},
{
- "id": 322,
+ "id": 512,
+ "name": "OAuthFlowType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 438,
+ "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 +21511,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 69,
+ "line": 70,
"character": 12
}
],
@@ -21057,14 +21521,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 +21536,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 +21558,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 +21577,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 73,
+ "line": 74,
"character": 8
}
],
@@ -21127,13 +21591,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 +21605,7 @@
}
},
{
- "id": 328,
+ "id": 353,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -21149,7 +21613,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 75,
+ "line": 76,
"character": 6
}
],
@@ -21163,13 +21627,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 +21642,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 +21657,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 +21679,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 +21698,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 80,
+ "line": 81,
"character": 8
}
],
@@ -21248,13 +21712,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 +21726,7 @@
}
},
{
- "id": 334,
+ "id": 359,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -21270,13 +21734,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 82,
+ "line": 83,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -21285,13 +21749,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 +21765,7 @@
}
},
{
- "id": 733,
+ "id": 772,
"name": "PageParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -21309,21 +21773,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 734,
+ "id": 773,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 735,
+ "id": 774,
"name": "page",
"kind": 1024,
"kindString": "Property",
@@ -21336,7 +21800,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 924,
+ "line": 953,
"character": 2
}
],
@@ -21346,7 +21810,7 @@
}
},
{
- "id": 736,
+ "id": 775,
"name": "perPage",
"kind": 1024,
"kindString": "Property",
@@ -21359,7 +21823,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 926,
+ "line": 955,
"character": 2
}
],
@@ -21373,13 +21837,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [735, 736]
+ "children": [774, 775]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 922,
+ "line": 951,
"character": 25
}
]
@@ -21387,7 +21851,7 @@
}
},
{
- "id": 726,
+ "id": 765,
"name": "Pagination",
"kind": 4194304,
"kindString": "Type alias",
@@ -21395,21 +21859,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 727,
+ "id": 766,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 729,
+ "id": 768,
"name": "lastPage",
"kind": 1024,
"kindString": "Property",
@@ -21417,7 +21881,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 918,
+ "line": 947,
"character": 2
}
],
@@ -21427,7 +21891,7 @@
}
},
{
- "id": 728,
+ "id": 767,
"name": "nextPage",
"kind": 1024,
"kindString": "Property",
@@ -21435,7 +21899,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 917,
+ "line": 946,
"character": 2
}
],
@@ -21454,7 +21918,7 @@
}
},
{
- "id": 730,
+ "id": 769,
"name": "total",
"kind": 1024,
"kindString": "Property",
@@ -21462,7 +21926,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 919,
+ "line": 948,
"character": 2
}
],
@@ -21476,25 +21940,25 @@
{
"title": "Properties",
"kind": 1024,
- "children": [729, 728, 730]
+ "children": [768, 767, 769]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 915,
+ "line": 944,
"character": 25
}
],
"indexSignature": {
- "id": 731,
+ "id": 770,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {},
"parameters": [
{
- "id": 732,
+ "id": 771,
"name": "key",
"kind": 32768,
"flags": {},
@@ -21513,7 +21977,7 @@
}
},
{
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -21599,7 +22063,7 @@
}
},
{
- "id": 335,
+ "id": 360,
"name": "SSOResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -21607,7 +22071,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 85,
+ "line": 86,
"character": 12
}
],
@@ -21617,14 +22081,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,32 +22096,33 @@
"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",
"flags": {},
"comment": {
- "shortText": "URL to take the user to (in a browser) to complete SSO."
+ "shortText": "URL to open in a browser which will complete the sign-in flow by\ntaking the user to the identity provider's authentication flow.",
+ "text": "On browsers you can set the URL to `window.location.href` to take\nthe user to the authentication flow.\n"
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 89,
+ "line": 96,
"character": 8
}
],
@@ -21671,13 +22136,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [339]
+ "children": [364]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 87,
+ "line": 88,
"character": 12
}
]
@@ -21685,7 +22150,7 @@
}
},
{
- "id": 340,
+ "id": 365,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -21693,7 +22158,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 91,
+ "line": 98,
"character": 6
}
],
@@ -21707,13 +22172,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [337, 340]
+ "children": [362, 365]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 86,
+ "line": 87,
"character": 4
}
]
@@ -21722,14 +22187,14 @@
{
"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",
@@ -21737,7 +22202,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 94,
+ "line": 101,
"character": 6
}
],
@@ -21747,7 +22212,7 @@
}
},
{
- "id": 343,
+ "id": 368,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -21755,13 +22220,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 95,
+ "line": 102,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -21770,13 +22235,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [342, 343]
+ "children": [367, 368]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 93,
+ "line": 100,
"character": 4
}
]
@@ -21786,29 +22251,52 @@
}
},
{
- "id": 486,
- "name": "SignInWithOAuthCredentials",
+ "id": 526,
+ "name": "SignInWithIdTokenCredentials",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 456,
"character": 12
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 487,
+ "id": 527,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 489,
+ "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": 464,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 531,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -21818,21 +22306,228 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 465,
"character": 2
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 490,
+ "id": 532,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 493,
+ "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": 467,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [533]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 465,
+ "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": 460,
+ "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": 462,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [530, 531, 528, 529]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 456,
+ "character": 43
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 513,
+ "name": "SignInWithOAuthCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 439,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 514,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 516,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 442,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 517,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "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": 452,
+ "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": 438,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "implicit"
+ },
+ {
+ "type": "literal",
+ "value": "pkce"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 520,
"name": "queryParams",
"kind": 1024,
"kindString": "Property",
@@ -21845,14 +22540,14 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 4
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 494,
+ "id": 521,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
@@ -21860,19 +22555,19 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 442,
+ "line": 448,
"character": 18
}
],
"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 +22586,7 @@
}
},
{
- "id": 491,
+ "id": 518,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -21904,7 +22599,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 438,
+ "line": 444,
"character": 4
}
],
@@ -21914,7 +22609,7 @@
}
},
{
- "id": 492,
+ "id": 519,
"name": "scopes",
"kind": 1024,
"kindString": "Property",
@@ -21927,7 +22622,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 440,
+ "line": 446,
"character": 4
}
],
@@ -21937,7 +22632,7 @@
}
},
{
- "id": 497,
+ "id": 524,
"name": "skipBrowserRedirect",
"kind": 1024,
"kindString": "Property",
@@ -21950,7 +22645,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 444,
+ "line": 450,
"character": 4
}
],
@@ -21964,13 +22659,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [493, 491, 492, 497]
+ "children": [525, 520, 518, 519, 524]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 436,
+ "line": 442,
"character": 12
}
]
@@ -21978,7 +22673,7 @@
}
},
{
- "id": 488,
+ "id": 515,
"name": "provider",
"kind": 1024,
"kindString": "Property",
@@ -21989,16 +22684,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 435,
+ "line": 441,
"character": 2
}
],
"type": {
"type": "reference",
- "id": 293,
+ "id": 318,
"name": "Provider",
"dereferenced": {
- "id": 293,
+ "id": 318,
"name": "Provider",
"kind": 4194304,
"kindString": "Type alias",
@@ -22090,13 +22785,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [489, 488]
+ "children": [516, 515]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 433,
+ "line": 439,
"character": 41
}
]
@@ -22104,7 +22799,7 @@
}
},
{
- "id": 455,
+ "id": 480,
"name": "SignInWithPasswordCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -22112,7 +22807,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 363,
+ "line": 370,
"character": 12
}
],
@@ -22122,14 +22817,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 +22835,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 366,
+ "line": 373,
"character": 6
}
],
@@ -22150,7 +22845,7 @@
}
},
{
- "id": 459,
+ "id": 484,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22160,21 +22855,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 369,
+ "line": 376,
"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 +22882,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 377,
+ "line": 378,
"character": 8
}
],
@@ -22195,43 +22890,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": 376,
"character": 16
}
]
@@ -22239,7 +22910,7 @@
}
},
{
- "id": 458,
+ "id": 483,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -22250,7 +22921,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 368,
+ "line": 375,
"character": 6
}
],
@@ -22264,13 +22935,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [457, 459, 458]
+ "children": [482, 484, 483]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 364,
+ "line": 371,
"character": 4
}
]
@@ -22279,14 +22950,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 +22967,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"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 +22994,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 393,
+ "line": 394,
"character": 8
}
],
@@ -22333,7 +23004,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": 396,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 492,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22347,7 +23050,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 391,
+ "line": 392,
"character": 8
}
],
@@ -22361,13 +23064,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [469, 468]
+ "children": [493, 494, 492]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 385,
+ "line": 386,
"character": 16
}
]
@@ -22375,7 +23078,7 @@
}
},
{
- "id": 465,
+ "id": 489,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -22386,7 +23089,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 384,
+ "line": 385,
"character": 6
}
],
@@ -22396,7 +23099,7 @@
}
},
{
- "id": 464,
+ "id": 488,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -22407,7 +23110,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 382,
+ "line": 383,
"character": 6
}
],
@@ -22421,13 +23124,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [466, 465, 464]
+ "children": [490, 489, 488]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 380,
+ "line": 381,
"character": 4
}
]
@@ -22437,7 +23140,7 @@
}
},
{
- "id": 470,
+ "id": 495,
"name": "SignInWithPasswordlessCredentials",
"kind": 4194304,
"kindString": "Type alias",
@@ -22445,7 +23148,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 397,
+ "line": 400,
"character": 12
}
],
@@ -22455,14 +23158,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 +23176,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 400,
+ "line": 403,
"character": 6
}
],
@@ -22483,7 +23186,7 @@
}
},
{
- "id": 473,
+ "id": 498,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22493,21 +23196,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"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 +23223,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 413,
+ "line": 416,
"character": 8
}
],
@@ -22530,7 +23233,7 @@
}
},
{
- "id": 477,
+ "id": 502,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22544,7 +23247,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 411,
+ "line": 414,
"character": 8
}
],
@@ -22554,7 +23257,7 @@
}
},
{
- "id": 475,
+ "id": 500,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -22567,7 +23270,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 403,
+ "line": 406,
"character": 8
}
],
@@ -22577,7 +23280,7 @@
}
},
{
- "id": 476,
+ "id": 501,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -22590,7 +23293,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 405,
+ "line": 408,
"character": 8
}
],
@@ -22604,13 +23307,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [478, 477, 475, 476]
+ "children": [503, 502, 500, 501]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 401,
+ "line": 404,
"character": 16
}
]
@@ -22622,13 +23325,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [472, 473]
+ "children": [497, 498]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 398,
+ "line": 401,
"character": 4
}
]
@@ -22637,14 +23340,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 +23357,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"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 +23384,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 429,
+ "line": 432,
"character": 8
}
],
@@ -22691,7 +23394,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": 434,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "whatsapp"
+ }
+ ]
+ }
+ },
+ {
+ "id": 509,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -22705,7 +23440,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 427,
+ "line": 430,
"character": 8
}
],
@@ -22715,7 +23450,7 @@
}
},
{
- "id": 483,
+ "id": 508,
"name": "shouldCreateUser",
"kind": 1024,
"kindString": "Property",
@@ -22728,7 +23463,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 421,
+ "line": 424,
"character": 8
}
],
@@ -22742,13 +23477,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [485, 484, 483]
+ "children": [510, 511, 509, 508]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 419,
+ "line": 422,
"character": 16
}
]
@@ -22756,7 +23491,7 @@
}
},
{
- "id": 480,
+ "id": 505,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -22767,7 +23502,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 418,
+ "line": 421,
"character": 6
}
],
@@ -22781,13 +23516,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [481, 480]
+ "children": [506, 505]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 416,
+ "line": 419,
"character": 4
}
]
@@ -22797,7 +23532,7 @@
}
},
{
- "id": 517,
+ "id": 553,
"name": "SignInWithSSO",
"kind": 4194304,
"kindString": "Type alias",
@@ -22805,24 +23540,24 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
+ "line": 509,
"character": 12
}
],
"type": {
- "type": "intersection",
+ "type": "union",
"types": [
{
"type": "reflection",
"declaration": {
- "id": 518,
+ "id": 554,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 519,
+ "id": 556,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -22832,21 +23567,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 2
+ "line": 514,
+ "character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 520,
+ "id": 557,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 522,
+ "id": 559,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -22859,8 +23594,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 491,
- "character": 4
+ "line": 518,
+ "character": 8
}
],
"type": {
@@ -22869,7 +23604,7 @@
}
},
{
- "id": 521,
+ "id": 558,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -22882,8 +23617,8 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 489,
- "character": 4
+ "line": 516,
+ "character": 8
}
],
"type": {
@@ -22896,176 +23631,79 @@
{
"title": "Properties",
"kind": 1024,
- "children": [522, 521]
+ "children": [559, 558]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 487,
- "character": 12
+ "line": 514,
+ "character": 16
}
]
}
}
+ },
+ {
+ "id": 555,
+ "name": "providerId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "UUID of the SSO provider to invoke single-sign on to."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
- "children": [519]
+ "children": [556, 555]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 486,
- "character": 28
+ "line": 510,
+ "character": 4
}
]
}
},
- {
- "type": "union",
- "types": [
- {
- "type": "reflection",
- "declaration": {
- "id": 523,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 524,
- "name": "providerId",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "UUID of the SSO provider to invoke single-sign on to."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 496,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [524]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 494,
- "character": 4
- }
- ]
- }
- },
- {
- "type": "reflection",
- "declaration": {
- "id": 525,
- "name": "__type",
- "kind": 65536,
- "kindString": "Type literal",
- "flags": {},
- "children": [
- {
- "id": 526,
- "name": "domain",
- "kind": 1024,
- "kindString": "Property",
- "flags": {},
- "comment": {
- "shortText": "Domain name of the organization for which to invoke single-sign on."
- },
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 500,
- "character": 6
- }
- ],
- "type": {
- "type": "intrinsic",
- "name": "string"
- }
- }
- ],
- "groups": [
- {
- "title": "Properties",
- "kind": 1024,
- "children": [526]
- }
- ],
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 498,
- "character": 4
- }
- ]
- }
- }
- ]
- }
- ]
- }
- },
- {
- "id": 439,
- "name": "SignUpWithPasswordCredentials",
- "kind": 4194304,
- "kindString": "Type alias",
- "flags": {},
- "sources": [
- {
- "fileName": "src/lib/types.ts",
- "line": 328,
- "character": 12
- }
- ],
- "type": {
- "type": "union",
- "types": [
{
"type": "reflection",
"declaration": {
- "id": 440,
+ "id": 560,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 441,
- "name": "email",
+ "id": 561,
+ "name": "domain",
"kind": 1024,
"kindString": "Property",
"flags": {},
"comment": {
- "shortText": "The user's email address."
+ "shortText": "Domain name of the organization for which to invoke single-sign on."
},
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 331,
+ "line": 523,
"character": 6
}
],
@@ -23075,7 +23713,7 @@
}
},
{
- "id": 443,
+ "id": 562,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -23085,21 +23723,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 525,
"character": 6
}
],
"type": {
"type": "reflection",
"declaration": {
- "id": 444,
+ "id": 563,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
- "id": 447,
+ "id": 565,
"name": "captchaToken",
"kind": 1024,
"kindString": "Property",
@@ -23112,7 +23750,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 344,
+ "line": 529,
"character": 8
}
],
@@ -23122,7 +23760,161 @@
}
},
{
- "id": 446,
+ "id": 564,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL to send the user to after they have signed-in."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 527,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [565, 564]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 525,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [561, 562]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 521,
+ "character": 4
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 464,
+ "name": "SignUpWithPasswordCredentials",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 335,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 465,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 466,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 338,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 468,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 341,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 469,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 472,
+ "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": 351,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 471,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23136,7 +23928,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 342,
+ "line": 349,
"character": 8
}
],
@@ -23146,7 +23938,7 @@
}
},
{
- "id": 445,
+ "id": 470,
"name": "emailRedirectTo",
"kind": 1024,
"kindString": "Property",
@@ -23159,7 +23951,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 336,
+ "line": 343,
"character": 8
}
],
@@ -23173,13 +23965,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [447, 446, 445]
+ "children": [472, 471, 470]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 334,
+ "line": 341,
"character": 16
}
]
@@ -23187,7 +23979,7 @@
}
},
{
- "id": 442,
+ "id": 467,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -23198,7 +23990,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 333,
+ "line": 340,
"character": 6
}
],
@@ -23212,13 +24004,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [441, 443, 442]
+ "children": [466, 468, 467]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 329,
+ "line": 336,
"character": 4
}
]
@@ -23227,14 +24019,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 +24036,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"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 +24063,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 360,
+ "line": 367,
"character": 8
}
],
@@ -23281,7 +24073,7 @@
}
},
{
- "id": 453,
+ "id": 478,
"name": "data",
"kind": 1024,
"kindString": "Property",
@@ -23295,7 +24087,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 358,
+ "line": 365,
"character": 8
}
],
@@ -23309,13 +24101,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [454, 453]
+ "children": [479, 478]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 352,
+ "line": 359,
"character": 16
}
]
@@ -23323,7 +24115,7 @@
}
},
{
- "id": 450,
+ "id": 475,
"name": "password",
"kind": 1024,
"kindString": "Property",
@@ -23334,7 +24126,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 351,
+ "line": 358,
"character": 6
}
],
@@ -23344,7 +24136,7 @@
}
},
{
- "id": 449,
+ "id": 474,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -23355,7 +24147,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 349,
+ "line": 356,
"character": 6
}
],
@@ -23369,13 +24161,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [451, 450, 449]
+ "children": [476, 475, 474]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 347,
+ "line": 354,
"character": 4
}
]
@@ -23385,7 +24177,7 @@
}
},
{
- "id": 715,
+ "id": 754,
"name": "SupportedStorage",
"kind": 4194304,
"kindString": "Type alias",
@@ -23393,7 +24185,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 901,
+ "line": 930,
"character": 12
}
],
@@ -23436,7 +24228,7 @@
}
},
{
- "id": 344,
+ "id": 369,
"name": "UserResponse",
"kind": 4194304,
"kindString": "Type alias",
@@ -23444,7 +24236,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 98,
+ "line": 105,
"character": 12
}
],
@@ -23454,14 +24246,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 +24261,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"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 +24283,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 101,
+ "line": 108,
"character": 8
}
],
"type": {
"type": "reference",
- "id": 392,
+ "id": 417,
"name": "User"
}
}
@@ -23506,13 +24298,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [348]
+ "children": [373]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 100,
+ "line": 107,
"character": 12
}
]
@@ -23520,7 +24312,7 @@
}
},
{
- "id": 349,
+ "id": 374,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23528,7 +24320,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 103,
+ "line": 110,
"character": 6
}
],
@@ -23542,13 +24334,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [346, 349]
+ "children": [371, 374]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 99,
+ "line": 106,
"character": 4
}
]
@@ -23557,14 +24349,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 +24364,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"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 +24386,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 107,
+ "line": 114,
"character": 8
}
],
@@ -23608,13 +24400,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [353]
+ "children": [378]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 106,
+ "line": 113,
"character": 12
}
]
@@ -23622,7 +24414,7 @@
}
},
{
- "id": 354,
+ "id": 379,
"name": "error",
"kind": 1024,
"kindString": "Property",
@@ -23630,13 +24422,13 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 109,
+ "line": 116,
"character": 6
}
],
"type": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -23645,13 +24437,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [351, 354]
+ "children": [376, 379]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 105,
+ "line": 112,
"character": 4
}
]
@@ -23661,7 +24453,7 @@
}
},
{
- "id": 498,
+ "id": 534,
"name": "VerifyOtpParams",
"kind": 4194304,
"kindString": "Type alias",
@@ -23669,7 +24461,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 448,
+ "line": 471,
"character": 12
}
],
@@ -23677,14 +24469,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 +24486,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 456,
+ "line": 479,
"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 +24519,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 465,
+ "line": 488,
"character": 4
}
],
@@ -23737,7 +24529,7 @@
}
},
{
- "id": 505,
+ "id": 541,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -23750,7 +24542,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 458,
+ "line": 481,
"character": 4
}
],
@@ -23764,14 +24556,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [506, 505]
+ "children": [542, 541]
}
]
}
}
},
{
- "id": 500,
+ "id": 536,
"name": "phone",
"kind": 1024,
"kindString": "Property",
@@ -23782,7 +24574,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 451,
+ "line": 474,
"character": 2
}
],
@@ -23792,7 +24584,7 @@
}
},
{
- "id": 501,
+ "id": 537,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -23803,7 +24595,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 453,
+ "line": 476,
"character": 2
}
],
@@ -23813,7 +24605,7 @@
}
},
{
- "id": 502,
+ "id": 538,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -23824,16 +24616,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 455,
+ "line": 478,
"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 +24633,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 483,
+ "line": 506,
"character": 12
}
],
@@ -23866,26 +24658,26 @@
{
"title": "Properties",
"kind": 1024,
- "children": [503, 500, 501, 502]
+ "children": [539, 536, 537, 538]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 449,
+ "line": 472,
"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 +24688,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 470,
+ "line": 493,
"character": 2
}
],
@@ -23906,7 +24698,7 @@
}
},
{
- "id": 511,
+ "id": 547,
"name": "options",
"kind": 1024,
"kindString": "Property",
@@ -23916,21 +24708,21 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 475,
+ "line": 498,
"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 +24735,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 479,
+ "line": 502,
"character": 4
}
],
@@ -23953,7 +24745,7 @@
}
},
{
- "id": 513,
+ "id": 549,
"name": "redirectTo",
"kind": 1024,
"kindString": "Property",
@@ -23966,7 +24758,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 477,
+ "line": 500,
"character": 4
}
],
@@ -23980,14 +24772,14 @@
{
"title": "Properties",
"kind": 1024,
- "children": [514, 513]
+ "children": [550, 549]
}
]
}
}
},
{
- "id": 509,
+ "id": 545,
"name": "token",
"kind": 1024,
"kindString": "Property",
@@ -23998,7 +24790,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 472,
+ "line": 495,
"character": 2
}
],
@@ -24008,7 +24800,7 @@
}
},
{
- "id": 510,
+ "id": 546,
"name": "type",
"kind": 1024,
"kindString": "Property",
@@ -24019,16 +24811,16 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 474,
+ "line": 497,
"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 +24828,7 @@
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 484,
+ "line": 507,
"character": 12
}
],
@@ -24062,6 +24854,10 @@
{
"type": "literal",
"value": "email_change"
+ },
+ {
+ "type": "literal",
+ "value": "email"
}
]
}
@@ -24073,13 +24869,13 @@
{
"title": "Properties",
"kind": 1024,
- "children": [508, 511, 509, 510]
+ "children": [544, 547, 545, 546]
}
],
"sources": [
{
"fileName": "src/lib/types.ts",
- "line": 468,
+ "line": 491,
"character": 17
}
]
@@ -24088,7 +24884,7 @@
}
},
{
- "id": 740,
+ "id": 779,
"name": "isAuthApiError",
"kind": 64,
"kindString": "Function",
@@ -24102,14 +24898,14 @@
],
"signatures": [
{
- "id": 741,
+ "id": 780,
"name": "isAuthApiError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 742,
+ "id": 781,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -24126,7 +24922,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 750,
+ "id": 789,
"name": "AuthApiError"
}
}
@@ -24134,7 +24930,7 @@
]
},
{
- "id": 737,
+ "id": 776,
"name": "isAuthError",
"kind": 64,
"kindString": "Function",
@@ -24148,14 +24944,14 @@
],
"signatures": [
{
- "id": 738,
+ "id": 777,
"name": "isAuthError",
"kind": 4096,
"kindString": "Call signature",
"flags": {},
"parameters": [
{
- "id": 739,
+ "id": 778,
"name": "error",
"kind": 32768,
"kindString": "Parameter",
@@ -24172,7 +24968,7 @@
"asserts": false,
"targetType": {
"type": "reference",
- "id": 743,
+ "id": 782,
"name": "AuthError"
}
}
@@ -24184,26 +24980,26 @@
{
"title": "Classes",
"kind": 128,
- "children": [750, 743, 811, 798, 836, 786, 763, 771, 1, 77]
+ "children": [789, 782, 850, 837, 875, 825, 802, 810, 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, 588, 747, 702, 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, 731, 722, 744, 735, 670, 646, 691, 680, 661, 633, 334, 690, 758, 552, 582, 572,
+ 591, 605, 592, 612, 577, 566, 321, 755, 629, 626, 613, 618, 621, 551, 512, 347, 772, 765,
+ 318, 360, 526, 513, 480, 495, 553, 464, 754, 369, 534
]
},
{
"title": "Functions",
"kind": 64,
- "children": [740, 737]
+ "children": [779, 776]
}
],
"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/examples/examples.yml b/spec/examples/examples.yml
index 25faa3a5ca5..addc287a9d5 100644
--- a/spec/examples/examples.yml
+++ b/spec/examples/examples.yml
@@ -768,10 +768,10 @@ functions:
- schema: public
name: countries
content: |
- | name | id |
- | :-----------------------|------:|
- | Afghanistan | 1 |
- | Albania | 2 |
+ | name | id |
+ | :-----------------------|------:|
+ | Afghanistan | 1 |
+ | Albania | 2 |
| Algeria | 3 |
response: |
{
@@ -811,10 +811,10 @@ functions:
- schema: public
name: countries
content: |
- | name | id |
- | :-----------------------|------:|
- | Afghanistan | 1 |
- | Albania | 2 |
+ | name | id |
+ | :-----------------------|------:|
+ | Afghanistan | 1 |
+ | Albania | 2 |
| Algeria | 3 |
response: |
{
@@ -873,16 +873,16 @@ functions:
- schema: public
name: countries
content: |
- | name | id |
- | :-----------------------|------:|
- | Germany | 1 |
+ | name | id |
+ | :-----------------------|------:|
+ | Germany | 1 |
| Indonesia | 2 |
- schema: public
name: cities
content: |
- | name | id |
- | :-----------------------|------:|
- | Bali | 1 |
+ | name | id |
+ | :-----------------------|------:|
+ | Bali | 1 |
| Munich | 2 |
response: |
{
@@ -4209,7 +4209,7 @@ functions:
- id: Using Modifiers
description: |
- Filters work on the row level—they allows you to return rows that
+ Filters work on the row level—they allow you to return rows that
only match certain conditions without changing the shape of the rows.
Modifiers are everything that don't fit that definition—allowing you to
change the format of the response (e.g., returning a CSV string).
diff --git a/spec/storage_v0_openapi.json b/spec/storage_v0_openapi.json
index fe9074725b7..2e55841a828 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": "Successful response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "description": "Successful 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_csharp_v0.yml b/spec/supabase_csharp_v0.yml
index a83d003bd2a..76ce32493e6 100644
--- a/spec/supabase_csharp_v0.yml
+++ b/spec/supabase_csharp_v0.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/csharp
- title: Getting started
+ title: Supabase C# Client
description: |
Supabase C#.
@@ -293,9 +293,9 @@ functions:
isSpotlight: true
code: |
```c#
- var attrs = new UserAttributes
- {
- Data = new Dictionary { {"example", "data" } }
+ var attrs = new UserAttributes
+ {
+ Data = new Dictionary { {"example", "data" } }
};
var response = await supabase.Auth.Update(attrs);
```
@@ -516,10 +516,10 @@ functions:
public int CountryId { get; set; }
}
- var model = new City
- {
- Name = "The Shire",
- CountryId = 554
+ var model = new City
+ {
+ Name = "The Shire",
+ CountryId = 554
};
await supabase.From().Insert(model);
@@ -603,10 +603,10 @@ functions:
isSpotlight: true
code: |
```c#
- var model = new City
- {
- Id = 554,
- Name = "Middle Earth"
+ var model = new City
+ {
+ Id = 554,
+ Name = "Middle Earth"
};
await supabase.From().Upsert(model);
@@ -620,10 +620,10 @@ functions:
isSpotlight: true
code: |
```c#
- var model = new City
- {
- Id = 554,
- Name = "Middle Earth"
+ var model = new City
+ {
+ Id = 554,
+ Name = "Middle Earth"
};
await supabase
@@ -637,10 +637,10 @@ functions:
Allowed values for count option are `exact`, `planned` and `estimated`.
code: |
```c#
- var model = new City
- {
- Id = 554,
- Name = "Middle Earth"
+ var model = new City
+ {
+ Id = 554,
+ Name = "Middle Earth"
};
await supabase
@@ -702,7 +702,7 @@ functions:
isSpotlight: true
code: |
```c#
- class CursorBroadcast : BaseBroadcast
+ class CursorBroadcast : BaseBroadcast
{
[JsonProperty("cursorX")]
public int CursorX {get; set;}
@@ -714,7 +714,7 @@ functions:
var channel = supabase.Realtime.Channel("any");
var broadcast = channel.Register();
- broadcast.OnBroadcast += (sender, _) =>
+ broadcast.OnBroadcast += (sender, _) =>
{
var data = broadcast.Current();
};
@@ -729,7 +729,7 @@ functions:
isSpotlight: true
code: |
```c#
- class UserPresence : BasePresence
+ class UserPresence : BasePresence
{
[JsonProperty("cursorX")]
public bool IsTyping {get; set;}
@@ -742,7 +742,7 @@ functions:
var presenceKey = Guid.NewGuid().ToString();
var presence = channel.Register(presenceKey);
- presence.OnSync += (sender, _) =>
+ presence.OnSync += (sender, _) =>
{
var state = presence.CurrentState;
};
diff --git a/spec/supabase_dart_v0.yml b/spec/supabase_dart_v0.yml
index 748edf4edb6..9248299d3ce 100644
--- a/spec/supabase_dart_v0.yml
+++ b/spec/supabase_dart_v0.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/dart
- title: Getting started
+ title: Supabase Dart Client
description: |
Supabase Dart.
@@ -539,15 +539,16 @@ functions:
```
- id: update
- title: 'Modify data: update()'
description: |
Performs an UPDATE on the table.
+ title: 'Modify data: update()'
notes: |
- `update()` should always be combined with [Filters](/docs/reference/dart/using-filters) to target the item(s) you wish to update.
examples:
- - name: Updating your data
+ - id: updating-your-data
+ name: Updating your data
isSpotlight: true
- dart: |
+ code: |
```dart
final res = await supabase
.from('cities')
@@ -555,13 +556,14 @@ functions:
.match({ 'name': 'Auckland' })
.execute();
```
- - name: Updating JSON data
+ - id: updating-json-data
+ name: Updating JSON data
description: |
Postgres offers a
[number of operators](https://www.postgresql.org/docs/current/functions-json.html)
for working with JSON data. Right now it is only possible to update an entire JSON document,
but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys.
- dart: |
+ code: |
```dart
final res = await supabase
.from('users')
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index a4767bf34a1..1918a153718 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/dart
- title: Getting started
+ title: Supabase Dart Client
description: |
Supabase Dart.
@@ -39,7 +39,7 @@ functions:
runApp(MyApp());
}
- // Get a reference your Supabase client
+ // Get a reference your Supabase client
final supabase = Supabase.instance.client;
```
- id: for-other-dart-projects
diff --git a/spec/supabase_js_v1.yml b/spec/supabase_js_v1.yml
index fa03852708b..c1e212226b9 100644
--- a/spec/supabase_js_v1.yml
+++ b/spec/supabase_js_v1.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/supabase-js
- title: Supabase Client
+ title: Supabase Javascript Client
description: |
Supabase JavaScript.
@@ -61,7 +61,7 @@ functions:
```
description: |
By default the API server points to the `public` schema. You can enable other database schemas within the Dashboard.
- Go to `Settings > API > Schema` and add the schema which you want to expose to the API. You also need to grant `USAGE` on your new schema with the grants you desire, such as `SELECT, INSERT, UPDATE, DELETE`.
+ Go to `Settings > API > Schema` and add the schema which you want to expose to the API. You also need to grant `USAGE` on your new schema with the grants you desire, such as `SELECT, INSERT, UPDATE, DELETE`.
Note: each client connection can only access a single schema, so the code above can access the `other_schema` schema but cannot access the `public` schema.
- id: custom-fetch-implementation
@@ -567,7 +567,7 @@ functions:
notes: |
Sends a password reset request to an email address.
- When the user clicks the reset link in the email they are redirected back to your application.
- You can configure the URL that the user is redirected to via the `redirectTo` param.
+ You can configure the URL that the user is redirected to via the `redirectTo` param.
See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
- After the user has been redirected successfully, prompt them for a new password and call `updateUser()`:
```js
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 26c48fec458..86e02171ba8 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/supabase-js
- title: Supabase Client
+ title: Supabase Javascript Client
description: |
Supabase JavaScript.
@@ -177,7 +177,7 @@ functions:
- id: sign-up-with-redirect
name: Sign up with a redirect URL
description: |
- - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
code: |
```js
const { data, error } = await supabase.auth.signUp(
@@ -232,7 +232,7 @@ functions:
- If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.
- If you're using phone, you can configure whether you want the user to receive a OTP.
- The magic link's destination URL is determined by the [`SITE_URL`](/docs/reference/auth/config#site_url).
- - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
- Magic links and OTPs share the same implementation. To send users a one-time code instead of a magic link, [modify the magic link email template](https://app.supabase.com/project/_/auth/templates) to include `{{ .Token }}` instead of `{{ .ConfirmationURL }}`.
examples:
- id: sign-in-with-email
@@ -263,7 +263,7 @@ functions:
$ref: '@supabase/gotrue-js.GoTrueClient.signInWithOAuth'
notes: |
- This method is used for signing in using a third-party provider.
- - Supabase supports many different [third-party providers](https://supabase.com/docs/guides/auth#providers).
+ - Supabase supports many different [third-party providers](https://supabase.com/docs/guides/auth#configure-third-party-providers).
examples:
- id: sign-in-using-a-third-party-provider
name: Sign in using a third-party provider
@@ -279,7 +279,7 @@ functions:
isSpotlight: false
description: |
- When the third-party provider successfully authenticates the user, the provider redirects the user to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](/docs/reference/auth/config#site_url). It does not redirect the user immediately after invoking this method.
- - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
code: |
```js
const { data, error } = await supabase.auth.signInWithOAuth({
@@ -753,7 +753,7 @@ functions:
You can use [`onAuthStateChange()`](/docs/reference/javascript/auth-onauthstatechange) to listen and invoke a callback function on these events.
- When the user clicks the reset link in the email they are redirected back to your application.
You can configure the URL that the user is redirected to with the `redirectTo` parameter.
- See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ See [redirect URLs and wildcards](/docs/guides/auth#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
- After the user has been redirected successfully, prompt them for a new password and call `updateUser()`:
```js
const { data, error } = await supabase.auth.updateUser({
@@ -812,9 +812,7 @@ functions:
const { data, error } = await supabase.auth.admin.generateLink({
type: 'signup',
email: 'email@example.com',
- options: {
- 'password': 'secret'
- }
+ password: 'secret'
})
```
- id: generate-an-invite-link
@@ -1320,21 +1318,21 @@ functions:
sql: |
```sql
create table countries (
- "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
+ "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
"name" text
);
create table cities (
- "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
- "name" text,
+ "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
+ "name" text,
"country_id" "uuid" references public.countries on delete cascade
);
-
+
with country as (
- insert into countries (name)
+ insert into countries (name)
values ('united kingdom') returning id
)
- insert into cities (name, country_id) values
+ insert into cities (name, country_id) values
('London', (select id from country)),
('Manchester', (select id from country)),
('Liverpool', (select id from country)),
@@ -2258,6 +2256,9 @@ functions:
```
hideCodeBlock: true
isSpotlight: true
+ description: |
+ When using [reserved words](https://www.postgresql.org/docs/current/sql-keywords-appendix.html) for column names you need
+ to add double quotes e.g. `.gt('"order"', 2)`
- id: gte
title: gte()
$ref: '@supabase/postgrest-js.PostgrestFilterBuilder.gte'
@@ -3547,7 +3548,7 @@ functions:
- id: using-modifiers
title: Using Modifiers
description: |
- Filters work on the row level—they allows you to return rows that
+ Filters work on the row level—they allow you to return rows that
only match certain conditions without changing the shape of the rows.
Modifiers are everything that don't fit that definition—allowing you to
change the format of the response (e.g., returning a CSV string).
@@ -3886,7 +3887,7 @@ functions:
}
```
description: |
- You can use an [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) to abort requests.
+ You can use an [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) to abort requests.
Note that `status` and `statusText` don't mean anything for aborted requests as the request wasn't fulfilled.
hideCodeBlock: true
isSpotlight: true
diff --git a/spec/supabase_py_v2.yml b/spec/supabase_py_v2.yml
index a3af18a5acd..997dd443a53 100644
--- a/spec/supabase_py_v2.yml
+++ b/spec/supabase_py_v2.yml
@@ -2,7 +2,7 @@ openref: 0.1
info:
id: reference/supabase-py
- title: Supabase Client
+ title: Supabase Python Client
description: |
Supabase Python(Community).
@@ -281,18 +281,360 @@ functions:
name: Getting your data
code: |
```
- r = supabase
- .from('countries')
- .select("*").execute()
+ response = supabase.table('countries').select("*").execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'id': 1, 'name': 'Afghanistan'},
+ {'id': 2, 'name': 'Albania'},
+ {'id': 3, 'name': 'Algeria'}],
+ count=None)
```
- id: selecting-specific-columns
name: Selecting specific columns
code: |
```
- r = await supabase
- .from('countries')
- .select('name').execute()
+ response = supabase.table('countries').select('name').execute()
```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'name': 'Afghanistan'},
+ {'name': 'Albania'},
+ {'name': 'Algeria'}],
+ count=None)
+ ```
+ - id: query-foreign-tables
+ name: Query foreign tables
+ description: |
+ If your database has foreign key relationships, you can query related tables too.
+ code: |
+ ```
+ response = supabase.table('countries').select('name, cities(name)').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Germany'),
+ (2, 'Indonesia');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 2, 'Bali'),
+ (2, 1, 'Munich');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'name': 'Germany', 'cities': [{'name': 'Munich'}]},
+ {'name': 'Indonesia', 'cities': [{'name': 'Bali'}]}],
+ count=None)
+ ```
+ - id: query-foreign-tables-through-a-join-table
+ name: Query foreign tables through a join table
+ code: |
+ ```
+ response = supabase.table('users').select('name, teams(name)').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ users (
+ id int8 primary key,
+ name text
+ );
+ create table
+ teams (
+ id int8 primary key,
+ name text
+ );
+ -- join table
+ create table
+ users_teams (
+ user_id int8 not null references users,
+ team_id int8 not null references teams,
+ -- both foreign keys must be part of a composite primary key
+ primary key (user_id, team_id)
+ );
+
+ insert into
+ users (id, name)
+ values
+ (1, 'Kiran'),
+ (2, 'Evan');
+ insert into
+ teams (id, name)
+ values
+ (1, 'Green'),
+ (2, 'Blue');
+ insert into
+ users_teams (user_id, team_id)
+ values
+ (1, 1),
+ (1, 2),
+ (2, 2);
+ ```
+ response: |
+ ```
+ APIResponse(data=[
+ {'name': 'Kiran', 'teams': [{'name': 'Green'}, {'name': 'Blue'}]},
+ {'name': 'Evan', 'teams': [{'name': 'Blue'}]}
+ ],
+ count=None)
+ ```
+ description: |
+ If you're in a situation where your tables are **NOT** directly
+ related, but instead are joined by a _join table_, you can still use
+ the `select()` method to query the related data. The join table needs
+ to have the foreign keys as part of its composite primary key.
+ hideCodeBlock: true
+ - id: query-the-same-foreign-table-multiple-times
+ name: Query the same foreign table multiple times
+ code: |
+ ```
+ response = supabase.table('messages').select('content,from:sender_id(name),to:receiver_id(name)').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ users (id int8 primary key, name text);
+
+ create table
+ messages (
+ sender_id int8 not null references users,
+ receiver_id int8 not null references users,
+ content text
+ );
+
+ insert into
+ users (id, name)
+ values
+ (1, 'Kiran'),
+ (2, 'Evan');
+
+ insert into
+ messages (sender_id, receiver_id, content)
+ values
+ (1, 2, '👋');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'content': '👋',
+ 'from': {'name': 'Kiran'},
+ 'to': {'name': 'Evan'}}
+ ],
+ count=None)
+ ```
+ description: |
+ If you need to query the same foreign table twice, use the name of the
+ joined column to identify which join to use. You can also give each
+ column an alias.
+ hideCodeBlock: true
+ - id: filtering-through-foreign-tables
+ name: Filtering through foreign tables
+ code: |
+ ```
+ response = supabase.table('cities').select('name, countries(*)').eq('countries.name', 'Estonia').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Germany'),
+ (2, 'Indonesia');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 2, 'Bali'),
+ (2, 1, 'Munich');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'name': 'Bali', 'countries': None},
+ {'name': 'Munich', 'countries': None}],
+ count=None)
+ ```
+ description: |
+ NOT WORKING CURRENTLY
+ If the filter on a foreign table's column is not satisfied, the foreign
+ table returns `[]` or `null` but the parent table is not filtered out.
+ If you want to filter out the parent table rows, use the `!inner` hint
+ hideCodeBlock: true
+ - id: querying-foreign-table-with-count
+ name: Querying foreign table with count
+ code: |
+ ```
+ response = supabase.table('countries').select('*, cities(count)').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table countries (
+ "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
+ "name" text
+ );
+
+ create table cities (
+ "id" "uuid" primary key default "extensions"."uuid_generate_v4"() not null,
+ "name" text,
+ "country_id" "uuid" references public.countries on delete cascade
+ );
+
+ with country as (
+ insert into countries (name)
+ values ('united kingdom') returning id
+ )
+ insert into cities (name, country_id) values
+ ('London', (select id from country)),
+ ('Manchester', (select id from country)),
+ ('Liverpool', (select id from country)),
+ ('Bristol', (select id from country));
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'id': 1, 'name': 'Germany', 'cities': [{'count': 1}]},
+ {'id': 2, 'name': 'Indonesia', 'cities': [{'count': 1}]}],
+ count=None)
+ ```
+ description: |
+ You can get the number of rows in a related table by using the
+ **count** property.
+ hideCodeBlock: true
+ - id: querying-with-count-option
+ name: Querying with count option
+ code: |
+ ```
+ response = supabase.table('countries').select('*', count='exact').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'id': 1, 'name': 'Germany'},
+ {'id': 2, 'name': 'Indonesia'}],
+ count=2)
+ ```
+ description: |
+ You can get the number of rows by using the
+ *count* parameter in the select query.
+ hideCodeBlock: true
+ - id: querying-json-data
+ name: Querying JSON data
+ code: |
+ ```
+ response = supabase.table('users').select('id, name, address->city').execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ users (
+ id int8 primary key,
+ name text,
+ address jsonb
+ );
+
+ insert into
+ users (id, name, address)
+ values
+ (1, 'Avdotya', '{"city":"Saint Petersburg"}');
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'id': 1, 'name': 'Avdotya', 'city': 'Saint Petersburg'}], count=None)
+ ```
+ description: |
+ You can select and filter data inside of
+ [JSON](/docs/guides/database/json) columns. Postgres offers some
+ [operators](/docs/guides/database/json#query-the-jsonb-data) for
+ querying JSON data.
+ hideCodeBlock: true
+
+ - id: insert
+ title: 'Create data: insert()'
+ $ref: '@supabase/postgrest-js.PostgrestQueryBuilder.insert'
+ examples:
+ - id: create-a-record
+ name: Create a record
+ code: |
+ ```
+ data, count = supabase
+ .table('countries')
+ .insert({"id": 1, "name": "Denmark"})
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ ```
+ response: |
+ ```
+ APIResponse(data=[{'id': 1, 'name': 'Denmark'}], count=None)
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
- id: invoke
title: 'invoke()'
diff --git a/spec/supabase_swift_v1.yml b/spec/supabase_swift_v1.yml
new file mode 100644
index 00000000000..bb6db9ac8f8
--- /dev/null
+++ b/spec/supabase_swift_v1.yml
@@ -0,0 +1,2701 @@
+openref: 0.1
+
+info:
+ id: reference/supabase-swift
+ title: Supabase Swift Client
+ description: |
+
+ Supabase Swift.
+
+ specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_swift_v1.yml
+ slugPrefix: '/'
+ libraries:
+ - id: 'Swift'
+ version: '0.0.1'
+
+functions:
+ - id: initializing
+ title: 'Initializing'
+ $ref: '@supabase/supabase-js.index.SupabaseClient.constructor'
+ description: |
+ You can initialize Supabase with the `SupabaseClient` by passing your `Project URL` and `Project Key`. You can find these under your `Project Settings` → `API Settings`
+ The Supabase client is your entrypoint to the rest of the Supabase functionality and is the easiest way to interact with everything we offer within the Supabase ecosystem.
+
+ examples:
+ - id: initialize-client
+ name: Initialize Client
+ code: |
+ ```js
+ let client = SupabaseClient(supabaseURL: "https://xyzcompany.supabase.co'", supabaseKey: "public-anon-key")
+ ```
+
+ - id: select
+ title: 'Fetch data: select()'
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.select'
+ notes: |
+ - By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed in Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.
+ - `select()` can be combined with [Modifiers](/docs/reference/javascript/using-modifiers)
+ - `select()` can be combined with [Filters](/docs/reference/javascript/using-filters)
+ - If using the Supabase hosted platform `apikey` is technically a reserved keyword, since the API gateway will pluck it out for authentication. [It should be avoided as a column name](https://github.com/supabase/supabase/issues/5465).
+ - The recommended solution for getting data is to use the value property which will return a decoded model. Create a struct codable model of the of your database to get this easily decoded.
+ examples:
+ - id: getting-your-data
+ name: Getting your data
+ isSpotlight: true
+ code: |
+ ```js
+ let city: CityModel = try await client.database
+ .from("cities")
+ .execute().value
+ ```
+ - id: selecting-specific-columns
+ name: Selecting specific columns
+ description: You can select specific fields from your tables.
+ code: |
+ ```js
+ let city: CityModel = try await client.database
+ .from("cities")
+ .select(columns:"name")
+ .execute().value
+ ```
+ - id: query-foreign-tables
+ name: Query foreign tables
+ description: If your database has foreign key relationships, you can query related tables too.
+ code: |
+ ```js
+ let country: CountryModel = try await client.database
+ .from("countries")
+ .select(columns:"""
+ id,
+ name,
+ cities: city_id
+ (
+ id,
+ city_name
+ )
+ """)
+ .execute().value
+ ```
+ note: |
+ What about join tables
+ If you're in a situation where your tables are **NOT** directly related, but instead are joined by a _join table_,
+ you can still use the `select()` method to query the related data. The PostgREST engine detects the relationship automatically.
+ For more details, [follow the link](https://postgrest.org/en/latest/api.html#embedding-through-join-tables).
+ - id: query-the-same-foreign-table-multiple-times
+ name: Query the same foreign table multiple times
+ description: |
+ Sometimes you will need to query the same foreign table twice.
+ In this case, you can use the name of the joined column to identify
+ which join you intend to use. For convenience, you can also give an
+ alias for each column. For example, if we had a shop of products,
+ and we wanted to get the supplier and the purchaser at the same time
+ (both in the users) table
+ code: |
+ ```js
+ let message: MessageModel = try await client.database
+ .from("messages")
+ .select(columns:"""
+ content,
+ from: sender_id(name),
+ to: receiver_id(name)
+ """)
+ .execute().value
+ ```
+ - id: querying-with-count-option
+ name: Querying with count option
+ description: |
+ You can get the number of rows by using the count option.
+ Allowed values for count option are [exact](https://postgrest.org/en/stable/api.html#exact-count), [planned](https://postgrest.org/en/stable/api.html#planned-count) and [estimated](https://postgrest.org/en/stable/api.html#estimated-count).
+ code: |
+ ```js
+ let count = try await client.database
+ .from("countries")
+ .select(columns:"*", head: true, count: .exact)
+ .execute().count
+ ```
+ - id: querying-json-data
+ name: Querying JSON data
+ description: |
+ If you have data inside of a JSONB column, you can apply select
+ and query filters to the data values. Postgres offers a
+ [number of operators](https://www.postgresql.org/docs/current/functions-json.html)
+ for querying JSON data. Also see
+ [PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.
+ code: |
+ ```js
+ let country: UserModel = try await client.database
+ .from("users")
+ .select(columns:"""
+ id, name
+ address->city
+ """)
+ .execute().value
+ ```
+
+ - id: insert
+ title: 'Create data: insert()'
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.insert'
+ notes: |
+ - By default, every time you run `insert()`, the client library will make a `select` to return the full record.
+ This is convenient, but it can also cause problems if your policies are not configured to allow the `select` operation.
+ If you are using Row Level Security and you are encountering problems, try setting the `returning` param to `minimal`.
+ examples:
+ - id: create-a-record
+ name: Create a record
+ isSpotlight: true
+ code: |
+ ```js
+ let city = CityModel(name:"The Shire", country_id: 554)
+ try await client.database
+ .from("cities")
+ .insert(city)
+ .execute()
+ ```
+ - id: bulk-create
+ name: Bulk create
+ description: |
+ When running a bulk create, the operation is handled in a single transaction. If any of the inserts fail, all other operations are
+ rolled back.
+ code: |
+ ```js
+ let theShire = CityModel(name:"The Shire", country_id: 554)
+ let rohan = CityModel(name:"Rohan", country_id: 554)
+ try await client.database
+ .from("cities")
+ .insert([theShire, rohan])
+ .execute()
+ ```
+ - id: fetch-inserted-data
+ name: Fetch inserted record
+ code: |
+ ```js
+ let theShire = CityModel(name:"The Shire", country_id: 554)
+ let rohan = CityModel(name:"Rohan", country_id: 554)
+ let cities:[CityModel] = try await client.database
+ .from("cities")
+ .insert([theShire, rohan],
+ returning: .representation)
+ .select()
+ .execute()
+ ```
+
+ - id: update
+ title: 'Modify data: update()'
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.update'
+ notes: |
+ - `update()` should always be combined with [Filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to update.
+ examples:
+ - id: updating-your-data
+ name: Updating your data
+ isSpotlight: true
+ code: |
+ ```js
+ let toUpdate = CountryModel(name: "Australia")
+ try await client.database
+ .from("countries")
+ .update(toUpdate)
+ .eq(column: "id", value: 1)
+ .execute()
+ ```
+ - id: update-a-record-and-return-it
+ name: Update a record and return it
+ code: |
+ ```js
+ let toUpdate = CountryModel(name: "Australia")
+ try await client.database
+ .from("countries")
+ .update(toUpdate, returning: .representation)
+ .eq(column: "id", value: 1)
+ .select()
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Taiwan');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "name": "Australia"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ - id: updating-json-data
+ name: Updating JSON data
+ description: |
+ Postgres offers a
+ [number of operators](https://www.postgresql.org/docs/current/functions-json.html)
+ for working with JSON data. Right now it is only possible to update an entire JSON document,
+ but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys.
+ code: |
+ ```js
+ let toUpdate = AddressModel(street: "Melrose Place", postcode: 90210)
+ try await client.database
+ .from("users")
+ .update(toUpdate)
+ .eq(column: "address->postcode", value: 90210)
+ .select()
+ .execute()
+ ```
+
+ - id: upsert
+ title: 'Upsert data: upsert()'
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.upsert'
+ notes: |
+ - Primary keys should be included in the data payload in order for an update to work correctly.
+ - Primary keys must be natural, not surrogate. There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys.
+ - If you need to insert new data and update existing data at the same time, use [Postgres triggers](https://github.com/supabase/postgrest-js/issues/173#issuecomment-825124550).
+ examples:
+ - id: upsert-your-data
+ name: Upsert your data
+ isSpotlight: true
+ code: |
+ ```js
+ let toUpsert = MessageModel(id:3, message: "foo", username: "supabot")
+ try await client.database
+ .from("messages")
+ .upsert(toUpsert)
+ .execute()
+ ```
+ - id: upserting-into-tables-with-constraints
+ name: Upserting into tables with constraints
+ description: |
+ Running the following will cause supabase to upsert data into the `users` table.
+ If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row
+ based on the column passed into `onConflict`.
+ isSpotlight: true
+ code: |
+ ```js
+ let toUpsert = UserModel(username: "supabot")
+ try await client.database
+ .from("users")
+ .upsert(toUpsert, onConflict: "username")
+ .execute()
+ ```
+ - name: Return the exact number of rows
+ isSpotlight: true
+ code: |
+ ```js
+ let toUpsert = UserModel(username: "supabot")
+ try await client.database
+ .from("users")
+ .upsert(toUpsert, onConflict: "username", count:.exact)
+ .execute()
+ ```
+
+ - id: delete
+ title: 'Delete data: delete()'
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.delete'
+ notes: |
+ - `delete()` should always be combined with [filters](/docs/reference/javascript/using-filters) to target the item(s) you wish to delete.
+ - If you use `delete()` with filters and you have
+ [RLS](/docs/learn/auth-deep-dive/auth-row-level-security) enabled, only
+ rows visible through `SELECT` policies are deleted. Note that by default
+ no rows are visible, so you need at least one `SELECT`/`ALL` policy that
+ makes the rows visible.
+ examples:
+ - id: delete-records
+ name: Delete records
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .eq(column: "id", value: 666)
+ .execute()
+ ```
+ - id: fetch-delete-records
+ name: Fetch deleted records
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .eq(column: "id", value: 666)
+ .select()
+ .execute()
+ ```
+ - id: rpc
+ title: 'Stored Procedures: rpc()'
+ description: |
+ You can call stored procedures as a "Remote Procedure Call".
+
+ That's a fancy way of saying that you can put some logic into your database then call it from anywhere.
+ It's especially useful when the logic rarely changes - like password resets and updates.
+ examples:
+ - id: call-a-stored-procedure
+ name: Call a stored procedure
+ isSpotlight: true
+ description: This is an example invoking a stored procedure.
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "hello_world")
+ .execute()
+ ```
+ - id: with-parameters
+ name: With Parameters
+ code: |
+ ```js
+ let rpcParams = CityModel(name: "The Shire")
+ try await client.database
+ .rpc(fn: "echo_city", params:rpcParams)
+ .execute()
+ ```
+ - id: using-filters
+ title: Using Filters
+ description: |
+ Filters allow you to only return rows that match certain conditions.
+
+ Filters can be used on `select()`, `update()`, and `delete()` queries.
+
+ If a database function returns a table response, you can also apply filters.
+ examples:
+ - id: applying-filters
+ name: Applying Filters
+ description: |
+ Filters must be applied after any of `select()`, `update()`, `upsert()`,
+ `delete()`, and `rpc()` and before
+ [modifiers](/docs/reference/dart/using-modifiers).
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .eq(column: "name", value: "The Shire")
+ .execute()
+ ```
+ - id: chaining-filters
+ name: Chaining Filters
+ description: |
+ Filters must be applied after any of `select()`, `update()`, `upsert()`,
+ `delete()`, and `rpc()` and before
+ [modifiers](/docs/reference/dart/using-modifiers).
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .gte(column: "population", value: 1000)
+ .lt(column: "population", value: 10000)
+ .execute()
+ ```
+ - id: conditional-chaining
+ name: Conditional Chaining
+ description: |
+ Filters can be built up one step at a time and then executed. For example:
+ code: |
+ ```js
+ try await client.database
+ .from("users")
+ .select()
+ .eq(column: "address->postcode", value: 90210)
+ .execute()
+ ```
+ - id: filter-by-value-within-json-column
+ name: Filter by values within a JSON column
+ description: |
+ Filters can be built up one step at a time and then executed. For example:
+ data:
+ sql: |
+ ```sql
+ create table
+ users (
+ id int8 primary key,
+ name text,
+ address jsonb
+ );
+
+ insert into
+ users (id, name, address)
+ values
+ (1, 'Michael', '{ "postcode": 90210 }'),
+ (2, 'Jane', null);
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "name": "Michael",
+ "address": {
+ "postcode": 90210
+ }
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ code: |
+ ```js
+ try await client.database
+ .from("users")
+ .select()
+ .eq(column: "address->postcode", value: 90210)
+ .execute()
+ ```
+ - id: filter-foreign-tables
+ name: Filter Foreign Tables
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(columns:
+ """
+ name,
+ cities!inner (
+ name
+ )
+ """)
+ .eq(column: "cities.name", value: "Bali")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Germany'),
+ (2, 'Indonesia');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 2, 'Bali'),
+ (2, 1, 'Munich');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "Indonesia",
+ "cities": [
+ {
+ "name": "Bali"
+ }
+ ]
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ - id: or
+ title: or()
+ description: |
+ Finds all rows satisfying at least one of the filters.
+ notes: |
+ - `.or()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
+
+ ```dart
+ .or('id.in.(6,7),arraycol.cs.{"a","b"}') // Use Postgres list () and 'in' for in_ filter. Array {} and 'cs' for contains.
+ .or('id.in.(${mylist.join(',')}),arraycol.cs.{${mylistArray.join(',')}}') // You can insert a Dart list for list or array column.
+ .or('id.in.(${mylist.join(',')}),rangecol.cs.(${mylistRange.join(',')}]') // You can insert a Dart list for list or range column.
+ ```
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(columns: "name")
+ .or(filters: "id.eq.2,name.eq.Algeria")
+ .execute()
+ ```
+ - id: use-or-with-and
+ name: Use `or` with `and`
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(columns: "name")
+ .or(filters: "id.gt.3,and(id.eq.1,name.eq.Afghanistan)")
+ .execute()
+ ```
+
+ - id: not
+ title: not()
+ description: |
+ Finds all rows that don't satisfy the filter.
+ notes: |
+ - `.not()` expects you to use the raw [PostgREST syntax](https://postgrest.org/en/stable/api.html#horizontal-filtering-rows) for the filter names and values.
+
+ ```dart
+ .not('name','eq','Paris')
+ .not('arraycol','cs','{"a","b"}') // Use Postgres array {} for array column and 'cs' for contains.
+ .not('rangecol','cs','(1,2]') // Use Postgres range syntax for range column.
+ .not('id','in','(6,7)') // Use Postgres list () and 'in' for in_ filter.
+ .not('id','in','(${mylist.join(',')})') // You can insert a Dart list array.
+ ```
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select()
+ .not(column: "name", operator: .is, value: "")
+ .execute()
+ ```
+
+ - id: match
+ title: match()
+ description: |
+ Finds all rows whose columns match the specified `query` object.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(columns: "name")
+ .match(query: ["id" : 2, "name": "Albania"])
+ .execute()
+ ```
+
+ - id: eq
+ title: eq()
+ description: |
+ Finds all rows whose value on the stated `column` exactly matches the specified `value`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .eq(column: "name", value: "The Shire")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .eq(column: "name", value: "San Francisco")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .eq(column: "name", value: "Mordor")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .eq(column: "name", value: "Mordor")
+ .execute()
+ ```
+
+ - id: neq
+ title: neq()
+ description: |
+ Finds all rows whose value on the stated `column` doesn't match the specified `value`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .neq(column: "name", value: "The Shire")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .neq(column: "name", value: "San Francisco")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .neq(column: "name", value: "Mordor")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .neq(column: "address->postcode", value: 90210)
+ .execute()
+ ```
+
+ - id: gt
+ title: gt()
+ description: |
+ Finds all rows whose value on the stated `column` is greater than the specified `value`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .gt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .gt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .gt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .gt(column: "country_id", value: 250)
+ .execute()
+ ```
+
+ - id: gte
+ title: gte()
+ description: |
+ Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .gte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .gte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .gte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .gte(column: "country_id", value: 250)
+ .execute()
+ ```
+
+ - id: lt
+ title: lt()
+ description: |
+ Finds all rows whose value on the stated `column` is less than the specified `value`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .lt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .lt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .lt(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .lt(column: "country_id", value: 250)
+ .execute()
+ ```
+
+ - id: lte
+ title: lte()
+ description: |
+ Finds all rows whose value on the stated `column` is less than or equal to the specified `value`.
+ $ref: '@supabase/postgrest-js.PostgrestFilterBuilder.lte'
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .lte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .lte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .lte(column: "country_id", value: 250)
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .lte(column: "country_id", value: 250)
+ .execute()
+ ```
+
+ - id: like
+ title: like()
+ description: |
+ Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive).
+ $ref: '@supabase/postgrest-js.PostgrestFilterBuilder.lte'
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .like(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .like(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .like(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .like(column: "name", value: "%la%")
+ .execute()
+ ```
+
+ - id: ilike
+ title: ilike()
+ description: |
+ Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive).
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .ilike(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .ilike(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .ilike(column: "name", value: "%la%")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .ilike(column: "name", value: "%la%")
+ .execute()
+ ```
+
+ - id: is
+ title: is_()
+ description: |
+ A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`.
+
+ `is_` and `in_` filter methods are suffixed with `_` to avoid collisions with reserved keywords.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .is(column: "name", value: "null")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .is(column: "name", value: "null")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .is(column: "name", value: "null")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .is(column: "name", value: "null")
+ .execute()
+ ```
+
+ - id: in
+ title: in_()
+ description: |
+ Finds all rows whose value on the stated `column` is found on the specified `values`.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, country_id")
+ .in(column: "name", value: ["Rio de Janeiro", "San Francisco"])
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .in(column: "name", value: ["Rio de Janeiro", "San Francisco"])
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .in(column: "name", value: ["Rio de Janeiro", "San Francisco"])
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .in(column: "name", value: ["Rio de Janeiro", "San Francisco"])
+ .execute()
+ ```
+
+ - id: contains
+ title: contains()
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .select(columns: "name, id, main_exports")
+ .contains(column: "main_exports", value: "oil")
+ .execute()
+ ```
+ - id: with-update
+ name: With `update()`
+ code: |
+ ```js
+ let toUpdate = CityModel(name: "Mordor")
+ try await client.database
+ .from("cities")
+ .update(columns: toUpdate)
+ .contains(column: "main_exports", value: "oil")
+ .execute()
+ ```
+ - id: with-delete
+ name: With `delete()`
+ code: |
+ ```js
+ try await client.database
+ .from("cities")
+ .delete()
+ .contains(column: "main_exports", value: "oil")
+ .execute()
+ ```
+ - id: with-rpc
+ name: With `rpc()`
+ code: |
+ ```js
+ try await client.database
+ .rpc(fn: "echo_all_cities")
+ .contains(column: "main_exports", value: "oil")
+ .execute()
+ ```
+
+ - id: range-lt
+ title: rangeLt()
+ description: |
+ Only relevant for range columns. Match only rows where every element in column is less than any element in range.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("reservations")
+ .select()
+ .rangeLt(column: "during", value: "[2000-01-02 08:30, 2000-01-02 09:30]")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "room_name": "Emerald",
+ "during": "[\"2000-01-01 13:00:00\",\"2000-01-01 15:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Postgres supports a number of [range
+ types](https://www.postgresql.org/docs/current/rangetypes.html). You
+ can filter on range columns using the string representation of range
+ values.
+ hideCodeBlock: true
+
+ - id: range-gt
+ title: rangeGt()
+ 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()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("reservations")
+ .select()
+ .rangeGt(column: "during", value: "[2000-01-02 08:30, 2000-01-02 09:30]")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 2,
+ "room_name": "Topaz",
+ "during": "[\"2000-01-02 09:00:00\",\"2000-01-02 10:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Postgres supports a number of [range
+ types](https://www.postgresql.org/docs/current/rangetypes.html). You
+ can filter on range columns using the string representation of range
+ values.
+ hideCodeBlock: true
+
+ - id: range-gte
+ title: rangeGte()
+ description: |
+ Only relevant for range columns. Match only rows where every element in column is either contained in range or greater than any element in range.
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("reservations")
+ .select()
+ .rangeGte(column: "during", value: "[2000-01-02 08:30, 2000-01-02 09:30]")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 2,
+ "room_name": "Topaz",
+ "during": "[\"2000-01-02 09:00:00\",\"2000-01-02 10:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Postgres supports a number of [range
+ types](https://www.postgresql.org/docs/current/rangetypes.html). You
+ can filter on range columns using the string representation of range
+ values.
+ hideCodeBlock: true
+
+ - id: range-lte
+ title: rangeLte()
+ description: |
+ Only relevant for range columns. Match only rows where every element in column is either contained in range or less than any element in range.
+
+ $ref: '@supabase/postgrest-js.PostgrestFilterBuilder.rangeLte'
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("reservations")
+ .select()
+ .rangeLte(column: "during", value: "[2000-01-02 08:30, 2000-01-02 09:30]")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "room_name": "Emerald",
+ "during": "[\"2000-01-01 13:00:00\",\"2000-01-01 15:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Postgres supports a number of [range
+ types](https://www.postgresql.org/docs/current/rangetypes.html). You
+ can filter on range columns using the string representation of range
+ values.
+ hideCodeBlock: true
+
+ - id: range-adjacent
+ title: rangeAdjacent()
+ description: |
+ Only relevant for range columns. Match only rows where column is mutually exclusive to range and there can be no element between the two ranges.
+
+ examples:
+ - id: with-select
+ name: With `select()`
+ isSpotlight: true
+ code: |
+ ```js
+ try await client.database
+ .from("reservations")
+ .select()
+ .rangeAdjacent(column: "during", value: "[2000-01-02 08:30, 2000-01-02 09:30]")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "room_name": "Emerald",
+ "during": "[\"2000-01-01 13:00:00\",\"2000-01-01 15:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+
+ hideCodeBlock: true
+
+ - id: overlaps
+ title: overlaps()
+ $ref: '@supabase/postgrest-js.PostgrestFilterBuilder.overlaps'
+ description: |
+ Only relevant for array and range columns. Match only rows where column and value have an element in common.
+
+ examples:
+ - id: on-array-columns
+ name: On array columns
+ code: |
+ ```js
+ try await client.database
+ .from("issues")
+ .select(columns: "title")
+ .overlaps(column: "tags", value: "['is:closed', 'severity:high']")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ issues (
+ id int8 primary key,
+ title text,
+ tags text[]
+ );
+
+ insert into
+ issues (id, title, tags)
+ values
+ (1, 'Cache invalidation is not working', array['is:open', 'severity:high', 'priority:low']),
+ (2, 'Use better names', array['is:open', 'severity:low', 'priority:medium']);
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "title": "Cache invalidation is not working"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: on-range-columns
+ name: On range columns
+ code: |
+ ```js
+ try await client.database
+ .from("issues")
+ .select(columns: "title")
+ .overlaps(column: "tags", value: "['is:closed', 'severity:high']")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ reservations (
+ id int8 primary key,
+ room_name text,
+ during tsrange
+ );
+
+ insert into
+ reservations (id, room_name, during)
+ values
+ (1, 'Emerald', '[2000-01-01 13:00, 2000-01-01 15:00)'),
+ (2, 'Topaz', '[2000-01-02 09:00, 2000-01-02 10:00)');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "room_name": "Emerald",
+ "during": "[\"2000-01-01 13:00:00\",\"2000-01-01 15:00:00\")"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Postgres supports a number of [range
+ types](https://www.postgresql.org/docs/current/rangetypes.html). You
+ can filter on range columns using the string representation of range
+ values.
+ hideCodeBlock: true
+
+ - id: text-search
+ title: textSearch()
+ description: |
+ Only relevant for text and tsvector columns. Match only rows where `column`matches the query string in `query`.
+
+ For more information, see [Postgres full text search](https://supabase.com/docs/guides/database/full-text-search).
+ examples:
+ - id: text-search
+ name: Text search
+ code: |
+ ```js
+ try await client.database
+ .from("quotes")
+ .select(columns: "catchphrase")
+ .textSearch(column: "catchphrase",
+ query: "'fat' & 'cat'",
+ config: "english")
+ .execute()
+ ```
+ - id: basic-normalization
+ name: Basic normalization
+ description: Uses PostgreSQL's `plainto_tsquery` function.
+ code: |
+ ```js
+ try await client.database
+ .from("quotes")
+ .select(columns: "catchphrase")
+ .textSearch(column: "catchphrase",
+ query: "'fat' & 'cat'",
+ config: "english",
+ type: .plain)
+ .execute()
+ ```
+ - id: full-normalization
+ name: Full normalization
+ description: Uses PostgreSQL's `phraseto_tsquery` function.
+ code: |
+ ```js
+ try await client.database
+ .from("quotes")
+ .select(columns: "catchphrase")
+ .textSearch(column: "catchphrase",
+ query: "'fat' & 'cat'",
+ config: "english",
+ type: .phrase)
+ .execute()
+ ```
+ - id: web-search
+ name: Websearch
+ description: |
+ Uses PostgreSQL's `websearch_to_tsquery` function.
+ This function will never raise syntax errors, which makes it possible to use raw user-supplied input for search, and can be used
+ with advanced operators.
+
+ - `unquoted text`: text not inside quote marks will be converted to terms separated by & operators, as if processed by plainto_tsquery.
+ - `"quoted text"`: text inside quote marks will be converted to terms separated by <-> operators, as if processed by phraseto_tsquery.
+ - `OR`: the word “or” will be converted to the | operator.
+ - `-`: a dash will be converted to the ! operator.
+
+ code: |
+ ```js
+ try await client.database
+ .from("quotes")
+ .select(columns: "catchphrase")
+ .textSearch(column: "catchphrase",
+ query: "'fat' & 'cat'",
+ config: "english",
+ type: .websearch)
+ .execute()
+ ```
+
+ - id: filter
+ title: filter()
+ $ref: '@supabase/postgrest-js.PostgrestFilterBuilder.filter'
+ notes: |
+ filter() expects you to use the raw PostgREST syntax for the filter values.
+
+ ```ts
+ .filter('id', 'in', '(5,6,7)') // Use `()` for `in` filter
+ .filter('arraycol', 'cs', '{"a","b"}') // Use `cs` for `contains()`, `{}` for array values
+ ```
+ examples:
+ - id: with-select
+ name: With `select()`
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select()
+ .filter(column: "name", operator: .in, value: "('Algeria','Japan')")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 3,
+ "name": "Algeria"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: on-a-foreign-table
+ name: On a foreign table
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(column:
+ """
+ name,
+ cities!inner (
+ name
+ )
+ """)
+ .filter(column: "cities.name", operator: .eq, value: "Bali")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Germany'),
+ (2, 'Indonesia');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 2, 'Bali'),
+ (2, 1, 'Munich');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "Indonesia",
+ "cities": [
+ {
+ "name": "Bali"
+ }
+ ]
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ - id: using-modifiers
+ title: Using Modifiers
+ description: |
+ Filters work on the row level—they allow you to return rows that
+ only match certain conditions without changing the shape of the rows.
+ Modifiers are everything that don't fit that definition—allowing you to
+ change the format of the response (e.g. returning a CSV string).
+
+ Modifiers must be specified after filters. Some modifiers only apply for
+ queries that return rows (e.g., `select()` or `rpc()` on a function that
+ returns a table response).
+
+ - id: db-modifiers-select
+ title: select()
+ $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.select'
+ description: |
+ Perform a SELECT on the query result.
+ examples:
+ - id: with-upsert
+ name: With `upsert()`
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .upsert(CountryModel(id: 1, name: "Algeria"))
+ .select()
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 1,
+ "name": "Algeria"
+ }
+ ],
+ "status": 201,
+ "statusText": "Created"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: order
+ title: order()
+ description: |
+ Order the query result by column.
+ $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.order'
+ examples:
+ - id: with-select
+ name: With `select()`
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(column: "id, name")
+ .order(column: "id", ascending: false)
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "id": 3,
+ "name": "Algeria"
+ },
+ {
+ "id": 2,
+ "name": "Albania"
+ },
+ {
+ "id": 1,
+ "name": "Afghanistan"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: on-a-foreign-table
+ name: On a foreign table
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(column:
+ """
+ name,
+ cities (
+ name
+ )
+ """)
+ .order(column: "name", ascending: false, foreignTable: "cities")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'United States'),
+ (2, 'Vanuatu');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 1, 'Atlanta'),
+ (2, 1, 'New York City');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "United States",
+ "cities": [
+ {
+ "name": "New York City"
+ },
+ {
+ "name": "Atlanta"
+ }
+ ]
+ },
+ {
+ "name": "Vanuatu",
+ "cities": []
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ description: |
+ Ordering on foreign tables doesn't affect the ordering of
+ the parent table.
+ hideCodeBlock: true
+
+ - id: limit
+ title: limit()
+ description: |
+ Limit the query result by count.
+ $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.limit'
+ examples:
+ - id: with-select
+ name: With `select()`
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(column: "id, name")
+ .limit(count: 1)
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "Afghanistan"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: on-a-foreign-table
+ name: On a foreign table
+ code: |
+ ```js
+ try await client.database
+ .from("countries")
+ .select(column:
+ """
+ name,
+ cities (
+ name
+ )
+ """)
+ .limit(count: 1, foreignTable: "cities")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+ create table
+ cities (
+ id int8 primary key,
+ country_id int8 not null references countries,
+ name text
+ );
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'United States');
+ insert into
+ cities (id, country_id, name)
+ values
+ (1, 1, 'Atlanta'),
+ (2, 1, 'New York City');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "United States",
+ "cities": [
+ {
+ "name": "Atlanta"
+ }
+ ]
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ - id: range
+ title: range()
+ description: |
+ Limit the query result by from and to inclusively.
+ $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.range'
+ examples:
+ - id: with-select
+ name: With `select()`
+ code: |
+ ```ts
+ try await client.database
+ .from("countries")
+ .select(column:
+ """
+ name,
+ cities (
+ name
+ )
+ """)
+ .limit(count: 1, foreignTable: "cities")
+ .execute()
+ ```
+ data:
+ sql: |
+ ```sql
+ create table
+ countries (id int8 primary key, name text);
+
+ insert into
+ countries (id, name)
+ values
+ (1, 'Afghanistan'),
+ (2, 'Albania'),
+ (3, 'Algeria');
+ ```
+ response: |
+ ```json
+ {
+ "data": [
+ {
+ "name": "Afghanistan"
+ },
+ {
+ "name": "Albania"
+ }
+ ],
+ "status": 200,
+ "statusText": "OK"
+ }
+ ```
+ hideCodeBlock: true
+ isSpotlight: true
+ - id: auth-api
+ title: 'Overview'
+ notes: |
+ - The auth methods can be accessed via the Supabase GoTrue Auth client.
+ examples:
+ - id: create-auth-client
+ name: Create auth client
+ isSpotlight: true
+ code: |
+ ```js
+ let supabase = SupabaseClient(supabaseURL: "https://xyzcompany.supabase.co'", supabaseKey: "public-anon-key")
+ let auth = supabase.auth
+ ```
+ - id: sign-up
+ title: 'signUp()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signUp'
+ notes: |
+ - By default, the user needs to verify their email address before logging in. To turn this off, disable **Confirm email** in [your project](https://app.supabase.com/project/_/auth/providers).
+ - **Confirm email** determines if users need to confirm their email address after signing up.
+ - If **Confirm email** is enabled, a `user` is returned but `session` is null.
+ - If **Confirm email** is disabled, both a `user` and a `session` are returned.
+ - When the user confirms their email address, they are redirected to the [`SITE_URL`](https://supabase.com/docs/reference/auth/config#site_url) by default. You can modify your `SITE_URL` or add additional redirect URLs in [your project](https://app.supabase.com/project/_/auth/url-configuration).
+ - If signUp() is called for an existing confirmed user:
+ - If **Confirm email** is enabled in [your project](https://app.supabase.com/project/_/auth/providers), an obfuscated/fake user object is returned.
+ - If **Confirm email** is disabled, the error message, `User already registered` is returned.
+ - To fetch the currently logged-in user, refer to [`getUser()`](/docs/reference/javascript/auth-getuser).
+ examples:
+ - id: sign-up
+ name: Sign up
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.signUp( email: "example@email.com",
+ password: "example-password")
+ ```
+ - id: sign-up-with-additional-user-metadata
+ name: Sign up with additional user metadata
+ isSpotlight: false
+ code: |
+ ```js
+ try await supabase.auth.signUp( email: "example@email.com",
+ password: "example-password",
+ data: [
+ "first_name": AnyJSON.string("John"),
+ "age": AnyJSON.number(24)
+ ]
+ )
+ ```
+ - id: sign-up-with-redirect
+ name: Sign up with a redirect URL
+ description: |
+ - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ code: |
+ ```js
+ try await supabase.auth.signUp(
+ email: "example@email.com",
+ password: "example-password",
+ redirectTo: URL(string: "https://example.com/welcome")!
+ )
+ ```
+ - id: sign-in-with-password
+ title: 'signInWithPassword()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signInWithPassword'
+ notes: |
+ - Requires either an email and password or a phone number and password.
+ examples:
+ - id: sign-in-with-email-and-password
+ name: Sign in with email and password
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.signIn( email: "example@email.com",
+ password: "example-password" )
+ ```
+ - id: sign-in-with-phone-and-password
+ name: Sign in with phone and password
+ isSpotlight: false
+ code: |
+ ```js
+ try await supabase.auth.signIn( phone: "+13334445555",
+ password: "same-password" )
+
+ try await supabase.auth.verifyOTP(phone: "+13334445555",
+ token: "123456",
+ type: .sms)
+ ```
+ - id: sign-in-with-otp
+ title: 'signInWithOtp()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signInWithOtp'
+ notes: |
+ - Requires either an email or phone number.
+ - This method is used for passwordless sign-ins where a OTP is sent to the user's email or phone number.
+ - If the user doesn't exist, `signInWithOtp()` will signup the user instead. To restrict this behavior, you can set `shouldCreateUser` in `SignInWithPasswordlessCredentials.options` to `false`.
+ - If you're using an email, you can configure whether you want the user to receive a magiclink or a OTP.
+ - If you're using phone, you can configure whether you want the user to receive a OTP.
+ - The magic link's destination URL is determined by the [`SITE_URL`](/docs/reference/auth/config#site_url).
+ - See [redirect URLs and wildcards](/docs/guides/auth/overview#redirect-urls-and-wildcards) to add additional redirect URLs to your project.
+ - Magic links and OTPs share the same implementation. To send users a one-time code instead of a magic link, [modify the magic link email template](https://app.supabase.com/project/_/auth/templates) to include `{{ .Token }}` instead of `{{ .ConfirmationURL }}`.
+ examples:
+ - id: sign-in-with-email
+ name: Sign in with email
+ isSpotlight: true
+ description: The user will be sent an email which contains either a magiclink or a OTP or both. By default, a given user can only request a OTP once every 60 seconds.
+ code: |
+ ```js
+ try await supabase.auth.signInWithOTP(email: "example@email.com",
+ redirectTo: URL(string: "https://example.com/welcome")!)
+ ```
+ - id: sign-in-with-sms-otp
+ name: Sign in with SMS OTP
+ isSpotlight: false
+ description: The user will be sent a SMS which contains a OTP. By default, a given user can only request a OTP once every 60 seconds.
+ code: |
+ ```js
+ try await supabase.auth.signInWithOTP(phone: "+13334445555")
+ ```
+ - id: sign-in-with-oauth
+ title: 'signInWithOAuth()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signInWithOAuth'
+ notes: |
+ - This method is used for signing in using a third-party provider.
+ - Supabase supports many different [third-party providers](https://supabase.com/docs/guides/auth#providers).
+ examples:
+ - id: sign-in-using-a-third-party-provider
+ name: Sign in using a third-party provider
+ isSpotlight: true
+ 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).
+ code: |
+ ```js
+ let url = try await supabase.auth
+ .getOAuthSignInURL(
+ provider: .github
+ )
+ ```
+
+ - id: sign-in-using-a-third-party-provider-with-redirect
+ name: Sign in using a third-party provider with redirect
+ isSpotlight: false
+ description: |
+ - When the third-party provider successfully authenticates the user, the provider redirects the user to the URL specified in the `redirectTo` parameter. This parameter defaults to the [`SITE_URL`](/docs/reference/auth/config#site_url). It does not redirect the user immediately after invoking this method.
+ - 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).
+ code: |
+ ```js
+ let url = try await supabase.auth
+ .getOAuthSignInURL(
+ provider: .google,
+ redirectTo: URL(string: "https://example.com/welcome")!
+ )
+ ```
+ - id: sign-in-with-scopes
+ name: Sign in with scopes
+ isSpotlight: false
+ description: |
+ If you need additional data from an OAuth provider, you can include a space-separated list of scopes in your request to get back an OAuth provider token.
+ You may also need to specify the scopes in the provider's OAuth app settings, depending on the provider. The list of scopes will be documented by the third-party provider you are using and specifying scopes will enable you to use the OAuth provider token to call additional APIs supported by the third-party provider to get more information.
+ code: |
+ ```js
+ let url = try await supabase.auth
+ .getOAuthSignInURL(
+ provider: .github,
+ scopes: "repo gist notifications"
+ )
+ ```
+ - id: sign-out
+ title: 'signOut()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.signOut'
+ notes: |
+ - In order to use the `signOut()` method, the user needs to be signed in first.
+ examples:
+ - id: sign-out
+ name: Sign out
+ isSpotlight: true
+ code: |
+ ```js
+ let url = try await supabase.auth.signOut()
+ ```
+ - id: verify-otp
+ title: 'verifyOtp()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.verifyOtp'
+ notes: |
+ - The `verifyOtp` method takes in different verification types. If a phone number is used, the type can either be `sms` or `phone_change`. If an email address is used, the type can be one of the following: `signup`, `magiclink`, `recovery`, `invite` or `email_change`.
+ - The verification type used should be determined based on the corresponding auth method called before `verifyOtp` to sign up / sign-in a user.
+ examples:
+ - id: verify-sms-one-time-password(otp)
+ name: Verify Sms One-Time Password (OTP)
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.verifyOTP(phone: "+13334445555",
+ token: "123456",
+ type: .sms)
+ ```
+ - id: verify-signup-one-time-password(otp)
+ name: Verify Signup One-Time Password (OTP)
+ isSpotlight: false
+ code: |
+ ```js
+ try await supabase.auth.verifyOTP(email: "example@example-email.com",
+ token: "123456",
+ type: .signup)
+ ```
+ - id: get-session
+ title: 'getSession()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.getSession'
+ description: |
+ - Returns the session, refreshing it if necessary. The session returned can be null if the session is not detected which can happen in the event a user is not signed-in or has logged out.
+ examples:
+ - id: get-the-session-data
+ name: Get the session data
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.session
+ ```
+ - id: get-user
+ title: 'getUser()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.getUser'
+ description: |
+ - This method gets the user object from the current session.
+ - Fetches the user object from the database instead of local session.
+ - Should be used only when you require the most current user data. For faster results, `getSession().session.user` is recommended.
+ examples:
+ - id: get-the-logged-in-user-with-the-current-existing-session
+ name: Get the logged in user with the current existing session
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.session.user
+ ```
+ - id: update-user
+ title: 'updateUser()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.updateUser'
+ notes: |
+ - In order to use the `updateUser()` method, the user needs to be signed in first.
+ - By default, email updates sends a confirmation link to both the user's current and new email.
+ To only send a confirmation link to the user's new email, disable **Secure email change** in your project's [email auth provider settings](https://app.supabase.com/project/_/auth/providers).
+ examples:
+ - id: update-the-email-for-an-authenticated-user
+ name: Update the email for an authenticated user
+ description: Sends a "Confirm Email Change" email to the new email address.
+ isSpotlight: false
+ code: |
+ ```js
+ try await supabase.auth.update(user: UserAttributes(email: "new@email.com"))
+ ```
+ - id: update-the-password-for-an-authenticated-user
+ name: Update the password for an authenticated user
+ isSpotlight: false
+ code: |
+ ```js
+ try await supabase.auth.update(user: UserAttributes(password: "newPassw0rd?"))
+ ```
+ - id: update-the-users-metadata
+ name: Update the user's metadata
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.update(user:
+ UserAttributes(data: [
+ "hello": AnyJSON.string("world")
+ ]
+ )
+ ```
+ - id: set-session
+ title: 'setSession()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.setSession'
+ notes: |
+ - `setSession()` takes in a refresh token and uses it to get a new session.
+ - The refresh token can only be used once to obtain a new session.
+ - [Refresh token rotation](/docs/reference/auth/config#refresh_token_rotation_enabled) is enabled by default on all projects to guard against replay attacks.
+ - You can configure the [`REFRESH_TOKEN_REUSE_INTERVAL`](https://supabase.com/docs/reference/auth/config#refresh_token_reuse_interval) which provides a short window in which the same refresh token can be used multiple times in the event of concurrency or offline issues.
+ examples:
+ - id: refresh-the-session
+ name: Refresh the session
+ description: Sets the session data from refresh_token and returns current session or an error if the refresh_token is invalid.
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.setSession(accessToken: "access_token", refreshToken: "refresh_token")
+ ```
+ - id: refresh-session
+ title: 'refreshSession()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.refreshSession'
+ notes: |
+ - This method will refresh the session whether the current one is expired or not.
+ examples:
+ - id: refresh-session-using-the-current-session
+ name: Refresh session using the refresh token
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.auth.refreshSession(refreshToken: "refreshToken")
+ ```
+ - id: on-auth-state-change
+ title: 'onAuthStateChange()'
+ $ref: '@supabase/gotrue-js.GoTrueClient.onAuthStateChange'
+ notes: |
+ - Types of auth events: `SIGNED_IN`, `SIGNED_OUT`, `TOKEN_REFRESHED`, `USER_UPDATED`, `PASSWORD_RECOVERY`
+ - Currently, `onAuthStateChange()` does not work across tabs.
+ For instance, in the case of a password reset flow, the original tab which requested for the password reset link will not receive the `SIGNED_IN` and `PASSWORD_RECOVERY` event when the user clicks on the link.
+
+ examples:
+ - id: listen-to-auth-changes
+ name: Listen to auth changes
+ isSpotlight: true
+ code: |
+ ```js
+ for await event in supabase.auth.authEventChange {
+ let event = event // types of Auth Events
+ let session = try? await client.session
+ }
+ ```
+ - id: list-to-a-specific-event
+ name: Listen to a specific event
+ code: |
+ ```js
+ for await event in supabase.auth.authEventChange {
+ if event == .signedIn {
+ //handle signIn
+ }
+ }
+ });
+ ```
+ - id: invoke
+ title: 'invoke()'
+ description: |
+ Invokes a Supabase Function. See the [guide](/docs/guides/functions) for details on writing Functions.
+ notes: |
+ - Requires an Authorization header.
+ - Invoke params generally match the [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) spec.
+ examples:
+ - id: basic-invocation
+ name: Basic invocation.
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.functions.invoke(
+ functionName: "hello",
+ invokeOptions: .init(body: Foo(foo: "baa"))) {
+ data, response in
+ }
+ ```
+ - id: parsing-custom-headers
+ name: Parsing custom headers.
+ description: |
+ Any `headers` will be passed through to the function. A common pattern is to pass a logged-in user's JWT token as an Authorization header.
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.functions.invoke(
+ functionName: "hello",
+ invokeOptions:.init(headers:["Authorization": "Bearer ${supabase.auth.currentSession?.accessToken}"],
+ body: FooModel(foo: "baa"))
+ { data, response in
+
+ }
+ ```
+ - id: subscribe
+ description: |
+ Subscribe to realtime changes in your database.
+ title: 'on().subscribe()'
+ notes: |
+ - Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/database/api#managing-realtime).
+ - If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`
+ examples:
+ - id: connect-to-realtime-client
+ name: Connect to RealTime Client
+ isSpotlight: true
+ code: |
+ ```js
+ import RealTime
+
+ var client = RealtimeClient(endPoint: "https://yourcompany.supabase.co/realtime/v1", params: ["apikey": "public-anon-key"])
+ client.connect()
+ ```
+ - id: listen-to-all-database-changes
+ name: Listen to all database changes
+ code: |
+ ```js
+ let allChanges = client.channel(.all)
+ allChanges.on(.all) { message in
+ print(message)
+ }
+ allChanges.subscribe()
+ ```
+ - id: listen-to-a-specific-table
+ name: Listen to a specific table
+ code: |
+ ```js
+ let userChanges = client.channel(.table("users", schema: "public"))
+ userChanges.on(.all) { message in
+ print(message)
+ }
+ userChanges.subscribe()
+ ```
+ - id: listen-to-inserts
+ name: Listen to inserts
+ code: |
+ ```js
+ let userChanges = client.channel(.table("users", schema: "public"))
+ userChanges.on(.insert) { message in
+ print(message)
+ }
+ userChanges.subscribe()
+ ```
+ - id: listen-to-updates
+ name: Listen to updates
+ description: |
+ By default, Supabase will send only the updated record. If you want to receive the previous values as well you can
+ enable full replication for the table you are listening too:
+
+ ```sql
+ alter table "your_table" replica identity full;
+ ```
+ code: |
+ ```js
+ let userChanges = client.channel(.table("users", schema: "public"))
+ userChanges.on(.update) { message in
+ print(message)
+ }
+ userChanges.subscribe()
+ ```
+ - id: listen-to-deletes
+ name: Listen to deletes
+ description: |
+ By default, Supabase does not send deleted records. If you want to receive the deleted record you can
+ enable full replication for the table you are listening too:
+
+ ```sql
+ alter table "your_table" replica identity full;
+ ```
+ code: |
+ ```js
+ let userChanges = client.channel(.table("users", schema: "public"))
+ userChanges.on(.delete) { message in
+ print("delete change: \(message)")
+ }
+ userChanges.subscribe()
+ ```
+ - id: listen-to-multiple-events
+ name: Listen to multiple events
+ description: You can chain listeners if you want to listen to multiple events for each table.
+ code: |
+ ```js
+ let userChanges = client.channel(.table("users", schema: "public"))
+ userChanges.on(.insert) { message in
+ print("insert change: \(message)")
+ }
+ userChanges.on(.delete) { message in
+ print("delete change: \(message)")
+ }
+ userChanges.on(.update) { message in
+ print("update change: \(message)")
+ }
+ userChanges.subscribe()
+ ```
+ - id: listening-to-row-level-changes
+ name: Listen to row level changes
+ description: You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.
+ code: |
+ ```js
+ let userChanges = client.channel(.column("id", value: "99", table: "users", schema: "public"))
+ userChanges.on(.all) { message in
+ print(message)
+ }
+ userChanges.subscribe()
+ ```
+
+ - id: remove-channel
+ description: |
+ Unsubscribes and removes Realtime channel from Realtime client.
+ title: 'removeChannel()'
+ notes: |
+ - Removing a channel is a great way to maintain the performance of your project's Realtime service as well as your database if you're listening to Postgres changes.
+ - Supabase will automatically handle cleanup 30 seconds after a client is disconnected, but unused channels may cause degradation as more clients are simultaneously subscribed.
+ examples:
+ - id: removes-a-channel
+ name: Remove a channel
+ isSpotlight: true
+ code: |
+ ```js
+ let channel = client.channel(.table("users", schema: "public"))
+ client.removeChannel(channel)
+ ```
+ - id: unsubscribe-channel
+ name: Unsubscribe from a channel
+ isSpotlight: true
+ code: |
+ ```js
+ let channel = client.channel(.table("users", schema: "public"))
+ channel.unsubscribe()
+ ```
+ - id: list-buckets
+ title: listBuckets()
+ $ref: '@supabase/storage-js.packages/StorageBucketApi.default.listBuckets'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: `select`
+ - `objects` table permissions: none
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: list-buckets
+ name: List buckets
+ isSpotlight: true
+ code: |
+ ```js
+ let buckets: [Bucket] = try await supabase.storage.listBuckets()
+ ```
+
+ - id: get-bucket
+ title: getBucket()
+ $ref: '@supabase/storage-js.packages/StorageBucketApi.default.getBucket'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: `select`
+ - `objects` table permissions: none
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: get-bucket
+ name: Get bucket
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.getBucket(id: "avatars")
+ ```
+
+ - id: create-bucket
+ title: createBucket()
+ $ref: '@supabase/storage-js.packages/StorageBucketApi.default.createBucket'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: `insert`
+ - `objects` table permissions: none
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: create-bucket
+ name: Create bucket
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.createBucket(id: "avatars")
+ ```
+
+ - id: empty-bucket
+ title: emptyBucket()
+ $ref: '@supabase/storage-js.packages/StorageBucketApi.default.emptyBucket'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: `select`
+ - `objects` table permissions: `select` and `delete`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: empty-bucket
+ name: Empty bucket
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.emptyBucket(id: "avatars")
+ ```
+ - id: delete-bucket
+ title: deleteBucket()
+ $ref: '@supabase/storage-js.packages/StorageBucketApi.default.deleteBucket'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: `select` and `delete`
+ - `objects` table permissions: none
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: delete-bucket
+ name: Delete bucket
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.deleteBucket(id: "avatars")
+ ```
+
+ - id: from-upload
+ title: from.upload()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.upload'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `insert`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: upload-file
+ name: Upload file
+ isSpotlight: true
+ code: |
+ ```js
+ import SupabaseStorage
+
+ let file = File(name: "avatar1",
+ data: fileData,
+ fileName: "avatar1.png",
+ contentType: "png")
+
+ try await supabase.storage.from(id: "avatars").upload(
+ path: "public/avatar1.png",
+ file: file,
+ fileOptions: FileOptions(cacheControl: "3600")
+ )
+ ```
+
+ - id: from-update
+ title: from.update()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.update'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `update` and `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: update-file
+ name: Update file
+ isSpotlight: true
+ code: |
+ ```js
+ import SupabaseStorage
+
+ let file = File(name: "avatar2",
+ data: fileData,
+ fileName: "avatar2.png",
+ contentType: "png")
+
+ try await supabase.storage.from(id: "avatars").update(
+ path: "public/avatar1.png",
+ file: file,
+ fileOptions: FileOptions(cacheControl: "3600")
+ )
+ ```
+
+ - id: from-move
+ title: from.move()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.move'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `update` and `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: move-file
+ name: Move file
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.
+ .from(id: "avatars")
+ .move(fromPath: "public/avatar1.png",
+ toPath: "public/avatar2.png")
+ ```
+
+ - id: from-create-signed-url
+ title: from.createSignedUrl()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.createSignedUrl'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: create-signed-url
+ name: Create Signed URL
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.
+ .from(id: "avatars")
+ .createSignedURL(path: "avatar1.png", expiresIn: 60)
+ ```
+ - id: from-download
+ title: from.download()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.download'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: download-file
+ name: Download file
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.
+ .from(id: "avatars")
+ .download(path: "public/avatar1.png")
+ ```
+ - id: from-remove
+ title: from.remove()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.remove'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `delete` and `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: delete-file
+ name: Delete file
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.
+ .from(id: "avatars")
+ .remove(paths: ["avatar1.png"])
+ ```
+
+ - id: from-list
+ title: from.list()
+ $ref: '@supabase/storage-js.packages/StorageFileApi.default.list'
+ notes: |
+ - RLS policy permissions required:
+ - `buckets` table permissions: none
+ - `objects` table permissions: `select`
+ - Refer to the [Storage guide](/docs/guides/storage#access-control) on how access control works
+ examples:
+ - id: list-files-in-a-bucket
+ name: List files in a bucket
+ isSpotlight: true
+ code: |
+ ```js
+ try await supabase.storage.
+ .from(id: "avatars")
+ .list()
+ ```
diff --git a/spec/transforms/analytics_v0_openapi_deparsed.json b/spec/transforms/analytics_v0_openapi_deparsed.json
new file mode 100644
index 00000000000..0f150f95c54
--- /dev/null
+++ b/spec/transforms/analytics_v0_openapi_deparsed.json
@@ -0,0 +1,2902 @@
+{
+ "components": {
+ "responses": {},
+ "schemas": {
+ "Accepted": {
+ "title": "Accepted"
+ },
+ "Endpoint": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ },
+ "NotFound": {
+ "title": "NotFound"
+ },
+ "Notification": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "Source": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ },
+ "Team": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ },
+ "TeamUser": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "User": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ }
+ },
+ "info": {
+ "title": "logflare",
+ "version": "1.0.0"
+ },
+ "openapi": "3.0.0",
+ "paths": {
+ "/api/endpoints": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Endpoint List Response"
+ }
+ },
+ "summary": "List endpoints",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create endpoint",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/endpoints/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.delete",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete endpoint",
+ "tags": [
+ "management",
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.show",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Endpoint Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch endpoint",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.EndpointController.update (2)",
+ "parameters": [
+ {
+ "description": "Endpoint Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Endpoint Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "cache_duration_seconds": {
+ "type": "integer"
+ },
+ "enable_auth": {
+ "type": "boolean"
+ },
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "max_limit": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "proactive_requerying_seconds": {
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "sandboxable": {
+ "type": "boolean"
+ },
+ "source_mapping": {
+ "type": "object"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "query"
+ ],
+ "title": "Endpoint",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update endpoint",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/sources": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Source List Response"
+ }
+ },
+ "summary": "List sources",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create source",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/sources/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.delete",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete source",
+ "tags": [
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.show",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Source Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch source",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.SourceController.update (2)",
+ "parameters": [
+ {
+ "description": "Source Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Source Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_table_ttl": {
+ "type": "integer"
+ },
+ "bq_table_id": {
+ "type": "string"
+ },
+ "bq_table_schema": {
+ "type": "object"
+ },
+ "custom_event_message_keys": {
+ "type": "string"
+ },
+ "favorite": {
+ "type": "boolean"
+ },
+ "has_rejected_events": {
+ "type": "boolean"
+ },
+ "id": {},
+ "inserted_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "metrics": {
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "notifications": {
+ "items": {
+ "properties": {
+ "other_email_notifications": {
+ "type": "string"
+ },
+ "team_user_ids_for_email": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_schema_updates": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "team_user_ids_for_sms": {
+ "allOf": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "user_email_notifications": {
+ "type": "boolean"
+ },
+ "user_schema_update_notifications": {
+ "type": "boolean"
+ },
+ "user_text_notifications": {
+ "type": "boolean"
+ }
+ },
+ "title": "Notification",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "public_token": {
+ "type": "string"
+ },
+ "slack_hook_url": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "updated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "webhook_notification_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Source",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update source",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/teams": {
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.index",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ },
+ "type": "array"
+ }
+ }
+ },
+ "description": "Team List Response"
+ }
+ },
+ "summary": "List teams",
+ "tags": [
+ "management"
+ ]
+ },
+ "post": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.create",
+ "parameters": [],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Create Team",
+ "tags": [
+ "management"
+ ]
+ }
+ },
+ "/api/teams/{token}": {
+ "delete": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.delete",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "204": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "Accepted"
+ }
+ }
+ },
+ "description": "Accepted Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Delete Team",
+ "tags": [
+ "management"
+ ]
+ },
+ "get": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.show",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Team Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Fetch team",
+ "tags": [
+ "management"
+ ]
+ },
+ "patch": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": [
+ "management"
+ ]
+ },
+ "put": {
+ "callbacks": {},
+ "operationId": "LogflareWeb.Api.TeamController.update (2)",
+ "parameters": [
+ {
+ "description": "Team Token",
+ "in": "path",
+ "name": "token",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Team Parameters",
+ "required": false
+ },
+ "responses": {
+ "201": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_users": {
+ "items": {
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "title": "TeamUser",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "token": {
+ "type": "string"
+ },
+ "user": {
+ "properties": {
+ "api_key": {
+ "type": "string"
+ },
+ "api_quota": {
+ "type": "integer"
+ },
+ "bigquery_dataset_id": {
+ "type": "string"
+ },
+ "bigquery_dataset_location": {
+ "type": "string"
+ },
+ "bigquery_project_id": {
+ "type": "string"
+ },
+ "company": {
+ "type": "string"
+ },
+ "email": {
+ "type": "string"
+ },
+ "email_me_product": {
+ "type": "boolean"
+ },
+ "email_preferred": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "provider": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "provider",
+ "token",
+ "provider_uid",
+ "api_key"
+ ],
+ "title": "User",
+ "type": "object"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "title": "Team",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Created Response"
+ },
+ "404": {
+ "content": {
+ "text/plain": {
+ "schema": {
+ "title": "NotFound"
+ }
+ }
+ },
+ "description": "Not found"
+ }
+ },
+ "summary": "Update team",
+ "tags": [
+ "management"
+ ]
+ }
+ }
+ },
+ "security": [],
+ "servers": [
+ {
+ "url": "https://logflare.app",
+ "variables": {}
+ }
+ ],
+ "tags": []
+}
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..992bf307a3a 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": "Successful response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "description": "Successful 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"
},
diff --git a/studio/.env b/studio/.env
index e66cc5523ed..66bb50c8cbe 100644
--- a/studio/.env
+++ b/studio/.env
@@ -8,9 +8,16 @@ SUPABASE_URL=http://localhost:8000
SUPABASE_PUBLIC_URL=http://localhost:8000
SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
SUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJzZXJ2aWNlX3JvbGUiLAogICAgImlzcyI6ICJzdXBhYmFzZS1kZW1vIiwKICAgICJpYXQiOiAxNjQxNzY5MjAwLAogICAgImV4cCI6IDE3OTk1MzU2MDAKfQ.DaYlNEoUrrEn2Ig7tqibS-PHK5vgusbcbo7X36XVt4Q
-
+SENTRY_IGNORE_API_RESOLUTION_ERROR=1
+LOGFLARE_URL=http://localhost:54329
+LOGFLARE_API_KEY=api-key
# TODO: evaluate these variables at runtime instead
# https://nextjs.org/docs/basic-features/environment-variables#loading-environment-variables
NEXT_PUBLIC_SITE_URL=http://localhost:3000
NEXT_PUBLIC_GOTRUE_URL=$SUPABASE_PUBLIC_URL/auth/v1
NEXT_PUBLIC_HCAPTCHA_SITE_KEY=10000000-ffff-ffff-ffff-000000000001
+NEXT_PUBLIC_ENABLE_LOGS=true
+
+# CmdK / AI
+NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InhndWloeHV6cWlid3hqbmlteGV2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE2NzUwOTQ4MzUsImV4cCI6MTk5MDY3MDgzNX0.0PMlOxtKL4O9GGZuAP_Xl4f-Tut1qOnW4bNEmAtoB8w
+NEXT_PUBLIC_SUPABASE_URL=https://xguihxuzqibwxjnimxev.supabase.co
diff --git a/studio/components/grid/SupabaseGrid.tsx b/studio/components/grid/SupabaseGrid.tsx
index 4e3e2d5ab0b..3a1f1fbaffb 100644
--- a/studio/components/grid/SupabaseGrid.tsx
+++ b/studio/components/grid/SupabaseGrid.tsx
@@ -7,9 +7,8 @@ import { DataGridHandle } from '@supabase/react-data-grid'
import { useUrlState } from 'hooks'
import { Dictionary, SupabaseGridProps, SupabaseGridRef } from './types'
+import { useTableRowsQuery } from 'data/table-rows/table-rows-query'
import { StoreProvider, useDispatch, useTrackedState } from './store'
-import { fetchCount, fetchPage, refreshPageDebounced } from './utils'
-import { REFRESH_PAGE_IMMEDIATELY, TOTAL_ROWS_RESET } from './constants'
import { Shortcuts } from './components/common'
import { Grid } from './components/grid'
import Header from './components/header'
@@ -22,6 +21,7 @@ import {
formatFilterURLParams,
formatSortURLParams,
} from './SupabaseGrid.utils'
+import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext'
/** Supabase Grid: React component to render database table */
@@ -58,7 +58,20 @@ export const SupabaseGrid = forwardRef((prop
})
const SupabaseGridLayout = forwardRef((props, ref) => {
- const { editable, storageRef, gridProps, headerActions } = props
+ const {
+ editable,
+ storageRef,
+ gridProps,
+ headerActions,
+ showCustomChildren,
+ customHeader,
+ children,
+ onAddRow,
+ onAddColumn,
+ updateTableRow,
+ onEditForeignKeyColumnValue,
+ onImportData,
+ } = props
const dispatch = useDispatch()
const state = useTrackedState()
@@ -71,9 +84,28 @@ const SupabaseGridLayout = forwardRef((props
const sorts = formatSortURLParams(sort as string[])
const filters = formatFilterURLParams(filter as string[])
- // [Joshen] This is not a perfect fix, but the useEffect to initialize the data in the editor
- // was not getting retriggered for views, works fine for tables.
- const table = typeof props.table === 'string' ? { name: props.table } : props.table
+ const { project } = useProjectContext()
+ const { data, isLoading, isRefetching } = useTableRowsQuery(
+ {
+ queryKey: [props.table.schema, props.table.name],
+ projectRef: project?.ref,
+ connectionString: project?.connectionString,
+ table: props.table,
+ sorts,
+ filters,
+ page: state.page,
+ limit: state.rowsPerPage,
+ },
+ {
+ keepPreviousData: true,
+ onSuccess(data) {
+ dispatch({
+ type: 'SET_ROWS_COUNT',
+ payload: data.rows.length,
+ })
+ },
+ }
+ )
useImperativeHandle(ref, () => ({
rowAdded(row: Dictionary) {
@@ -94,20 +126,6 @@ const SupabaseGridLayout = forwardRef((props
if (!mounted) setMounted(true)
}, [])
- useEffect(() => {
- if (state.refreshPageFlag === REFRESH_PAGE_IMMEDIATELY) {
- fetchPage(state, dispatch, sorts, filters)
- } else if (state.refreshPageFlag !== 0) {
- refreshPageDebounced(state, dispatch, sorts, filters)
- }
- }, [state.refreshPageFlag])
-
- useEffect(() => {
- if (state.totalRows === TOTAL_ROWS_RESET) {
- fetchCount(state, dispatch, filters)
- }
- }, [state.totalRows])
-
useEffect(() => {
if (mounted) {
dispatch({ type: 'UPDATE_FILTERS', payload: {} })
@@ -179,22 +197,39 @@ const SupabaseGridLayout = forwardRef((props
if (!state.table || refreshView || refreshTable) {
initializeData()
}
- }, [state.metaService, state.table, table, props.schema])
+ }, [state.metaService, state.table, props.table, props.schema])
return (
-
-
-
- {mounted && createPortal( , document.body)}
+ {showCustomChildren && children !== undefined ? (
+ <>{children}>
+ ) : (
+ <>
+
+
+
+ >
+ )}
+
+ {mounted &&
+ createPortal( , document.body)}
)
})
diff --git a/studio/components/grid/SupabaseGrid.utils.ts b/studio/components/grid/SupabaseGrid.utils.ts
index 7f13c277e8a..2a0a4f29cb2 100644
--- a/studio/components/grid/SupabaseGrid.utils.ts
+++ b/studio/components/grid/SupabaseGrid.utils.ts
@@ -215,9 +215,12 @@ export function parseSupaTable(
isEncrypted: encryptedColumns.includes(column.name),
enum: column.enums,
comment: column.comment,
- targetTableSchema: null,
- targetTableName: null,
- targetColumnName: null,
+ foreignKey: {
+ targetTableSchema: null,
+ targetTableName: null,
+ targetColumnName: null,
+ deletionAction: undefined,
+ },
}
const primaryKey = primaryKeys.find((pk) => pk.name == column.name)
temp.isPrimaryKey = !!primaryKey
@@ -230,9 +233,10 @@ export function parseSupaTable(
)
})
if (relationship) {
- temp.targetTableSchema = relationship.target_table_schema
- temp.targetTableName = relationship.target_table_name
- temp.targetColumnName = relationship.target_column_name
+ temp.foreignKey.targetTableSchema = relationship.target_table_schema
+ temp.foreignKey.targetTableName = relationship.target_table_name
+ temp.foreignKey.targetColumnName = relationship.target_column_name
+ temp.foreignKey.deletionAction = relationship.deletion_action
}
return temp
})
diff --git a/studio/components/grid/components/common/ForeignTableModal/FilterHeader.tsx b/studio/components/grid/components/common/ForeignTableModal/FilterHeader.tsx
deleted file mode 100644
index 827848222bb..00000000000
--- a/studio/components/grid/components/common/ForeignTableModal/FilterHeader.tsx
+++ /dev/null
@@ -1,110 +0,0 @@
-import React, { FC, useState } from 'react'
-import AwesomeDebouncePromise from 'awesome-debounce-promise'
-import { Button, Input, IconChevronDown, IconSearch } from 'ui'
-import { DropdownControl } from '../../common'
-import { FilterOperatorOptions } from '../../header/filter'
-import { Filter, FilterOperator } from '../../../types'
-
-interface FilterProps {
- defaultColumnName?: string
- defaultValue?: string
- foreignColumnNames: string[]
- onChange: (value: Filter) => void
-}
-
-export const FilterHeader: FC = ({
- defaultColumnName,
- defaultValue,
- foreignColumnNames,
- onChange,
-}) => {
- const [columnName, setColumnName] = useState(
- defaultColumnName
- ? defaultColumnName
- : foreignColumnNames.length > 0
- ? foreignColumnNames[0]
- : ''
- )
- const [condition, setCondition] = useState(FilterOperatorOptions[0].value)
- const [filterText, setFilterText] = useState(defaultValue ?? '')
-
- const columnOptions =
- foreignColumnNames.map((x) => {
- return { value: x, label: x }
- }) || []
-
- function triggerOnChange(columnName: string, condition: string, filterText: string) {
- onFilterChangeDebounced(
- {
- column: columnName,
- operator: condition as FilterOperator,
- value: filterText,
- },
- onChange
- )
- }
-
- function onColumnChange(value: string | number) {
- const str = value + ''
- setColumnName(str)
- triggerOnChange(str, condition, filterText)
- }
-
- function onConditionChange(value: string | number) {
- const str = value + ''
- setCondition(str)
- triggerOnChange(columnName, str, filterText)
- }
-
- function onFilterChange(event: React.ChangeEvent) {
- const value = event.target.value
- setFilterText(value)
- triggerOnChange(columnName, condition, value)
- }
-
- return (
-
-
- }>
-
- Column
- {columnName}
-
-
-
-
- }>
-
- Filter
- {condition}
-
-
-
- }
- />
-
- )
-}
-
-const onFilterChangeDebounced = AwesomeDebouncePromise(
- (filter: Filter, onChange: (value: Filter) => void) => {
- onChange(filter)
- },
- 500
-)
diff --git a/studio/components/grid/components/common/ForeignTableModal/RowItem.tsx b/studio/components/grid/components/common/ForeignTableModal/RowItem.tsx
deleted file mode 100644
index d27314724bb..00000000000
--- a/studio/components/grid/components/common/ForeignTableModal/RowItem.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import * as React from 'react'
-import { Menu } from 'ui'
-import { Dictionary } from '../../../types'
-
-interface RowItemProps {
- item: Dictionary
- onSelect: (item: Dictionary) => void
- columnNames: string[]
-}
-
-export const RowItem: React.FC = ({ item, onSelect, columnNames }) => {
- return (
-
-
onSelect(item)} style={{ minWidth: 'min-content' }}>
-
- {columnNames.map((key, j) => {
- //
- // limit to 5 attributes
- //
- // this could be improved so the user could pick which attributes to display
- // @mildtomato
- if (j > 5) return null
-
- return (
-
-
- {key}
-
-
- {item[key]
- ? typeof item[key] === 'object'
- ? JSON.stringify(item[key])
- : item[key]
- : '[null]'}
-
-
- )
- })}
-
-
-
- )
-}
diff --git a/studio/components/grid/components/common/ForeignTableModal/index.tsx b/studio/components/grid/components/common/ForeignTableModal/index.tsx
deleted file mode 100644
index 78e1bdb56f0..00000000000
--- a/studio/components/grid/components/common/ForeignTableModal/index.tsx
+++ /dev/null
@@ -1,163 +0,0 @@
-import * as React from 'react'
-import { Button, Modal, Menu, IconExternalLink, IconTrash } from 'ui'
-
-import { RowItem } from './RowItem'
-import { FilterHeader } from './FilterHeader'
-import Query from 'components/grid/query'
-import { useTrackedState } from 'components/grid/store'
-import { Dictionary, Filter } from 'components/grid/types'
-
-type ForeignTableModalProps = {
- columnName?: string
- defaultValue?: string
- onChange: (value: any | null) => void
-}
-
-export const ForeignTableModal: React.FC = ({
- columnName,
- defaultValue,
- onChange,
-}) => {
- const [visible, setVisible] = React.useState(false)
- const [foreignColumnNames, setForeignColumnNames] = React.useState([])
- const [rows, setRows] = React.useState[] | null>(null)
- const state = useTrackedState()
- const columnDefinition = state.table?.columns.find((x) => x.name == columnName)
-
- React.useEffect(() => {
- if (!visible) return
-
- fetchColumns()
-
- if (defaultValue && columnDefinition) {
- fetchData({
- column: columnDefinition.targetColumnName!,
- operator: '=',
- value: defaultValue,
- })
- } else {
- fetchData()
- }
- }, [visible])
-
- async function fetchColumns() {
- if (
- !state.metaService ||
- !columnDefinition?.targetTableName ||
- !columnDefinition?.targetTableSchema
- )
- return
-
- const { data } = await state.metaService.fetchColumns(
- columnDefinition?.targetTableName,
- columnDefinition?.targetTableSchema
- )
- if (data && data.length > 0) {
- const columnNames = data.map((x) => x.name)
- setForeignColumnNames(columnNames)
- }
- }
-
- async function fetchData(filter?: Filter) {
- if (!state.onSqlQuery || !columnDefinition?.targetTableName) return
-
- const query = new Query()
- let queryChains = query
- .from(columnDefinition?.targetTableName, columnDefinition?.targetTableSchema ?? undefined)
- .select()
-
- if (filter && filter.value && filter.value != '') {
- const { column, operator, value } = filter
- queryChains = queryChains.filter(column, operator, value)
- }
-
- // TODO: How to let users know that filter result limit at 20 results
- // should we allow a higher value?
- const sql = queryChains.range(0, 20).toSql()
- const { data, error } = await state.onSqlQuery(sql)
- if (error) {
- setRows(null)
- } else {
- setRows(data)
- }
- }
-
- function toggle(event: React.MouseEvent) {
- if (event && event.stopPropagation) event.stopPropagation()
- setVisible(!visible)
- }
-
- function onItemSelect(item: Dictionary) {
- if (item && columnDefinition && columnDefinition.targetColumnName) {
- const value = item[columnDefinition.targetColumnName]
- onChange(value)
- }
-
- setVisible(false)
- }
-
- function renderRows() {
- if (!rows) return null
- const temp = rows.map((x, i) => {
- return (
-
- )
- })
- return {temp}
- }
-
- function onFilterChange(filter: Filter) {
- if (filter && filter.value && filter.value != '') fetchData(filter)
- }
-
- function onClearValueClick() {
- onChange(null)
- setVisible(false)
- }
-
- return (
- <>
- }
- style={{ padding: '3px' }}
- />
- } onClick={onClearValueClick}>
- Clear value
-
- }
- >
-
-
-
-
-
-
-
-
- >
- )
-}
diff --git a/studio/components/grid/components/editor/BooleanEditor.tsx b/studio/components/grid/components/editor/BooleanEditor.tsx
index 8505b5a5901..052ba484a86 100644
--- a/studio/components/grid/components/editor/BooleanEditor.tsx
+++ b/studio/components/grid/components/editor/BooleanEditor.tsx
@@ -1,30 +1,46 @@
-import * as React from 'react'
+import { Select } from 'ui'
import { EditorProps } from '@supabase/react-data-grid'
+import { useTrackedState } from 'components/grid/store'
+
+interface Props extends EditorProps {
+ isNullable?: boolean
+}
export function BooleanEditor({
row,
column,
+ isNullable,
onRowChange,
onClose,
-}: EditorProps) {
- function onChange(event: React.ChangeEvent) {
- onRowChange({ ...row, [column.key]: event.target.checked })
- }
+}: Props) {
+ const state = useTrackedState()
+ const gridColumn = state.gridColumns.find((x) => x.name == column.key)
+ const value = row[column.key as keyof TRow] as unknown as string
- function onBlur() {
- onClose(true)
+ const onBlur = () => onClose(false)
+ const onChange = (event: any) => {
+ const value = event.target.value
+ if (value === 'null') {
+ onRowChange({ ...row, [column.key]: null }, true)
+ } else {
+ onRowChange({ ...row, [column.key]: value === 'true' }, true)
+ }
}
return (
-
-
-
+
+ TRUE
+ FALSE
+ {isNullable && NULL }
+
)
}
diff --git a/studio/components/grid/components/editor/JsonEditor.tsx b/studio/components/grid/components/editor/JsonEditor.tsx
index d068097412a..93ea44dbc9a 100644
--- a/studio/components/grid/components/editor/JsonEditor.tsx
+++ b/studio/components/grid/components/editor/JsonEditor.tsx
@@ -104,17 +104,19 @@ export function JsonEditor({