diff --git a/.github/workflows/docs-tests.yml b/.github/workflows/docs-tests.yml index 055017e1f9b..fa43b18ae44 100644 --- a/.github/workflows/docs-tests.yml +++ b/.github/workflows/docs-tests.yml @@ -14,6 +14,9 @@ concurrency: permissions: contents: read +env: + CI: true + jobs: build: runs-on: ubuntu-latest diff --git a/apps/docs/app/api/graphql/route.ts b/apps/docs/app/api/graphql/route.ts index 2b7020fabc1..d2f14f34c4b 100644 --- a/apps/docs/app/api/graphql/route.ts +++ b/apps/docs/app/api/graphql/route.ts @@ -5,6 +5,7 @@ import { NextResponse } from 'next/server' import { z } from 'zod' import { ApiError, convertZodToInvalidRequestError, InvalidRequestError } from '~/app/api/utils' import { BASE_PATH, IS_DEV } from '~/lib/constants' +import { sendToLogflare, LOGGING_CODES } from '~/lib/logger' import { rootGraphQLSchema } from '~/resources/rootSchema' import { createQueryDepthLimiter } from './validators' @@ -154,6 +155,13 @@ export async function OPTIONS(request: Request): Promise { export async function POST(request: Request): Promise { try { + const vercelId = request.headers.get('x-vercel-id') + sendToLogflare(LOGGING_CODES.CONTENT_API_REQUEST_RECEIVED, { + vercelId, + origin: request.headers.get('Origin'), + userAgent: request.headers.get('User-Agent'), + }) + const result = await handleGraphQLRequest(request) // Do not let Vercel close the process until Sentry has flushed // https://github.com/getsentry/sentry-javascript/issues/9626 diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts index 6cba85388af..30a3a53bd70 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts @@ -2181,6 +2181,10 @@ export const platform: NavMenuConstant = { name: 'Transfer Project', url: '/guides/platform/project-transfer', }, + { + name: 'Duplicate Project', + url: '/guides/platform/clone-project', + }, { name: 'Single Sign-On', url: '/guides/platform/sso', diff --git a/apps/docs/content/_partials/database_setup.mdx b/apps/docs/content/_partials/database_setup.mdx index e1602f62d53..5f7dd771a96 100644 --- a/apps/docs/content/_partials/database_setup.mdx +++ b/apps/docs/content/_partials/database_setup.mdx @@ -12,5 +12,5 @@ Your database will be available in less than a minute. You can find your project credentials on the dashboard: - [Database connection strings](https://supabase.com/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters. -- [Database password](https://supabase.com/dashboard/project/_/settings/database): Reset database password here if you do not have it. +- [Database password](https://supabase.com/dashboard/project/_/database/settings): Reset database password here if you do not have it. - [API credentials](https://supabase.com/dashboard/project/_/settings/api): your serverless API URL and `anon` / `service_role` keys. diff --git a/apps/docs/content/_partials/mcp_supabase_config.mdx b/apps/docs/content/_partials/mcp_supabase_config.mdx index fd5068f69fb..b902d865d8e 100644 --- a/apps/docs/content/_partials/mcp_supabase_config.mdx +++ b/apps/docs/content/_partials/mcp_supabase_config.mdx @@ -54,6 +54,28 @@ } ``` +Or, if using `pnpm` instead of `npm` + + ```json + { + "mcpServers": { + "supabase": { + "command": "cmd", + "args": [ + "/c", + "pnpm", + "dlx", + "@supabase/mcp-server-supabase@latest", + "--read-only", + "--project-ref=" + ], + "env": { + "SUPABASE_ACCESS_TOKEN": "" + } + } + } + } + ``` Replace `` with your project ref, and `` with your personal access token. diff --git a/apps/docs/content/guides/ai/python-clients.mdx b/apps/docs/content/guides/ai/python-clients.mdx index 189ad97ec24..08e1646adb2 100644 --- a/apps/docs/content/guides/ai/python-clients.mdx +++ b/apps/docs/content/guides/ai/python-clients.mdx @@ -11,7 +11,7 @@ For data science or ephemeral workloads, the [Supabase Vecs](https://supabase.gi -You can get your connection string from the [**Database Settings**](https://supabase.com/dashboard/project/_/settings/database) page in your dashboard. Make sure to check **Use connection pooling**, then copy the URI. Also, change the URI scheme from `postgres` to `postgresql`. `vecs` uses SQLAlchemy under the hood, which only supports `postgresql` as a dialect. +You can get your connection string from the [**Database Settings**](https://supabase.com/dashboard/project/_/database/settings) page in your dashboard. Make sure to check **Use connection pooling**, then copy the URI. Also, change the URI scheme from `postgres` to `postgresql`. `vecs` uses SQLAlchemy under the hood, which only supports `postgresql` as a dialect. diff --git a/apps/docs/content/guides/ai/rag-with-permissions.mdx b/apps/docs/content/guides/ai/rag-with-permissions.mdx index fbb1f2a7111..a2c86fdc8d9 100644 --- a/apps/docs/content/guides/ai/rag-with-permissions.mdx +++ b/apps/docs/content/guides/ai/rag-with-permissions.mdx @@ -189,7 +189,7 @@ Since we're managing users and authentication outside of Supabase, we have two o #### Direct Postgres connection -You can directly connect to your Supabase Postgres DB using the [connection info](/dashboard/project/_/settings/database) on your project's database settings page. To use RLS with this method, we use a custom session variable that contains the current user's ID: +You can directly connect to your Supabase Postgres DB using the [connection info](/dashboard/project/_/database/settings) on your project's Database Settings page. To use RLS with this method, we use a custom session variable that contains the current user's ID: ```sql -- enable row level security diff --git a/apps/docs/content/guides/auth/auth-email-passwordless.mdx b/apps/docs/content/guides/auth/auth-email-passwordless.mdx index 5df8c8dbc81..c6f2a6af289 100644 --- a/apps/docs/content/guides/auth/auth-email-passwordless.mdx +++ b/apps/docs/content/guides/auth/auth-email-passwordless.mdx @@ -24,7 +24,7 @@ Magic Links are a form of passwordless login where users click on a link sent to Email authentication methods, including Magic Links, are enabled by default. -Configure the Site URL and any additional redirect URLs. These are the only URLs that are allowed as redirect destinations after the user clicks a Magic Link. You can change the URLs on the [Auth Providers page](/dashboard/project/_/auth/providers) for hosted projects, or in the [configuration file](/docs/guides/cli/config#auth.additional_redirect_urls) for self-hosted projects. +Configure the Site URL and any additional redirect URLs. These are the only URLs that are allowed as redirect destinations after the user clicks a Magic Link. You can change the URLs on the [URL Configuration page](/dashboard/project/_/auth/url-configuration) for hosted projects, or in the [configuration file](/docs/guides/cli/config#auth.additional_redirect_urls) for self-hosted projects. By default, a user can only request a magic link once every auth.rate_limits.magic_link.period and they expire after auth.rate_limits.magic_link.validity. diff --git a/apps/docs/content/guides/auth/quickstarts/react.mdx b/apps/docs/content/guides/auth/quickstarts/react.mdx index d60a17e4e51..04b1d087a78 100644 --- a/apps/docs/content/guides/auth/quickstarts/react.mdx +++ b/apps/docs/content/guides/auth/quickstarts/react.mdx @@ -37,7 +37,6 @@ hideToc: true ```bash name=Terminal npm create vite@latest my-app -- --template react - ``` @@ -65,14 +64,14 @@ hideToc: true - In `App.js`, create a Supabase client using your [Project URL and public API (anon) key](https://supabase.com/dashboard/project/_/settings/api). + In `App.jsx`, create a Supabase client using your [Project URL and public API (anon) key](https://supabase.com/dashboard/project/_/settings/api). You can configure the Auth component to display whenever there is no session inside `supabase.auth.getSession()` - ```js name=src/App.js + ```jsx name=src/App.jsx import './index.css' import { useState, useEffect } from 'react' import { createClient } from '@supabase/supabase-js' @@ -121,7 +120,7 @@ hideToc: true ```bash name=Terminal - npm start + npm run dev ``` diff --git a/apps/docs/content/guides/auth/signing-keys.mdx b/apps/docs/content/guides/auth/signing-keys.mdx index 1810a3861f7..6532cf7341e 100644 --- a/apps/docs/content/guides/auth/signing-keys.mdx +++ b/apps/docs/content/guides/auth/signing-keys.mdx @@ -171,7 +171,7 @@ If you wish to make your own JWTs or have access to the private key or shared se Use the [Supabase CLI](/docs/reference/cli/introduction) to quickly and securely generate a private key ready for import: ```sh -supabase gen generate-key ES256 +supabase gen signing-key --algorithm ES256 ``` Make sure you store this private key in a secure location, as it will not be extractable from Supabase. diff --git a/apps/docs/content/guides/auth/social-login/auth-google.mdx b/apps/docs/content/guides/auth/social-login/auth-google.mdx index bb15372b26b..eb44fba992a 100644 --- a/apps/docs/content/guides/auth/social-login/auth-google.mdx +++ b/apps/docs/content/guides/auth/social-login/auth-google.mdx @@ -712,7 +712,7 @@ val supabaseClient = createSupabaseClient( **Use the Compose Auth plugin in your Auth Screen** ```kotlin -val authState = supabaseClient.composeAuth.rememberLoginWithGoogle( +val authState = supabaseClient.composeAuth.rememberSignInWithGoogle( onResult = { when(it) { //handle errors NativeSignInResult.ClosedByUser -> TODO() diff --git a/apps/docs/content/guides/cron/quickstart.mdx b/apps/docs/content/guides/cron/quickstart.mdx index 0ea18729a6a..cf1b2d6430b 100644 --- a/apps/docs/content/guides/cron/quickstart.mdx +++ b/apps/docs/content/guides/cron/quickstart.mdx @@ -27,13 +27,6 @@ Attempting to create a second Job with the same name (and case) will overwrite t 4. Choose a schedule for your Job by inputting cron syntax (refer to the syntax chart in the form) or natural language. 5. Input SQL snippet or select a Database function, HTTP request, or Supabase Edge Function. -Cron Create - @@ -99,13 +92,6 @@ You can input seconds for your Job schedule interval as long as you're on Postgr 2. Click on the three vertical dots menu on the right side of the Job and click `Edit cron job`. 3. Make your changes and then click `Save cron job`. -Cron Edit - @@ -148,13 +134,6 @@ It is also possible to modify a job by using the `cron.schedule()` function by i 1. Go to the [Jobs](/dashboard/project/_/integrations/cron/jobs) section and find the Job you'd like to unschedule. 2. Toggle the `Active`/`Inactive` switch next to Job name. -Cron Toggle - @@ -190,13 +169,6 @@ select cron.alter_job( 2. Click on the three vertical dots menu on the right side of the Job and click `Delete cron job`. 3. Confirm deletion by entering the Job name. -Cron Unschedule - @@ -227,13 +199,6 @@ Unscheduling a Job will permanently delete the Job from `cron.job` table but its 1. Go to the [Jobs](/dashboard/project/_/integrations/cron/jobs) section and find the Job you want to see the runs of. 2. Click on the `History` button next to the Job name. -Cron Job Runs - diff --git a/apps/docs/content/guides/database/beekeeper-studio.mdx b/apps/docs/content/guides/database/beekeeper-studio.mdx index 59145196cb7..30f7413f061 100644 --- a/apps/docs/content/guides/database/beekeeper-studio.mdx +++ b/apps/docs/content/guides/database/beekeeper-studio.mdx @@ -28,7 +28,7 @@ hideToc: true - Get your connection credentials from the [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database). You will need: + Get your connection credentials from the [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings). You will need: - host - username - password @@ -50,7 +50,7 @@ hideToc: true - Download your SSL certificate from the Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database) + Download your SSL certificate from the Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings) ![SSL](/docs/img/guides/database/connecting-to-postgres/beekeeper-studio/certificate.png) diff --git a/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx b/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx index b43a54a68ed..7c38a6d8c35 100644 --- a/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx +++ b/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx @@ -64,7 +64,7 @@ Choose one of these Vercel Deploy Templates which use our [Vercel Deploy Integra ### Manual configuration -In your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database), make sure `Use connection pooler` is checked and `Transaction` mode is selected, then copy the URI and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`. +In your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings), make sure `Use connection pooler` is checked and `Transaction` mode is selected, then copy the URI and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`. ```txt .env.local POSTGRES_URL="postgres://postgres.cfcxynqnhdybqtbhjemm:[YOUR-PASSWORD]@aws-0-ap-southeast-1.pooler.supabase.com:6543/postgres?workaround=supabase-pooler.vercel" diff --git a/apps/docs/content/guides/database/connection-management.mdx b/apps/docs/content/guides/database/connection-management.mdx index bd763d7e7cf..8029bf3411d 100644 --- a/apps/docs/content/guides/database/connection-management.mdx +++ b/apps/docs/content/guides/database/connection-management.mdx @@ -11,7 +11,7 @@ Every [Compute Add-On](/docs/guides/platform/compute-add-ons) has a pre-configur ### Configuring Supavisor's pool size -You can change how many database connections Supavisor can manage by altering the pool size in the "Connection pooling configuration" section of the [Database Settings](/dashboard/project/_/settings/database): +You can change how many database connections Supavisor can manage by altering the pool size in the "Connection pooling configuration" section of the [Database Settings](/dashboard/project/_/database/settings): ![Connection Info and Certificate.](/docs/img/database/pool-size.png) diff --git a/apps/docs/content/guides/database/dbeaver.mdx b/apps/docs/content/guides/database/dbeaver.mdx index 0f650c9303a..7d7cb18fb65 100644 --- a/apps/docs/content/guides/database/dbeaver.mdx +++ b/apps/docs/content/guides/database/dbeaver.mdx @@ -64,7 +64,7 @@ If you do not have DBeaver, you can download it from its [website](https://dbeav - In the [Database Settings](https://supabase.com/dashboard/project/_/settings/database), download your SSL certificate. + In the [Database Settings](https://supabase.com/dashboard/project/_/database/settings), download your SSL certificate. diff --git a/apps/docs/content/guides/database/drizzle.mdx b/apps/docs/content/guides/database/drizzle.mdx index c64e7b7021e..90008a2bf3f 100644 --- a/apps/docs/content/guides/database/drizzle.mdx +++ b/apps/docs/content/guides/database/drizzle.mdx @@ -66,7 +66,7 @@ If you plan on solely using Drizzle instead of the Supabase Data API (PostgREST) Connect to your database using the Connection Pooler. - In your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database), make sure `Use connection pooler` is checked, then copy the URI and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password. + In your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings), make sure `Use connection pooler` is checked, then copy the URI and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password. diff --git a/apps/docs/content/guides/database/import-data.mdx b/apps/docs/content/guides/database/import-data.mdx index dd1f5dd2562..4d32ed592e7 100644 --- a/apps/docs/content/guides/database/import-data.mdx +++ b/apps/docs/content/guides/database/import-data.mdx @@ -98,7 +98,7 @@ By default, Supabase enforces query statement timeouts to ensure fair resource a ### 3. Estimate your required disk size -Large datasets consume disk space. Ensure your Supabase project has sufficient disk capacity to accommodate the imported data. If you know how big your database is going to be, you can manually increase the size in your [projects database settings](/dashboard/project/_/settings/database). +Large datasets consume disk space. Ensure your Supabase project has sufficient disk capacity to accommodate the imported data. If you know how big your database is going to be, you can manually increase the size in your [projects database settings](/dashboard/project/_/database/settings). Read more about [disk management](/docs/guides/platform/database-size#disk-management). diff --git a/apps/docs/content/guides/database/pgadmin.mdx b/apps/docs/content/guides/database/pgadmin.mdx index 8a3dfbc6f4a..fc9cbf485b1 100644 --- a/apps/docs/content/guides/database/pgadmin.mdx +++ b/apps/docs/content/guides/database/pgadmin.mdx @@ -72,7 +72,7 @@ hideToc: true - Download your SSL certificate from Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database). + Download your SSL certificate from Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings). In pgAdmin, navigate to the Parameters tab and select connection parameter as Root Certificate. Next navigate to the Root certificate input, it will open up a file-picker modal. Select the certificate you downloaded earlier and save the server details. pgAdmin should now be able to connect to your Postgres via SSL. diff --git a/apps/docs/content/guides/database/postgres-js.mdx b/apps/docs/content/guides/database/postgres-js.mdx index 65a79feb695..a6e1d63f1c9 100644 --- a/apps/docs/content/guides/database/postgres-js.mdx +++ b/apps/docs/content/guides/database/postgres-js.mdx @@ -36,7 +36,7 @@ hideToc: true Create a `db.js` file with the connection details. - To get your connection details, go to your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database). Make sure `Use connection pooling` is enabled. Choose `Transaction Mode` if you're on a platform with transient connections, such as a serverless function, and `Session Mode` if you have a long-lived connection. Copy the URI and save it as the environment variable `DATABASE_URL`. + To get your connection details, go to your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings). Make sure `Use connection pooling` is enabled. Choose `Transaction Mode` if you're on a platform with transient connections, such as a serverless function, and `Session Mode` if you have a long-lived connection. Copy the URI and save it as the environment variable `DATABASE_URL`. diff --git a/apps/docs/content/guides/database/postgres/roles.mdx b/apps/docs/content/guides/database/postgres/roles.mdx index 490bc3fa227..d6ac585c55a 100644 --- a/apps/docs/content/guides/database/postgres/roles.mdx +++ b/apps/docs/content/guides/database/postgres/roles.mdx @@ -42,7 +42,7 @@ If you use special symbols in your Postgres password, you must remember to [perc ### Changing your project password -When you created your project you were also asked to enter a password. This is the password for the `postgres` role in your database. You can update this from the Dashboard under the [database settings](https://supabase.com/dashboard/project/_/settings/database) page. You should _never_ give this to third-party service unless you absolutely trust them. Instead, we recommend that you create a new user for every service that you want to give access too. This will also help you with debugging - you can see every query that each role is executing in your database within `pg_stat_statements`. +When you created your project you were also asked to enter a password. This is the password for the `postgres` role in your database. You can update this from the Dashboard under the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page. You should _never_ give this to third-party service unless you absolutely trust them. Instead, we recommend that you create a new user for every service that you want to give access too. This will also help you with debugging - you can see every query that each role is executing in your database within `pg_stat_statements`. Changing the password does not result in any downtime. All connected services, such as PostgREST, PgBouncer, and other Supabase managed services, are automatically updated to use the latest password to ensure availability. However, if you have any external services connecting to the Supabase database using hardcoded username/password credentials, a manual update will be required. diff --git a/apps/docs/content/guides/database/postgres/row-level-security.mdx b/apps/docs/content/guides/database/postgres/row-level-security.mdx index 0e095879d21..93e4ccf31e0 100644 --- a/apps/docs/content/guides/database/postgres/row-level-security.mdx +++ b/apps/docs/content/guides/database/postgres/row-level-security.mdx @@ -104,7 +104,7 @@ Let's say you have a table called `profiles` in the public schema and you want t -- 1. Create table create table profiles ( id uuid primary key, - user_id references auth.users, + user_id uuid references auth.users, avatar_url text ); diff --git a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx b/apps/docs/content/guides/database/postgres/setup-replication-external.mdx index b1a10c3a719..8f310856a68 100644 --- a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx +++ b/apps/docs/content/guides/database/postgres/setup-replication-external.mdx @@ -27,7 +27,7 @@ select pg_create_logical_replication_slot('example_slot', 'pgoutput'); -This will need a **direct** connection (not a Connection Pooler) to your database and you can find the connection info in the [Dashboard](https://supabase.com/dashboard/project/_/settings/database). +This will need a **direct** connection (not a Connection Pooler) to your database and you can find the connection info in the [Dashboard](https://supabase.com/dashboard/project/_/database/settings). You will also need to ensure that IPv6 is supported by your replication destination (or you can enable the [IPv4 add-on](/docs/guides/platform/ipv4-address)) diff --git a/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx b/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx index da14e59ce2e..9a33efad311 100644 --- a/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx +++ b/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx @@ -79,7 +79,7 @@ Prisma is unable to allocate connections to pending queries fast enough to meet - **Increase the pool timeout**: Increase the `pool_timeout` parameter in your Prisma configuration to give the pooler more time to allocate connections. - **Reduce the connection limit**: If you've explicitly increased the `connection_limit` parameter in your Prisma configuration, try reducing it to a more reasonable value. -- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database). +- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings). - **Optimize queries**: [Improve the efficiency of your queries](https://supabase.com/docs/guides/database/query-optimization) to reduce execution time. - **Increase compute size**: Like the preceding option, this is a strategy to reduce query execution time. @@ -118,14 +118,14 @@ Postgres or Supavisor rejected a request for more connections ### Possible causes:[#possible-causes-max-client-connections-reached] - **When working in transaction mode (port 6543):** The error "Max client connections reached" occurs when clients try to form more connections with the pooler than it can support. -- **When working in session mode (port 5432):** The max amount of clients is restricted to the "Pool Size" value in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database). If the "Pool Size" is set to 15, even if the pooler can handle 200 client connections, it will still be effectively capped at 15 for each unique ["database-role+database" combination](https://github.com/orgs/supabase/discussions/21566). +- **When working in session mode (port 5432):** The max amount of clients is restricted to the "Pool Size" value in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings). If the "Pool Size" is set to 15, even if the pooler can handle 200 client connections, it will still be effectively capped at 15 for each unique ["database-role+database" combination](https://github.com/orgs/supabase/discussions/21566). - **When working with direct connections**: Postgres is already servicing the max amount of connections ### Solutions [#solutions-causes-max-client-connections-reached] - **Transaction Mode for serverless apps**: If you are using serverless functions (Supabase Edge, Vercel, AWS Lambda), switch to transaction mode (port 6543). It handles more connections than session mode or direct connections. - **Reduce the number of Prisma connections**: A single client-server can establish multiple connections with a pooler. Typically, serverless setups do not need many connections. Starting with fewer, like five or three, or even just one, is often sufficient. In serverless setups, begin with `connection_limit=1`, increasing cautiously if needed to avoid maxing out connections. -- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database). +- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings). - **Disconnect appropriately**: Close Prisma connections when they are no longer needed. - **Decrease query time**: Reduce query complexity or add [strategic indexes](https://supabase.com/docs/guides/database/postgres/indexes) to your tables to speed up queries. - **Increase compute size**: Sometimes the best option is to increase your compute size, which also increases your max client size and query execution speed diff --git a/apps/docs/content/guides/database/psql.mdx b/apps/docs/content/guides/database/psql.mdx index 213c08e6fa6..ba95702475b 100644 --- a/apps/docs/content/guides/database/psql.mdx +++ b/apps/docs/content/guides/database/psql.mdx @@ -17,7 +17,7 @@ You can obtain your connection info and Server root certificate from your applic Download your [SSL certificate](#connecting-with-ssl) to `/path/to/prod-supabase.cer`. -Find your connection settings. Go to your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/database) and make sure `Use connection pooling` is checked. Change the connection mode to `Session`, and copy the parameters into the connection string: +Find your connection settings. Go to your [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings) and make sure `Use connection pooling` is checked. Change the connection mode to `Session`, and copy the parameters into the connection string: ```shell psql "sslmode=verify-full sslrootcert=/path/to/prod-supabase.cer host=[CLOUD_PROVIDER]-0-[REGION].pooler.supabase.com dbname=postgres user=postgres.[PROJECT_REF]" diff --git a/apps/docs/content/guides/deployment/branching/github-integration.mdx b/apps/docs/content/guides/deployment/branching/github-integration.mdx index 661730e0521..41869d4fcf8 100644 --- a/apps/docs/content/guides/deployment/branching/github-integration.mdx +++ b/apps/docs/content/guides/deployment/branching/github-integration.mdx @@ -17,6 +17,60 @@ In the Supabase Dashboard: 6. Configure the other options as needed to automate your GitHub connection. 7. Click **Enable integration**. +## Preparing your Git repository + +You will be using the [Supabase CLI](/docs/guides/cli) to initialise your local `./supabase` directory: + + + + + + If you don't have a `./supabase` directory, you can create one: + + ```markdown + supabase init + ``` + + + + + + + + Pull your database changes using `supabase db pull`. To get your database connection string, go to your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) and look for the Session pooler connection string. + + ```markdown + supabase db pull --db-url + + # Your Database connection string will look like this: + # postgres://postgres.xxxx:password@xxxx.pooler.supabase.com:5432/postgres + ``` + + + If you're in an [IPv6 environment](https://github.com/orgs/supabase/discussions/27034) or have the IPv4 Add-On, you can use the direct connection string instead of Supavisor in Session mode. + + + + + + + + + + Commit the `supabase` directory to Git, and push your changes to your remote repository. + + ```bash + git add supabase + git commit -m "Initial migration" + git push + ``` + + + + + + + ## Syncing GitHub branches Enable the **Automatic branching** option in your GitHub Integration configuration to automatically sync GitHub branches with Supabase branches. diff --git a/apps/docs/content/guides/deployment/branching/troubleshooting.mdx b/apps/docs/content/guides/deployment/branching/troubleshooting.mdx index a5c2a2f2362..3715b64c88a 100644 --- a/apps/docs/content/guides/deployment/branching/troubleshooting.mdx +++ b/apps/docs/content/guides/deployment/branching/troubleshooting.mdx @@ -26,7 +26,7 @@ To check the error message, see the Supabase workflow run for your branch under If you enable [network restrictions](/docs/guides/platform/network-restrictions) on your project, the branching cluster will be blocked from connecting to your project by default. This often results in database connection failures when migrating your production project after merging a development branch. -The workaround is to explicitly allow the IPv6 CIDR range of the branching cluster in your project's [database settings](https://supabase.com/dashboard/project/_/settings/database) page: `2600:1f18:2b7d:f600::/56` +The workaround is to explicitly allow the IPv6 CIDR range of the branching cluster in your project's [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page: `2600:1f18:2b7d:f600::/56` Network restrictions to allow connections from branching cluster diff --git a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx index 4d88e8989d7..e96908862bb 100644 --- a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx +++ b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx @@ -27,11 +27,11 @@ hideToc: true - Go to the [database settings page](https://supabase.com/dashboard/project/_/settings/database). In this quickstart, we are going to connect via the connection pooler. If your network supports IPv6, you can connect to the database directly without using the connection pooler. + Go to the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). In this quickstart, we are going to connect via the connection pooler. If your network supports IPv6, you can connect to the database directly without using the connection pooler. We will use the pooler both in `Transaction` and `Session` mode. `Transaction` mode is used for application queries and `Session` mode is used for running migrations with Prisma. - To do this, set the connection mode to `Transaction` in the [database settings page](https://supabase.com/dashboard/project/_/settings/database) and copy the connection string and append `?pgbouncer=true&&connection_limit=1`. `pgbouncer=true` disables Prisma from generating prepared statements. This is required since our connection pooler does not support prepared statements in transaction mode yet. The `connection_limit=1` parameter is only required if you are using Prisma from a serverless environment. This is the Transaction mode connection string. + To do this, set the connection mode to `Transaction` in the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) and copy the connection string and append `?pgbouncer=true&&connection_limit=1`. `pgbouncer=true` disables Prisma from generating prepared statements. This is required since our connection pooler does not support prepared statements in transaction mode yet. The `connection_limit=1` parameter is only required if you are using Prisma from a serverless environment. This is the Transaction mode connection string. To get the Session mode connection pooler string, change the port of the connection string from the dashboard to 5432. diff --git a/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx b/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx index 506a54ecebd..f87855f8c8c 100644 --- a/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx +++ b/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx @@ -33,7 +33,7 @@ hideToc: true When your project is up and running, navigate to your project dashboard and click on [Connect](https://supabase.com/dashboard/project/_?showConnect=true). - Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [database settings](https://supabase.com/dashboard/project/_/settings/database) if you do not have it. + Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [Database Settings](https://supabase.com/dashboard/project/_/database/settings) if you do not have it. diff --git a/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx b/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx index 11207e4dd2c..f70007202fa 100644 --- a/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx +++ b/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx @@ -33,8 +33,9 @@ Within your app's UI, redirect the user to [`https://api.supabase.com/v1/oauth/a - `redirect_uri`: The URL where Supabase will redirect the user to after providing consent. - `response_type`: Set this to `code`. - `state`: Information about the state of your app. Note that `redirect_uri` and `state` together cannot exceed 4kB in size. -- (Recommended) PKCE: We strongly recommend using the PKCE flow for increased security. Generate a random value before taking the user to the authorize endpoint. This value is called code verifier. Hash it with SHA256 and include it as the `code_challenge` parameter, while setting `code_challenge_method` to `S256`. In the next step, you would need to provide the code verifier to get the first access and refresh token. -- [deprecated] `scope`: Scopes are configured when you create your OAuth app. Read the [docs](/docs/guides/platform/oauth-apps/oauth-scopes) for more details. +- `organization_slug`: The slug of the organization you want to connect to. This is optional, but if provided, it will pre-select the organization for the user. +- [Recommended] PKCE: We strongly recommend using the PKCE flow for increased security. Generate a random value before taking the user to the authorize endpoint. This value is called code verifier. Hash it with SHA256 and include it as the `code_challenge` parameter, while setting `code_challenge_method` to `S256`. In the next step, you would need to provide the code verifier to get the first access and refresh token. +- [Deprecated] `scope`: Scopes are configured when you create your OAuth app. Read the [docs](/docs/guides/platform/oauth-apps/oauth-scopes) for more details. ```ts router.get('/connect-supabase/login', async (ctx) => { diff --git a/apps/docs/content/guides/platform/backups.mdx b/apps/docs/content/guides/platform/backups.mdx index ae79d74e7cf..b28e6c9a7de 100644 --- a/apps/docs/content/guides/platform/backups.mdx +++ b/apps/docs/content/guides/platform/backups.mdx @@ -171,44 +171,7 @@ For a detailed breakdown of how charges are calculated, refer to [Manage Point-i ## Restore to a new project -Supabase provides a convenient way to restore data from an existing project into a completely new one. Whether you're using physical backups or Point-in-Time recovery (PITR), this feature allows you to duplicate project data with ease, perform testing safely, or recover data for analysis. Access to this feature is exclusive to users on paid plans and requires that physical backups are enabled for the source project. - - - -PITR is an additional add-on available for organizations on a paid plan with physical backups enabled. - - - -To begin, switch to the source project—the project containing the data you wish to restore—and go to the [database backups](https://supabase.com/dashboard/project/_/database/backups/restore-to-new-project) page. Select the **Restore to a New Project** tab. - -A list of available backups is displayed. Select the backup you want to use and click the "Restore" button. For projects with PITR enabled, use the date and time selector to specify the exact point in time from which you wish to restore data. - -Once you’ve made your choice, Supabase takes care of the rest. A new project is automatically created, replicating key configurations from the original, including the compute instance size, disk attributes, SSL enforcement settings, and network restrictions. The data will remain in the same region as the source project to ensure compliance with data residency requirements. The entire process is fully automated. - - - -The time required to complete the restoration can vary depending largely on the volume of data involved. If you have a large amount of data you can opt for higher performing disk attributes on the source project _before_ starting a clone operation. These disk attributes will be replicated to the new project. This incurs additional costs which will be displayed before starting. - - - -There are a few important restrictions to be aware of with the "Restore to a New Project" process: - -- Projects that are created through the restoration process cannot themselves be used as a source for further clones at this time. -- The feature is only accessible to paid plan users with physical backups enabled, ensuring that the necessary resources and infrastructure are available for the restore process. - -Before starting the restoration, you’ll be presented with an overview of the costs associated with creating the new project. The new project will incur additional monthly expenses based on the mirrored resources from the source project. It’s important to review these costs carefully before proceeding. - -Once the restoration is complete, the new project will be available in your dashboard and will include all data, tables, schemas, and selected settings from the chosen backup source. It is recommended to thoroughly review the new project and perform any necessary tests to ensure everything has been restored as expected. - -New projects are completely independent of their source, and as such can be modified and used as desired. - - - -As the entire database is copied to the new project, this will include all extensions that were enabled at the source. If the source project included extensions that are configured to carry out external operations—for example pg_net, pg_cron, wrappers—these should be disabled once the copy process has completed to avoid any unwanted actions from taking place. - - - -Restoring to a new project is an excellent way to manage environments more effectively. You can use this feature to create staging environments for testing, experiment with changes without risk to production data, or swiftly recover from unexpected data loss scenarios. +See the [Duplicate Project docs](/docs/guides/platform/clone-project). ## Troubleshooting diff --git a/apps/docs/content/guides/platform/clone-project.mdx b/apps/docs/content/guides/platform/clone-project.mdx new file mode 100644 index 00000000000..8a67d30ac43 --- /dev/null +++ b/apps/docs/content/guides/platform/clone-project.mdx @@ -0,0 +1,45 @@ +--- +title: Duplicate project +subtitle: How to clone your existing Supabase project +--- + +You can clone your Supabase project by restoring your data from an existing project into a completely new one. Note that this only duplicates your database, not your project configuration. + +Whether you're using physical backups or Point-in-Time recovery (PITR), this feature allows you to duplicate project data with ease, perform testing safely, or recover data for analysis. Access to this feature is exclusive to users on paid plans and requires that physical backups are enabled for the source project. + + + +PITR is an additional add-on available for organizations on a paid plan with physical backups enabled. + + + +To begin, switch to the source project—the project containing the data you wish to restore—and go to the [database backups](https://supabase.com/dashboard/project/_/database/backups/restore-to-new-project) page. Select the **Restore to a New Project** tab. + +A list of available backups is displayed. Select the backup you want to use and click the "Restore" button. For projects with PITR enabled, use the date and time selector to specify the exact point in time from which you wish to restore data. + +Once you’ve made your choice, Supabase takes care of the rest. A new project is automatically created, replicating key configurations from the original, including the compute instance size, disk attributes, SSL enforcement settings, and network restrictions. The data will remain in the same region as the source project to ensure compliance with data residency requirements. The entire process is fully automated. + + + +The time required to complete the restoration can vary depending largely on the volume of data involved. If you have a large amount of data you can opt for higher performing disk attributes on the source project _before_ starting a clone operation. These disk attributes will be replicated to the new project. This incurs additional costs which will be displayed before starting. + + + +There are a few important restrictions to be aware of with the "Restore to a New Project" process: + +- Projects that are created through the restoration process cannot themselves be used as a source for further clones at this time. +- The feature is only accessible to paid plan users with physical backups enabled, ensuring that the necessary resources and infrastructure are available for the restore process. + +Before starting the restoration, you’ll be presented with an overview of the costs associated with creating the new project. The new project will incur additional monthly expenses based on the mirrored resources from the source project. It’s important to review these costs carefully before proceeding. + +Once the restoration is complete, the new project will be available in your dashboard and will include all data, tables, schemas, and selected settings from the chosen backup source. It is recommended to thoroughly review the new project and perform any necessary tests to ensure everything has been restored as expected. + +New projects are completely independent of their source, and as such can be modified and used as desired. + + + +As the entire database is copied to the new project, this will include all extensions that were enabled at the source. If the source project included extensions that are configured to carry out external operations—for example pg_net, pg_cron, wrappers—these should be disabled once the copy process has completed to avoid any unwanted actions from taking place. + + + +Restoring to a new project is an excellent way to manage environments more effectively. You can use this feature to create staging environments for testing, experiment with changes without risk to production data, or swiftly recover from unexpected data loss scenarios. diff --git a/apps/docs/content/guides/platform/database-size.mdx b/apps/docs/content/guides/platform/database-size.mdx index adcf8937c30..fd670e91a1c 100644 --- a/apps/docs/content/guides/platform/database-size.mdx +++ b/apps/docs/content/guides/platform/database-size.mdx @@ -8,7 +8,7 @@ Disk metrics refer to the storage usage reported by Postgres. These metrics are - _Database size_: Displays the actual size of the data within your Postgres database. This can be found on the [Database Reports page](https://supabase.com/dashboard/project/_/reports/database). -- _Disk size_: Shows the overall disk space usage, which includes both the database size and additional files required for Postgres to function like the Write Ahead Log (WAL) and other system log files. You can view this on the [Database Settings page](https://supabase.com/dashboard/project/_/settings/database). +- _Disk size_: Shows the overall disk space usage, which includes both the database size and additional files required for Postgres to function like the Write Ahead Log (WAL) and other system log files. You can view this on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). ## Database size @@ -94,11 +94,11 @@ The automatic resize operation will add an additional 50% capped to a maximum of -Disk size can also be manually expanded on the [Database settings page](https://supabase.com/dashboard/project/_/settings/database). The maximum disk size for the Pro/Team Plan is 60 TB. If you need more than this, [contact us](https://forms.supabase.com/enterprise) to learn more about the Enterprise Plan. +Disk size can also be manually expanded on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). The maximum disk size for the Pro/Team Plan is 60 TB. If you need more than this, [contact us](https://forms.supabase.com/enterprise) to learn more about the Enterprise Plan. -You may want to import a lot of data into your database which requires multiple disk expansions. for example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode). If so, it is highly recommended you increase the disk size manually on the [Database settings page](https://supabase.com/dashboard/project/_/settings/database). +You may want to import a lot of data into your database which requires multiple disk expansions. for example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode). If so, it is highly recommended you increase the disk size manually on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). Due to restrictions on the underlying cloud provider, disk expansions can occur only once every six hours. During the six hour cool down window, the disk cannot be resized again. diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx index 33ff4d07cfd..7cd679e06db 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx @@ -22,7 +22,7 @@ Supabase's core is Postgres, enabling the use of row-level security and providin ## Retrieve your Supabase host [#retrieve-supabase-host] -1. If you're new to Supabase, [create a project](https://database.new). Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). +1. If you're new to Supabase, [create a project](https://database.new). Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`). diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx index 1b2610d7ed1..9dbe07f8ab4 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx @@ -36,7 +36,7 @@ Alternatively, use the [Heroku to Supabase migration tool](https://migrate.supab 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). 1. Get your project's Session pooler connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true). -1. Replace [YOUR-PASSWORD] in the connection string with your database password. You can reset your database password on the [Database settings page](https://supabase.com/dashboard/project/_/settings/database) if you do not have it. +1. Replace [YOUR-PASSWORD] in the connection string with your database password. You can reset your database password on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) if you do not have it. ## Export your Heroku database to a file [#export-heroku-database] diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx index 14a862acd76..752d1ab6e5f 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx @@ -20,7 +20,7 @@ Before you begin the migration, you need to collect essential information about ## Retrieve your Supabase host [#retrieve-supabase-host] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`). diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx index 09a91700aff..897a67d3447 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx @@ -21,7 +21,7 @@ Before you begin the migration, you need to collect essential information about ## Retrieve your Supabase host [#retrieve-supabase-host] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`). diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx index 64e54365efb..2d44d310c29 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx @@ -32,7 +32,7 @@ export OLD_DB_URL="postgresql://neondb_owner:xxxxxxxxxxxxxxx-random-word-yyyyyyy ## Retrieve your Supabase connection string [#retrieve-supabase-connection-string] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under the Session pooler, click the **Copy** button to the right of your connection string to copy it to the clipboard. diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx index 20ed939ed52..5a85e18e5fe 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx @@ -23,7 +23,7 @@ Example: ## Retrieve your Supabase connection string [#retrieve-supabase-connection-string] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under Session pooler, Copy the connection string and replace the password placeholder with your database password. diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx index 5234d6a5774..b7394a92dc6 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx @@ -27,7 +27,7 @@ Example: ## Retrieve your Supabase connection string [#retrieve-supabase-connection-string] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under Session pooler, Copy the connection string and replace the password placeholder with your database password. diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx index 80631b2a3e4..b71a856c813 100644 --- a/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx +++ b/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx @@ -39,7 +39,7 @@ export OLD_DB_URL="postgres://default:xxxxxxxxxxxx@yy-yyyyy-yyyyyy-yyyyyyy.us-we ## Retrieve your Supabase connection string [#retrieve-supabase-connection-string] 1. If you're new to Supabase, [create a project](https://supabase.com/dashboard). - Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/settings/database). + Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings). 1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) 1. Under the Session pooler, click the **Copy** button to the right of your connection string to copy it to the clipboard. diff --git a/apps/docs/content/guides/platform/migrating-within-supabase.mdx b/apps/docs/content/guides/platform/migrating-within-supabase.mdx index 3bce225102c..e05267edbc0 100644 --- a/apps/docs/content/guides/platform/migrating-within-supabase.mdx +++ b/apps/docs/content/guides/platform/migrating-within-supabase.mdx @@ -4,7 +4,7 @@ subtitle: Learn how to migrate from one Supabase project to another --- If you are on a Paid Plan and have physical backups enabled, you should instead use the [Restore -to another project feature](/docs/guides/platform/backups#restore-to-a-new-project) +to another project feature](/docs/guides/platform/clone-project). ## Database migration guides diff --git a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx index f26c2f72814..f52dcb143e6 100644 --- a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx +++ b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx @@ -44,7 +44,7 @@ breadcrumb: 'Migrations' - Reset the password in the [Database Settings](/dashboard/project/_/settings/database). + Reset the password in the [Database Settings](/dashboard/project/_/database/settings). Replace ```[YOUR-PASSWORD]``` in the connection string with the database password. diff --git a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx index b859a1aabf5..d781a0e9c2c 100644 --- a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx +++ b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx @@ -91,7 +91,7 @@ Here are some things that are not stored directly in your database and will requ It can take a few minutes for the database password reset to take effect. Especially if multiple password resets are done. - Reset the password in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database). + Reset the password in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings). Replace ```[YOUR-PASSWORD]``` in the connection string with the database password. diff --git a/apps/docs/content/guides/platform/network-restrictions.mdx b/apps/docs/content/guides/platform/network-restrictions.mdx index 95c84224460..4f94ba2a33a 100644 --- a/apps/docs/content/guides/platform/network-restrictions.mdx +++ b/apps/docs/content/guides/platform/network-restrictions.mdx @@ -6,17 +6,17 @@ description: "Apply network restrictions for your project's database." -If you can't find the Network Restrictions section at the bottom of your [Database Settings](/dashboard/project/_/settings/database), update your version of Postgres in the [Infrastructure Settings](/dashboard/project/_/settings/infrastructure). +If you can't find the Network Restrictions section at the bottom of your [Database Settings](/dashboard/project/_/database/settings), update your version of Postgres in the [Infrastructure Settings](/dashboard/project/_/settings/infrastructure). Each Supabase project comes with configurable restrictions on the IP ranges that are allowed to connect to Postgres and its pooler ("your database"). These restrictions are enforced before traffic reaches your database. If a connection is not restricted by IP, it still needs to authenticate successfully with valid database credentials. -If direct connections to your database [resolve to a IPv6 address](https://supabase.com/dashboard/project/_/settings/database), you need to add both IPv4 and IPv6 CIDRs to the list of allowed CIDRs. Network Restrictions will be applied to all database connection routes, whether pooled or direct. You will need to add both the IPv4 and IPv6 networks you want to allow. There are two exceptions: If you have been granted an extension on the IPv6 migration OR if you have purchased the [IPv4 add-on](https://supabase.com/dashboard/project/_/settings/addons), you need only add IPv4 CIDRs. +If direct connections to your database [resolve to a IPv6 address](https://supabase.com/dashboard/project/_/database/settings), you need to add both IPv4 and IPv6 CIDRs to the list of allowed CIDRs. Network Restrictions will be applied to all database connection routes, whether pooled or direct. You will need to add both the IPv4 and IPv6 networks you want to allow. There are two exceptions: If you have been granted an extension on the IPv6 migration OR if you have purchased the [IPv4 add-on](https://supabase.com/dashboard/project/_/settings/addons), you need only add IPv4 CIDRs. ## To get started via the Dashboard: -Network restrictions can be configured in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database) page. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project that you are enabling network restrictions. +Network restrictions can be configured in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project that you are enabling network restrictions. ## To get started via the Management API: diff --git a/apps/docs/content/guides/platform/read-replicas.mdx b/apps/docs/content/guides/platform/read-replicas.mdx index ca41806c276..0a8fd476131 100644 --- a/apps/docs/content/guides/platform/read-replicas.mdx +++ b/apps/docs/content/guides/platform/read-replicas.mdx @@ -104,7 +104,7 @@ Read Replicas offer the following features: Each Read Replica has its own dedicated database and API endpoints. -- Find the database endpoint on the [Database Settings page](/dashboard/project/_/settings/database) under **Connection Info** +- Find the database endpoint on the [Database Settings page](/dashboard/project/_/database/settings) under **Connection Info** - Find the API endpoint on the [API Settings page](/dashboard/project/_/settings/api) under **Project URL** Read Replicas only support `GET` requests from the [REST API](/docs/guides/api). If you are calling a read-only Postgres function through the REST API, make sure to set the `get: true` [option](/docs/reference/javascript/rpc?queryGroups=example&example=call-a-read-only-postgres-function). @@ -115,7 +115,7 @@ If you're using an [IPv4 add-on](/docs/guides/platform/ipv4-address#read-replica ### Dedicated connection pool -A connection pool through Supavisor is also available for each Read Replica. Find the connection string on the [Database Settings page](/dashboard/project/_/settings/database) under **Connection String**. +A connection pool through Supavisor is also available for each Read Replica. Find the connection string on the [Database Settings page](/dashboard/project/_/database/settings) under **Connection String**. ### API load balancer diff --git a/apps/docs/content/guides/platform/ssl-enforcement.mdx b/apps/docs/content/guides/platform/ssl-enforcement.mdx index 5f9b5d62167..f5eff76ba6f 100644 --- a/apps/docs/content/guides/platform/ssl-enforcement.mdx +++ b/apps/docs/content/guides/platform/ssl-enforcement.mdx @@ -16,7 +16,7 @@ Projects need to be at least on Postgres 13.3.0 to enable SSL enforcement. You c ## Manage SSL enforcement via the dashboard -SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://supabase.com/dashboard/project/_/settings/database) of the dashboard. +SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) of the dashboard. ## Manage SSL enforcement via the Management API @@ -98,7 +98,7 @@ supabase ssl-enforcement --project-ref {ref} update --disable-db-ssl-enforcement Postgres supports [multiple SSL modes](https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-PROTECTION) on the client side. These modes provide different levels of protection. Depending on your needs, it is important to verify that the SSL mode in use is performing the required level of enforcement and verification of SSL connections. -The strongest mode offered by Postgres is `verify-full` and this is the mode you most likely want to use when SSL enforcement is enabled. To use `verify-full` you will need to download the Supabase CA certificate for your database. The certificate is available through the dashboard under the SSL Configuration section in the [Database Settings page](/dashboard/project/_/settings/database). +The strongest mode offered by Postgres is `verify-full` and this is the mode you most likely want to use when SSL enforcement is enabled. To use `verify-full` you will need to download the Supabase CA certificate for your database. The certificate is available through the dashboard under the SSL Configuration section in the [Database Settings page](/dashboard/project/_/database/settings). Once the CA certificate has been downloaded, add it to the certificate authority list used by Postgres. diff --git a/apps/docs/content/guides/realtime/broadcast.mdx b/apps/docs/content/guides/realtime/broadcast.mdx index 14fc142a370..38eb434e251 100644 --- a/apps/docs/content/guides/realtime/broadcast.mdx +++ b/apps/docs/content/guides/realtime/broadcast.mdx @@ -92,7 +92,7 @@ Go to your Supabase project's [API Settings](https://supabase.com/dashboard/proj ### Receiving Broadcast messages -You can provide a callback for the `broadcast` channel to receive message. This example will receive any `broadcast` messages that are sent to `test-channel`: +You can provide a callback for the `broadcast` channel to receive messages. This example will receive any `broadcast` messages that are sent to `test-channel`: { if (status !== 'SUBSCRIBED') { return } - channelC.send({ + myChannel.send({ type: 'broadcast', event: 'test-my-messages', payload: { message: 'talking to myself' }, diff --git a/apps/docs/content/guides/realtime/concepts.mdx b/apps/docs/content/guides/realtime/concepts.mdx index 2cd9f37dac4..b4fbda80fa5 100644 --- a/apps/docs/content/guides/realtime/concepts.mdx +++ b/apps/docs/content/guides/realtime/concepts.mdx @@ -57,7 +57,7 @@ roomOne.send({ Other clients can receive the message in real-time by subscribing to the Channel with topic `room-one`. These clients continue to receive messages as long as they are subscribed and connected to the same Channel topic. -You can also use [Broadcast using the REST API](/docs/guides/realtime/broad cast#broadcast-using-the-rest-api) and [Broadcast using the Database](/docs/guides/realtime/broadcast#broadcast-using-the-database) to send messages to a Channel which allows you to do more advanced use-cases. +You can also use [Broadcast using the REST API](https://supabase.com/docs/guides/realtime/broadcast#broadcast-using-the-rest-api) and [Broadcast using the Database](/docs/guides/realtime/broadcast#broadcast-using-the-database) to send messages to a Channel which allows you to do more advanced use-cases. An example use-case is sharing a user's cursor position with other clients in an online game. diff --git a/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx b/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx index a3d193e0ecf..9800c5c0bb7 100644 --- a/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx +++ b/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx @@ -27,7 +27,7 @@ To connect to an Analytics Bucket, you will need - An Iceberg client (Spark, PyIceberg, etc) which supports the REST Catalog interface. - S3 credentials to authenticate your Iceberg client with the underlying S3 Bucket. - To create S3 Credentials go to [**Project Settings > Storage**](https://supabase.com/dashboard/project/_/settings/storage), for more information, see the [S3 Authentication Guide](https://supabase.com/docs/guides/storage/s3/authentication). We will support other authentication methods in the future. + To create S3 Credentials go to [**Project Settings > Storage**](https://supabase.com/dashboard/project/_/storage/settings), for more information, see the [S3 Authentication Guide](https://supabase.com/docs/guides/storage/s3/authentication). We will support other authentication methods in the future. - The project reference and Service key for your Supabase project. You can find your Service key in the Supabase Dashboard under [**Project Settings > API**.](https://supabase.com/dashboard/project/_/settings/api-keys) diff --git a/apps/docs/content/guides/storage/debugging/error-codes.mdx b/apps/docs/content/guides/storage/debugging/error-codes.mdx index 15bd0bbdcc9..adc0685a1d9 100644 --- a/apps/docs/content/guides/storage/debugging/error-codes.mdx +++ b/apps/docs/content/guides/storage/debugging/error-codes.mdx @@ -26,40 +26,40 @@ The error codes are returned in the following format: Here is the full list of error codes and their descriptions: -| `ErrorCode` | Description | `StatusCode` | Resolution | -| --------------------------- | --------------------------------------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `NoSuchBucket` | The specified bucket does not exist. | 404 | Verify the bucket name and ensure it exists in the system, if it exists you don't have permissions to access it. | -| `NoSuchKey` | The specified key does not exist. | 404 | Check the key name and ensure it exists in the specified bucket, if it exists you don't have permissions to access it. | -| `NoSuchUpload` | The specified upload does not exist. | 404 | The upload ID provided might not exists or the Upload was previously aborted | -| `InvalidJWT` | The provided JWT (JSON Web Token) is invalid. | 401 | The JWT provided might be expired or malformed, provide a valid JWT | -| `InvalidRequest` | The request is not properly formed. | 400 | Review the request parameters and structure, ensure they meet the API's requirements, the error message will provide more details | -| `TenantNotFound` | The specified tenant does not exist. | 404 | The Storage service had issues while provisioning, [Contact Support](https://supabase.com/dashboard/support/new) | -| `EntityTooLarge` | The entity being uploaded is too large. | 413 | Verify the max-file-limit is equal or higher to the resource you are trying to upload, you can change this value on the [Project Setting](https://supabase.com/dashboard/project/_/settings/storage) | -| `InternalError` | An internal server error occurred. | 500 | Investigate server logs to identify the cause of the internal error. If you think it's a Storage error [Contact Support](https://supabase.com/dashboard/support/new) | -| `ResourceAlreadyExists` | The specified resource already exists. | 409 | Use a different name or identifier for the resource to avoid conflicts. Use `x-upsert:true` header to overwrite the resource. | -| `InvalidBucketName` | The specified bucket name is invalid. | 400 | Ensure the bucket name follows the naming conventions and does not contain invalid characters. | -| `InvalidKey` | The specified key is invalid. | 400 | Verify the key name and ensure it follows the naming conventions. | -| `InvalidRange` | The specified range is not valid. | 416 | Make sure that range provided is within the file size boundary and follow the [HTTP Range spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) | -| `InvalidMimeType` | The specified MIME type is not valid. | 400 | Provide a valid MIME type, ensure using the standard MIME type format | -| `InvalidUploadId` | The specified upload ID is invalid. | 400 | The upload ID provided is invalid or missing. Make sure to provide a active upload ID | -| `KeyAlreadyExists` | The specified key already exists. | 409 | Use a different key name to avoid conflicts with existing keys. Use `x-upsert:true` header to overwrite the resource. | -| `BucketAlreadyExists` | The specified bucket already exists. | 409 | Choose a unique name for the bucket that does not conflict with existing buckets. | -| `DatabaseTimeout` | Timeout occurred while accessing the database. | 504 | Investigate database performance and increase the default pool size. If this error still occurs, upgrade your instance | -| `InvalidSignature` | The signature provided does not match the calculated signature. | 403 | Check that you are providing the correct signature format, for more information refer to [SignatureV4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) | -| `SignatureDoesNotMatch` | The request signature does not match the calculated signature. | 403 | Check your credentials, access key id / access secret key / region that are all correct, refer to [S3 Authentication](/docs/guides/storage/s3/authentication). | -| `AccessDenied` | Access to the specified resource is denied. | 403 | Check that you have the correct RLS policy to allow access to this resource | -| `ResourceLocked` | The specified resource is locked. | 423 | This resource cannot be altered while there is a lock. Wait and try the request again | -| `DatabaseError` | An error occurred while accessing the database. | 500 | Investigate database logs and system configuration to identify and address the database error. | -| `MissingContentLength` | The Content-Length header is missing. | 411 | Ensure the Content-Length header is included in the request with the correct value. | -| `MissingParameter` | A required parameter is missing in the request. | 400 | Provide all required parameters in the request to fulfill the API's requirements. The message field will contain more details | -| `InvalidUploadSignature` | The provided upload signature is invalid. | 403 | The `MultiPartUpload` record was altered while the upload was ongoing, the signature do not match. Do not alter the upload record | -| `LockTimeout` | Timeout occurred while waiting for a lock. | 423 | The lock couldn't be acquired within the specified timeout. Wait and try the request again | -| `S3Error` | An error occurred related to Amazon S3. | - | Refer to Amazon S3 documentation or [Contact Support](https://supabase.com/dashboard/support/new) for assistance with resolving the S3 error. | -| `S3InvalidAccessKeyId` | The provided AWS access key ID is invalid. | 403 | Verify the AWS access key ID provided and ensure it is correct and active. | -| `S3MaximumCredentialsLimit` | The maximum number of credentials has been reached. | 400 | The maximum limit of credentials is reached. | -| `InvalidChecksum` | The checksum of the entity does not match. | 400 | Recalculate the checksum of the entity and ensure it matches the one provided in the request. | -| `MissingPart` | A part of the entity is missing. | 400 | Ensure all parts of the entity are included in the request before completing the operation. | -| `SlowDown` | The request rate is too high and has been throttled. | 503 | Reduce the request rate or implement exponential backoff and retry mechanisms to handle throttling. | +| `ErrorCode` | Description | `StatusCode` | Resolution | +| --------------------------- | --------------------------------------------------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `NoSuchBucket` | The specified bucket does not exist. | 404 | Verify the bucket name and ensure it exists in the system, if it exists you don't have permissions to access it. | +| `NoSuchKey` | The specified key does not exist. | 404 | Check the key name and ensure it exists in the specified bucket, if it exists you don't have permissions to access it. | +| `NoSuchUpload` | The specified upload does not exist. | 404 | The upload ID provided might not exists or the Upload was previously aborted | +| `InvalidJWT` | The provided JWT (JSON Web Token) is invalid. | 401 | The JWT provided might be expired or malformed, provide a valid JWT | +| `InvalidRequest` | The request is not properly formed. | 400 | Review the request parameters and structure, ensure they meet the API's requirements, the error message will provide more details | +| `TenantNotFound` | The specified tenant does not exist. | 404 | The Storage service had issues while provisioning, [Contact Support](https://supabase.com/dashboard/support/new) | +| `EntityTooLarge` | The entity being uploaded is too large. | 413 | Verify the max-file-limit is equal or higher to the resource you are trying to upload, you can change this value on the [Project Settings](https://supabase.com/dashboard/project/_/storage/settings) | +| `InternalError` | An internal server error occurred. | 500 | Investigate server logs to identify the cause of the internal error. If you think it's a Storage error [Contact Support](https://supabase.com/dashboard/support/new) | +| `ResourceAlreadyExists` | The specified resource already exists. | 409 | Use a different name or identifier for the resource to avoid conflicts. Use `x-upsert:true` header to overwrite the resource. | +| `InvalidBucketName` | The specified bucket name is invalid. | 400 | Ensure the bucket name follows the naming conventions and does not contain invalid characters. | +| `InvalidKey` | The specified key is invalid. | 400 | Verify the key name and ensure it follows the naming conventions. | +| `InvalidRange` | The specified range is not valid. | 416 | Make sure that range provided is within the file size boundary and follow the [HTTP Range spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) | +| `InvalidMimeType` | The specified MIME type is not valid. | 400 | Provide a valid MIME type, ensure using the standard MIME type format | +| `InvalidUploadId` | The specified upload ID is invalid. | 400 | The upload ID provided is invalid or missing. Make sure to provide a active upload ID | +| `KeyAlreadyExists` | The specified key already exists. | 409 | Use a different key name to avoid conflicts with existing keys. Use `x-upsert:true` header to overwrite the resource. | +| `BucketAlreadyExists` | The specified bucket already exists. | 409 | Choose a unique name for the bucket that does not conflict with existing buckets. | +| `DatabaseTimeout` | Timeout occurred while accessing the database. | 504 | Investigate database performance and increase the default pool size. If this error still occurs, upgrade your instance | +| `InvalidSignature` | The signature provided does not match the calculated signature. | 403 | Check that you are providing the correct signature format, for more information refer to [SignatureV4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) | +| `SignatureDoesNotMatch` | The request signature does not match the calculated signature. | 403 | Check your credentials, access key id / access secret key / region that are all correct, refer to [S3 Authentication](/docs/guides/storage/s3/authentication). | +| `AccessDenied` | Access to the specified resource is denied. | 403 | Check that you have the correct RLS policy to allow access to this resource | +| `ResourceLocked` | The specified resource is locked. | 423 | This resource cannot be altered while there is a lock. Wait and try the request again | +| `DatabaseError` | An error occurred while accessing the database. | 500 | Investigate database logs and system configuration to identify and address the database error. | +| `MissingContentLength` | The Content-Length header is missing. | 411 | Ensure the Content-Length header is included in the request with the correct value. | +| `MissingParameter` | A required parameter is missing in the request. | 400 | Provide all required parameters in the request to fulfill the API's requirements. The message field will contain more details | +| `InvalidUploadSignature` | The provided upload signature is invalid. | 403 | The `MultiPartUpload` record was altered while the upload was ongoing, the signature do not match. Do not alter the upload record | +| `LockTimeout` | Timeout occurred while waiting for a lock. | 423 | The lock couldn't be acquired within the specified timeout. Wait and try the request again | +| `S3Error` | An error occurred related to Amazon S3. | - | Refer to Amazon S3 documentation or [Contact Support](https://supabase.com/dashboard/support/new) for assistance with resolving the S3 error. | +| `S3InvalidAccessKeyId` | The provided AWS access key ID is invalid. | 403 | Verify the AWS access key ID provided and ensure it is correct and active. | +| `S3MaximumCredentialsLimit` | The maximum number of credentials has been reached. | 400 | The maximum limit of credentials is reached. | +| `InvalidChecksum` | The checksum of the entity does not match. | 400 | Recalculate the checksum of the entity and ensure it matches the one provided in the request. | +| `MissingPart` | A part of the entity is missing. | 400 | Ensure all parts of the entity are included in the request before completing the operation. | +| `SlowDown` | The request rate is too high and has been throttled. | 503 | Reduce the request rate or implement exponential backoff and retry mechanisms to handle throttling. | ## Legacy error codes diff --git a/apps/docs/content/guides/storage/s3/authentication.mdx b/apps/docs/content/guides/storage/s3/authentication.mdx index 55c5102fcce..0795a2e005e 100644 --- a/apps/docs/content/guides/storage/s3/authentication.mdx +++ b/apps/docs/content/guides/storage/s3/authentication.mdx @@ -8,7 +8,7 @@ sidebar_label: 'S3' You have two options to authenticate with Supabase Storage S3: -- Using the generated S3 access keys from your [project settings](/dashboard/project/_/settings/storage) (Intended exclusively for server-side use) +- Using the generated S3 access keys from your [project settings](/dashboard/project/_/storage/settings) (Intended exclusively for server-side use) - Using a Session Token, which will allow you to authenticate with a user JWT token and provide limited access via Row Level Security (RLS). ## S3 access keys @@ -19,7 +19,7 @@ S3 access keys provide full access to all S3 operations across all buckets and b -To authenticate with S3, generate a pair of credentials (Access Key ID and Secret Access Key), copy the endpoint and region from the [project settings page](/dashboard/project/_/settings/storage). +To authenticate with S3, generate a pair of credentials (Access Key ID and Secret Access Key), copy the endpoint and region from the [project settings page](/dashboard/project/_/storage/settings). This is all the information you need to connect to Supabase Storage using any S3-compatible service. diff --git a/apps/docs/content/guides/storage/uploads/file-limits.mdx b/apps/docs/content/guides/storage/uploads/file-limits.mdx index d890c477687..870b580121f 100644 --- a/apps/docs/content/guides/storage/uploads/file-limits.mdx +++ b/apps/docs/content/guides/storage/uploads/file-limits.mdx @@ -8,7 +8,7 @@ sidebar_label: 'Limits' ## Global file size -You can set the max file size across all your buckets by setting this global value in the dashboard [here](https://supabase.com/dashboard/project/_/settings/storage). For Free projects, the limit can't exceed 50 MB. On the Pro Plan and up, you can set this value to up to 500 GB. If you need more than 500 GB, [contact us](https://supabase.com/dashboard/support/new). +You can set the max file size across all your buckets by setting this global value in the dashboard [here](https://supabase.com/dashboard/project/_/storage/settings). For Free projects, the limit can't exceed 50 MB. On the Pro Plan and up, you can set this value to up to 500 GB. If you need more than 500 GB, [contact us](https://supabase.com/dashboard/support/new). | Plan | Max File Size Limit | | ---------- | ------------------- | diff --git a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx index a7ac47b3031..99fec0b0979 100644 --- a/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx +++ b/apps/docs/content/guides/storage/uploads/resumable-uploads.mdx @@ -57,6 +57,9 @@ Instead of `https://project-id.supabase.co` use `https://project-id.storage.supa objectName: fileName, contentType: 'image/png', cacheControl: 3600, + metadata: JSON.stringify({ // custom metadata passed to the user_metadata column + yourCustomMetadata: true, + }), }, chunkSize: 6 * 1024 * 1024, // NOTE: it must be set to 6MB (for now) do not change it onError: function (error) { @@ -159,6 +162,7 @@ Instead of `https://project-id.supabase.co` use `https://project-id.storage.supa "objectName", "contentType", "cacheControl", + "metadata", ], // Metadata fields allowed for the upload onError: (error) => console.error("Upload error:", error), // Error handling for uploads }).on("file-added", (file) => { @@ -168,6 +172,9 @@ Instead of `https://project-id.supabase.co` use `https://project-id.storage.supa bucketName, // Bucket specified by the user of the hook objectName: file.name, // Use file name as object name contentType: file.type, // Set content type based on file MIME type + metadata: JSON.stringify({ // custom metadata passed to the user_metadata column + yourCustomMetadata: true, + }), }; }); }; diff --git a/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx b/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx index b4b40b718ba..bfbebfe4ce1 100644 --- a/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx +++ b/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx @@ -7,4 +7,4 @@ keywords = [ "password", "reset" ] database_id = "6e4a515c-5e70-4b92-808c-f076d47d4e35" --- -You can reset your database password from the [database settings page](https://supabase.com/dashboard/project/_/settings/database) on the project dashboard. +You can reset your database password from the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) on the project dashboard. diff --git a/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx b/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx index b44c4eae020..27cc8f454b1 100644 --- a/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx +++ b/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx @@ -18,16 +18,16 @@ The subdomain will vary depending on the region a project is deployed in. The pr - How to update the size of the connection pool to the database: You can set the `Max Client Connections` field in your database settings here: -[https://supabase.com/dashboard/project/\_/settings/database](https://supabase.com/dashboard/project/_/settings/database) +[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings) - How to change the client connection limit: You can set the `Default Pool Size` field in your database settings: -[https://supabase.com/dashboard/project/\_/settings/database](https://supabase.com/dashboard/project/_/settings/database) +[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings) - How to use `session` mode: With Supavisor you can automatically use `session` mode by using the connection string with port `5432` in it. You can also set the pooler port 6543 to use `session` mode in the database settings: -[https://supabase.com/dashboard/project/\_/settings/database](https://supabase.com/dashboard/project/_/settings/database) +[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings) diff --git a/apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx b/apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx index e8519b787f6..e83f65b48b5 100644 --- a/apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx +++ b/apps/docs/content/troubleshooting/monitor-supavisor-postgres-connections.mdx @@ -82,7 +82,7 @@ If you believe a connection should be killed, you can do so by running the follo The Supavisor Pooler is an intermediary between your clients (application servers) and the database. In transaction mode (port 6543), it can enable Postgres to share single connections with many clients, only allowing access when a query is pending. This prevents idle clients from hogging a direct connection and allows for more throughput. -In cases where you see significantly more pooler connections than direct connections, if you can, you should consider increasing how many direct connections the pooler is allowed to manage in the [Dashboard's Database Settings](/dashboard/project/_/settings/database): +In cases where you see significantly more pooler connections than direct connections, if you can, you should consider increasing how many direct connections the pooler is allowed to manage in the [Dashboard's Database Settings](/dashboard/project/_/database/settings): ![image](https://github.com/supabase/supabase/assets/91111415/8e0cc80a-4d46-44b5-915b-8d7549f352d3). diff --git a/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx b/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx index ba225db1754..d5f4f72e5f2 100644 --- a/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx +++ b/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx @@ -22,7 +22,7 @@ All Supabase databases provide a direct connection string that maps to an IPv6 a Here are your options if your server platform doesn't support IPv6: -- Use the Supavisor Connection String (available in the [Dashboard](https://supabase.com/dashboard/project/_/settings/database)). +- Use the Supavisor Connection String (available in the [Dashboard](https://supabase.com/dashboard/project/_/database/settings)). - Use the [Supabase Client libraries](https://supabase.com/docs/guides/api/rest/client-libs), which are IPv4 compatible. - Enable the [dedicated IPv4 Add-On](https://supabase.com/dashboard/project/_/settings/addons) (available to Pro and above organizations) diff --git a/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx b/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx index 06952079762..f62fedd0243 100644 --- a/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx +++ b/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx @@ -129,7 +129,7 @@ No, it doesn't. Let's break it down: ### **How to change pool size** -In the [Dashboard's Database Settings](https://supabase.com/dashboard/project/_/settings/database), you can configure Supavisor's "Pool Size": +In the [Dashboard's Database Settings](https://supabase.com/dashboard/project/_/database/settings), you can configure Supavisor's "Pool Size": matches snapshot 1`] = ` "name": "credentials", "type": { "type": "union", - "name": "SolanaWeb3Credentials", + "name": "Web3Credentials", "subTypes": [ { - "type": "object", - "properties": [ + "type": "union", + "subTypes": [ { - "name": "chain", - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } - }, - { - "name": "signInWithSolana", - "type": { - "type": "nameOnly", - "name": "Partial" - }, - "isOptional": true - }, - { - "name": "url", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - } + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "solana" } - ] - }, - "isOptional": true - }, - { - "name": "statement", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - } - }, - { - "name": "wallet", - "type": { - "name": "SolanaWallet", - "type": "object", - "properties": [ - { - "name": "publicKey", - "type": { - "type": "union", - "subTypes": [ - { - "type": "object", - "properties": [ - { - "type": "function", - "name": "toBase58", - "params": [], - "ret": { - "type": { - "type": "intrinsic", - "name": "string" - } - } - } - ] - }, - { - "type": "literal", - "value": null - } - ] - }, - "isOptional": true - }, - { - "type": "function", - "name": "signIn", - "params": [ + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ { - "name": "inputs", - "type": { - "type": "array", - "elemType": { - "type": "nameOnly", - "name": "SolanaSignInInput" - } - } - } - ], - "ret": { - "type": { - "type": "promise", - "name": "Promise", - "awaited": { - "type": "union", - "subTypes": [ - { - "type": "nameOnly", - "name": "SolanaSignInOutput" - }, - { - "type": "array", - "elemType": { - "type": "nameOnly", - "name": "SolanaSignInOutput" - } - } - ] - } - } - } - }, - { - "type": "function", - "name": "signMessage", - "params": [ - { - "name": "message", - "type": { - "type": "nameOnly", - "name": "Uint8Array" - } - }, - { - "name": "encoding", + "name": "captchaToken", "type": { "type": "intrinsic", "name": "string" }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "signInWithSolana", + "type": { + "type": "nameOnly", + "name": "Partial" + }, "isOptional": true + }, + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + } } - ], - "ret": { - "type": { - "type": "union", - "subTypes": [ - { - "type": "intrinsic", - "name": "undefined" - }, + ] + }, + "isOptional": true + }, + { + "name": "statement", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + } + }, + { + "name": "wallet", + "type": { + "name": "SolanaWallet", + "type": "object", + "properties": [ + { + "name": "publicKey", + "type": { + "type": "union", + "subTypes": [ + { + "type": "object", + "properties": [ + { + "type": "function", + "name": "toBase58", + "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + ] + }, + { + "type": "literal", + "value": null + } + ] + }, + "isOptional": true + }, + { + "type": "function", + "name": "signIn", + "params": [ { + "name": "inputs", + "type": { + "type": "array", + "elemType": { + "type": "nameOnly", + "name": "SolanaSignInInput" + } + } + } + ], + "ret": { + "type": { "type": "promise", "name": "Promise", "awaited": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "SolanaSignInOutput" + }, + { + "type": "array", + "elemType": { + "type": "nameOnly", + "name": "SolanaSignInOutput" + } + } + ] + } + } + } + }, + { + "type": "function", + "name": "signMessage", + "params": [ + { + "name": "message", + "type": { "type": "nameOnly", "name": "Uint8Array" } + }, + { + "name": "encoding", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true } - ] + ], + "ret": { + "type": { + "type": "union", + "subTypes": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Uint8Array" + } + } + ] + } + } } - } + ] + }, + "isOptional": true, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to \`window.solana\`." } - ] - }, - "isOptional": true, - "comment": { - "shortText": "Wallet interface to use. If not specified will default to \`window.solana\`." - } + } + ] + }, + { + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "signature", + "type": { + "type": "nameOnly", + "name": "Uint8Array" + }, + "comment": { + "shortText": "Ed25519 signature of the message." + } + } + ] } ] }, { - "type": "object", - "properties": [ + "type": "union", + "subTypes": [ { - "name": "chain", - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "name": "message", - "type": { - "type": "intrinsic", - "name": "string" - }, - "comment": { - "shortText": "Sign in with Solana compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." - } - }, - { - "name": "options", - "type": { - "type": "object", - "properties": [ - { - "name": "captchaToken", - "type": { - "type": "intrinsic", - "name": "string" - }, - "isOptional": true, - "comment": { - "shortText": "Verification token received when the user completes the captcha on the site." - } + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "ethereum" } - ] - }, - "isOptional": true + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + }, + { + "name": "signInWithEthereum", + "type": { + "type": "nameOnly", + "name": "Partial" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + } + } + ] + }, + "isOptional": true + }, + { + "name": "statement", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + } + }, + { + "name": "wallet", + "type": { + "type": "nameOnly", + "name": "EthereumWallet" + }, + "isOptional": true, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to \`window.solana\`." + } + } + ] }, { - "name": "signature", - "type": { - "type": "nameOnly", - "name": "Uint8Array" - }, - "comment": { - "shortText": "Ed25519 signature of the message." - } + "type": "object", + "properties": [ + { + "name": "chain", + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "name": "message", + "type": { + "type": "intrinsic", + "name": "string" + }, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include \`Issued At\`, \`URI\` and \`Version\`." + } + }, + { + "name": "options", + "type": { + "type": "object", + "properties": [ + { + "name": "captchaToken", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + } + } + ] + }, + "isOptional": true + }, + { + "name": "signature", + "type": { + "type": "nameOnly", + "name": "Hex" + }, + "comment": { + "shortText": "Ed25519 signature of the message." + } + } + ] } ] } @@ -17133,7 +17268,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "comment": { - "shortText": "Signs in a user by verifying a message signed by the user's private key.\\nOnly Solana supported at this time, using the Sign in with Solana standard." + "shortText": "Signs in a user by verifying a message signed by the user's private key.\\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\\nboth of which derive from the EIP-4361 standard\\nWith slight variation on Solana's side.", + "tags": [ + { + "tag": "reference", + "text": "https://eips.ethereum.org/EIPS/eip-4361\\n" + } + ] } }, "@supabase/auth-js.GoTrueClient.signOut": { @@ -23327,19 +23468,155 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "@supabase/postgrest-js.PostgrestBuilder.constructor", "params": [ { - "name": "builder" + "name": "builder", + "type": { + "type": "object", + "properties": [ + { + "name": "body", + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "isOptional": true + }, + { + "name": "fetch", + "type": { + "type": "function", + "params": [ + { + "name": "input", + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] + } + }, + { + "name": "init", + "type": { + "type": "nameOnly", + "name": "RequestInit" + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + } + }, + "isOptional": true + }, + { + "name": "headers", + "type": { + "type": "nameOnly", + "name": "HeadersInit" + } + }, + { + "name": "isMaybeSingle", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "method", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "name": "schema", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "shouldThrowOnError", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "signal", + "type": { + "type": "nameOnly", + "name": "AbortSignal" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "nameOnly", + "name": "URL" + } + } + ] + } } ], "ret": { "type": { "type": "nameOnly", - "name": "Result" + "name": "ClientOptions" } } }, "@supabase/postgrest-js.PostgrestBuilder.overrideTypes": { "name": "@supabase/postgrest-js.PostgrestBuilder.overrideTypes", "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "ClientOptions" + } + }, "comment": { "shortText": "Override the type of the returned \`data\` field in the response.", "returns": "A PostgrestBuilder instance with the new type\\n", @@ -23357,7 +23634,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "CheckMatchingArrayTypes" + "name": "ClientOptions" } }, "comment": { @@ -23391,7 +23668,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Result" + "name": "ClientOptions" } }, "comment": { @@ -23560,16 +23837,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "headers", "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" - } + "type": "nameOnly", + "name": "HeadersInit" }, "isOptional": true, "comment": { @@ -23621,7 +23890,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -23644,7 +23913,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -23737,7 +24006,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -23814,13 +24083,143 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "@supabase/postgrest-js.PostgrestFilterBuilder.constructor", "params": [ { - "name": "builder" + "name": "builder", + "type": { + "type": "object", + "properties": [ + { + "name": "body", + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "isOptional": true + }, + { + "name": "fetch", + "type": { + "type": "function", + "params": [ + { + "name": "input", + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] + } + }, + { + "name": "init", + "type": { + "type": "nameOnly", + "name": "RequestInit" + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + } + }, + "isOptional": true + }, + { + "name": "headers", + "type": { + "type": "nameOnly", + "name": "HeadersInit" + } + }, + { + "name": "isMaybeSingle", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "method", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "name": "schema", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "shouldThrowOnError", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "signal", + "type": { + "type": "nameOnly", + "name": "AbortSignal" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "nameOnly", + "name": "URL" + } + } + ] + } } ], "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } } }, @@ -23841,7 +24240,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -23899,7 +24298,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -23956,7 +24355,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24016,7 +24415,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24073,7 +24472,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24087,8 +24486,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -24118,7 +24517,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24221,23 +24620,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "union", "subTypes": [ { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "ClientOptions" }, { - "type": "array", - "elemType": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "unknown" - } - } + "type": "nameOnly", + "name": "ClientOptions" } ] } @@ -24377,7 +24765,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24421,7 +24809,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24436,16 +24824,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "unknown" - } + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -24479,7 +24859,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24512,7 +24892,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24548,7 +24928,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24581,7 +24961,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24617,7 +24997,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24650,7 +25030,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24689,7 +25069,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24725,7 +25105,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24764,7 +25144,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24800,7 +25180,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24835,7 +25215,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24865,7 +25245,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24908,7 +25288,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24945,7 +25325,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -24978,7 +25358,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25017,7 +25397,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25053,7 +25433,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25092,7 +25472,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25128,7 +25508,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25187,7 +25567,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25221,7 +25601,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25254,7 +25634,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25290,7 +25670,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25323,7 +25703,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25357,7 +25737,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25388,7 +25768,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25397,22 +25777,31 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, + "@supabase/postgrest-js.PostgrestFilterBuilder.maxAffected": { + "name": "@supabase/postgrest-js.PostgrestFilterBuilder.maxAffected", + "params": [ + { + "name": "value", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The maximum number of rows that can be affected\\n" + } + } + ], + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + } + }, "@supabase/postgrest-js.PostgrestFilterBuilder.maybeSingle": { "name": "@supabase/postgrest-js.PostgrestFilterBuilder.maybeSingle", "params": [], "ret": { "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "nameOnly", - "name": "ResultOne" - } - ] + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -25443,7 +25832,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25487,7 +25876,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25531,7 +25920,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25591,7 +25980,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25661,7 +26050,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25730,7 +26119,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25790,7 +26179,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25856,7 +26245,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25911,7 +26300,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25956,7 +26345,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -25968,6 +26357,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "@supabase/postgrest-js.PostgrestFilterBuilder.overrideTypes": { "name": "@supabase/postgrest-js.PostgrestFilterBuilder.overrideTypes", "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "ClientOptions" + } + }, "comment": { "shortText": "Override the type of the returned \`data\` field in the response.", "returns": "A PostgrestBuilder instance with the new type\\n", @@ -26039,7 +26434,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26073,7 +26468,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26106,7 +26501,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26142,7 +26537,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26175,7 +26570,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26211,7 +26606,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26244,7 +26639,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26280,7 +26675,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26313,7 +26708,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26349,7 +26744,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26382,7 +26777,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26397,7 +26792,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26416,7 +26811,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26442,7 +26837,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26471,7 +26866,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26484,7 +26879,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ResultOne" + "name": "ClientOptions" } }, "comment": { @@ -26566,7 +26961,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26646,7 +27041,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -26903,16 +27298,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "headers", "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "string" - } + "type": "nameOnly", + "name": "HeadersInit" }, "isOptional": true }, @@ -26931,7 +27318,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } } }, @@ -26977,7 +27364,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27038,7 +27425,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27112,7 +27499,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27186,7 +27573,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27245,7 +27632,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27328,7 +27715,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27424,7 +27811,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27438,13 +27825,143 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "@supabase/postgrest-js.PostgrestTransformBuilder.constructor", "params": [ { - "name": "builder" + "name": "builder", + "type": { + "type": "object", + "properties": [ + { + "name": "body", + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "isOptional": true + }, + { + "name": "fetch", + "type": { + "type": "function", + "params": [ + { + "name": "input", + "type": { + "type": "union", + "subTypes": [ + { + "type": "nameOnly", + "name": "RequestInfo" + }, + { + "type": "nameOnly", + "name": "URL" + } + ] + } + }, + { + "name": "init", + "type": { + "type": "nameOnly", + "name": "RequestInit" + }, + "isOptional": true + } + ], + "ret": { + "type": { + "type": "promise", + "name": "Promise", + "awaited": { + "type": "nameOnly", + "name": "Response" + } + } + } + }, + "isOptional": true + }, + { + "name": "headers", + "type": { + "type": "nameOnly", + "name": "HeadersInit" + } + }, + { + "name": "isMaybeSingle", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "method", + "type": { + "type": "union", + "subTypes": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "name": "schema", + "type": { + "type": "intrinsic", + "name": "string" + }, + "isOptional": true + }, + { + "name": "shouldThrowOnError", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, + { + "name": "signal", + "type": { + "type": "nameOnly", + "name": "AbortSignal" + }, + "isOptional": true + }, + { + "name": "url", + "type": { + "type": "nameOnly", + "name": "URL" + } + } + ] + } } ], "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } } }, @@ -27465,7 +27982,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27477,8 +27994,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -27580,23 +28097,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "union", "subTypes": [ { - "type": "intrinsic", - "name": "string" + "type": "nameOnly", + "name": "ClientOptions" }, { - "type": "array", - "elemType": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "unknown" - } - } + "type": "nameOnly", + "name": "ClientOptions" } ] } @@ -27611,16 +28117,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "params": [], "ret": { "type": { - "type": "record", - "name": "Record", - "keyType": { - "type": "intrinsic", - "name": "string" - }, - "valueType": { - "type": "intrinsic", - "name": "unknown" - } + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -27677,29 +28175,38 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { "shortText": "Limit the query result by \`count\`." } }, + "@supabase/postgrest-js.PostgrestTransformBuilder.maxAffected": { + "name": "@supabase/postgrest-js.PostgrestTransformBuilder.maxAffected", + "params": [ + { + "name": "value", + "type": { + "type": "intrinsic", + "name": "number" + }, + "comment": { + "shortText": "The maximum number of rows that can be affected\\n" + } + } + ], + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + } + }, "@supabase/postgrest-js.PostgrestTransformBuilder.maybeSingle": { "name": "@supabase/postgrest-js.PostgrestTransformBuilder.maybeSingle", "params": [], "ret": { "type": { - "type": "union", - "subTypes": [ - { - "type": "literal", - "value": null - }, - { - "type": "nameOnly", - "name": "ResultOne" - } - ] + "type": "nameOnly", + "name": "ClientOptions" } }, "comment": { @@ -27769,7 +28276,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27838,7 +28345,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27898,7 +28405,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27964,7 +28471,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -27983,6 +28490,12 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "@supabase/postgrest-js.PostgrestTransformBuilder.overrideTypes": { "name": "@supabase/postgrest-js.PostgrestTransformBuilder.overrideTypes", "params": [], + "ret": { + "type": { + "type": "nameOnly", + "name": "ClientOptions" + } + }, "comment": { "shortText": "Override the type of the returned \`data\` field in the response.", "returns": "A PostgrestBuilder instance with the new type\\n", @@ -28054,7 +28567,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -28067,7 +28580,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -28086,7 +28599,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -28112,7 +28625,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -28141,7 +28654,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "Schema" + "name": "ClientOptions" } }, "comment": { @@ -28154,7 +28667,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "ret": { "type": { "type": "nameOnly", - "name": "ResultOne" + "name": "ClientOptions" } }, "comment": { @@ -28412,6 +28925,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "object", "properties": [ + { + "name": "enabled", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, { "name": "key", "type": { @@ -29446,6 +29967,19 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Subscribe registers your client with the server" } }, + "@supabase/realtime-js.RealtimeChannel.teardown": { + "name": "@supabase/realtime-js.RealtimeChannel.teardown", + "params": [], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + }, + "comment": { + "shortText": "Teardown the channel.\\n\\nDestroys and stops related timers." + } + }, "@supabase/realtime-js.RealtimeChannel.track": { "name": "@supabase/realtime-js.RealtimeChannel.track", "params": [ @@ -29850,6 +30384,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": { "type": "object", "properties": [ + { + "name": "enabled", + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "isOptional": true + }, { "name": "key", "type": { @@ -30043,6 +30585,38 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "shortText": "Logs the message.\\n\\nFor customized logging, \`this.logger\` can be overridden." } }, + "@supabase/realtime-js.RealtimeClient.onHeartbeat": { + "name": "@supabase/realtime-js.RealtimeClient.onHeartbeat", + "params": [ + { + "name": "callback", + "type": { + "type": "function", + "params": [ + { + "name": "status", + "type": { + "type": "nameOnly", + "name": "HeartbeatStatus" + } + } + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } + } + } + ], + "ret": { + "type": { + "type": "intrinsic", + "name": "void" + } + } + }, "@supabase/realtime-js.RealtimeClient.push": { "name": "@supabase/realtime-js.RealtimeClient.push", "params": [ @@ -30288,6 +30862,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "number" } + }, + { + "name": "statusCode", + "type": { + "type": "intrinsic", + "name": "string" + } } ], "ret": { @@ -30324,6 +30905,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "type": "intrinsic", "name": "number" } + }, + { + "name": "statusCode", + "type": { + "type": "intrinsic", + "name": "string" + } } ] } @@ -30386,6 +30974,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "isOptional": true + }, + { + "name": "opts", + "type": { + "type": "nameOnly", + "name": "StorageClientOptions" + }, + "isOptional": true } ], "ret": { @@ -30469,6 +31065,27 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "comment": { "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." } + }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see \`BucketType\` for more details.\\n - default bucket type is \`STANDARD\`\\n" + } } ] } @@ -30528,7 +31145,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\\n" + "returns": "newly created bucket id" } }, "@supabase/storage-js.index.StorageClient.deleteBucket": { @@ -30783,6 +31400,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -30904,6 +31539,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -31191,6 +31844,14 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } }, "isOptional": true + }, + { + "name": "opts", + "type": { + "type": "nameOnly", + "name": "StorageClientOptions" + }, + "isOptional": true } ] }, @@ -31268,6 +31929,27 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "comment": { "shortText": "The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private." } + }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see \`BucketType\` for more details.\\n - default bucket type is \`STANDARD\`\\n" + } } ] } @@ -31327,7 +32009,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\\n" + "returns": "newly created bucket id" } }, "@supabase/storage-js.packages/StorageBucketApi.default.deleteBucket": { @@ -31564,6 +32246,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -31685,6 +32385,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -32955,7 +33673,7 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "isOptional": true, "comment": { - "shortText": "The folder path.\\n" + "shortText": "The folder path." } }, { @@ -32972,7 +33690,13 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` }, "isOptional": true, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\\n" + } + ] } }, { @@ -33028,7 +33752,10 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` } ] }, - "isOptional": true + "isOptional": true, + "comment": { + "shortText": "Search options including limit (defaults to 100), offset, sortBy, and search\\n" + } }, { "name": "parameters", @@ -33137,6 +33864,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -33452,6 +34197,24 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` "name": "boolean" } }, + { + "name": "type", + "type": { + "type": "union", + "name": "BucketType", + "subTypes": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + }, + "isOptional": true + }, { "name": "updated_at", "type": { @@ -34180,8 +34943,8 @@ exports[`TS type spec parsing > matches snapshot 1`] = ` { "name": "error", "type": { - "type": "intrinsic", - "name": "any" + "type": "nameOnly", + "name": "StorageError" } } ] diff --git a/apps/docs/lib/constants.ts b/apps/docs/lib/constants.ts index 8b44aaff023..0917131b386 100644 --- a/apps/docs/lib/constants.ts +++ b/apps/docs/lib/constants.ts @@ -4,8 +4,11 @@ export const API_URL = ( : process.env.NEXT_PUBLIC_API_URL! )?.replace(/\/platform$/, '') export const BASE_PATH = process.env.NEXT_PUBLIC_BASE_PATH || '/docs' +export const IS_CI = process.env.CI === 'true' export const IS_DEV = process.env.NODE_ENV === 'development' export const IS_PLATFORM = process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' export const IS_PRODUCTION = process.env.NEXT_PUBLIC_VERCEL_ENV === 'production' +export const LOGFLARE_INGESTION_API_KEY = process.env.LOGFLARE_INGESTION_API_KEY +export const LOGFLARE_SOURCE_TOKEN = process.env.LOGFLARE_SOURCE_TOKEN export const MISC_URL = process.env.NEXT_PUBLIC_MISC_URL ?? '' export const PROD_URL = `https://supabase.com${BASE_PATH}` diff --git a/apps/docs/lib/logger.ts b/apps/docs/lib/logger.ts new file mode 100644 index 00000000000..1b5a525c01f --- /dev/null +++ b/apps/docs/lib/logger.ts @@ -0,0 +1,34 @@ +import { IS_CI, IS_DEV, LOGFLARE_INGESTION_API_KEY, LOGFLARE_SOURCE_TOKEN } from './constants' + +export const LOGGING_CODES = { + CONTENT_API_REQUEST_RECEIVED: 'content_api_request_received', +} as const + +const LOGFLARE_ENDPOINT = `https://api.logflare.app/api/logs?source=${LOGFLARE_SOURCE_TOKEN}` + +interface LogflareMessage { + message: string + metadata?: Record +} + +export function sendToLogflare(message: string, metadata?: Record) { + // Skip logging in CI and development environments + if (IS_CI || IS_DEV) return + + const logMessage: LogflareMessage = { + message, + } + + if (metadata) { + logMessage.metadata = metadata + } + + fetch(LOGFLARE_ENDPOINT, { + method: 'POST', + headers: { + Authorization: `Bearer ${LOGFLARE_INGESTION_API_KEY}`, + 'Content-Type': 'application/json', + }, + body: JSON.stringify(logMessage), + }) +} diff --git a/apps/docs/public/img/guides/database/cron/cron-create.png b/apps/docs/public/img/guides/database/cron/cron-create.png deleted file mode 100644 index 0751b5c6186..00000000000 Binary files a/apps/docs/public/img/guides/database/cron/cron-create.png and /dev/null differ diff --git a/apps/docs/public/img/guides/database/cron/cron-edit.png b/apps/docs/public/img/guides/database/cron/cron-edit.png deleted file mode 100644 index 632d4692a0e..00000000000 Binary files a/apps/docs/public/img/guides/database/cron/cron-edit.png and /dev/null differ diff --git a/apps/docs/public/img/guides/database/cron/cron-history.png b/apps/docs/public/img/guides/database/cron/cron-history.png deleted file mode 100644 index d65ef1f9a78..00000000000 Binary files a/apps/docs/public/img/guides/database/cron/cron-history.png and /dev/null differ diff --git a/apps/docs/public/img/guides/database/cron/cron-toggle.png b/apps/docs/public/img/guides/database/cron/cron-toggle.png deleted file mode 100644 index 54a7c4a4936..00000000000 Binary files a/apps/docs/public/img/guides/database/cron/cron-toggle.png and /dev/null differ diff --git a/apps/docs/public/img/guides/database/cron/cron-unschedule.png b/apps/docs/public/img/guides/database/cron/cron-unschedule.png deleted file mode 100644 index 10c6bb7275b..00000000000 Binary files a/apps/docs/public/img/guides/database/cron/cron-unschedule.png and /dev/null differ diff --git a/apps/docs/spec/api_v1_openapi.json b/apps/docs/spec/api_v1_openapi.json index 81dd92764b4..61f11170660 100644 --- a/apps/docs/spec/api_v1_openapi.json +++ b/apps/docs/spec/api_v1_openapi.json @@ -367,6 +367,13 @@ "in": "query", "description": "Organization slug", "schema": { "pattern": "^[\\w-]+$", "type": "string" } + }, + { + "name": "resource", + "required": false, + "in": "query", + "description": "Resource indicator for MCP (Model Context Protocol) clients", + "schema": { "enum": ["https://api.supabase.io/mcp"], "type": "string" } } ], "responses": { "204": { "description": "" } }, @@ -4395,7 +4402,12 @@ "code": { "type": "string" }, "code_verifier": { "type": "string" }, "redirect_uri": { "type": "string" }, - "refresh_token": { "type": "string" } + "refresh_token": { "type": "string" }, + "resource": { + "type": "string", + "enum": ["https://api.supabase.io/mcp"], + "description": "Resource indicator for MCP (Model Context Protocol) clients" + } }, "additionalProperties": false }, @@ -4532,12 +4544,7 @@ "name": { "type": "string" }, "description": { "type": "string", "nullable": true }, "hash": { "type": "string", "nullable": true }, - "secret_jwt_template": { - "type": "object", - "properties": { "role": { "type": "string", "minLength": 1 } }, - "required": ["role"], - "nullable": true - }, + "secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true }, "inserted_at": { "type": "string", "format": "date-time", "nullable": true }, "updated_at": { "type": "string", "format": "date-time", "nullable": true } }, @@ -4559,12 +4566,7 @@ "pattern": "^[a-z_][a-z0-9_]+$" }, "description": { "type": "string", "nullable": true }, - "secret_jwt_template": { - "type": "object", - "properties": { "role": { "type": "string", "minLength": 1 } }, - "required": ["role"], - "nullable": true - } + "secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true } }, "required": ["type", "name"] }, @@ -4578,12 +4580,7 @@ "pattern": "^[a-z_][a-z0-9_]+$" }, "description": { "type": "string", "nullable": true }, - "secret_jwt_template": { - "type": "object", - "properties": { "role": { "type": "string", "minLength": 1 } }, - "required": ["role"], - "nullable": true - } + "secret_jwt_template": { "type": "object", "additionalProperties": {}, "nullable": true } } }, "CreateBranchBody": { @@ -4953,7 +4950,10 @@ "items": { "type": "object", "properties": { - "postgres_version": { "type": "string", "enum": ["15", "17", "17-oriole"] }, + "postgres_version": { + "type": "string", + "enum": ["13", "14", "15", "17", "17-oriole"] + }, "release_channel": { "type": "string", "enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"] diff --git a/apps/docs/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yaml index f68d0515e6a..d799f35c9ce 100644 --- a/apps/docs/spec/cli_v1_commands.yaml +++ b/apps/docs/spec/cli_v1_commands.yaml @@ -1,7 +1,7 @@ clispec: '001' info: id: cli - version: 2.31.4 + version: 2.33.9 title: Supabase CLI language: sh source: https://github.com/supabase/cli @@ -2250,6 +2250,7 @@ commands: links: [] subcommands: - supabase-gen-keys + - supabase-gen-signing-key - supabase-gen-types flags: [] - id: supabase-gen-types @@ -2310,6 +2311,35 @@ commands: - id: public name: public type: '[ internal | public ]' + - id: supabase-gen-signing-key + title: supabase gen signing-key + summary: Generate a JWT signing key + description: | + Securely generate a private JWT signing key for use in the CLI or to import in the dashboard. + + Supported algorithms: + ES256 - ECDSA with P-256 curve and SHA-256 (recommended) + RS256 - RSA with SHA-256 + tags: [] + links: [] + usage: supabase gen signing-key [flags] + subcommands: [] + flags: + - id: algorithm + name: --algorithm <[ RS256 | ES256 ]> + description: Algorithm for signing key generation. + default_value: ES256 + accepted_values: + - id: RS256 + name: RS256 + type: '[ RS256 | ES256 ]' + - id: ES256 + name: ES256 + type: '[ RS256 | ES256 ]' + - id: append + name: --append + description: Append new key to existing keys file instead of overwriting. + default_value: 'false' - id: supabase-gen-keys title: supabase gen keys summary: Generate keys for preview branch @@ -3572,6 +3602,10 @@ commands: - id: xlarge name: xlarge type: string + - id: with-data + name: --with-data + description: Whether to clone production data to the branch database. + default_value: 'false' - id: experimental name: --experimental description: enable experimental features diff --git a/apps/docs/spec/enrichments/tsdoc_v2/combined.json b/apps/docs/spec/enrichments/tsdoc_v2/combined.json index 814548ebe4e..d199510d40f 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/combined.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/combined.json @@ -974,8 +974,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1106,8 +1108,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1178,8 +1182,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1257,8 +1263,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1296,7 +1304,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 141, "character": 6 } ], @@ -1328,7 +1336,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 149, + "line": 151, "character": 6 } ], @@ -1362,7 +1370,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 269, + "line": 271, "character": 16 } ], @@ -1408,7 +1416,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 329, + "line": 331, "character": 10 } ], @@ -1485,7 +1493,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 315, + "line": 317, "character": 10 } ], @@ -1531,7 +1539,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 279, + "line": 281, "character": 10 } ], @@ -1702,7 +1710,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 322, + "line": 324, "character": 10 } ], @@ -1735,7 +1743,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -1800,7 +1808,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 154, + "line": 156, "character": 2 } ], @@ -2024,7 +2032,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 248, + "line": 250, "character": 2 } ], @@ -2059,7 +2067,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 265, + "line": 267, "character": 2 } ], @@ -2113,7 +2121,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -2182,7 +2190,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 212, + "line": 214, "character": 2 } ], @@ -2293,7 +2301,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 218, + "line": 220, "character": 6 } ], @@ -2329,7 +2337,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 217, + "line": 219, "character": 6 } ], @@ -2352,7 +2360,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -2498,7 +2506,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 2 } ], @@ -5632,6 +5640,46 @@ } ] }, + { + "id": 56, + "name": "ensureTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 57, + "name": "ensureTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 58, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, { "id": 65, "name": "isBrowser", @@ -5659,46 +5707,6 @@ } ] }, - { - "id": 56, - "name": "stripTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 57, - "name": "stripTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 58, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, { "id": 54, "name": "uuid", @@ -5731,7 +5739,7 @@ { "title": "Functions", "kind": 64, - "children": [59, 65, 56, 54] + "children": [59, 56, 65, 54] } ], "sources": [ @@ -7390,14 +7398,14 @@ "originalName": "", "children": [ { - "id": 1247, + "id": 1280, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1248, + "id": 1281, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7411,14 +7419,14 @@ ], "signatures": [ { - "id": 1249, + "id": 1282, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1250, + "id": 1283, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7429,7 +7437,7 @@ } }, { - "id": 1251, + "id": 1284, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7440,7 +7448,7 @@ } }, { - "id": 1252, + "id": 1285, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -7462,24 +7470,24 @@ ], "type": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1239, + "id": 1272, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1238, + "id": 1271, "name": "AuthError.constructor" } }, { - "id": 1254, + "id": 1287, "name": "code", "kind": 1024, "kindString": "Property", @@ -7511,7 +7519,7 @@ { "type": "reflection", "declaration": { - "id": 1255, + "id": 1288, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7528,12 +7536,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1276, "name": "AuthError.code" } }, { - "id": 1253, + "id": 1286, "name": "status", "kind": 1024, "kindString": "Property", @@ -7554,7 +7562,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -7563,12 +7571,12 @@ { "title": "Constructors", "kind": 512, - "children": [1248] + "children": [1281] }, { "title": "Properties", "kind": 1024, - "children": [1254, 1253] + "children": [1287, 1286] } ], "sources": [ @@ -7581,20 +7589,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] }, { - "id": 1237, + "id": 1270, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1238, + "id": 1271, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -7608,14 +7616,14 @@ ], "signatures": [ { - "id": 1239, + "id": 1272, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1240, + "id": 1273, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7626,7 +7634,7 @@ } }, { - "id": 1241, + "id": 1274, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -7639,7 +7647,7 @@ } }, { - "id": 1242, + "id": 1275, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -7654,7 +7662,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, "overwrites": { @@ -7668,2653 +7676,6 @@ "name": "Error.constructor" } }, - { - "id": 1243, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - } - }, - { - "id": 1245, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1238] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1243, 1245] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1247, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1304, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1305, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1306, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1307, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1308, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1309, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1311, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1310, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1311, 1310] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1304, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1328, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1312, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1313, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1315, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1314, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1315, 1314] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1326, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1327, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1316, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1317, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1318, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1322, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1323, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1325, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1324, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1325, 1324] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1320, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1319, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1321, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1322, 1320, 1319, 1321] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1305] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1328, 1312, 1326, 1327] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1316] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1295, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1296, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1297, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1298, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1295, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1301, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1299, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1300, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1296] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1301, 1299, 1300] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 82, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1380, - "name": "AuthInvalidJwtError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1381, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 162, - "character": 2 - } - ], - "signatures": [ - { - "id": 1382, - "name": "new AuthInvalidJwtError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1383, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1380, - "name": "AuthInvalidJwtError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1386, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1384, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1385, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1381] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1386, 1384, 1385] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 161, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1287, - "name": "AuthInvalidTokenResponseError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1288, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 77, - "character": 2 - } - ], - "signatures": [ - { - "id": 1289, - "name": "new AuthInvalidTokenResponseError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1287, - "name": "AuthInvalidTokenResponseError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1292, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1293, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1290, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1291, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1288] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1292, 1290, 1291] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 76, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1332, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 2 - } - ], - "signatures": [ - { - "id": 1333, - "name": "new AuthPKCEGrantCodeExchangeError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1334, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1335, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1336, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1338, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1337, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1338, 1337] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1355, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1339, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1340, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1342, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1341, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1342, 1341] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1353, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1354, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1343, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 119, - "character": 2 - } - ], - "signatures": [ - { - "id": 1344, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1345, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1349, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1350, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1352, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1351, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1352, 1351] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1347, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 122, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1346, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 121, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1348, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 123, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1349, 1347, 1346, 1348] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1332] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1355, 1339, 1353, 1354] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1343] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 111, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1358, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1359, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 130, - "character": 2 - } - ], - "signatures": [ - { - "id": 1360, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1361, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1362, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 1358, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1365, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1366, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1363, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1364, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1359] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1365, 1363, 1364] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 129, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1279, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1280, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2 - } - ], - "signatures": [ - { - "id": 1281, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1279, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1284, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1285, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1282, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1283, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1280] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1284, 1282, 1283] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1257, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1258, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 1259, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1260, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1261, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, - { - "id": 1263, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1243, - "name": "AuthError.code" - } - }, - { - "id": 1262, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1265, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1245, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1258] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1263, 1262, 1265] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 45, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - ] - }, - { - "id": 1368, - "name": "AuthWeakPasswordError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." - }, - "children": [ - { - "id": 1369, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 150, - "character": 2 - } - ], - "signatures": [ - { - "id": 1370, - "name": "new AuthWeakPasswordError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1371, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1372, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1373, - "name": "reasons", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 1368, - "name": "AuthWeakPasswordError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1377, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1375, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1374, - "name": "reasons", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Reasons why the password is deemed weak." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 148, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 591, - "name": "WeakPasswordReasons" - } - } - }, - { - "id": 1376, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1369] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1377, 1375, 1374, 1376] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 144, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1267, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1268, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 2 - } - ], - "signatures": [ - { - "id": 1269, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1270, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1271, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1272, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1273, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, { "id": 1276, "name": "code", @@ -10362,15 +7723,2662 @@ "name": "ErrorCode" } ] + } + }, + { + "id": 1278, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1271] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1276, 1278] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1280, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1337, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1338, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1339, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1340, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1341, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1342, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1344, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1343, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1344, 1343] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1337, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1361, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1345, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1346, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1348, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1347, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1348, 1347] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1359, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1360, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1349, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1350, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1355, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1358, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1357, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1358, 1357] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1353, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1352, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1354, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1355, 1353, 1352, 1354] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1338] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1361, 1345, 1359, 1360] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1349] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1328, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1329, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1330, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1331, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1328, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1334, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1335, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1332, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1333, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1329] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1334, 1332, 1333] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1413, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1414, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1415, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1416, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1413, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1419, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1417, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1418, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1414] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1419, 1417, 1418] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1320, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1321, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1322, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1320, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1325, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1323, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1324, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1321] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1325, 1323, 1324] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 76, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1365, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 2 + } + ], + "signatures": [ + { + "id": 1366, + "name": "new AuthPKCEGrantCodeExchangeError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1367, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1368, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1371, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1370, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1371, 1370] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1388, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1372, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1375, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1374, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1375, 1374] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1386, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1387, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1376, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 1377, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1382, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 124, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1385, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1384, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1385, 1384] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1380, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 122, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1379, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1381, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 123, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1382, 1380, 1379, 1381] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1365] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1388, 1372, 1386, 1387] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1376] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 111, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1391, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1392, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 1393, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1394, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1395, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 1391, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1398, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1399, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1396, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1397, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1392] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1398, 1396, 1397] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 129, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1312, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1313, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 1314, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1312, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1317, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1315, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1316, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1313] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1317, 1315, 1316] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1290, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1291, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 1292, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1293, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1294, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1296, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1297, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, "name": "AuthError.code" } }, { - "id": 1274, + "id": 1295, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1298, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1278, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1291] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1296, 1295, 1298] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + ] + }, + { + "id": 1401, + "name": "AuthWeakPasswordError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." + }, + "children": [ + { + "id": 1402, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 150, + "character": 2 + } + ], + "signatures": [ + { + "id": 1403, + "name": "new AuthWeakPasswordError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1404, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1405, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1406, + "name": "reasons", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 1401, + "name": "AuthWeakPasswordError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1410, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1408, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1407, + "name": "reasons", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Reasons why the password is deemed weak." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 148, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 606, + "name": "WeakPasswordReasons" + } + } + }, + { + "id": 1409, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1402] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1410, 1408, 1407, 1409] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 144, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1300, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1301, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 1302, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1303, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1304, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1305, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1306, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1309, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, + "name": "AuthError.code" + } + }, + { + "id": 1307, "name": "name", "kind": 1024, "kindString": "Property", @@ -10392,7 +10400,7 @@ } }, { - "id": 1275, + "id": 1308, "name": "status", "kind": 1024, "kindString": "Property", @@ -10413,7 +10421,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -10422,12 +10430,12 @@ { "title": "Constructors", "kind": 512, - "children": [1268] + "children": [1301] }, { "title": "Properties", "kind": 1024, - "children": [1276, 1274, 1275] + "children": [1309, 1307, 1308] } ], "sources": [ @@ -10440,49 +10448,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1287, + "id": 1320, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1295, + "id": 1328, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1331, + "id": 1364, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1380, + "id": 1413, "name": "AuthInvalidJwtError" } ] @@ -10725,10 +10733,10 @@ ], "type": { "type": "reference", - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -10744,14 +10752,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -10771,17 +10779,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -10797,21 +10805,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -10822,7 +10830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -10832,7 +10840,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10843,7 +10851,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -10857,13 +10865,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -10878,7 +10886,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -10890,14 +10898,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10907,17 +10915,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -10933,21 +10941,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10958,7 +10966,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -10972,13 +10980,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -10993,7 +11001,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -11009,13 +11017,13 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] @@ -11054,17 +11062,17 @@ "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -11078,7 +11086,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -11088,7 +11096,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -11102,7 +11110,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -11112,7 +11120,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -11125,7 +11133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -11139,7 +11147,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -11153,7 +11161,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -11163,7 +11171,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -11177,7 +11185,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -11187,7 +11195,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -11201,7 +11209,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -11215,7 +11223,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -11228,7 +11236,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -11242,7 +11250,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -11256,7 +11264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -11266,7 +11274,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -11279,7 +11287,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -11293,7 +11301,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -11307,7 +11315,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -11317,7 +11325,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -11331,7 +11339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -11341,7 +11349,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -11355,7 +11363,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -11370,14 +11378,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -11387,7 +11395,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -11409,7 +11417,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -11479,7 +11487,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -11522,10 +11530,10 @@ "flags": {}, "type": { "type": "reference", - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "dereferenced": { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11533,7 +11541,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -11541,7 +11549,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11549,21 +11557,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -11571,7 +11579,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -11581,7 +11589,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -11591,7 +11599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -11600,7 +11608,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -11623,7 +11631,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -11631,7 +11639,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -11641,7 +11649,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -11649,7 +11657,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -11663,13 +11671,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -11677,7 +11685,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11685,21 +11693,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -11710,7 +11718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -11720,7 +11728,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -11730,7 +11738,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -11739,7 +11747,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -11762,7 +11770,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -11770,7 +11778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -11793,13 +11801,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -11807,7 +11815,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11815,21 +11823,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -11840,7 +11848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -11850,7 +11858,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -11860,7 +11868,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -11869,7 +11877,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -11883,7 +11891,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -11891,7 +11899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -11905,13 +11913,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -11919,7 +11927,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -11927,21 +11935,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -11952,7 +11960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -11962,7 +11970,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -11973,7 +11981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -11983,7 +11991,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -11993,7 +12001,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -12002,7 +12010,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -12016,7 +12024,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -12024,7 +12032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -12047,13 +12055,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -12071,7 +12079,7 @@ "typeArguments": [ { "type": "reference", - "id": 975, + "id": 1008, "name": "GenerateLinkResponse" } ], @@ -12126,7 +12134,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -12257,7 +12265,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -12306,10 +12314,10 @@ }, "type": { "type": "reference", - "id": 1146, + "id": 1179, "name": "PageParams", "dereferenced": { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -12317,21 +12325,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -12344,7 +12352,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -12354,7 +12362,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -12367,7 +12375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -12381,13 +12389,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -12472,7 +12480,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -12489,7 +12497,7 @@ }, { "type": "reference", - "id": 1139, + "id": 1172, "name": "Pagination" } ] @@ -12597,7 +12605,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -12740,7 +12748,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -12810,17 +12818,17 @@ }, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -12834,7 +12842,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -12844,7 +12852,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -12858,7 +12866,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -12868,7 +12876,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -12881,7 +12889,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -12895,7 +12903,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -12909,7 +12917,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -12919,7 +12927,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -12933,7 +12941,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -12943,7 +12951,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -12957,7 +12965,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -12971,7 +12979,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -12984,7 +12992,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -12998,7 +13006,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -13012,7 +13020,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -13022,7 +13030,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -13035,7 +13043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -13049,7 +13057,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -13063,7 +13071,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -13073,7 +13081,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -13087,7 +13095,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -13097,7 +13105,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -13111,7 +13119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -13126,14 +13134,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -13143,7 +13151,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -13165,7 +13173,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -13218,7 +13226,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 229, + "line": 240, "character": 2 } ], @@ -13241,10 +13249,10 @@ "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "dereferenced": { - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -13252,21 +13260,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 578, + "id": 593, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -13276,7 +13284,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 68, + "line": 70, "character": 2 } ], @@ -13286,7 +13294,7 @@ } }, { - "id": 584, + "id": 599, "name": "debug", "kind": 1024, "kindString": "Property", @@ -13296,7 +13304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 2 } ], @@ -13310,7 +13318,7 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13318,20 +13326,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 21 } ], "signatures": [ { - "id": 586, + "id": 601, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 587, + "id": 602, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -13342,7 +13350,7 @@ } }, { - "id": 588, + "id": 603, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -13370,7 +13378,7 @@ } }, { - "id": 577, + "id": 592, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -13380,7 +13388,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 68, "character": 2 } ], @@ -13390,33 +13398,13 @@ } }, { - "id": 582, + "id": 597, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 583, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -13426,10 +13414,30 @@ ], "type": { "type": "reference", - "id": 846, + "name": "Fetch" + } + }, + { + "id": 598, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 861, "name": "AuthFlowType", "dereferenced": { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -13437,7 +13445,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -13458,7 +13466,7 @@ } }, { - "id": 590, + "id": 605, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -13477,7 +13485,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 99, "character": 2 } ], @@ -13487,7 +13495,7 @@ } }, { - "id": 572, + "id": 587, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13497,14 +13505,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13512,19 +13520,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 12 } ], "indexSignature": { - "id": 574, + "id": 589, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 575, + "id": 590, "name": "key", "kind": 32768, "flags": {}, @@ -13543,7 +13551,7 @@ } }, { - "id": 589, + "id": 604, "name": "lock", "kind": 1024, "kindString": "Property", @@ -13562,16 +13570,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 94, "character": 2 } ], "type": { "type": "reference", - "id": 560, + "id": 575, "name": "LockFunc", "dereferenced": { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -13579,14 +13587,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13594,13 +13602,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13616,7 +13624,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -13625,7 +13633,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -13639,7 +13647,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -13653,7 +13661,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -13664,7 +13672,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13672,13 +13680,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -13688,7 +13696,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -13707,7 +13715,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -13723,33 +13731,13 @@ } }, { - "id": 579, + "id": 594, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 580, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -13757,12 +13745,32 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 595, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13770,7 +13778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -13817,14 +13825,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -13837,7 +13845,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -13851,13 +13859,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -13869,7 +13877,7 @@ } }, { - "id": 576, + "id": 591, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -13879,7 +13887,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -13889,7 +13897,7 @@ } }, { - "id": 571, + "id": 586, "name": "url", "kind": 1024, "kindString": "Property", @@ -13899,7 +13907,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 62, "character": 2 } ], @@ -13909,7 +13917,7 @@ } }, { - "id": 581, + "id": 596, "name": "userStorage", "kind": 1024, "kindString": "Property", @@ -13929,16 +13937,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 82, "character": 2 } ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -13946,7 +13954,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -13993,14 +14001,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -14013,7 +14021,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -14027,13 +14035,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -14050,14 +14058,14 @@ "title": "Properties", "kind": 1024, "children": [ - 578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581 + 593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 34 } ] @@ -14087,7 +14095,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 156, + "line": 167, "character": 2 } ], @@ -14333,10 +14341,10 @@ ], "type": { "type": "reference", - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -14352,14 +14360,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -14379,17 +14387,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -14405,21 +14413,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -14430,7 +14438,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -14440,7 +14448,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14451,7 +14459,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -14465,13 +14473,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -14486,7 +14494,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -14498,14 +14506,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -14515,17 +14523,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -14541,21 +14549,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -14566,7 +14574,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -14580,13 +14588,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -14601,7 +14609,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -14617,13 +14625,13 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] @@ -14662,17 +14670,17 @@ "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -14686,7 +14694,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -14696,7 +14704,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -14710,7 +14718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -14720,7 +14728,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -14733,7 +14741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -14747,7 +14755,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -14761,7 +14769,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -14771,7 +14779,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -14785,7 +14793,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -14795,7 +14803,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -14809,7 +14817,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -14823,7 +14831,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -14836,7 +14844,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -14850,7 +14858,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -14864,7 +14872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -14874,7 +14882,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14887,7 +14895,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -14901,7 +14909,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -14915,7 +14923,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -14925,7 +14933,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -14939,7 +14947,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -14949,7 +14957,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -14963,7 +14971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -14978,14 +14986,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -14995,7 +15003,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -15017,7 +15025,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -15087,7 +15095,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -15130,10 +15138,10 @@ "flags": {}, "type": { "type": "reference", - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "dereferenced": { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15141,7 +15149,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -15149,7 +15157,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15157,21 +15165,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -15179,7 +15187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -15189,7 +15197,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -15199,7 +15207,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -15208,7 +15216,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15231,7 +15239,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -15239,7 +15247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -15249,7 +15257,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -15257,7 +15265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -15271,13 +15279,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -15285,7 +15293,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15293,21 +15301,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -15318,7 +15326,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -15328,7 +15336,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -15338,7 +15346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -15347,7 +15355,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15370,7 +15378,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -15378,7 +15386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -15401,13 +15409,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -15415,7 +15423,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15423,21 +15431,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -15448,7 +15456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -15458,7 +15466,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -15468,7 +15476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -15477,7 +15485,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15491,7 +15499,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -15499,7 +15507,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -15513,13 +15521,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -15527,7 +15535,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15535,21 +15543,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -15560,7 +15568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -15570,7 +15578,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -15581,7 +15589,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -15591,7 +15599,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -15601,7 +15609,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -15610,7 +15618,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15624,7 +15632,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -15632,7 +15640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -15655,13 +15663,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -15679,7 +15687,7 @@ "typeArguments": [ { "type": "reference", - "id": 975, + "id": 1008, "name": "GenerateLinkResponse" } ], @@ -15734,7 +15742,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -15865,7 +15873,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -15914,10 +15922,10 @@ }, "type": { "type": "reference", - "id": 1146, + "id": 1179, "name": "PageParams", "dereferenced": { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -15925,21 +15933,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -15952,7 +15960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -15962,7 +15970,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -15975,7 +15983,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -15989,13 +15997,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -16080,7 +16088,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -16097,7 +16105,7 @@ }, { "type": "reference", - "id": 1139, + "id": 1172, "name": "Pagination" } ] @@ -16205,7 +16213,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -16348,7 +16356,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -16418,17 +16426,17 @@ }, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -16442,7 +16450,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -16452,7 +16460,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -16466,7 +16474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -16476,7 +16484,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -16489,7 +16497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -16503,7 +16511,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -16517,7 +16525,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -16527,7 +16535,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -16541,7 +16549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -16551,7 +16559,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -16565,7 +16573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -16579,7 +16587,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -16592,7 +16600,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -16606,7 +16614,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -16620,7 +16628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -16630,7 +16638,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16643,7 +16651,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -16657,7 +16665,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -16671,7 +16679,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -16681,7 +16689,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -16695,7 +16703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -16705,7 +16713,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -16719,7 +16727,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -16734,14 +16742,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -16751,7 +16759,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -16773,7 +16781,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -16824,16 +16832,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 160, + "line": 171, "character": 2 } ], "type": { "type": "reference", - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "dereferenced": { - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -16843,14 +16851,14 @@ }, "children": [ { - "id": 1078, + "id": 1111, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1079, + "id": 1112, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -16860,17 +16868,17 @@ }, "parameters": [ { - "id": 1080, + "id": 1113, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "dereferenced": { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -16878,21 +16886,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16905,7 +16913,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -16924,7 +16932,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16935,7 +16943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -16949,13 +16957,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -16970,7 +16978,7 @@ "typeArguments": [ { "type": "reference", - "id": 1036, + "id": 1069, "name": "AuthMFAChallengeResponse" } ], @@ -16982,14 +16990,14 @@ ] }, { - "id": 1087, + "id": 1120, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1088, + "id": 1121, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -16999,17 +17007,17 @@ }, "parameters": [ { - "id": 1089, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17017,21 +17025,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -17042,7 +17050,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -17052,7 +17060,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17063,7 +17071,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -17077,13 +17085,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -17098,7 +17106,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -17110,14 +17118,14 @@ ] }, { - "id": 1071, + "id": 1104, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1072, + "id": 1105, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -17128,17 +17136,17 @@ }, "parameters": [ { - "id": 1073, + "id": 1106, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17146,21 +17154,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17171,7 +17179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -17181,7 +17189,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17194,7 +17202,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -17204,7 +17212,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -17217,7 +17225,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -17231,13 +17239,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -17252,7 +17260,7 @@ "typeArguments": [ { "type": "reference", - "id": 1163, + "id": 1196, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -17262,24 +17270,24 @@ } }, { - "id": 1074, + "id": 1107, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1075, + "id": 1108, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -17287,21 +17295,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17312,7 +17320,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -17322,7 +17330,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17335,7 +17343,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -17345,7 +17353,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17356,7 +17364,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -17370,13 +17378,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -17391,7 +17399,7 @@ "typeArguments": [ { "type": "reference", - "id": 1179, + "id": 1212, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -17401,24 +17409,24 @@ } }, { - "id": 1076, + "id": 1109, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1077, + "id": 1110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "dereferenced": { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17426,7 +17434,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -17434,7 +17442,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -17442,21 +17450,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17467,7 +17475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -17477,7 +17485,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17490,7 +17498,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -17500,7 +17508,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -17513,7 +17521,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -17527,13 +17535,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -17541,7 +17549,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -17549,21 +17557,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -17574,7 +17582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -17584,7 +17592,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -17597,7 +17605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -17607,7 +17615,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17618,7 +17626,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -17632,13 +17640,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -17656,7 +17664,7 @@ "typeArguments": [ { "type": "reference", - "id": 1026, + "id": 1059, "name": "AuthMFAEnrollResponse" } ], @@ -17668,14 +17676,14 @@ ] }, { - "id": 1092, + "id": 1125, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1093, + "id": 1126, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -17689,7 +17697,7 @@ "typeArguments": [ { "type": "reference", - "id": 1059, + "id": 1092, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -17701,14 +17709,14 @@ ] }, { - "id": 1090, + "id": 1123, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1091, + "id": 1124, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -17735,7 +17743,7 @@ "typeArguments": [ { "type": "reference", - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse" } ], @@ -17747,14 +17755,14 @@ ] }, { - "id": 1084, + "id": 1117, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1085, + "id": 1118, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -17764,17 +17772,17 @@ }, "parameters": [ { - "id": 1086, + "id": 1119, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "dereferenced": { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -17782,21 +17790,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17807,7 +17815,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -17821,13 +17829,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -17842,7 +17850,7 @@ "typeArguments": [ { "type": "reference", - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse" } ], @@ -17854,14 +17862,14 @@ ] }, { - "id": 1081, + "id": 1114, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1082, + "id": 1115, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -17871,17 +17879,17 @@ }, "parameters": [ { - "id": 1083, + "id": 1116, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "dereferenced": { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17889,21 +17897,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -17914,7 +17922,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -17924,7 +17932,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -17935,7 +17943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -17945,7 +17953,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17956,7 +17964,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -17970,13 +17978,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -17991,7 +17999,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -18007,13 +18015,13 @@ { "title": "Methods", "kind": 2048, - "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] + "children": [1111, 1120, 1104, 1125, 1123, 1117, 1114] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 998, + "line": 1039, "character": 17 } ] @@ -18029,7 +18037,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 640, + "line": 651, "character": 8 } ], @@ -18061,7 +18069,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -18073,7 +18081,7 @@ ] }, { - "id": 508, + "id": 523, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -18081,13 +18089,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3025, + "line": 3181, "character": 8 } ], "signatures": [ { - "id": 509, + "id": 524, "name": "getClaims", "kind": 4096, "kindString": "Call signature", @@ -18098,7 +18106,7 @@ }, "parameters": [ { - "id": 510, + "id": 525, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -18114,7 +18122,7 @@ } }, { - "id": 511, + "id": 526, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -18125,14 +18133,14 @@ "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 529, "name": "allowExpired", "kind": 1024, "kindString": "Property", @@ -18145,7 +18153,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3034, + "line": 3190, "character": 6 } ], @@ -18155,7 +18163,7 @@ } }, { - "id": 515, + "id": 530, "name": "jwks", "kind": 1024, "kindString": "Property", @@ -18168,21 +18176,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 517, + "id": 532, "name": "keys", "kind": 1024, "kindString": "Property", @@ -18190,7 +18198,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 15 } ], @@ -18198,7 +18206,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -18208,14 +18216,14 @@ { "title": "Properties", "kind": 1024, - "children": [517] + "children": [532] } ] } } }, { - "id": 513, + "id": 528, "name": "keys", "kind": 1024, "kindString": "Property", @@ -18233,7 +18241,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3031, + "line": 3187, "character": 6 } ], @@ -18241,7 +18249,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -18251,7 +18259,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 515, 513] + "children": [529, 530, 528] } ] } @@ -18268,14 +18276,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 533, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 534, "name": "data", "kind": 1024, "kindString": "Property", @@ -18283,21 +18291,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 521, + "id": 536, "name": "claims", "kind": 1024, "kindString": "Property", @@ -18305,18 +18313,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 16 } ], "type": { "type": "reference", - "id": 1206, + "id": 1239, "name": "JwtPayload" } }, { - "id": 522, + "id": 537, "name": "header", "kind": 1024, "kindString": "Property", @@ -18324,18 +18332,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 36 } ], "type": { "type": "reference", - "id": 1191, + "id": 1224, "name": "JwtHeader" } }, { - "id": 523, + "id": 538, "name": "signature", "kind": 1024, "kindString": "Property", @@ -18343,7 +18351,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 55 } ], @@ -18359,14 +18367,14 @@ { "title": "Properties", "kind": 1024, - "children": [521, 522, 523] + "children": [536, 537, 538] } ] } } }, { - "id": 524, + "id": 539, "name": "error", "kind": 1024, "kindString": "Property", @@ -18374,7 +18382,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3042, + "line": 3198, "character": 8 } ], @@ -18388,7 +18396,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 524] + "children": [534, 539] } ] } @@ -18396,14 +18404,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -18411,7 +18419,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 8 } ], @@ -18421,7 +18429,7 @@ } }, { - "id": 527, + "id": 542, "name": "error", "kind": 1024, "kindString": "Property", @@ -18429,13 +18437,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -18444,7 +18452,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527] + "children": [541, 542] } ] } @@ -18452,14 +18460,14 @@ { "type": "reflection", "declaration": { - "id": 528, + "id": 543, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 529, + "id": 544, "name": "data", "kind": 1024, "kindString": "Property", @@ -18467,7 +18475,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 8 } ], @@ -18477,7 +18485,7 @@ } }, { - "id": 530, + "id": 545, "name": "error", "kind": 1024, "kindString": "Property", @@ -18485,7 +18493,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 20 } ], @@ -18499,7 +18507,7 @@ { "title": "Properties", "kind": 1024, - "children": [529, 530] + "children": [544, 545] } ] } @@ -18515,7 +18523,7 @@ ] }, { - "id": 217, + "id": 232, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -18523,13 +18531,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1199, + "line": 1355, "character": 8 } ], "signatures": [ { - "id": 218, + "id": 233, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -18547,14 +18555,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -18562,21 +18570,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1292, + "line": 1448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 237, "name": "session", "kind": 1024, "kindString": "Property", @@ -18584,13 +18592,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1293, + "line": 1449, "character": 14 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -18599,14 +18607,14 @@ { "title": "Properties", "kind": 1024, - "children": [222] + "children": [237] } ] } } }, { - "id": 223, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -18614,7 +18622,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1295, + "line": 1451, "character": 12 } ], @@ -18628,7 +18636,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 223] + "children": [235, 238] } ] } @@ -18636,14 +18644,14 @@ { "type": "reflection", "declaration": { - "id": 224, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 225, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -18651,21 +18659,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1298, + "line": 1454, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 242, "name": "session", "kind": 1024, "kindString": "Property", @@ -18673,7 +18681,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1299, + "line": 1455, "character": 14 } ], @@ -18687,14 +18695,14 @@ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [242] } ] } } }, { - "id": 228, + "id": 243, "name": "error", "kind": 1024, "kindString": "Property", @@ -18702,13 +18710,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1301, + "line": 1457, "character": 12 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -18717,7 +18725,7 @@ { "title": "Properties", "kind": 1024, - "children": [225, 228] + "children": [240, 243] } ] } @@ -18725,14 +18733,14 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 245, "name": "data", "kind": 1024, "kindString": "Property", @@ -18740,21 +18748,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1304, + "line": 1460, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 231, + "id": 246, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 232, + "id": 247, "name": "session", "kind": 1024, "kindString": "Property", @@ -18762,7 +18770,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1305, + "line": 1461, "character": 14 } ], @@ -18776,14 +18784,14 @@ { "title": "Properties", "kind": 1024, - "children": [232] + "children": [247] } ] } } }, { - "id": 233, + "id": 248, "name": "error", "kind": 1024, "kindString": "Property", @@ -18791,7 +18799,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1463, "character": 12 } ], @@ -18805,7 +18813,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 233] + "children": [245, 248] } ] } @@ -18821,7 +18829,7 @@ ] }, { - "id": 280, + "id": 295, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -18829,13 +18837,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1443, + "line": 1599, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 296, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -18845,7 +18853,7 @@ }, "parameters": [ { - "id": 282, + "id": 297, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -18866,7 +18874,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -18878,7 +18886,7 @@ ] }, { - "id": 389, + "id": 404, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -18886,13 +18894,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2001, + "line": 2157, "character": 8 } ], "signatures": [ { - "id": 390, + "id": 405, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -18909,14 +18917,14 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 406, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 392, + "id": 407, "name": "data", "kind": 1024, "kindString": "Property", @@ -18924,21 +18932,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2003, + "line": 2159, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 393, + "id": 408, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 394, + "id": 409, "name": "identities", "kind": 1024, "kindString": "Property", @@ -18946,7 +18954,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2004, + "line": 2160, "character": 10 } ], @@ -18954,7 +18962,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity" } } @@ -18964,14 +18972,14 @@ { "title": "Properties", "kind": 1024, - "children": [394] + "children": [409] } ] } } }, { - "id": 395, + "id": 410, "name": "error", "kind": 1024, "kindString": "Property", @@ -18979,7 +18987,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2006, + "line": 2162, "character": 8 } ], @@ -18993,7 +19001,7 @@ { "title": "Properties", "kind": 1024, - "children": [392, 395] + "children": [407, 410] } ] } @@ -19001,14 +19009,14 @@ { "type": "reflection", "declaration": { - "id": 396, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 412, "name": "data", "kind": 1024, "kindString": "Property", @@ -19016,7 +19024,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 8 } ], @@ -19026,7 +19034,7 @@ } }, { - "id": 398, + "id": 413, "name": "error", "kind": 1024, "kindString": "Property", @@ -19034,13 +19042,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -19049,7 +19057,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398] + "children": [412, 413] } ] } @@ -19073,7 +19081,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 342, + "line": 353, "character": 8 } ], @@ -19092,7 +19100,7 @@ "typeArguments": [ { "type": "reference", - "id": 1129, + "id": 1162, "name": "InitializeResult" } ], @@ -19104,7 +19112,7 @@ ] }, { - "id": 399, + "id": 414, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -19112,13 +19120,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2025, + "line": 2181, "character": 8 } ], "signatures": [ { - "id": 400, + "id": 415, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -19128,17 +19136,17 @@ }, "parameters": [ { - "id": 401, + "id": 416, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -19146,21 +19154,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -19170,21 +19178,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -19197,14 +19205,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -19212,19 +19220,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -19243,7 +19251,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19253,29 +19261,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -19289,7 +19274,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -19302,7 +19310,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -19316,13 +19324,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -19330,7 +19338,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19341,16 +19349,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -19361,7 +19369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -19466,13 +19474,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -19487,7 +19495,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -19499,7 +19507,7 @@ ] }, { - "id": 361, + "id": 376, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -19507,13 +19515,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1899, + "line": 2055, "character": 2 } ], "signatures": [ { - "id": 362, + "id": 377, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -19523,7 +19531,7 @@ }, "parameters": [ { - "id": 363, + "id": 378, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -19534,33 +19542,33 @@ "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 365, + "id": 380, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 366, + "id": 381, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent" } }, { - "id": 367, + "id": 382, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19574,7 +19582,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -19611,14 +19619,14 @@ "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 369, + "id": 384, "name": "data", "kind": 1024, "kindString": "Property", @@ -19626,21 +19634,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 370, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 371, + "id": 386, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -19648,23 +19656,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 12 } ], "type": { "type": "reference", - "id": 785, + "id": 800, "name": "Subscription", "dereferenced": { - "id": 785, + "id": 800, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 786, + "id": 801, "name": "id", "kind": 1024, "kindString": "Property", @@ -19675,7 +19683,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 479, "character": 2 } ], @@ -19685,7 +19693,7 @@ } }, { - "id": 787, + "id": 802, "name": "callback", "kind": 2048, "kindString": "Method", @@ -19693,13 +19701,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 483, "character": 2 } ], "signatures": [ { - "id": 788, + "id": 803, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -19709,17 +19717,17 @@ }, "parameters": [ { - "id": 789, + "id": 804, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent", "dereferenced": { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -19727,7 +19735,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -19759,7 +19767,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -19767,7 +19775,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -19782,7 +19790,7 @@ } }, { - "id": 790, + "id": 805, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -19796,7 +19804,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -19811,7 +19819,7 @@ ] }, { - "id": 791, + "id": 806, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -19819,13 +19827,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 485, + "line": 487, "character": 2 } ], "signatures": [ { - "id": 792, + "id": 807, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -19845,18 +19853,18 @@ { "title": "Properties", "kind": 1024, - "children": [786] + "children": [801] }, { "title": "Methods", "kind": 2048, - "children": [787, 791] + "children": [802, 806] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 473, + "line": 475, "character": 17 } ] @@ -19868,7 +19876,7 @@ { "title": "Properties", "kind": 1024, - "children": [371] + "children": [386] } ] } @@ -19879,7 +19887,7 @@ { "title": "Properties", "kind": 1024, - "children": [369] + "children": [384] } ] } @@ -19888,7 +19896,7 @@ ] }, { - "id": 210, + "id": 225, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -19896,13 +19904,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1115, + "line": 1271, "character": 8 } ], "signatures": [ { - "id": 211, + "id": 226, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -19915,7 +19923,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -19927,7 +19935,7 @@ ] }, { - "id": 310, + "id": 325, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -19935,13 +19943,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 8 } ], "signatures": [ { - "id": 311, + "id": 326, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -19951,7 +19959,7 @@ }, "parameters": [ { - "id": 312, + "id": 327, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -19964,14 +19972,14 @@ "type": { "type": "reflection", "declaration": { - "id": 313, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 329, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -19979,7 +19987,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 42 } ], @@ -19993,7 +20001,7 @@ { "title": "Properties", "kind": 1024, - "children": [314] + "children": [329] } ] } @@ -20005,7 +20013,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -20017,7 +20025,7 @@ ] }, { - "id": 214, + "id": 229, "name": "resend", "kind": 2048, "kindString": "Method", @@ -20025,13 +20033,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1150, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 215, + "id": 230, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -20041,17 +20049,17 @@ }, "parameters": [ { - "id": 216, + "id": 231, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 955, "name": "ResendParams", "dereferenced": { - "id": 922, + "id": 955, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -20059,7 +20067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 769, "character": 12 } ], @@ -20069,14 +20077,14 @@ { "type": "reflection", "declaration": { - "id": 923, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 925, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -20084,7 +20092,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 772, "character": 6 } ], @@ -20094,7 +20102,7 @@ } }, { - "id": 926, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -20104,21 +20112,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 962, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20131,7 +20139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 777, "character": 8 } ], @@ -20141,7 +20149,7 @@ } }, { - "id": 928, + "id": 961, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -20154,7 +20162,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 775, "character": 8 } ], @@ -20168,13 +20176,13 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928] + "children": [962, 961] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 16 } ] @@ -20182,7 +20190,7 @@ } }, { - "id": 924, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -20190,7 +20198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 771, "character": 6 } ], @@ -20199,7 +20207,7 @@ "typeArguments": [ { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" }, { @@ -20226,13 +20234,13 @@ { "title": "Properties", "kind": 1024, - "children": [925, 926, 924] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 770, "character": 4 } ] @@ -20241,14 +20249,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 963, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 966, "name": "options", "kind": 1024, "kindString": "Property", @@ -20258,21 +20266,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 934, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 935, + "id": 968, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20285,7 +20293,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 785, "character": 8 } ], @@ -20299,13 +20307,13 @@ { "title": "Properties", "kind": 1024, - "children": [935] + "children": [968] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 16 } ] @@ -20313,7 +20321,7 @@ } }, { - "id": 932, + "id": 965, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20321,7 +20329,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 782, "character": 6 } ], @@ -20331,7 +20339,7 @@ } }, { - "id": 931, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -20339,7 +20347,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 740, + "line": 781, "character": 6 } ], @@ -20348,7 +20356,7 @@ "typeArguments": [ { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" }, { @@ -20375,13 +20383,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932, 931] + "children": [966, 965, 964] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 780, "character": 4 } ] @@ -20398,7 +20406,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -20410,7 +20418,7 @@ ] }, { - "id": 375, + "id": 390, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -20418,13 +20426,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1955, + "line": 2111, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 391, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -20434,7 +20442,7 @@ }, "parameters": [ { - "id": 377, + "id": 392, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -20448,7 +20456,7 @@ } }, { - "id": 378, + "id": 393, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -20456,14 +20464,14 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 381, + "id": 396, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20476,7 +20484,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1959, + "line": 2115, "character": 6 } ], @@ -20486,7 +20494,7 @@ } }, { - "id": 380, + "id": 395, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20499,7 +20507,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1958, + "line": 2114, "character": 6 } ], @@ -20513,7 +20521,7 @@ { "title": "Properties", "kind": 1024, - "children": [381, 380] + "children": [396, 395] } ] } @@ -20530,14 +20538,14 @@ { "type": "reflection", "declaration": { - "id": 382, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 398, "name": "data", "kind": 1024, "kindString": "Property", @@ -20545,14 +20553,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1963, + "line": 2119, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 384, + "id": 399, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -20561,7 +20569,7 @@ } }, { - "id": 385, + "id": 400, "name": "error", "kind": 1024, "kindString": "Property", @@ -20569,7 +20577,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1964, + "line": 2120, "character": 8 } ], @@ -20583,7 +20591,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 385] + "children": [398, 400] } ] } @@ -20591,14 +20599,14 @@ { "type": "reflection", "declaration": { - "id": 386, + "id": 401, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 387, + "id": 402, "name": "data", "kind": 1024, "kindString": "Property", @@ -20606,7 +20614,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 8 } ], @@ -20616,7 +20624,7 @@ } }, { - "id": 388, + "id": 403, "name": "error", "kind": 1024, "kindString": "Property", @@ -20624,13 +20632,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -20639,7 +20647,7 @@ { "title": "Properties", "kind": 1024, - "children": [387, 388] + "children": [402, 403] } ] } @@ -20655,7 +20663,7 @@ ] }, { - "id": 298, + "id": 313, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -20663,13 +20671,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1573, + "line": 1729, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 314, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -20679,7 +20687,7 @@ }, "parameters": [ { - "id": 300, + "id": 315, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -20690,14 +20698,14 @@ "type": { "type": "reflection", "declaration": { - "id": 301, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 317, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -20705,7 +20713,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1574, + "line": 1730, "character": 4 } ], @@ -20715,7 +20723,7 @@ } }, { - "id": 303, + "id": 318, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -20723,7 +20731,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1575, + "line": 1731, "character": 4 } ], @@ -20737,7 +20745,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [317, 318] } ] } @@ -20749,7 +20757,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -20769,7 +20777,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 445, + "line": 456, "character": 8 } ], @@ -20795,10 +20803,10 @@ }, "type": { "type": "reference", - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20806,21 +20814,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 794, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 810, "name": "options", "kind": 1024, "kindString": "Property", @@ -20830,21 +20838,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 796, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 813, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20857,7 +20865,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 499, "character": 4 } ], @@ -20867,7 +20875,7 @@ } }, { - "id": 797, + "id": 812, "name": "data", "kind": 1024, "kindString": "Property", @@ -20881,7 +20889,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 497, "character": 4 } ], @@ -20895,13 +20903,13 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [813, 812] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 12 } ] @@ -20913,13 +20921,13 @@ { "title": "Properties", "kind": 1024, - "children": [795] + "children": [810] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 43 } ] @@ -20934,7 +20942,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -20946,7 +20954,7 @@ ] }, { - "id": 198, + "id": 213, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -20954,13 +20962,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 908, + "line": 1064, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 214, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -20970,17 +20978,17 @@ }, "parameters": [ { - "id": 200, + "id": 215, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20988,21 +20996,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 860, + "id": 875, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 879, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -21012,29 +21020,6 @@ "comment": { "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 865, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -21048,7 +21033,30 @@ } }, { - "id": 866, + "id": 880, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 625, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, "name": "options", "kind": 1024, "kindString": "Property", @@ -21058,21 +21066,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 867, + "id": 882, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 868, + "id": 883, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21085,7 +21093,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 628, "character": 4 } ], @@ -21099,13 +21107,13 @@ { "title": "Properties", "kind": 1024, - "children": [868] + "children": [883] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 12 } ] @@ -21113,7 +21121,7 @@ } }, { - "id": 861, + "id": 876, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21124,7 +21132,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 2 } ], @@ -21161,7 +21169,7 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21169,7 +21177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 76 } ] @@ -21181,7 +21189,7 @@ } }, { - "id": 863, + "id": 878, "name": "token", "kind": 1024, "kindString": "Property", @@ -21192,7 +21200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 621, "character": 2 } ], @@ -21206,13 +21214,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 865, 866, 861, 863] + "children": [879, 880, 881, 876, 878] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 43 } ] @@ -21227,7 +21235,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -21247,7 +21255,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 628, + "line": 639, "character": 8 } ], @@ -21270,10 +21278,10 @@ "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21281,21 +21289,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -21305,21 +21313,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -21332,14 +21340,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21347,19 +21355,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -21378,7 +21386,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -21388,29 +21396,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -21424,7 +21409,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -21437,7 +21445,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -21451,13 +21459,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -21465,7 +21473,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -21476,16 +21484,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -21496,7 +21504,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -21601,13 +21609,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -21622,7 +21630,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -21634,7 +21642,7 @@ ] }, { - "id": 201, + "id": 216, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -21642,13 +21650,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 963, + "line": 1119, "character": 8 } ], "signatures": [ { - "id": 202, + "id": 217, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -21659,17 +21667,17 @@ }, "parameters": [ { - "id": 203, + "id": 218, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 829, + "id": 844, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 829, + "id": 844, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -21677,7 +21685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 563, "character": 12 } ], @@ -21687,14 +21695,14 @@ { "type": "reflection", "declaration": { - "id": 830, + "id": 845, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 846, "name": "email", "kind": 1024, "kindString": "Property", @@ -21705,7 +21713,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 564, + "line": 566, "character": 6 } ], @@ -21715,7 +21723,7 @@ } }, { - "id": 832, + "id": 847, "name": "options", "kind": 1024, "kindString": "Property", @@ -21725,21 +21733,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 567, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 833, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21752,7 +21760,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 577, + "line": 579, "character": 8 } ], @@ -21762,7 +21770,7 @@ } }, { - "id": 836, + "id": 851, "name": "data", "kind": 1024, "kindString": "Property", @@ -21776,7 +21784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 577, "character": 8 } ], @@ -21786,7 +21794,7 @@ } }, { - "id": 834, + "id": 849, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -21799,7 +21807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 569, "character": 8 } ], @@ -21809,7 +21817,7 @@ } }, { - "id": 835, + "id": 850, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21822,7 +21830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 569, + "line": 571, "character": 8 } ], @@ -21836,13 +21844,13 @@ { "title": "Properties", "kind": 1024, - "children": [837, 836, 834, 835] + "children": [852, 851, 849, 850] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 567, "character": 16 } ] @@ -21854,13 +21862,13 @@ { "title": "Properties", "kind": 1024, - "children": [831, 832] + "children": [846, 847] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 564, "character": 4 } ] @@ -21869,14 +21877,14 @@ { "type": "reflection", "declaration": { - "id": 838, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 840, + "id": 855, "name": "options", "kind": 1024, "kindString": "Property", @@ -21886,21 +21894,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 841, + "id": 856, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 859, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21913,7 +21921,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 593, + "line": 595, "character": 8 } ], @@ -21923,7 +21931,7 @@ } }, { - "id": 845, + "id": 860, "name": "channel", "kind": 1024, "kindString": "Property", @@ -21936,7 +21944,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 595, + "line": 597, "character": 8 } ], @@ -21955,7 +21963,7 @@ } }, { - "id": 843, + "id": 858, "name": "data", "kind": 1024, "kindString": "Property", @@ -21969,7 +21977,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 593, "character": 8 } ], @@ -21979,7 +21987,7 @@ } }, { - "id": 842, + "id": 857, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -21992,7 +22000,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 587, "character": 8 } ], @@ -22006,13 +22014,13 @@ { "title": "Properties", "kind": 1024, - "children": [844, 845, 843, 842] + "children": [859, 860, 858, 857] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 16 } ] @@ -22020,7 +22028,7 @@ } }, { - "id": 839, + "id": 854, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22031,7 +22039,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 582, + "line": 584, "character": 6 } ], @@ -22045,13 +22053,13 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839] + "children": [855, 854] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 582, "character": 4 } ] @@ -22068,7 +22076,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -22088,7 +22096,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 565, + "line": 576, "character": 8 } ], @@ -22112,10 +22120,10 @@ "flags": {}, "type": { "type": "reference", - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -22123,7 +22131,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 541, "character": 12 } ], @@ -22133,14 +22141,14 @@ { "type": "reflection", "declaration": { - "id": 817, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -22148,92 +22156,6 @@ "comment": { "shortText": "The user's email address." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 822, - "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": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 16 - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -22245,35 +22167,9 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "kind": 1024, - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 540, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 823, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 826, + "id": 835, "name": "options", "kind": 1024, "kindString": "Property", @@ -22283,21 +22179,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 827, + "id": 836, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 828, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22310,7 +22206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 557, + "line": 549, "character": 8 } ], @@ -22324,13 +22220,13 @@ { "title": "Properties", "kind": 1024, - "children": [828] + "children": [837] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 16 } ] @@ -22338,7 +22234,7 @@ } }, { - "id": 825, + "id": 834, "name": "password", "kind": 1024, "kindString": "Property", @@ -22346,6 +22242,139 @@ "comment": { "shortText": "The user's password." }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [833, 835, 834] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 542, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 838, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 841, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 842, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 843, + "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": 559, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [843] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 16 + } + ] + } + } + }, + { + "id": 840, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 556, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -22357,40 +22386,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 824, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [826, 825, 824] + "children": [841, 840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 552, "character": 4 } ] @@ -22407,7 +22415,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 667, "name": "AuthTokenResponsePassword" } ], @@ -22419,7 +22427,7 @@ ] }, { - "id": 207, + "id": 222, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -22427,13 +22435,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1077, + "line": 1233, "character": 8 } ], "signatures": [ { - "id": 208, + "id": 223, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -22444,17 +22452,17 @@ }, "parameters": [ { - "id": 209, + "id": 224, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 936, + "id": 969, "name": "SignInWithSSO", "dereferenced": { - "id": 936, + "id": 969, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -22462,7 +22470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 789, "character": 12 } ], @@ -22472,14 +22480,14 @@ { "type": "reflection", "declaration": { - "id": 937, + "id": 970, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 939, + "id": 972, "name": "options", "kind": 1024, "kindString": "Property", @@ -22489,21 +22497,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 940, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 975, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22516,7 +22524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 757, + "line": 798, "character": 8 } ], @@ -22526,7 +22534,7 @@ } }, { - "id": 941, + "id": 974, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22539,7 +22547,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 796, "character": 8 } ], @@ -22553,13 +22561,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 941] + "children": [975, 974] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 16 } ] @@ -22567,7 +22575,7 @@ } }, { - "id": 938, + "id": 971, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -22578,7 +22586,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 792, "character": 6 } ], @@ -22592,13 +22600,13 @@ { "title": "Properties", "kind": 1024, - "children": [939, 938] + "children": [972, 971] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 790, "character": 4 } ] @@ -22607,14 +22615,14 @@ { "type": "reflection", "declaration": { - "id": 943, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 977, "name": "domain", "kind": 1024, "kindString": "Property", @@ -22625,7 +22633,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 803, "character": 6 } ], @@ -22635,7 +22643,7 @@ } }, { - "id": 945, + "id": 978, "name": "options", "kind": 1024, "kindString": "Property", @@ -22645,21 +22653,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 946, + "id": 979, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 948, + "id": 981, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22672,7 +22680,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 809, "character": 8 } ], @@ -22682,7 +22690,7 @@ } }, { - "id": 947, + "id": 980, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22695,7 +22703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 807, "character": 8 } ], @@ -22709,13 +22717,13 @@ { "title": "Properties", "kind": 1024, - "children": [948, 947] + "children": [981, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 16 } ] @@ -22727,13 +22735,13 @@ { "title": "Properties", "kind": 1024, - "children": [944, 945] + "children": [977, 978] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 801, "character": 4 } ] @@ -22750,7 +22758,7 @@ "typeArguments": [ { "type": "reference", - "id": 680, + "id": 695, "name": "SSOResponse" } ], @@ -22770,7 +22778,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 666, "character": 8 } ], @@ -22782,7 +22790,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Signs in a user by verifying a message signed by the user's private key.\nOnly Solana supported at this time, using the Sign in with Solana standard." + "shortText": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side.", + "tags": [ + { + "tag": "reference", + "text": "https://eips.ethereum.org/EIPS/eip-4361\n" + } + ] }, "parameters": [ { @@ -22793,18 +22807,18 @@ "flags": {}, "type": { "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials", + "id": 932, + "name": "Web3Credentials", "dereferenced": { - "id": 882, - "name": "SolanaWeb3Credentials", + "id": 932, + "name": "Web3Credentials", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 717, "character": 12 } ], @@ -22812,395 +22826,820 @@ "type": "union", "types": [ { - "type": "reflection", - "declaration": { - "id": 883, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "id": 897, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { - "id": 884, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 887, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 888, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 890, - "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": 654, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 898, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 899, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 643, + "character": 6 } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 902, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - { - "id": 891, - "name": "signInWithSolana", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 656, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 903, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { - "type": "reference", - "typeArguments": [ + "id": 905, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ { - "type": "reference", - "name": "SolanaSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "chain" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] + "fileName": "src/lib/types.ts", + "line": 656, + "character": 8 } ], - "qualifiedName": "Omit", - "package": "typescript", - "name": "Omit" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 906, + "name": "signInWithSolana", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 658, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "SolanaSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 904, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [905, 906, 904] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 16 + } + ] } + } + }, + { + "id": 901, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - { - "id": 889, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 900, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 646, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 884, + "name": "SolanaWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [899, 902, 901, 900] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 642, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 907, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 908, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 664, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 909, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 911, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 912, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 913, + "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": 674, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [913] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 16 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [890, 891, 889] + }, + { + "id": 910, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 16 - } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [908, 909, 911, 910] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 663, + "character": 4 + } + ] } - }, - { - "id": 886, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 647, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 885, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Wallet interface to use. If not specified will default to `window.solana`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 644, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 869, - "name": "SolanaWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [884, 887, 886, 885] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 640, - "character": 4 } ] } }, { - "type": "reflection", - "declaration": { - "id": 892, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { - "id": 893, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 894, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 665, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 896, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 897, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 898, - "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": 672, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [898] + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 16 + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] } }, { - "id": 895, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Ed25519 signature of the message." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 668, - "character": 6 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [893, 894, 896, 895] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 661, - "character": 4 - } ] } } @@ -23234,7 +23673,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 8 } ], @@ -23256,13 +23695,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 16 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } }, @@ -23275,13 +23714,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 34 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -23305,7 +23744,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 655, + "line": 669, "character": 8 } ], @@ -23342,7 +23781,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 8 } ], @@ -23364,7 +23803,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 16 } ], @@ -23382,7 +23821,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 31 } ], @@ -23411,13 +23850,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 45 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -23442,7 +23881,7 @@ ] }, { - "id": 351, + "id": 366, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -23450,13 +23889,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 8 } ], "signatures": [ { - "id": 352, + "id": 367, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -23467,17 +23906,17 @@ }, "parameters": [ { - "id": 353, + "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1150, + "id": 1183, "name": "SignOut", "dereferenced": { - "id": 1150, + "id": 1183, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -23485,21 +23924,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1151, + "id": 1184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1152, + "id": 1185, "name": "scope", "kind": 1024, "kindString": "Property", @@ -23512,7 +23951,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1190, + "line": 1231, "character": 2 } ], @@ -23539,13 +23978,13 @@ { "title": "Properties", "kind": 1024, - "children": [1152] + "children": [1185] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 22 } ] @@ -23562,14 +24001,14 @@ { "type": "reflection", "declaration": { - "id": 354, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 355, + "id": 370, "name": "error", "kind": 1024, "kindString": "Property", @@ -23577,7 +24016,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 67 } ], @@ -23590,7 +24029,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -23601,7 +24040,7 @@ { "title": "Properties", "kind": 1024, - "children": [355] + "children": [370] } ] } @@ -23623,7 +24062,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 488, + "line": 499, "character": 8 } ], @@ -23648,10 +24087,10 @@ "flags": {}, "type": { "type": "reference", - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -23659,7 +24098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 503, "character": 12 } ], @@ -23669,14 +24108,14 @@ { "type": "reflection", "declaration": { - "id": 800, + "id": 815, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 816, "name": "email", "kind": 1024, "kindString": "Property", @@ -23687,7 +24126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 506, "character": 6 } ], @@ -23697,7 +24136,7 @@ } }, { - "id": 803, + "id": 818, "name": "options", "kind": 1024, "kindString": "Property", @@ -23707,21 +24146,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 807, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23734,7 +24173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 519, "character": 8 } ], @@ -23744,7 +24183,7 @@ } }, { - "id": 806, + "id": 821, "name": "data", "kind": 1024, "kindString": "Property", @@ -23758,7 +24197,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 517, "character": 8 } ], @@ -23768,7 +24207,7 @@ } }, { - "id": 805, + "id": 820, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -23781,7 +24220,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 511, "character": 8 } ], @@ -23795,13 +24234,13 @@ { "title": "Properties", "kind": 1024, - "children": [807, 806, 805] + "children": [822, 821, 820] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 16 } ] @@ -23809,7 +24248,7 @@ } }, { - "id": 802, + "id": 817, "name": "password", "kind": 1024, "kindString": "Property", @@ -23820,7 +24259,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 508, "character": 6 } ], @@ -23834,13 +24273,13 @@ { "title": "Properties", "kind": 1024, - "children": [801, 803, 802] + "children": [816, 818, 817] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 504, "character": 4 } ] @@ -23849,14 +24288,14 @@ { "type": "reflection", "declaration": { - "id": 808, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 811, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -23866,21 +24305,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 812, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 814, + "id": 829, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -23893,7 +24332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 535, "character": 8 } ], @@ -23903,7 +24342,7 @@ } }, { - "id": 815, + "id": 830, "name": "channel", "kind": 1024, "kindString": "Property", @@ -23916,7 +24355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 537, "character": 8 } ], @@ -23935,7 +24374,7 @@ } }, { - "id": 813, + "id": 828, "name": "data", "kind": 1024, "kindString": "Property", @@ -23949,7 +24388,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 531, + "line": 533, "character": 8 } ], @@ -23963,13 +24402,13 @@ { "title": "Properties", "kind": 1024, - "children": [814, 815, 813] + "children": [829, 830, 828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 16 } ] @@ -23977,7 +24416,7 @@ } }, { - "id": 810, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -23988,7 +24427,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 526, "character": 6 } ], @@ -23998,7 +24437,7 @@ } }, { - "id": 809, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24009,7 +24448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 524, "character": 6 } ], @@ -24023,13 +24462,13 @@ { "title": "Properties", "kind": 1024, - "children": [811, 810, 809] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 522, "character": 4 } ] @@ -24046,7 +24485,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -24058,7 +24497,7 @@ ] }, { - "id": 457, + "id": 472, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -24066,13 +24505,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2542, + "line": 2698, "character": 8 } ], "signatures": [ { - "id": 458, + "id": 473, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -24097,7 +24536,7 @@ ] }, { - "id": 459, + "id": 474, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -24105,13 +24544,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2555, + "line": 2711, "character": 8 } ], "signatures": [ { - "id": 460, + "id": 475, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -24136,7 +24575,7 @@ ] }, { - "id": 402, + "id": 417, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -24144,13 +24583,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2061, + "line": 2217, "character": 8 } ], "signatures": [ { - "id": 403, + "id": 418, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -24160,173 +24599,30 @@ }, "parameters": [ { - "id": 404, + "id": 419, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity", "dereferenced": { - "id": 713, + "id": 728, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 722, + "id": 737, "name": "created_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 714, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 291, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 718, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 719, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 720, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 724, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -24340,7 +24636,150 @@ } }, { - "id": 715, + "id": 729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 733, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 735, + "name": "identity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 301, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 736, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 739, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 302, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 730, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -24348,7 +24787,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 292, + "line": 294, "character": 2 } ], @@ -24362,13 +24801,13 @@ { "title": "Properties", "kind": 1024, - "children": [722, 714, 716, 720, 723, 721, 724, 715] + "children": [737, 729, 731, 735, 738, 736, 739, 730] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 290, + "line": 292, "character": 17 } ] @@ -24385,14 +24824,14 @@ { "type": "reflection", "declaration": { - "id": 405, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 406, + "id": 421, "name": "data", "kind": 1024, "kindString": "Property", @@ -24400,14 +24839,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2063, + "line": 2219, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 407, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -24416,7 +24855,7 @@ } }, { - "id": 408, + "id": 423, "name": "error", "kind": 1024, "kindString": "Property", @@ -24424,7 +24863,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2064, + "line": 2220, "character": 8 } ], @@ -24438,7 +24877,7 @@ { "title": "Properties", "kind": 1024, - "children": [406, 408] + "children": [421, 423] } ] } @@ -24446,14 +24885,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -24461,7 +24900,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 8 } ], @@ -24471,7 +24910,7 @@ } }, { - "id": 411, + "id": 426, "name": "error", "kind": 1024, "kindString": "Property", @@ -24479,13 +24918,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -24494,7 +24933,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 411] + "children": [425, 426] } ] } @@ -24510,7 +24949,7 @@ ] }, { - "id": 286, + "id": 301, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -24518,13 +24957,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1504, + "line": 1660, "character": 8 } ], "signatures": [ { - "id": 287, + "id": 302, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -24534,24 +24973,24 @@ }, "parameters": [ { - "id": 288, + "id": 303, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes", "dereferenced": { - "id": 766, + "id": 781, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 771, + "id": 786, "name": "data", "kind": 1024, "kindString": "Property", @@ -24565,7 +25004,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 397, "character": 2 } ], @@ -24575,7 +25014,7 @@ } }, { - "id": 767, + "id": 782, "name": "email", "kind": 1024, "kindString": "Property", @@ -24588,7 +25027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -24598,7 +25037,7 @@ } }, { - "id": 770, + "id": 785, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -24612,7 +25051,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -24622,7 +25061,7 @@ } }, { - "id": 769, + "id": 784, "name": "password", "kind": 1024, "kindString": "Property", @@ -24635,7 +25074,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -24645,7 +25084,7 @@ } }, { - "id": 768, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24658,7 +25097,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -24672,13 +25111,13 @@ { "title": "Properties", "kind": 1024, - "children": [771, 767, 770, 769, 768] + "children": [786, 782, 785, 784, 783] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 368, "character": 17 } ] @@ -24686,7 +25125,7 @@ } }, { - "id": 289, + "id": 304, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -24694,14 +25133,14 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 291, + "id": 306, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -24711,7 +25150,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1507, + "line": 1663, "character": 6 } ], @@ -24725,7 +25164,7 @@ { "title": "Properties", "kind": 1024, - "children": [291] + "children": [306] } ] } @@ -24738,7 +25177,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -24750,7 +25189,7 @@ ] }, { - "id": 204, + "id": 219, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -24758,13 +25197,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1016, + "line": 1172, "character": 8 } ], "signatures": [ { - "id": 205, + "id": 220, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -24774,17 +25213,17 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 900, + "id": 933, "name": "VerifyOtpParams", "dereferenced": { - "id": 900, + "id": 933, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -24792,7 +25231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 719, "character": 12 } ], @@ -24800,14 +25239,14 @@ "type": "union", "types": [ { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -24817,21 +25256,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -24850,7 +25289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -24860,7 +25299,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -24873,7 +25312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -24887,14 +25326,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -24905,7 +25344,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -24915,7 +25354,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -24926,7 +25365,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -24936,7 +25375,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -24947,16 +25386,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -24964,7 +25403,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -24989,26 +25428,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -25019,7 +25458,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -25029,7 +25468,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -25039,21 +25478,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -25072,7 +25511,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -25082,7 +25521,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -25095,7 +25534,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -25109,14 +25548,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -25127,7 +25566,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -25137,7 +25576,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -25148,16 +25587,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -25165,7 +25604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -25206,26 +25645,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -25236,7 +25675,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -25246,7 +25685,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -25257,16 +25696,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -25274,7 +25713,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -25315,13 +25754,13 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] @@ -25337,7 +25776,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -25364,42 +25803,42 @@ "title": "Methods", "kind": 2048, "children": [ - 157, 508, 217, 280, 389, 141, 399, 361, 210, 310, 214, 375, 298, 145, 198, 154, 201, - 151, 207, 160, 351, 148, 457, 459, 402, 286, 204 + 157, 523, 232, 295, 404, 141, 414, 376, 225, 325, 229, 390, 313, 145, 213, 154, 216, + 151, 222, 160, 366, 148, 472, 474, 417, 301, 219 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 147, + "line": 158, "character": 21 } ] }, { - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 542, + "id": 557, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 543, + "id": 558, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 559, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -25412,7 +25851,7 @@ ], "type": { "type": "reference", - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -25427,7 +25866,7 @@ } }, { - "id": 545, + "id": 560, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -25457,12 +25896,12 @@ { "title": "Constructors", "kind": 512, - "children": [542] + "children": [557] }, { "title": "Properties", "kind": 1024, - "children": [545] + "children": [560] } ], "sources": [ @@ -25480,7 +25919,7 @@ ] }, { - "id": 709, + "id": 724, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -25497,7 +25936,7 @@ }, "children": [ { - "id": 710, + "id": 725, "name": "method", "kind": 1024, "kindString": "Property", @@ -25508,7 +25947,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 281, + "line": 283, "character": 2 } ], @@ -25529,7 +25968,7 @@ { "type": "reflection", "declaration": { - "id": 711, + "id": 726, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -25554,7 +25993,7 @@ } }, { - "id": 712, + "id": 727, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -25565,7 +26004,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 289, "character": 2 } ], @@ -25579,26 +26018,26 @@ { "title": "Properties", "kind": 1024, - "children": [710, 712] + "children": [725, 727] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 281, "character": 17 } ] }, { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -25612,7 +26051,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -25622,7 +26061,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -25636,7 +26075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -25646,7 +26085,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -25659,7 +26098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -25673,7 +26112,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -25687,7 +26126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -25697,7 +26136,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -25711,7 +26150,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -25721,7 +26160,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -25735,7 +26174,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -25749,7 +26188,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -25762,7 +26201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -25776,7 +26215,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -25790,7 +26229,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -25800,7 +26239,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25813,7 +26252,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -25827,7 +26266,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -25841,7 +26280,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -25851,7 +26290,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -25865,7 +26304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -25875,7 +26314,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -25889,7 +26328,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -25903,13 +26342,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] + "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -25919,7 +26358,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -25934,7 +26373,7 @@ ] }, { - "id": 725, + "id": 740, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -25958,7 +26397,7 @@ }, "children": [ { - "id": 731, + "id": 746, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -25966,7 +26405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 327, "character": 2 } ], @@ -25976,7 +26415,7 @@ } }, { - "id": 728, + "id": 743, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -25987,7 +26426,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 320, + "line": 322, "character": 2 } ], @@ -26004,7 +26443,7 @@ { "type": "reflection", "declaration": { - "id": 729, + "id": 744, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -26025,7 +26464,7 @@ } }, { - "id": 727, + "id": 742, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -26038,7 +26477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 317, "character": 2 } ], @@ -26048,7 +26487,7 @@ } }, { - "id": 726, + "id": 741, "name": "id", "kind": 1024, "kindString": "Property", @@ -26059,7 +26498,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 314, "character": 2 } ], @@ -26069,7 +26508,7 @@ } }, { - "id": 730, + "id": 745, "name": "status", "kind": 1024, "kindString": "Property", @@ -26080,7 +26519,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 323, + "line": 325, "character": 2 } ], @@ -26099,7 +26538,7 @@ } }, { - "id": 732, + "id": 747, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -26107,7 +26546,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 328, "character": 2 } ], @@ -26121,26 +26560,26 @@ { "title": "Properties", "kind": 1024, - "children": [731, 728, 727, 726, 730, 732] + "children": [746, 743, 742, 741, 745, 747] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 312, "character": 17 } ] }, { - "id": 971, + "id": 1004, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 972, + "id": 1005, "name": "data", "kind": 1024, "kindString": "Property", @@ -26154,7 +26593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 810, + "line": 851, "character": 2 } ], @@ -26164,7 +26603,7 @@ } }, { - "id": 973, + "id": 1006, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -26177,7 +26616,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 812, + "line": 853, "character": 2 } ], @@ -26191,19 +26630,19 @@ { "title": "Properties", "kind": 1024, - "children": [972, 973] + "children": [1005, 1006] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 845, "character": 17 } ] }, { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -26219,14 +26658,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -26246,17 +26685,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -26272,21 +26711,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -26297,7 +26736,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -26307,7 +26746,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -26318,7 +26757,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -26332,13 +26771,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -26353,7 +26792,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -26365,14 +26804,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -26382,17 +26821,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -26408,21 +26847,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -26433,7 +26872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -26447,13 +26886,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -26468,7 +26907,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -26484,19 +26923,19 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] }, { - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -26506,14 +26945,14 @@ }, "children": [ { - "id": 1078, + "id": 1111, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1079, + "id": 1112, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -26523,17 +26962,17 @@ }, "parameters": [ { - "id": 1080, + "id": 1113, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "dereferenced": { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -26541,21 +26980,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -26568,7 +27007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -26587,7 +27026,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26598,7 +27037,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -26612,13 +27051,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -26633,7 +27072,7 @@ "typeArguments": [ { "type": "reference", - "id": 1036, + "id": 1069, "name": "AuthMFAChallengeResponse" } ], @@ -26645,14 +27084,14 @@ ] }, { - "id": 1087, + "id": 1120, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1088, + "id": 1121, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -26662,17 +27101,17 @@ }, "parameters": [ { - "id": 1089, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -26680,21 +27119,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -26705,7 +27144,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -26715,7 +27154,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -26726,7 +27165,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -26740,13 +27179,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -26761,7 +27200,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -26773,14 +27212,14 @@ ] }, { - "id": 1071, + "id": 1104, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1072, + "id": 1105, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -26791,17 +27230,17 @@ }, "parameters": [ { - "id": 1073, + "id": 1106, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -26809,21 +27248,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26834,7 +27273,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -26844,7 +27283,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26857,7 +27296,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -26867,7 +27306,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -26880,7 +27319,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -26894,13 +27333,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -26915,7 +27354,7 @@ "typeArguments": [ { "type": "reference", - "id": 1163, + "id": 1196, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -26925,24 +27364,24 @@ } }, { - "id": 1074, + "id": 1107, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1075, + "id": 1108, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -26950,21 +27389,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -26975,7 +27414,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -26985,7 +27424,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -26998,7 +27437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -27008,7 +27447,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -27019,7 +27458,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -27033,13 +27472,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -27054,7 +27493,7 @@ "typeArguments": [ { "type": "reference", - "id": 1179, + "id": 1212, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -27064,24 +27503,24 @@ } }, { - "id": 1076, + "id": 1109, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1077, + "id": 1110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "dereferenced": { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -27089,7 +27528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -27097,7 +27536,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -27105,21 +27544,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -27130,7 +27569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -27140,7 +27579,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -27153,7 +27592,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -27163,7 +27602,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -27176,7 +27615,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -27190,13 +27629,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -27204,7 +27643,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -27212,21 +27651,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -27237,7 +27676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -27247,7 +27686,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -27260,7 +27699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -27270,7 +27709,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -27281,7 +27720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -27295,13 +27734,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -27319,7 +27758,7 @@ "typeArguments": [ { "type": "reference", - "id": 1026, + "id": 1059, "name": "AuthMFAEnrollResponse" } ], @@ -27331,14 +27770,14 @@ ] }, { - "id": 1092, + "id": 1125, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1093, + "id": 1126, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -27352,7 +27791,7 @@ "typeArguments": [ { "type": "reference", - "id": 1059, + "id": 1092, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -27364,14 +27803,14 @@ ] }, { - "id": 1090, + "id": 1123, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1091, + "id": 1124, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -27398,7 +27837,7 @@ "typeArguments": [ { "type": "reference", - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse" } ], @@ -27410,14 +27849,14 @@ ] }, { - "id": 1084, + "id": 1117, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1085, + "id": 1118, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -27427,17 +27866,17 @@ }, "parameters": [ { - "id": 1086, + "id": 1119, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "dereferenced": { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -27445,21 +27884,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -27470,7 +27909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -27484,13 +27923,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -27505,7 +27944,7 @@ "typeArguments": [ { "type": "reference", - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse" } ], @@ -27517,14 +27956,14 @@ ] }, { - "id": 1081, + "id": 1114, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1082, + "id": 1115, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -27534,17 +27973,17 @@ }, "parameters": [ { - "id": 1083, + "id": 1116, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "dereferenced": { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -27552,21 +27991,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -27577,7 +28016,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -27587,7 +28026,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -27598,7 +28037,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -27608,7 +28047,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -27619,7 +28058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -27633,13 +28072,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -27654,7 +28093,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -27670,26 +28109,26 @@ { "title": "Methods", "kind": 2048, - "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] + "children": [1111, 1120, 1104, 1125, 1123, 1117, 1114] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 998, + "line": 1039, "character": 17 } ] }, { - "id": 1210, + "id": 1243, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1213, + "id": 1246, "name": "alg", "kind": 1024, "kindString": "Property", @@ -27699,7 +28138,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1291, + "line": 1332, "character": 2 } ], @@ -27709,7 +28148,7 @@ } }, { - "id": 1212, + "id": 1245, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -27717,7 +28156,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1290, + "line": 1331, "character": 2 } ], @@ -27730,7 +28169,7 @@ } }, { - "id": 1214, + "id": 1247, "name": "kid", "kind": 1024, "kindString": "Property", @@ -27740,7 +28179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1292, + "line": 1333, "character": 2 } ], @@ -27750,7 +28189,7 @@ } }, { - "id": 1211, + "id": 1244, "name": "kty", "kind": 1024, "kindString": "Property", @@ -27758,7 +28197,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1289, + "line": 1330, "character": 2 } ], @@ -27785,25 +28224,25 @@ { "title": "Properties", "kind": 1024, - "children": [1213, 1212, 1214, 1211] + "children": [1246, 1245, 1247, 1244] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1288, + "line": 1329, "character": 17 } ], "indexSignature": { - "id": 1215, + "id": 1248, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1216, + "id": 1249, "name": "key", "kind": 32768, "flags": {}, @@ -27820,14 +28259,14 @@ } }, { - "id": 700, + "id": 715, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 703, + "id": 718, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -27838,7 +28277,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 250, + "line": 252, "character": 2 } ], @@ -27848,7 +28287,7 @@ } }, { - "id": 706, + "id": 721, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -27861,7 +28300,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 262, + "line": 264, "character": 2 } ], @@ -27871,7 +28310,7 @@ } }, { - "id": 705, + "id": 720, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -27882,7 +28321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -27892,7 +28331,7 @@ } }, { - "id": 702, + "id": 717, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -27905,7 +28344,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 246, + "line": 248, "character": 2 } ], @@ -27924,7 +28363,7 @@ } }, { - "id": 701, + "id": 716, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -27937,7 +28376,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -27956,7 +28395,7 @@ } }, { - "id": 704, + "id": 719, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -27967,7 +28406,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 254, + "line": 256, "character": 2 } ], @@ -27977,7 +28416,7 @@ } }, { - "id": 707, + "id": 722, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -27985,7 +28424,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 263, + "line": 265, "character": 2 } ], @@ -27995,7 +28434,7 @@ } }, { - "id": 708, + "id": 723, "name": "user", "kind": 1024, "kindString": "Property", @@ -28006,476 +28445,29 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 270, "character": 2 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User", "dereferenced": { - "id": 740, + "id": 755, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 751, + "id": 766, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 742, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 733, - "name": "UserAppMetadata", - "dereferenced": { - "id": 733, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 734, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [734] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 17 - } - ], - "indexSignature": { - "id": 735, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 736, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 744, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 765, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 747, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 761, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 713, - "name": "UserIdentity" - } - } - }, - { - "id": 750, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 763, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 758, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 748, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 753, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -28490,7 +28482,130 @@ }, { "id": 757, - "name": "phone_confirmed_at", + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 342, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 748, + "name": "UserAppMetadata", + "dereferenced": { + "id": 748, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 749, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [749] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, + "character": 17 + } + ], + "indexSignature": { + "id": 750, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 751, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 759, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 770, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28509,17 +28624,15 @@ } }, { - "id": 746, - "name": "recovery_sent_at", + "id": 769, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 354, "character": 2 } ], @@ -28529,8 +28642,8 @@ } }, { - "id": 759, - "name": "role", + "id": 780, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28539,7 +28652,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 357, + "line": 365, "character": 2 } ], @@ -28549,8 +28662,194 @@ } }, { - "id": 760, - "name": "updated_at", + "id": 767, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 771, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 356, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 779, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + }, + { + "id": 756, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 776, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 728, + "name": "UserIdentity" + } + } + }, + { + "id": 765, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 777, + "name": "is_anonymous", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 778, + "name": "is_sso_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -28569,7 +28868,147 @@ } }, { - "id": 743, + "id": 763, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 348, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 764, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 349, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 768, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 359, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -28577,16 +29016,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 341, + "line": 343, "character": 2 } ], "type": { "type": "reference", - "id": 737, + "id": 752, "name": "UserMetadata", "dereferenced": { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -28594,19 +29033,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -28630,15 +29069,15 @@ "title": "Properties", "kind": 1024, "children": [ - 751, 742, 744, 745, 755, 754, 765, 752, 747, 756, 764, 741, 761, 750, 762, - 763, 758, 748, 749, 753, 757, 746, 759, 760, 743 + 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, + 778, 773, 763, 764, 768, 772, 761, 774, 775, 758 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 340, "character": 17 } ] @@ -28650,26 +29089,26 @@ { "title": "Properties", "kind": 1024, - "children": [703, 706, 705, 702, 701, 704, 707, 708] + "children": [718, 721, 720, 717, 716, 719, 722, 723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 17 } ] }, { - "id": 785, + "id": 800, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 786, + "id": 801, "name": "id", "kind": 1024, "kindString": "Property", @@ -28680,7 +29119,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 479, "character": 2 } ], @@ -28690,7 +29129,7 @@ } }, { - "id": 787, + "id": 802, "name": "callback", "kind": 2048, "kindString": "Method", @@ -28698,13 +29137,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 483, "character": 2 } ], "signatures": [ { - "id": 788, + "id": 803, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -28714,17 +29153,17 @@ }, "parameters": [ { - "id": 789, + "id": 804, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent", "dereferenced": { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -28732,7 +29171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -28764,7 +29203,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -28772,7 +29211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -28787,7 +29226,7 @@ } }, { - "id": 790, + "id": 805, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -28801,7 +29240,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -28816,7 +29255,7 @@ ] }, { - "id": 791, + "id": 806, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -28824,13 +29263,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 485, + "line": 487, "character": 2 } ], "signatures": [ { - "id": 792, + "id": 807, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -28850,484 +29289,37 @@ { "title": "Properties", "kind": 1024, - "children": [786] + "children": [801] }, { "title": "Methods", "kind": 2048, - "children": [787, 791] + "children": [802, 806] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 473, + "line": 475, "character": 17 } ] }, { - "id": 740, + "id": 755, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 751, + "id": 766, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 742, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 733, - "name": "UserAppMetadata", - "dereferenced": { - "id": 733, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 734, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [734] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 17 - } - ], - "indexSignature": { - "id": 735, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 736, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 744, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 765, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 747, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 761, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 713, - "name": "UserIdentity" - } - } - }, - { - "id": 750, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 763, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 758, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 748, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 753, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -29342,7 +29334,130 @@ }, { "id": 757, - "name": "phone_confirmed_at", + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 342, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 748, + "name": "UserAppMetadata", + "dereferenced": { + "id": 748, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 749, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [749] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, + "character": 17 + } + ], + "indexSignature": { + "id": 750, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 751, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 759, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 770, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -29361,17 +29476,15 @@ } }, { - "id": 746, - "name": "recovery_sent_at", + "id": 769, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 354, "character": 2 } ], @@ -29381,8 +29494,8 @@ } }, { - "id": 759, - "name": "role", + "id": 780, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -29391,7 +29504,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 357, + "line": 365, "character": 2 } ], @@ -29401,8 +29514,194 @@ } }, { - "id": 760, - "name": "updated_at", + "id": 767, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 771, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 356, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 779, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + }, + { + "id": 756, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 776, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 728, + "name": "UserIdentity" + } + } + }, + { + "id": 765, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 777, + "name": "is_anonymous", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 778, + "name": "is_sso_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -29421,7 +29720,147 @@ } }, { - "id": 743, + "id": 763, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 348, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 764, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 349, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 768, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 359, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -29429,16 +29868,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 341, + "line": 343, "character": 2 } ], "type": { "type": "reference", - "id": 737, + "id": 752, "name": "UserMetadata", "dereferenced": { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -29446,19 +29885,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -29482,28 +29921,28 @@ "title": "Properties", "kind": 1024, "children": [ - 751, 742, 744, 745, 755, 754, 765, 752, 747, 756, 764, 741, 761, 750, 762, 763, 758, - 748, 749, 753, 757, 746, 759, 760, 743 + 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, 778, 773, + 763, 764, 768, 772, 761, 774, 775, 758 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 340, "character": 17 } ] }, { - "id": 733, + "id": 748, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 734, + "id": 749, "name": "provider", "kind": 1024, "kindString": "Property", @@ -29513,7 +29952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 332, "character": 2 } ], @@ -29527,25 +29966,25 @@ { "title": "Properties", "kind": 1024, - "children": [734] + "children": [749] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 331, "character": 17 } ], "indexSignature": { - "id": 735, + "id": 750, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 736, + "id": 751, "name": "key", "kind": 32768, "flags": {}, @@ -29562,14 +30001,14 @@ } }, { - "id": 766, + "id": 781, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 771, + "id": 786, "name": "data", "kind": 1024, "kindString": "Property", @@ -29583,7 +30022,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 397, "character": 2 } ], @@ -29593,7 +30032,7 @@ } }, { - "id": 767, + "id": 782, "name": "email", "kind": 1024, "kindString": "Property", @@ -29606,7 +30045,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -29616,7 +30055,7 @@ } }, { - "id": 770, + "id": 785, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -29630,7 +30069,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -29640,7 +30079,7 @@ } }, { - "id": 769, + "id": 784, "name": "password", "kind": 1024, "kindString": "Property", @@ -29653,7 +30092,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -29663,7 +30102,7 @@ } }, { - "id": 768, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -29676,7 +30115,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -29690,175 +30129,32 @@ { "title": "Properties", "kind": 1024, - "children": [771, 767, 770, 769, 768] + "children": [786, 782, 785, 784, 783] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 368, "character": 17 } ] }, { - "id": 713, + "id": 728, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 722, + "id": 737, "name": "created_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 714, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 291, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 718, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 719, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 720, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 724, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -29872,7 +30168,150 @@ } }, { - "id": 715, + "id": 729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 733, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 735, + "name": "identity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 301, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 736, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 739, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 302, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 730, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -29880,7 +30319,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 292, + "line": 294, "character": 2 } ], @@ -29894,19 +30333,19 @@ { "title": "Properties", "kind": 1024, - "children": [722, 714, 716, 720, 723, 721, 724, 715] + "children": [737, 729, 731, 735, 738, 736, 739, 730] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 290, + "line": 292, "character": 17 } ] }, { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -29914,19 +30353,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -29943,14 +30382,14 @@ } }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -29961,7 +30400,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -29971,7 +30410,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -29981,21 +30420,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30014,7 +30453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -30024,7 +30463,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -30037,7 +30476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -30051,14 +30490,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -30069,7 +30508,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -30079,7 +30518,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -30090,16 +30529,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -30107,7 +30546,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -30148,26 +30587,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -30177,21 +30616,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -30210,7 +30649,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -30220,7 +30659,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -30233,7 +30672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -30247,14 +30686,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -30265,7 +30704,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -30275,7 +30714,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -30286,7 +30725,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -30296,7 +30735,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -30307,16 +30746,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -30324,7 +30763,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -30349,26 +30788,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -30379,7 +30818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -30389,7 +30828,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -30400,16 +30839,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -30417,7 +30856,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -30458,19 +30897,19 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] }, { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -30478,7 +30917,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -30510,7 +30949,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -30518,7 +30957,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -30531,7 +30970,7 @@ } }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -30539,7 +30978,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -30549,7 +30988,7 @@ } }, { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -30557,7 +30996,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -30576,7 +31015,7 @@ } }, { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -30592,21 +31031,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -30617,7 +31056,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -30627,7 +31066,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -30638,7 +31077,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -30652,13 +31091,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -30666,7 +31105,7 @@ } }, { - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -30682,7 +31121,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1066, + "line": 1107, "character": 12 } ], @@ -30692,14 +31131,14 @@ { "type": "reflection", "declaration": { - "id": 1095, + "id": 1128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1129, "name": "data", "kind": 1024, "kindString": "Property", @@ -30707,21 +31146,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1097, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1098, + "id": 1131, "name": "id", "kind": 1024, "kindString": "Property", @@ -30732,7 +31171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1070, + "line": 1111, "character": 8 } ], @@ -30746,13 +31185,1975 @@ { "title": "Properties", "kind": 1024, - "children": [1098] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, + "character": 12 + } + ] + } + } + }, + { + "id": 1132, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1113, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1129, 1132] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1108, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1133, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1134, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1135, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1134, 1135] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1149, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1151, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1146, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1151] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 44 + } + ] + } + } + }, + { + "id": 1140, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1131, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1143, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1144, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1135, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1144] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 12 + } + ] + } + } + }, + { + "id": 1145, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1137, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1142, 1145] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1132, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1146, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1147, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1148, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1147, 1148] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1069, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 977, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1070, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1071, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1072, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1075, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 987, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1073, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 981, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1074, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Factor Type which generated the challenge" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 984, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1075, 1073, 1074] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 12 + } + ] + } + } + }, + { + "id": 1076, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 989, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1071, 1076] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 978, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1077, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1078, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1079, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1078, 1079] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1286, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1218, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1219, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1299, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1293, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1218, 1216, 1219, 1217] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 12 + } + ] + } + } + }, + { + "id": 1220, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1301, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1214, 1220] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1287, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1222, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1304, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1223, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1305, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1222, 1223] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1303, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1059, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 965, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1207, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1277, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1200, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1255, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1204, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1265, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1205, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1270, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1274, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1204, 1205, 1206] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 14 + } + ] + } + } + }, + { + "id": 1201, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1258, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1207, 1200, 1202, 1201] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 12 + } + ] + } + } + }, + { + "id": 1208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1279, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1198, 1208] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1252, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1282, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1283, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1210, 1211] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1281, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1286, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1218, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1219, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1299, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1293, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1218, 1216, 1219, 1217] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 12 + } + ] + } + } + }, + { + "id": 1220, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1301, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1214, 1220] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1287, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1222, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1304, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1223, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1305, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1222, 1223] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1303, + "character": 4 + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1207, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1277, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1200, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1255, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1204, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1265, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1205, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1270, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1274, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1204, 1205, 1206] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 14 + } + ] + } + } + }, + { + "id": 1201, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1258, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1207, 1200, 1202, 1201] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 12 + } + ] + } + } + }, + { + "id": 1208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1279, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1198, 1208] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1252, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1282, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1283, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1210, 1211] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1281, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1092, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1010, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1093, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1094, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1095, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1098, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1029, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 724, + "name": "AMREntry" + } + } + }, + { + "id": 1096, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1014, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1097, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1022, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1098, 1096, 1097] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, "character": 12 } ] @@ -30768,7 +33169,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1072, + "line": 1031, "character": 6 } ], @@ -30782,13 +33183,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1099] + "children": [1094, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1067, + "line": 1011, "character": 4 } ] @@ -30812,7 +33213,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 6 } ], @@ -30830,13 +33231,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -30851,7 +33252,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 4 } ] @@ -30861,1969 +33262,7 @@ } }, { - "id": 1116, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1118, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1105, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1118] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 44 - } - ] - } - } - }, - { - "id": 1107, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1090, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1108, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1109, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1111, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1094, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1111] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 12 - } - ] - } - } - }, - { - "id": 1112, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1096, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1109, 1112] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1091, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1114, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1115, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1114, 1115] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1036, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 936, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1037, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1038, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1042, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 946, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1040, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 940, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1041, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 943, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1042, 1040, 1041] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 12 - } - ] - } - } - }, - { - "id": 1043, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 948, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1038, 1043] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1044, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1045, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1046, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1045, 1046] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1245, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1183, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1249, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1186, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1183, 1186, 1184] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 12 - } - ] - } - } - }, - { - "id": 1187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1260, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1181, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1263, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1190, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1264, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1262, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1026, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 924, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1210, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1174, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1214, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1169, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1171, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1224, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1229, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1173, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1233, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1171, 1172, 1173] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 14 - } - ] - } - } - }, - { - "id": 1168, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1174, 1167, 1169, 1168] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 12 - } - ] - } - } - }, - { - "id": 1175, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1165, 1175] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1211, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1241, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1177, 1178] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1245, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1183, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1249, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1186, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1183, 1186, 1184] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 12 - } - ] - } - } - }, - { - "id": 1187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1260, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1181, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1263, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1190, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1264, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1262, - "character": 4 - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1210, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1174, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1214, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1169, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1171, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1224, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1229, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1173, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1233, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1171, 1172, 1173] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 14 - } - ] - } - } - }, - { - "id": 1168, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1174, 1167, 1169, 1168] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 12 - } - ] - } - } - }, - { - "id": 1175, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1165, 1175] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1211, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1241, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1177, 1178] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1059, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1060, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1061, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1062, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1065, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 988, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 709, - "name": "AMREntry" - } - } - }, - { - "id": 1063, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 973, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1064, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 981, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1065, 1063, 1064] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 12 - } - ] - } - } - }, - { - "id": 1066, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 990, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1061, 1066] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 970, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1067, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1068, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1069, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1068, 1069] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -32831,7 +33270,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 952, + "line": 993, "character": 12 } ], @@ -32841,14 +33280,14 @@ { "type": "reflection", "declaration": { - "id": 1048, + "id": 1081, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1049, + "id": 1082, "name": "data", "kind": 1024, "kindString": "Property", @@ -32856,21 +33295,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1050, + "id": 1083, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1051, + "id": 1084, "name": "all", "kind": 1024, "kindString": "Property", @@ -32881,7 +33320,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 956, + "line": 997, "character": 8 } ], @@ -32889,13 +33328,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1053, + "id": 1086, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32906,7 +33345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 961, + "line": 1002, "character": 8 } ], @@ -32914,13 +33353,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1052, + "id": 1085, "name": "totp", "kind": 1024, "kindString": "Property", @@ -32931,7 +33370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 959, + "line": 1000, "character": 8 } ], @@ -32939,7 +33378,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } @@ -32949,13 +33388,13 @@ { "title": "Properties", "kind": 1024, - "children": [1051, 1053, 1052] + "children": [1084, 1086, 1085] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 12 } ] @@ -32963,7 +33402,7 @@ } }, { - "id": 1054, + "id": 1087, "name": "error", "kind": 1024, "kindString": "Property", @@ -32971,7 +33410,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 963, + "line": 1004, "character": 6 } ], @@ -32985,13 +33424,13 @@ { "title": "Properties", "kind": 1024, - "children": [1049, 1054] + "children": [1082, 1087] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 953, + "line": 994, "character": 4 } ] @@ -33000,14 +33439,14 @@ { "type": "reflection", "declaration": { - "id": 1055, + "id": 1088, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1089, "name": "data", "kind": 1024, "kindString": "Property", @@ -33015,7 +33454,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 6 } ], @@ -33025,7 +33464,7 @@ } }, { - "id": 1057, + "id": 1090, "name": "error", "kind": 1024, "kindString": "Property", @@ -33033,13 +33472,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -33048,13 +33487,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056, 1057] + "children": [1089, 1090] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 4 } ] @@ -33064,7 +33503,7 @@ } }, { - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -33072,7 +33511,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 967, "character": 12 } ], @@ -33082,14 +33521,14 @@ { "type": "reflection", "declaration": { - "id": 1028, + "id": 1061, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1029, + "id": 1062, "name": "data", "kind": 1024, "kindString": "Property", @@ -33097,21 +33536,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1030, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1031, + "id": 1064, "name": "id", "kind": 1024, "kindString": "Property", @@ -33122,7 +33561,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 930, + "line": 971, "character": 8 } ], @@ -33136,13 +33575,13 @@ { "title": "Properties", "kind": 1024, - "children": [1031] + "children": [1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 12 } ] @@ -33150,7 +33589,7 @@ } }, { - "id": 1032, + "id": 1065, "name": "error", "kind": 1024, "kindString": "Property", @@ -33158,7 +33597,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 932, + "line": 973, "character": 6 } ], @@ -33172,13 +33611,13 @@ { "title": "Properties", "kind": 1024, - "children": [1029, 1032] + "children": [1062, 1065] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 968, "character": 4 } ] @@ -33187,14 +33626,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1066, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1067, "name": "data", "kind": 1024, "kindString": "Property", @@ -33202,7 +33641,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 6 } ], @@ -33212,7 +33651,7 @@ } }, { - "id": 1035, + "id": 1068, "name": "error", "kind": 1024, "kindString": "Property", @@ -33220,13 +33659,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -33235,13 +33674,13 @@ { "title": "Properties", "kind": 1024, - "children": [1034, 1035] + "children": [1067, 1068] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 4 } ] @@ -33251,7 +33690,7 @@ } }, { - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -33259,7 +33698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 899, + "line": 940, "character": 12 } ], @@ -33269,14 +33708,14 @@ { "type": "reflection", "declaration": { - "id": 1014, + "id": 1047, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1015, + "id": 1048, "name": "data", "kind": 1024, "kindString": "Property", @@ -33284,21 +33723,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1016, + "id": 1049, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1017, + "id": 1050, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -33309,7 +33748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 944, "character": 8 } ], @@ -33319,7 +33758,7 @@ } }, { - "id": 1019, + "id": 1052, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -33330,7 +33769,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 909, + "line": 950, "character": 8 } ], @@ -33340,7 +33779,7 @@ } }, { - "id": 1020, + "id": 1053, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -33351,7 +33790,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 953, "character": 8 } ], @@ -33361,7 +33800,7 @@ } }, { - "id": 1018, + "id": 1051, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -33372,7 +33811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 947, "character": 8 } ], @@ -33382,7 +33821,7 @@ } }, { - "id": 1021, + "id": 1054, "name": "user", "kind": 1024, "kindString": "Property", @@ -33393,13 +33832,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 956, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -33408,13 +33847,13 @@ { "title": "Properties", "kind": 1024, - "children": [1017, 1019, 1020, 1018, 1021] + "children": [1050, 1052, 1053, 1051, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 12 } ] @@ -33422,7 +33861,7 @@ } }, { - "id": 1022, + "id": 1055, "name": "error", "kind": 1024, "kindString": "Property", @@ -33430,7 +33869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 958, "character": 6 } ], @@ -33444,13 +33883,13 @@ { "title": "Properties", "kind": 1024, - "children": [1015, 1022] + "children": [1048, 1055] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 941, "character": 4 } ] @@ -33459,14 +33898,14 @@ { "type": "reflection", "declaration": { - "id": 1023, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1024, + "id": 1057, "name": "data", "kind": 1024, "kindString": "Property", @@ -33474,7 +33913,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 920, + "line": 961, "character": 6 } ], @@ -33484,7 +33923,7 @@ } }, { - "id": 1025, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -33492,13 +33931,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 962, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -33507,13 +33946,13 @@ { "title": "Properties", "kind": 1024, - "children": [1024, 1025] + "children": [1057, 1058] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 960, "character": 4 } ] @@ -33523,7 +33962,7 @@ } }, { - "id": 624, + "id": 639, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -33535,915 +33974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 144, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 627, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 630, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 629, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 628, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [630, 629, 628] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 12 - } - ] - } - } - }, - { - "id": 631, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626, 631] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 637, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 636, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 635, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [637, 636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 12 - } - ] - } - } - }, - { - "id": 638, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 638] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 597, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 598, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 599, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 600, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 602, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 601, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [602, 601] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12 - } - ] - } - } - }, - { - "id": 603, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 603] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 604, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 605, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 606, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 608, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 607, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 116, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [608, 607] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12 - } - ] - } - } - }, - { - "id": 609, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [605, 609] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 610, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 611, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 614, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 616, - "name": "weak_password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 593, - "name": "WeakPassword" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 614, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 12 - } - ] - } - } - }, - { - "id": 617, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 618, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 619, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 620, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 622, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [622, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 12 - } - ] - } - } - }, - { - "id": 623, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 136, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [619, 623] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 639, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, + "line": 146, "character": 12 } ], @@ -34468,7 +33999,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 6 } ], @@ -34481,6 +34012,35 @@ "kindString": "Type literal", "flags": {}, "children": [ + { + "id": 645, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 148, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, { "id": 644, "name": "session", @@ -34490,14 +34050,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, - "character": 8 + "line": 148, + "character": 26 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "literal", + "value": null } }, { @@ -34509,14 +34068,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 157, - "character": 8 + "line": 148, + "character": 14 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" + "type": "literal", + "value": null } } ], @@ -34524,13 +34082,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 643] + "children": [645, 644, 643] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 12 } ] @@ -34538,7 +34096,7 @@ } }, { - "id": 645, + "id": 646, "name": "error", "kind": 1024, "kindString": "Property", @@ -34546,7 +34104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 160, + "line": 149, "character": 6 } ], @@ -34560,13 +34118,13 @@ { "title": "Properties", "kind": 1024, - "children": [641, 645] + "children": [641, 646] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 155, + "line": 147, "character": 4 } ] @@ -34575,14 +34133,14 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 647, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 647, + "id": 648, "name": "data", "kind": 1024, "kindString": "Property", @@ -34590,21 +34148,50 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 652, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 152, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 651, "name": "session", "kind": 1024, "kindString": "Property", @@ -34612,8 +34199,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 + "line": 152, + "character": 26 } ], "type": { @@ -34622,7 +34209,7 @@ } }, { - "id": 649, + "id": 650, "name": "user", "kind": 1024, "kindString": "Property", @@ -34630,8 +34217,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 + "line": 152, + "character": 14 } ], "type": { @@ -34644,13 +34231,13 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [652, 651, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 12 } ] @@ -34658,7 +34245,7 @@ } }, { - "id": 651, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -34666,13 +34253,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 167, + "line": 153, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -34681,13 +34268,13 @@ { "title": "Properties", "kind": 1024, - "children": [647, 651] + "children": [648, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 151, "character": 4 } ] @@ -34697,15 +34284,15 @@ } }, { - "id": 652, - "name": "AuthTokenResponsePassword", + "id": 612, + "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 108, "character": 12 } ], @@ -34715,14 +34302,14 @@ { "type": "reflection", "declaration": { - "id": 653, + "id": 613, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 654, + "id": 614, "name": "data", "kind": 1024, "kindString": "Property", @@ -34730,21 +34317,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 655, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 657, + "id": 617, "name": "session", "kind": 1024, "kindString": "Property", @@ -34752,18 +34339,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "line": 112, "character": 8 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 656, + "id": 616, "name": "user", "kind": 1024, "kindString": "Property", @@ -34771,35 +34367,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 173, + "line": 111, "character": 8 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" - } - }, - { - "id": 658, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 175, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 593, - "name": "WeakPassword" + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] } } ], @@ -34807,13 +34391,13 @@ { "title": "Properties", "kind": 1024, - "children": [657, 656, 658] + "children": [617, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 12 } ] @@ -34821,7 +34405,7 @@ } }, { - "id": 659, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -34829,7 +34413,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 177, + "line": 114, "character": 6 } ], @@ -34843,13 +34427,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [614, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 109, "character": 4 } ] @@ -34858,14 +34442,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -34873,21 +34457,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 662, + "id": 621, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 664, + "id": 623, "name": "session", "kind": 1024, "kindString": "Property", @@ -34895,7 +34479,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 119, "character": 8 } ], @@ -34905,7 +34489,7 @@ } }, { - "id": 663, + "id": 622, "name": "user", "kind": 1024, "kindString": "Property", @@ -34913,27 +34497,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 665, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, + "line": 118, "character": 8 } ], @@ -34947,13 +34511,585 @@ { "title": "Properties", "kind": 1024, - "children": [664, 663, 665] + "children": [623, 622] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, + "character": 12 + } + ] + } + } + }, + { + "id": 624, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [620, 624] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 116, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 625, + "name": "AuthResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 626, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 627, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 628, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 630, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 128, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 629, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 127, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 631, + "name": "weak_password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 608, + "name": "WeakPassword" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [630, 629, 631] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 12 + } + ] + } + } + }, + { + "id": 632, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 131, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [627, 632] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 633, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 634, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 635, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 637, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 636, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 135, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [637, 636] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 12 + } + ] + } + } + }, + { + "id": 638, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 138, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [634, 638] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 133, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 654, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 657, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 659, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 658, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 159, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [659, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 12 + } + ] + } + } + }, + { + "id": 660, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 660] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 663, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 664, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 166, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [665, 664] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, "character": 12 } ] @@ -34969,13 +35105,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 169, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -34984,13 +35120,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 666] + "children": [662, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 164, "character": 4 } ] @@ -35000,7 +35136,310 @@ } }, { - "id": 1058, + "id": 667, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 671, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 175, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + }, + { + "id": 673, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 608, + "name": "WeakPassword" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 12 + } + ] + } + } + }, + { + "id": 674, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 674] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 679, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 184, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 678, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 183, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 680, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 678, 680] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 12 + } + ] + } + } + }, + { + "id": 681, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 187, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 681] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 181, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1091, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -35008,7 +35447,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 967, + "line": 1008, "character": 12 } ], @@ -35027,7 +35466,7 @@ } }, { - "id": 1132, + "id": 1165, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -35035,7 +35474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1155, + "line": 1196, "character": 12 } ], @@ -35045,14 +35484,14 @@ { "type": "reflection", "declaration": { - "id": 1133, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1135, + "id": 1168, "name": "error", "kind": 1024, "kindString": "Property", @@ -35060,7 +35499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1158, + "line": 1199, "character": 6 } ], @@ -35070,7 +35509,7 @@ } }, { - "id": 1134, + "id": 1167, "name": "session", "kind": 1024, "kindString": "Property", @@ -35078,13 +35517,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1198, "character": 6 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -35093,13 +35532,13 @@ { "title": "Properties", "kind": 1024, - "children": [1135, 1134] + "children": [1168, 1167] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1156, + "line": 1197, "character": 4 } ] @@ -35108,14 +35547,14 @@ { "type": "reflection", "declaration": { - "id": 1136, + "id": 1169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1138, + "id": 1171, "name": "error", "kind": 1024, "kindString": "Property", @@ -35123,18 +35562,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1162, + "line": 1203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } }, { - "id": 1137, + "id": 1170, "name": "session", "kind": 1024, "kindString": "Property", @@ -35142,7 +35581,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1202, "character": 6 } ], @@ -35156,13 +35595,13 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137] + "children": [1171, 1170] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1160, + "line": 1201, "character": 4 } ] @@ -35172,7 +35611,7 @@ } }, { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -35180,7 +35619,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -35215,7 +35654,431 @@ } }, { - "id": 965, + "id": 914, + "name": "EthereumWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "EIP1193Provider" + } + }, + { + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] + } + } + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35223,21 +36086,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -35248,7 +36111,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -35258,7 +36121,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -35269,7 +36132,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -35279,7 +36142,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -35289,7 +36152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -35298,7 +36161,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35312,7 +36175,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -35320,7 +36183,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -35343,13 +36206,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -35357,7 +36220,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35365,21 +36228,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -35390,7 +36253,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -35400,7 +36263,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -35410,7 +36273,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -35419,7 +36282,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35442,7 +36305,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -35450,7 +36313,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -35473,13 +36336,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -35487,7 +36350,7 @@ } }, { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35495,7 +36358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -35503,7 +36366,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35511,21 +36374,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -35533,7 +36396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -35543,7 +36406,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -35553,7 +36416,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -35562,7 +36425,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35585,7 +36448,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -35593,7 +36456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -35603,7 +36466,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -35611,7 +36474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -35625,13 +36488,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -35639,7 +36502,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35647,21 +36510,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -35672,7 +36535,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -35682,7 +36545,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -35692,7 +36555,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -35701,7 +36564,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35724,7 +36587,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -35732,7 +36595,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -35755,13 +36618,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -35769,7 +36632,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35777,21 +36640,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -35802,7 +36665,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -35812,7 +36675,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -35822,7 +36685,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -35831,7 +36694,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35845,7 +36708,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -35853,7 +36716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -35867,13 +36730,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -35881,7 +36744,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -35889,21 +36752,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -35914,7 +36777,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -35924,7 +36787,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -35935,7 +36798,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -35945,7 +36808,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -35955,7 +36818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -35964,7 +36827,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -35978,7 +36841,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -35986,7 +36849,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -36009,13 +36872,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -36026,7 +36889,7 @@ } }, { - "id": 988, + "id": 1021, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -36037,21 +36900,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 989, + "id": 1022, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1023, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -36062,7 +36925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 884, "character": 2 } ], @@ -36072,7 +36935,7 @@ } }, { - "id": 991, + "id": 1024, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -36083,7 +36946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 848, + "line": 889, "character": 2 } ], @@ -36093,7 +36956,7 @@ } }, { - "id": 992, + "id": 1025, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -36104,7 +36967,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 893, "character": 2 } ], @@ -36114,7 +36977,7 @@ } }, { - "id": 993, + "id": 1026, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -36125,7 +36988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 895, "character": 2 } ], @@ -36135,7 +36998,7 @@ } }, { - "id": 994, + "id": 1027, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -36146,16 +37009,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 897, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1028, "name": "GenerateLinkType", "dereferenced": { - "id": 995, + "id": 1028, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -36163,7 +37026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 859, + "line": 900, "character": 12 } ], @@ -36204,13 +37067,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 991, 992, 993, 994] + "children": [1023, 1024, 1025, 1026, 1027] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 37 } ] @@ -36218,7 +37081,7 @@ } }, { - "id": 975, + "id": 1008, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -36226,7 +37089,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 821, + "line": 862, "character": 12 } ], @@ -36236,14 +37099,14 @@ { "type": "reflection", "declaration": { - "id": 976, + "id": 1009, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 977, + "id": 1010, "name": "data", "kind": 1024, "kindString": "Property", @@ -36251,21 +37114,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 978, + "id": 1011, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 979, + "id": 1012, "name": "properties", "kind": 1024, "kindString": "Property", @@ -36273,18 +37136,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 865, "character": 8 } ], "type": { "type": "reference", - "id": 988, + "id": 1021, "name": "GenerateLinkProperties" } }, { - "id": 980, + "id": 1013, "name": "user", "kind": 1024, "kindString": "Property", @@ -36292,13 +37155,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 825, + "line": 866, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -36307,13 +37170,13 @@ { "title": "Properties", "kind": 1024, - "children": [979, 980] + "children": [1012, 1013] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 12 } ] @@ -36321,7 +37184,7 @@ } }, { - "id": 981, + "id": 1014, "name": "error", "kind": 1024, "kindString": "Property", @@ -36329,7 +37192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 868, "character": 6 } ], @@ -36343,13 +37206,13 @@ { "title": "Properties", "kind": 1024, - "children": [977, 981] + "children": [1010, 1014] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 863, "character": 4 } ] @@ -36358,14 +37221,14 @@ { "type": "reflection", "declaration": { - "id": 982, + "id": 1015, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 983, + "id": 1016, "name": "data", "kind": 1024, "kindString": "Property", @@ -36373,21 +37236,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 984, + "id": 1017, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 985, + "id": 1018, "name": "properties", "kind": 1024, "kindString": "Property", @@ -36395,7 +37258,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 872, "character": 8 } ], @@ -36405,7 +37268,7 @@ } }, { - "id": 986, + "id": 1019, "name": "user", "kind": 1024, "kindString": "Property", @@ -36413,7 +37276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 832, + "line": 873, "character": 8 } ], @@ -36427,13 +37290,13 @@ { "title": "Properties", "kind": 1024, - "children": [985, 986] + "children": [1018, 1019] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 12 } ] @@ -36441,7 +37304,7 @@ } }, { - "id": 987, + "id": 1020, "name": "error", "kind": 1024, "kindString": "Property", @@ -36449,13 +37312,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 834, + "line": 875, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -36464,13 +37327,13 @@ { "title": "Properties", "kind": 1024, - "children": [983, 987] + "children": [1016, 1020] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 870, "character": 4 } ] @@ -36480,7 +37343,7 @@ } }, { - "id": 995, + "id": 1028, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -36488,7 +37351,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 859, + "line": 900, "character": 12 } ], @@ -36523,7 +37386,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -36531,21 +37394,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -36556,7 +37419,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -36566,7 +37429,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -36576,7 +37439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -36585,7 +37448,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -36599,7 +37462,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -36607,7 +37470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -36621,13 +37484,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -36635,7 +37498,7 @@ } }, { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -36643,21 +37506,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -36665,7 +37528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -36675,7 +37538,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -36685,7 +37548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -36694,7 +37557,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -36717,7 +37580,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -36725,7 +37588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -36735,7 +37598,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -36743,7 +37606,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -36757,13 +37620,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -36771,7 +37634,7 @@ } }, { - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -36779,21 +37642,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 578, + "id": 593, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -36803,7 +37666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 68, + "line": 70, "character": 2 } ], @@ -36813,7 +37676,7 @@ } }, { - "id": 584, + "id": 599, "name": "debug", "kind": 1024, "kindString": "Property", @@ -36823,7 +37686,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 2 } ], @@ -36837,7 +37700,7 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36845,20 +37708,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 21 } ], "signatures": [ { - "id": 586, + "id": 601, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 587, + "id": 602, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -36869,7 +37732,7 @@ } }, { - "id": 588, + "id": 603, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -36897,7 +37760,7 @@ } }, { - "id": 577, + "id": 592, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -36907,7 +37770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 68, "character": 2 } ], @@ -36917,33 +37780,13 @@ } }, { - "id": 582, + "id": 597, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 583, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -36953,10 +37796,30 @@ ], "type": { "type": "reference", - "id": 846, + "name": "Fetch" + } + }, + { + "id": 598, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 861, "name": "AuthFlowType", "dereferenced": { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -36964,7 +37827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -36985,7 +37848,7 @@ } }, { - "id": 590, + "id": 605, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -37004,7 +37867,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 99, "character": 2 } ], @@ -37014,7 +37877,7 @@ } }, { - "id": 572, + "id": 587, "name": "headers", "kind": 1024, "kindString": "Property", @@ -37024,14 +37887,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37039,19 +37902,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 12 } ], "indexSignature": { - "id": 574, + "id": 589, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 575, + "id": 590, "name": "key", "kind": 32768, "flags": {}, @@ -37070,7 +37933,7 @@ } }, { - "id": 589, + "id": 604, "name": "lock", "kind": 1024, "kindString": "Property", @@ -37089,16 +37952,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 94, "character": 2 } ], "type": { "type": "reference", - "id": 560, + "id": 575, "name": "LockFunc", "dereferenced": { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -37106,14 +37969,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37121,13 +37984,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37143,7 +38006,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -37152,7 +38015,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -37166,7 +38029,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -37180,7 +38043,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -37191,7 +38054,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37199,13 +38062,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37215,7 +38078,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -37234,7 +38097,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -37250,33 +38113,13 @@ } }, { - "id": 579, + "id": 594, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 580, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -37284,12 +38127,32 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 595, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -37297,7 +38160,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -37344,14 +38207,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -37364,7 +38227,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -37378,13 +38241,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -37396,7 +38259,7 @@ } }, { - "id": 576, + "id": 591, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -37406,7 +38269,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -37416,7 +38279,7 @@ } }, { - "id": 571, + "id": 586, "name": "url", "kind": 1024, "kindString": "Property", @@ -37426,7 +38289,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 62, "character": 2 } ], @@ -37436,7 +38299,7 @@ } }, { - "id": 581, + "id": 596, "name": "userStorage", "kind": 1024, "kindString": "Property", @@ -37456,16 +38319,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 82, "character": 2 } ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -37473,7 +38336,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -37520,14 +38383,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -37540,7 +38403,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -37554,13 +38417,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -37576,13 +38439,13 @@ { "title": "Properties", "kind": 1024, - "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] + "children": [593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 34 } ] @@ -37590,7 +38453,7 @@ } }, { - "id": 1129, + "id": 1162, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -37598,21 +38461,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1130, + "id": 1163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1131, + "id": 1164, "name": "error", "kind": 1024, "kindString": "Property", @@ -37620,7 +38483,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 33 } ], @@ -37629,7 +38492,7 @@ "types": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, { @@ -37644,13 +38507,13 @@ { "title": "Properties", "kind": 1024, - "children": [1131] + "children": [1164] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 31 } ] @@ -37658,7 +38521,7 @@ } }, { - "id": 1191, + "id": 1224, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -37666,21 +38529,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1192, + "id": 1225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1193, + "id": 1226, "name": "alg", "kind": 1024, "kindString": "Property", @@ -37688,7 +38551,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1268, + "line": 1309, "character": 2 } ], @@ -37711,7 +38574,7 @@ } }, { - "id": 1194, + "id": 1227, "name": "kid", "kind": 1024, "kindString": "Property", @@ -37719,7 +38582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1269, + "line": 1310, "character": 2 } ], @@ -37729,7 +38592,7 @@ } }, { - "id": 1195, + "id": 1228, "name": "typ", "kind": 1024, "kindString": "Property", @@ -37737,7 +38600,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1270, + "line": 1311, "character": 2 } ], @@ -37751,13 +38614,13 @@ { "title": "Properties", "kind": 1024, - "children": [1193, 1194, 1195] + "children": [1226, 1227, 1228] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 24 } ] @@ -37765,7 +38628,7 @@ } }, { - "id": 1206, + "id": 1239, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -37773,7 +38636,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 12 } ], @@ -37782,13 +38645,13 @@ "types": [ { "type": "reference", - "id": 1196, + "id": 1229, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1207, + "id": 1240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37796,19 +38659,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 42 } ], "indexSignature": { - "id": 1208, + "id": 1241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1209, + "id": 1242, "name": "key", "kind": 32768, "flags": {}, @@ -37829,7 +38692,7 @@ } }, { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -37837,14 +38700,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37852,13 +38715,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37874,7 +38737,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -37883,7 +38746,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -37897,7 +38760,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -37911,7 +38774,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -37922,7 +38785,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -37930,13 +38793,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37946,7 +38809,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -37965,7 +38828,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -37979,7 +38842,7 @@ } }, { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -37987,21 +38850,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -38012,7 +38875,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -38022,7 +38885,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -38033,7 +38896,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -38047,13 +38910,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -38061,7 +38924,7 @@ } }, { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -38069,21 +38932,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -38096,7 +38959,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -38115,7 +38978,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -38126,7 +38989,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -38140,13 +39003,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -38154,7 +39017,7 @@ } }, { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -38162,7 +39025,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -38170,7 +39033,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -38178,21 +39041,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -38203,7 +39066,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -38213,7 +39076,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -38226,7 +39089,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -38236,7 +39099,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -38249,7 +39112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -38263,13 +39126,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -38277,7 +39140,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -38285,21 +39148,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -38310,7 +39173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -38320,7 +39183,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -38333,7 +39196,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -38343,7 +39206,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -38354,7 +39217,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -38368,13 +39231,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -38385,7 +39248,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -38393,21 +39256,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -38418,7 +39281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -38428,7 +39291,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -38441,7 +39304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -38451,7 +39314,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -38462,7 +39325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -38476,13 +39339,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -38490,7 +39353,7 @@ } }, { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -38498,21 +39361,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -38523,7 +39386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -38533,7 +39396,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -38546,7 +39409,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -38556,7 +39419,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -38569,7 +39432,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -38583,13 +39446,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -38597,7 +39460,7 @@ } }, { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -38605,21 +39468,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -38630,7 +39493,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -38644,13 +39507,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -38658,7 +39521,7 @@ } }, { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -38666,21 +39529,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -38691,7 +39554,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -38701,7 +39564,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -38712,7 +39575,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -38722,7 +39585,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -38733,7 +39596,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -38747,13 +39610,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -38761,7 +39624,7 @@ } }, { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -38769,7 +39632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -38788,7 +39651,7 @@ } }, { - "id": 667, + "id": 682, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -38796,7 +39659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 190, "character": 12 } ], @@ -38806,14 +39669,14 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 669, + "id": 684, "name": "data", "kind": 1024, "kindString": "Property", @@ -38821,21 +39684,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 670, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 671, + "id": 686, "name": "provider", "kind": 1024, "kindString": "Property", @@ -38843,18 +39706,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 193, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 672, + "id": 687, "name": "url", "kind": 1024, "kindString": "Property", @@ -38862,7 +39725,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 194, "character": 8 } ], @@ -38876,13 +39739,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 672] + "children": [686, 687] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 12 } ] @@ -38890,7 +39753,7 @@ } }, { - "id": 673, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -38898,7 +39761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 196, "character": 6 } ], @@ -38912,13 +39775,13 @@ { "title": "Properties", "kind": 1024, - "children": [669, 673] + "children": [684, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 191, "character": 4 } ] @@ -38927,14 +39790,14 @@ { "type": "reflection", "declaration": { - "id": 674, + "id": 689, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, + "id": 690, "name": "data", "kind": 1024, "kindString": "Property", @@ -38942,21 +39805,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 676, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 677, + "id": 692, "name": "provider", "kind": 1024, "kindString": "Property", @@ -38964,18 +39827,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 198, + "line": 200, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 678, + "id": 693, "name": "url", "kind": 1024, "kindString": "Property", @@ -38983,7 +39846,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 199, + "line": 201, "character": 8 } ], @@ -38997,13 +39860,13 @@ { "title": "Properties", "kind": 1024, - "children": [677, 678] + "children": [692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 12 } ] @@ -39011,7 +39874,7 @@ } }, { - "id": 679, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -39019,13 +39882,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -39034,13 +39897,13 @@ { "title": "Properties", "kind": 1024, - "children": [675, 679] + "children": [690, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 198, "character": 4 } ] @@ -39050,7 +39913,7 @@ } }, { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -39058,21 +39921,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -39085,7 +39948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -39095,7 +39958,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -39108,7 +39971,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -39122,13 +39985,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -39136,7 +39999,7 @@ } }, { - "id": 1139, + "id": 1172, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -39144,21 +40007,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1140, + "id": 1173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1142, + "id": 1175, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -39166,7 +40029,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1168, + "line": 1209, "character": 2 } ], @@ -39176,7 +40039,7 @@ } }, { - "id": 1141, + "id": 1174, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -39184,7 +40047,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1167, + "line": 1208, "character": 2 } ], @@ -39203,7 +40066,7 @@ } }, { - "id": 1143, + "id": 1176, "name": "total", "kind": 1024, "kindString": "Property", @@ -39211,7 +40074,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1169, + "line": 1210, "character": 2 } ], @@ -39225,25 +40088,25 @@ { "title": "Properties", "kind": 1024, - "children": [1142, 1141, 1143] + "children": [1175, 1174, 1176] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 25 } ], "indexSignature": { - "id": 1144, + "id": 1177, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1145, + "id": 1178, "name": "key", "kind": 32768, "flags": {}, @@ -39262,7 +40125,7 @@ } }, { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -39273,7 +40136,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -39372,7 +40235,7 @@ } }, { - "id": 1196, + "id": 1229, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -39380,21 +40243,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1197, + "id": 1230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1204, + "id": 1237, "name": "aal", "kind": 1024, "kindString": "Property", @@ -39402,16 +40265,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1280, + "line": 1321, "character": 2 } ], "type": { "type": "reference", - "id": 1058, + "id": 1091, "name": "AuthenticatorAssuranceLevels", "dereferenced": { - "id": 1058, + "id": 1091, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -39419,7 +40282,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 967, + "line": 1008, "character": 12 } ], @@ -39440,7 +40303,7 @@ } }, { - "id": 1200, + "id": 1233, "name": "aud", "kind": 1024, "kindString": "Property", @@ -39448,7 +40311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1276, + "line": 1317, "character": 2 } ], @@ -39470,7 +40333,7 @@ } }, { - "id": 1201, + "id": 1234, "name": "exp", "kind": 1024, "kindString": "Property", @@ -39478,7 +40341,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1277, + "line": 1318, "character": 2 } ], @@ -39488,7 +40351,7 @@ } }, { - "id": 1202, + "id": 1235, "name": "iat", "kind": 1024, "kindString": "Property", @@ -39496,7 +40359,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1278, + "line": 1319, "character": 2 } ], @@ -39506,7 +40369,7 @@ } }, { - "id": 1198, + "id": 1231, "name": "iss", "kind": 1024, "kindString": "Property", @@ -39514,7 +40377,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1274, + "line": 1315, "character": 2 } ], @@ -39524,7 +40387,7 @@ } }, { - "id": 1203, + "id": 1236, "name": "role", "kind": 1024, "kindString": "Property", @@ -39532,7 +40395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1279, + "line": 1320, "character": 2 } ], @@ -39542,7 +40405,7 @@ } }, { - "id": 1205, + "id": 1238, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -39550,7 +40413,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1281, + "line": 1322, "character": 2 } ], @@ -39560,7 +40423,7 @@ } }, { - "id": 1199, + "id": 1232, "name": "sub", "kind": 1024, "kindString": "Property", @@ -39568,7 +40431,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1275, + "line": 1316, "character": 2 } ], @@ -39582,13 +40445,13 @@ { "title": "Properties", "kind": 1024, - "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] + "children": [1237, 1233, 1234, 1235, 1231, 1236, 1238, 1232] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 29 } ] @@ -39596,7 +40459,7 @@ } }, { - "id": 922, + "id": 955, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -39604,7 +40467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 769, "character": 12 } ], @@ -39614,14 +40477,14 @@ { "type": "reflection", "declaration": { - "id": 923, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 925, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -39629,7 +40492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 772, "character": 6 } ], @@ -39639,7 +40502,7 @@ } }, { - "id": 926, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -39649,21 +40512,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 962, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39676,7 +40539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 777, "character": 8 } ], @@ -39686,7 +40549,7 @@ } }, { - "id": 928, + "id": 961, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -39699,7 +40562,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 775, "character": 8 } ], @@ -39713,13 +40576,13 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928] + "children": [962, 961] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 16 } ] @@ -39727,7 +40590,7 @@ } }, { - "id": 924, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -39735,7 +40598,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 771, "character": 6 } ], @@ -39744,7 +40607,7 @@ "typeArguments": [ { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" }, { @@ -39771,13 +40634,13 @@ { "title": "Properties", "kind": 1024, - "children": [925, 926, 924] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 770, "character": 4 } ] @@ -39786,14 +40649,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 963, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 966, "name": "options", "kind": 1024, "kindString": "Property", @@ -39803,21 +40666,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 934, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 935, + "id": 968, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -39830,7 +40693,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 785, "character": 8 } ], @@ -39844,13 +40707,13 @@ { "title": "Properties", "kind": 1024, - "children": [935] + "children": [968] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 16 } ] @@ -39858,7 +40721,7 @@ } }, { - "id": 932, + "id": 965, "name": "phone", "kind": 1024, "kindString": "Property", @@ -39866,7 +40729,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 782, "character": 6 } ], @@ -39876,7 +40739,7 @@ } }, { - "id": 931, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -39884,7 +40747,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 740, + "line": 781, "character": 6 } ], @@ -39893,7 +40756,7 @@ "typeArguments": [ { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" }, { @@ -39920,13 +40783,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932, 931] + "children": [966, 965, 964] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 780, "character": 4 } ] @@ -39936,7 +40799,7 @@ } }, { - "id": 680, + "id": 695, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -39944,7 +40807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 204, + "line": 206, "character": 12 } ], @@ -39954,14 +40817,14 @@ { "type": "reflection", "declaration": { - "id": 681, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 682, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -39969,21 +40832,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 698, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 699, "name": "url", "kind": 1024, "kindString": "Property", @@ -39995,7 +40858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 216, "character": 8 } ], @@ -40009,13 +40872,13 @@ { "title": "Properties", "kind": 1024, - "children": [684] + "children": [699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 12 } ] @@ -40023,7 +40886,7 @@ } }, { - "id": 685, + "id": 700, "name": "error", "kind": 1024, "kindString": "Property", @@ -40031,7 +40894,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -40045,13 +40908,13 @@ { "title": "Properties", "kind": 1024, - "children": [682, 685] + "children": [697, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 207, "character": 4 } ] @@ -40060,14 +40923,14 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 701, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 702, "name": "data", "kind": 1024, "kindString": "Property", @@ -40075,7 +40938,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 221, "character": 6 } ], @@ -40085,7 +40948,7 @@ } }, { - "id": 688, + "id": 703, "name": "error", "kind": 1024, "kindString": "Property", @@ -40093,13 +40956,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 220, + "line": 222, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -40108,13 +40971,13 @@ { "title": "Properties", "kind": 1024, - "children": [687, 688] + "children": [702, 703] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 218, + "line": 220, "character": 4 } ] @@ -40124,7 +40987,7 @@ } }, { - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40132,21 +40995,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 794, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 810, "name": "options", "kind": 1024, "kindString": "Property", @@ -40156,21 +41019,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 796, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 813, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40183,7 +41046,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 499, "character": 4 } ], @@ -40193,7 +41056,7 @@ } }, { - "id": 797, + "id": 812, "name": "data", "kind": 1024, "kindString": "Property", @@ -40207,7 +41070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 497, "character": 4 } ], @@ -40221,13 +41084,13 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [813, 812] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 12 } ] @@ -40239,13 +41102,13 @@ { "title": "Properties", "kind": 1024, - "children": [795] + "children": [810] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 43 } ] @@ -40253,7 +41116,7 @@ } }, { - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40261,21 +41124,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 860, + "id": 875, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 879, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -40285,29 +41148,6 @@ "comment": { "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 865, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -40321,7 +41161,30 @@ } }, { - "id": 866, + "id": 880, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 625, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, "name": "options", "kind": 1024, "kindString": "Property", @@ -40331,21 +41194,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 867, + "id": 882, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 868, + "id": 883, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -40358,7 +41221,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 628, "character": 4 } ], @@ -40372,13 +41235,13 @@ { "title": "Properties", "kind": 1024, - "children": [868] + "children": [883] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 12 } ] @@ -40386,7 +41249,7 @@ } }, { - "id": 861, + "id": 876, "name": "provider", "kind": 1024, "kindString": "Property", @@ -40397,7 +41260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 2 } ], @@ -40434,7 +41297,7 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40442,7 +41305,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 76 } ] @@ -40454,7 +41317,7 @@ } }, { - "id": 863, + "id": 878, "name": "token", "kind": 1024, "kindString": "Property", @@ -40465,7 +41328,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 621, "character": 2 } ], @@ -40479,13 +41342,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 865, 866, 861, 863] + "children": [879, 880, 881, 876, 878] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 43 } ] @@ -40493,7 +41356,7 @@ } }, { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40501,21 +41364,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -40525,21 +41388,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -40552,14 +41415,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -40567,19 +41430,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -40598,7 +41461,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -40608,29 +41471,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -40644,7 +41484,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -40657,7 +41520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -40671,13 +41534,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -40685,7 +41548,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -40696,16 +41559,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -40716,7 +41579,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -40821,13 +41684,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -40835,7 +41698,7 @@ } }, { - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -40843,7 +41706,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 541, "character": 12 } ], @@ -40853,14 +41716,14 @@ { "type": "reflection", "declaration": { - "id": 817, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -40868,92 +41731,6 @@ "comment": { "shortText": "The user's email address." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 822, - "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": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 16 - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -40965,35 +41742,9 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "kind": 1024, - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 540, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 823, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 826, + "id": 835, "name": "options", "kind": 1024, "kindString": "Property", @@ -41003,187 +41754,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 827, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 828, - "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": 557, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [828] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 16 - } - ] - } - } - }, - { - "id": 825, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 824, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [826, 825, 824] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 550, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 829, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 561, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 830, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 831, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 564, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 832, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 833, + "id": 836, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -41203,7 +41781,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 577, + "line": 549, "character": 8 } ], @@ -41211,107 +41789,58 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 836, - "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.raw_user_meta_data` 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": 575, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 834, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 835, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [837, 836, 834, 835] + "children": [837] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 547, "character": 16 } ] } } + }, + { + "id": 834, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [831, 832] + "children": [833, 835, 834] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 542, "character": 4 } ] @@ -41327,7 +41856,7 @@ "flags": {}, "children": [ { - "id": 840, + "id": 841, "name": "options", "kind": 1024, "kindString": "Property", @@ -41337,21 +41866,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 557, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 841, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 843, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41364,7 +41893,180 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 593, + "line": 559, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [843] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 16 + } + ] + } + } + }, + { + "id": 840, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 556, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 554, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [841, 840, 839] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 552, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 844, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 563, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 845, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 846, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 847, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 848, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 852, + "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": 579, "character": 8 } ], @@ -41374,7 +42076,168 @@ } }, { - "id": 845, + "id": 851, + "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.raw_user_meta_data` 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": 577, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 849, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 850, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 571, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [852, 851, 849, 850] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [846, 847] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 564, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 853, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 855, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 585, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 856, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 859, + "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": 595, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 860, "name": "channel", "kind": 1024, "kindString": "Property", @@ -41387,7 +42250,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 595, + "line": 597, "character": 8 } ], @@ -41406,7 +42269,7 @@ } }, { - "id": 843, + "id": 858, "name": "data", "kind": 1024, "kindString": "Property", @@ -41420,7 +42283,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 593, "character": 8 } ], @@ -41430,7 +42293,7 @@ } }, { - "id": 842, + "id": 857, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -41443,7 +42306,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 587, "character": 8 } ], @@ -41457,13 +42320,13 @@ { "title": "Properties", "kind": 1024, - "children": [844, 845, 843, 842] + "children": [859, 860, 858, 857] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 16 } ] @@ -41471,7 +42334,7 @@ } }, { - "id": 839, + "id": 854, "name": "phone", "kind": 1024, "kindString": "Property", @@ -41482,7 +42345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 582, + "line": 584, "character": 6 } ], @@ -41496,13 +42359,13 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839] + "children": [855, 854] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 582, "character": 4 } ] @@ -41512,7 +42375,7 @@ } }, { - "id": 936, + "id": 969, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -41520,7 +42383,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 789, "character": 12 } ], @@ -41530,14 +42393,14 @@ { "type": "reflection", "declaration": { - "id": 937, + "id": 970, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 939, + "id": 972, "name": "options", "kind": 1024, "kindString": "Property", @@ -41547,21 +42410,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 940, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 975, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41574,7 +42437,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 757, + "line": 798, "character": 8 } ], @@ -41584,7 +42447,7 @@ } }, { - "id": 941, + "id": 974, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -41597,7 +42460,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 796, "character": 8 } ], @@ -41611,13 +42474,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 941] + "children": [975, 974] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 16 } ] @@ -41625,7 +42488,7 @@ } }, { - "id": 938, + "id": 971, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -41636,7 +42499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 792, "character": 6 } ], @@ -41650,13 +42513,13 @@ { "title": "Properties", "kind": 1024, - "children": [939, 938] + "children": [972, 971] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 790, "character": 4 } ] @@ -41665,14 +42528,14 @@ { "type": "reflection", "declaration": { - "id": 943, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 977, "name": "domain", "kind": 1024, "kindString": "Property", @@ -41683,7 +42546,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 803, "character": 6 } ], @@ -41693,7 +42556,7 @@ } }, { - "id": 945, + "id": 978, "name": "options", "kind": 1024, "kindString": "Property", @@ -41703,21 +42566,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 946, + "id": 979, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 948, + "id": 981, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41730,7 +42593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 809, "character": 8 } ], @@ -41740,7 +42603,7 @@ } }, { - "id": 947, + "id": 980, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -41753,7 +42616,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 807, "character": 8 } ], @@ -41767,13 +42630,13 @@ { "title": "Properties", "kind": 1024, - "children": [948, 947] + "children": [981, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 16 } ] @@ -41785,13 +42648,13 @@ { "title": "Properties", "kind": 1024, - "children": [944, 945] + "children": [977, 978] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 801, "character": 4 } ] @@ -41801,7 +42664,7 @@ } }, { - "id": 1150, + "id": 1183, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -41809,21 +42672,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1151, + "id": 1184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1152, + "id": 1185, "name": "scope", "kind": 1024, "kindString": "Property", @@ -41836,7 +42699,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1190, + "line": 1231, "character": 2 } ], @@ -41863,13 +42726,13 @@ { "title": "Properties", "kind": 1024, - "children": [1152] + "children": [1185] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 22 } ] @@ -41877,7 +42740,7 @@ } }, { - "id": 1218, + "id": 1251, "name": "SignOutScope", "kind": 4194304, "kindString": "Type alias", @@ -41885,7 +42748,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1297, + "line": 1338, "character": 12 } ], @@ -41899,14 +42762,14 @@ "type": "query", "queryType": { "type": "reference", - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES" } } } }, { - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -41914,7 +42777,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 503, "character": 12 } ], @@ -41924,14 +42787,14 @@ { "type": "reflection", "declaration": { - "id": 800, + "id": 815, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 816, "name": "email", "kind": 1024, "kindString": "Property", @@ -41942,7 +42805,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 506, "character": 6 } ], @@ -41952,7 +42815,7 @@ } }, { - "id": 803, + "id": 818, "name": "options", "kind": 1024, "kindString": "Property", @@ -41962,21 +42825,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 807, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -41989,7 +42852,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 519, "character": 8 } ], @@ -41999,7 +42862,7 @@ } }, { - "id": 806, + "id": 821, "name": "data", "kind": 1024, "kindString": "Property", @@ -42013,7 +42876,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 517, "character": 8 } ], @@ -42023,7 +42886,7 @@ } }, { - "id": 805, + "id": 820, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -42036,7 +42899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 511, "character": 8 } ], @@ -42050,13 +42913,13 @@ { "title": "Properties", "kind": 1024, - "children": [807, 806, 805] + "children": [822, 821, 820] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 16 } ] @@ -42064,7 +42927,7 @@ } }, { - "id": 802, + "id": 817, "name": "password", "kind": 1024, "kindString": "Property", @@ -42075,7 +42938,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 508, "character": 6 } ], @@ -42089,13 +42952,13 @@ { "title": "Properties", "kind": 1024, - "children": [801, 803, 802] + "children": [816, 818, 817] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 504, "character": 4 } ] @@ -42104,14 +42967,14 @@ { "type": "reflection", "declaration": { - "id": 808, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 811, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -42121,21 +42984,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 812, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 814, + "id": 829, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -42148,7 +43011,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 535, "character": 8 } ], @@ -42158,7 +43021,7 @@ } }, { - "id": 815, + "id": 830, "name": "channel", "kind": 1024, "kindString": "Property", @@ -42171,7 +43034,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 537, "character": 8 } ], @@ -42190,7 +43053,7 @@ } }, { - "id": 813, + "id": 828, "name": "data", "kind": 1024, "kindString": "Property", @@ -42204,7 +43067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 531, + "line": 533, "character": 8 } ], @@ -42218,13 +43081,13 @@ { "title": "Properties", "kind": 1024, - "children": [814, 815, 813] + "children": [829, 830, 828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 16 } ] @@ -42232,7 +43095,7 @@ } }, { - "id": 810, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -42243,7 +43106,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 526, "character": 6 } ], @@ -42253,7 +43116,7 @@ } }, { - "id": 809, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -42264,7 +43127,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 524, "character": 6 } ], @@ -42278,13 +43141,13 @@ { "title": "Properties", "kind": 1024, - "children": [811, 810, 809] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 522, "character": 4 } ] @@ -42294,7 +43157,7 @@ } }, { - "id": 869, + "id": 884, "name": "SolanaWallet", "kind": 4194304, "kindString": "Type alias", @@ -42302,21 +43165,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 870, + "id": 885, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 874, + "id": 889, "name": "publicKey", "kind": 1024, "kindString": "Property", @@ -42326,7 +43189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 2 } ], @@ -42336,14 +43199,14 @@ { "type": "reflection", "declaration": { - "id": 875, + "id": 890, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 876, + "id": 891, "name": "toBase58", "kind": 2048, "kindString": "Method", @@ -42351,13 +43214,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 635, "character": 4 } ], "signatures": [ { - "id": 877, + "id": 892, "name": "toBase58", "kind": 4096, "kindString": "Call signature", @@ -42374,13 +43237,13 @@ { "title": "Methods", "kind": 2048, - "children": [876] + "children": [891] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 14 } ] @@ -42394,7 +43257,7 @@ } }, { - "id": 871, + "id": 886, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -42404,20 +43267,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 633, "character": 2 } ], "signatures": [ { - "id": 872, + "id": 887, "name": "signIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 873, + "id": 888, "name": "inputs", "kind": 32768, "kindString": "Parameter", @@ -42461,7 +43324,7 @@ ] }, { - "id": 878, + "id": 893, "name": "signMessage", "kind": 2048, "kindString": "Method", @@ -42471,20 +43334,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 638, "character": 2 } ], "signatures": [ { - "id": 879, + "id": 894, "name": "signMessage", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 880, + "id": 895, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -42497,7 +43360,7 @@ } }, { - "id": 881, + "id": 896, "name": "encoding", "kind": 32768, "kindString": "Parameter", @@ -42541,18 +43404,18 @@ { "title": "Properties", "kind": 1024, - "children": [874] + "children": [889] }, { "title": "Methods", "kind": 2048, - "children": [871, 878] + "children": [886, 893] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 27 } ] @@ -42560,7 +43423,7 @@ } }, { - "id": 882, + "id": 897, "name": "SolanaWeb3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -42568,7 +43431,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 641, "character": 12 } ], @@ -42578,14 +43441,14 @@ { "type": "reflection", "declaration": { - "id": 883, + "id": 898, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 884, + "id": 899, "name": "chain", "kind": 1024, "kindString": "Property", @@ -42593,7 +43456,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 643, "character": 6 } ], @@ -42603,7 +43466,7 @@ } }, { - "id": 887, + "id": 902, "name": "options", "kind": 1024, "kindString": "Property", @@ -42613,21 +43476,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 888, + "id": 903, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 890, + "id": 905, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -42640,7 +43503,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 656, "character": 8 } ], @@ -42650,7 +43513,7 @@ } }, { - "id": 891, + "id": 906, "name": "signInWithSolana", "kind": 1024, "kindString": "Property", @@ -42660,7 +43523,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 658, "character": 8 } ], @@ -42711,7 +43574,7 @@ } }, { - "id": 889, + "id": 904, "name": "url", "kind": 1024, "kindString": "Property", @@ -42724,7 +43587,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 653, "character": 8 } ], @@ -42738,13 +43601,13 @@ { "title": "Properties", "kind": 1024, - "children": [890, 891, 889] + "children": [905, 906, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 16 } ] @@ -42752,7 +43615,7 @@ } }, { - "id": 886, + "id": 901, "name": "statement", "kind": 1024, "kindString": "Property", @@ -42765,7 +43628,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 649, "character": 6 } ], @@ -42775,7 +43638,7 @@ } }, { - "id": 885, + "id": 900, "name": "wallet", "kind": 1024, "kindString": "Property", @@ -42788,13 +43651,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 646, "character": 6 } ], "type": { "type": "reference", - "id": 869, + "id": 884, "name": "SolanaWallet" } } @@ -42803,13 +43666,13 @@ { "title": "Properties", "kind": 1024, - "children": [884, 887, 886, 885] + "children": [899, 902, 901, 900] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 642, "character": 4 } ] @@ -42818,14 +43681,14 @@ { "type": "reflection", "declaration": { - "id": 892, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 908, "name": "chain", "kind": 1024, "kindString": "Property", @@ -42833,7 +43696,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 664, "character": 6 } ], @@ -42843,7 +43706,7 @@ } }, { - "id": 894, + "id": 909, "name": "message", "kind": 1024, "kindString": "Property", @@ -42854,7 +43717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 667, "character": 6 } ], @@ -42864,7 +43727,7 @@ } }, { - "id": 896, + "id": 911, "name": "options", "kind": 1024, "kindString": "Property", @@ -42874,21 +43737,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 897, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 898, + "id": 913, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -42901,7 +43764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 672, + "line": 674, "character": 8 } ], @@ -42915,13 +43778,13 @@ { "title": "Properties", "kind": 1024, - "children": [898] + "children": [913] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 16 } ] @@ -42929,7 +43792,7 @@ } }, { - "id": 895, + "id": 910, "name": "signature", "kind": 1024, "kindString": "Property", @@ -42940,7 +43803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 670, "character": 6 } ], @@ -42956,13 +43819,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 896, 895] + "children": [908, 909, 911, 910] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 661, + "line": 663, "character": 4 } ] @@ -42972,7 +43835,7 @@ } }, { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -42980,7 +43843,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -43027,14 +43890,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -43047,7 +43910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -43061,13 +43924,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -43077,7 +43940,7 @@ } }, { - "id": 689, + "id": 704, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -43085,7 +43948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 225, "character": 12 } ], @@ -43095,14 +43958,14 @@ { "type": "reflection", "declaration": { - "id": 690, + "id": 705, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 691, + "id": 706, "name": "data", "kind": 1024, "kindString": "Property", @@ -43110,21 +43973,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 692, + "id": 707, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 708, "name": "user", "kind": 1024, "kindString": "Property", @@ -43132,13 +43995,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 226, + "line": 228, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -43147,13 +44010,13 @@ { "title": "Properties", "kind": 1024, - "children": [693] + "children": [708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 12 } ] @@ -43161,7 +44024,7 @@ } }, { - "id": 694, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -43169,7 +44032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 230, "character": 6 } ], @@ -43183,13 +44046,13 @@ { "title": "Properties", "kind": 1024, - "children": [691, 694] + "children": [706, 709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 224, + "line": 226, "character": 4 } ] @@ -43198,14 +44061,14 @@ { "type": "reflection", "declaration": { - "id": 695, + "id": 710, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 696, + "id": 711, "name": "data", "kind": 1024, "kindString": "Property", @@ -43213,21 +44076,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 697, + "id": 712, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 698, + "id": 713, "name": "user", "kind": 1024, "kindString": "Property", @@ -43235,7 +44098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 234, "character": 8 } ], @@ -43249,13 +44112,13 @@ { "title": "Properties", "kind": 1024, - "children": [698] + "children": [713] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 12 } ] @@ -43263,7 +44126,7 @@ } }, { - "id": 699, + "id": 714, "name": "error", "kind": 1024, "kindString": "Property", @@ -43271,13 +44134,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 234, + "line": 236, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -43286,13 +44149,13 @@ { "title": "Properties", "kind": 1024, - "children": [696, 699] + "children": [711, 714] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 230, + "line": 232, "character": 4 } ] @@ -43302,7 +44165,7 @@ } }, { - "id": 900, + "id": 933, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -43310,7 +44173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 719, "character": 12 } ], @@ -43318,14 +44181,14 @@ "type": "union", "types": [ { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -43335,21 +44198,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -43368,7 +44231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -43378,7 +44241,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -43391,7 +44254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -43405,14 +44268,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -43423,7 +44286,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -43433,7 +44296,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -43444,7 +44307,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -43454,7 +44317,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -43465,16 +44328,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -43482,7 +44345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -43507,26 +44370,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -43537,7 +44400,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -43547,7 +44410,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -43557,21 +44420,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -43590,7 +44453,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -43600,7 +44463,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -43613,7 +44476,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -43627,14 +44490,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -43645,7 +44508,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -43655,7 +44518,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -43666,16 +44529,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -43683,7 +44546,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -43724,26 +44587,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -43754,7 +44617,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -43764,7 +44627,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -43775,16 +44638,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -43792,7 +44655,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -43833,13 +44696,13 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] @@ -43848,7 +44711,7 @@ } }, { - "id": 593, + "id": 608, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -43856,21 +44719,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 594, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 611, "name": "message", "kind": 1024, "kindString": "Property", @@ -43878,7 +44741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 105, "character": 2 } ], @@ -43888,7 +44751,7 @@ } }, { - "id": 595, + "id": 610, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -43896,7 +44759,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 104, "character": 2 } ], @@ -43904,7 +44767,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 591, + "id": 606, "name": "WeakPasswordReasons" } } @@ -43914,13 +44777,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 595] + "children": [611, 610] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 27 } ] @@ -43928,7 +44791,7 @@ } }, { - "id": 591, + "id": 606, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -43936,7 +44799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 12 } ], @@ -43965,7 +44828,7 @@ { "type": "reflection", "declaration": { - "id": 592, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -43973,7 +44836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 80 } ] @@ -43985,7 +44848,7 @@ } }, { - "id": 899, + "id": 932, "name": "Web3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -43993,18 +44856,836 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 717, "character": 12 } ], "type": { - "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials" + "type": "union", + "types": [ + { + "id": 897, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 898, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 899, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 643, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 902, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 903, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 905, + "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": 656, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 906, + "name": "signInWithSolana", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 658, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "SolanaSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 904, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [905, 906, 904] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 16 + } + ] + } + } + }, + { + "id": 901, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 900, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 646, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 884, + "name": "SolanaWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [899, 902, 901, 900] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 642, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 907, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 908, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 664, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 909, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 911, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 912, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 913, + "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": 674, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [913] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 16 + } + ] + } + } + }, + { + "id": 910, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [908, 909, 911, 910] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 663, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] + } + } + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] + } + } + ] + } + } + ] } }, { - "id": 531, + "id": 546, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -44029,7 +45710,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 532, + "id": 547, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -44054,7 +45735,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES", "kind": 32, "kindString": "Variable", @@ -44064,7 +45745,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1296, + "line": 1337, "character": 13 } ], @@ -44092,7 +45773,7 @@ "defaultValue": "..." }, { - "id": 546, + "id": 561, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -44117,14 +45798,14 @@ "type": { "type": "reflection", "declaration": { - "id": 547, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 548, + "id": 563, "name": "debug", "kind": 1024, "kindString": "Property", @@ -44155,7 +45836,7 @@ { "title": "Properties", "kind": 1024, - "children": [548] + "children": [563] } ] } @@ -44163,7 +45844,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1255, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -44177,14 +45858,14 @@ ], "signatures": [ { - "id": 1223, + "id": 1256, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1224, + "id": 1257, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44201,7 +45882,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" } } @@ -44209,7 +45890,7 @@ ] }, { - "id": 1219, + "id": 1252, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -44223,14 +45904,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1253, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1254, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44247,7 +45928,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -44255,7 +45936,7 @@ ] }, { - "id": 1228, + "id": 1261, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -44269,14 +45950,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1262, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1263, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44293,7 +45974,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" } } @@ -44301,7 +45982,7 @@ ] }, { - "id": 1231, + "id": 1264, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -44315,14 +45996,14 @@ ], "signatures": [ { - "id": 1232, + "id": 1265, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1233, + "id": 1266, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44339,7 +46020,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" } } @@ -44347,7 +46028,7 @@ ] }, { - "id": 1225, + "id": 1258, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -44361,14 +46042,14 @@ ], "signatures": [ { - "id": 1226, + "id": 1259, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1227, + "id": 1260, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44385,7 +46066,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" } } @@ -44393,7 +46074,7 @@ ] }, { - "id": 1234, + "id": 1267, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -44407,14 +46088,14 @@ ], "signatures": [ { - "id": 1235, + "id": 1268, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1236, + "id": 1269, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -44431,7 +46112,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" } } @@ -44439,7 +46120,7 @@ ] }, { - "id": 533, + "id": 548, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -44453,7 +46134,7 @@ ], "signatures": [ { - "id": 534, + "id": 549, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -44464,7 +46145,7 @@ }, "typeParameter": [ { - "id": 535, + "id": 550, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -44473,7 +46154,7 @@ ], "parameters": [ { - "id": 536, + "id": 551, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -44487,7 +46168,7 @@ } }, { - "id": 537, + "id": 552, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -44501,7 +46182,7 @@ } }, { - "id": 538, + "id": 553, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -44512,14 +46193,14 @@ "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 540, + "id": 555, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -44529,7 +46210,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -44548,7 +46229,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -44560,7 +46241,7 @@ ] }, { - "id": 549, + "id": 564, "name": "processLock", "kind": 64, "kindString": "Function", @@ -44574,7 +46255,7 @@ ], "signatures": [ { - "id": 550, + "id": 565, "name": "processLock", "kind": 4096, "kindString": "Call signature", @@ -44585,7 +46266,7 @@ }, "typeParameter": [ { - "id": 551, + "id": 566, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -44594,7 +46275,7 @@ ], "parameters": [ { - "id": 552, + "id": 567, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -44608,7 +46289,7 @@ } }, { - "id": 553, + "id": 568, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -44622,7 +46303,7 @@ } }, { - "id": 554, + "id": 569, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -44633,14 +46314,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 556, + "id": 571, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -44650,7 +46331,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -44669,7 +46350,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -44686,36 +46367,36 @@ "title": "Classes", "kind": 128, "children": [ - 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 + 1280, 1270, 1337, 1328, 1413, 1320, 1364, 1391, 1312, 1290, 1401, 1300, 1, 78, 556 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 + 724, 787, 740, 1004, 1152, 1103, 1243, 715, 800, 755, 748, 781, 728, 752, 942, 934, 950 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 559, 558, 846, 1103, 1094, 1116, 1107, 1036, 1179, 1026, 1163, 1059, 1047, 1027, 1013, - 624, 597, 610, 639, 652, 1058, 1132, 921, 965, 955, 974, 988, 975, 995, 960, 949, 569, - 1129, 1191, 1206, 560, 1009, 1005, 996, 1158, 1153, 997, 1000, 920, 667, 1146, 1139, - 557, 1196, 922, 680, 793, 859, 847, 816, 829, 936, 1150, 1218, 799, 869, 882, 1126, 689, - 900, 593, 591, 899 + 574, 573, 861, 1136, 1127, 1149, 1140, 1069, 1212, 1059, 1196, 1092, 1080, 1060, 1046, + 639, 612, 625, 654, 667, 1091, 1165, 954, 914, 915, 998, 988, 1007, 1021, 1008, 1028, + 993, 982, 584, 1162, 1224, 1239, 575, 1042, 1038, 1029, 1191, 1186, 1030, 1033, 953, + 682, 1179, 1172, 572, 1229, 955, 695, 808, 874, 862, 831, 844, 969, 1183, 1251, 814, + 884, 897, 1159, 704, 933, 608, 606, 932 ] }, { "title": "Variables", "kind": 32, - "children": [531, 532, 1217, 546] + "children": [546, 547, 1250, 561] }, { "title": "Functions", "kind": 64, - "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] + "children": [1255, 1252, 1261, 1264, 1258, 1267, 548, 564] } ], "sources": [ @@ -44735,7 +46416,7 @@ "originalName": "", "children": [ { - "id": 631, + "id": 687, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -44744,7 +46425,7 @@ }, "children": [ { - "id": 632, + "id": 688, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -44752,27 +46433,39 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 31, + "line": 35, "character": 2 } ], "signatures": [ { - "id": 633, + "id": 689, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 634, + "id": 690, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 691, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 635, + "id": 692, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -44789,513 +46482,23 @@ ], "parameters": [ { - "id": 636, + "id": 693, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, - "children": "[Circular ~.children.0.children]", - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, - { - "title": "Properties", - "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 644, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 646, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 647, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 648, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 639, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 649, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 637, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - }, - { - "id": 640, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 642, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 638, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 694, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, - "name": "merge", + "id": 699, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { @@ -45304,977 +46507,17 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 + "line": 40, + "character": 4 } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "unknown" } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" }, { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, - { - "title": "Properties", - "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - }, - { - "id": 9, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "PostgREST client." - }, - "children": [ - { - "id": 10, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 41, - "character": 2 - } - ], - "signatures": [ - { - "id": 11, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "typeParameter": [ - { - "id": 12, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 13, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 14, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 13, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 15, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "URL of the PostgREST endpoint" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 16, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 17, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 20, + "id": 702, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -46283,32 +46526,29 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 50, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 21, + "id": 703, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 22, + "id": 704, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, - "comment": { - "shortText": "Custom fetch\n" - }, "parameters": [ { - "id": 23, + "id": 705, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -46332,7 +46572,7 @@ } }, { - "id": 24, + "id": 706, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -46367,63 +46607,164 @@ } }, { - "id": 18, + "id": 697, "name": "headers", "kind": 1024, "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 707, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Custom headers" - }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 48, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 44, + "character": 4 } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "boolean" } }, { - "id": 19, + "id": 695, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 698, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Postgres schema to switch to" + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 700, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 49, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 701, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { "type": "reference", - "id": 13, - "name": "SchemaName", - "dereferenced": {} + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 696, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } } ], @@ -46431,32 +46772,31 @@ { "title": "Properties", "kind": 1024, - "children": [20, 18, 19] + "children": [699, 702, 697, 707, 695, 698, 700, 701, 696] } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 9, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "id": 690, + "name": "ClientOptions" }, { "type": "reference", - "id": 13, - "name": "SchemaName" + "id": 691, + "name": "Result" }, { "type": "reference", - "id": 14, - "name": "Schema" + "id": 692, + "name": "ThrowOnError" } ], "name": "default" @@ -46465,38 +46805,59 @@ ] }, { - "id": 28, - "name": "fetch", + "id": 712, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { + "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "src/PostgrestBuilder.ts", "line": 29, - "character": 2 + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 715, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 32, + "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 29, + "id": 716, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 30, + "id": 717, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 31, + "id": 718, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -46520,7 +46881,7 @@ } }, { - "id": 32, + "id": 719, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -46555,7 +46916,1750 @@ } }, { - "id": 26, + "id": 710, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Headers", + "package": "typescript", + "name": "Headers" + } + }, + { + "id": 720, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 708, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 711, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 713, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 714, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 709, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 742, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 276, + "character": 2 + } + ], + "signatures": [ + { + "id": 743, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 744, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 749, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 745, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 746, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [746] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 748, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [748] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 739, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 241, + "character": 2 + } + ], + "signatures": [ + { + "id": 740, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 741, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 741, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 723, + "name": "setHeader", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 724, + "name": "setHeader", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set an HTTP header for the request." + }, + "parameters": [ + { + "id": 725, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 726, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 727, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 84, + "character": 2 + } + ], + "signatures": [ + { + "id": 728, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 729, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + }, + { + "id": 730, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 731, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 733, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 735, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 736, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 737, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 738, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 721, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 722, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + }, + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "literal", + "value": true + } + ], + "name": "default" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [688] + }, + { + "title": "Properties", + "kind": 1024, + "children": [712, 715, 710, 720, 708, 711, 713, 714, 709] + }, + { + "title": "Methods", + "kind": 2048, + "children": [742, 739, 723, 727, 721] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 750, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 751, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 752, + "name": "ThrowOnError", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "default": { + "type": "literal", + "value": false + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 9, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 10, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 44, + "character": 2 + } + ], + "signatures": [ + { + "id": 11, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "typeParameter": [ + { + "id": 12, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 15, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 14, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [14] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 20, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 17, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [17] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 19, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [19] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + } + ] + } + } + }, + { + "id": 23, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 22, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [22] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 24, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 26, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 30, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 31, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 32, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 33, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 27, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 51, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 28, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 20, + "name": "SchemaName", + "dereferenced": {} + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [29, 27, 28] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 9, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reference", + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 23, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 37, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 39, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 40, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 41, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 35, "name": "headers", "kind": 1024, "kindString": "Property", @@ -46563,29 +48667,19 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 27, + "line": 30, "character": 2 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 27, + "id": 36, "name": "schemaName", "kind": 1024, "kindString": "Property", @@ -46595,19 +48689,19 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 28, + "line": 31, "character": 2 } ], "type": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName", "dereferenced": {} } }, { - "id": 25, + "id": 34, "name": "url", "kind": 1024, "kindString": "Property", @@ -46615,7 +48709,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 26, + "line": 29, "character": 2 } ], @@ -46625,7 +48719,7 @@ } }, { - "id": 33, + "id": 42, "name": "from", "kind": 2048, "kindString": "Method", @@ -46633,13 +48727,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 59, + "line": 61, "character": 2 } ], "signatures": [ { - "id": 34, + "id": 43, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -46649,7 +48743,7 @@ }, "typeParameter": [ { - "id": 35, + "id": 44, "name": "TableName", "kind": 131072, "kindString": "Type parameter", @@ -46660,7 +48754,7 @@ } }, { - "id": 36, + "id": 45, "name": "Table", "kind": 131072, "kindString": "Type parameter", @@ -46673,7 +48767,7 @@ ], "parameters": [ { - "id": 37, + "id": 46, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -46683,7 +48777,7 @@ }, "type": { "type": "reference", - "id": 35, + "id": 44, "name": "TableName", "dereferenced": {} } @@ -46691,41 +48785,46 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, { "type": "reference", - "id": 35, + "id": 44, "name": "TableName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, "extendsType": { "type": "reflection", "declaration": { - "id": 38, + "id": 47, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 39, + "id": 48, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -46747,7 +48846,7 @@ { "title": "Properties", "kind": 1024, - "children": [39] + "children": [48] } ] } @@ -46766,7 +48865,7 @@ } }, { - "id": 40, + "id": 49, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -46776,7 +48875,7 @@ }, "typeParameter": [ { - "id": 41, + "id": 50, "name": "ViewName", "kind": 131072, "kindString": "Type parameter", @@ -46787,7 +48886,7 @@ } }, { - "id": 42, + "id": 51, "name": "View", "kind": 131072, "kindString": "Type parameter", @@ -46800,7 +48899,7 @@ ], "parameters": [ { - "id": 43, + "id": 52, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -46810,7 +48909,7 @@ }, "type": { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName", "dereferenced": {} } @@ -46818,41 +48917,46 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, "extendsType": { "type": "reflection", "declaration": { - "id": 44, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 45, + "id": 54, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -46874,7 +48978,7 @@ { "title": "Properties", "kind": 1024, - "children": [45] + "children": [54] } ] } @@ -46895,7 +48999,7 @@ ] }, { - "id": 50, + "id": 59, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -46903,13 +49007,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 124, + "line": 127, "character": 2 } ], "signatures": [ { - "id": 51, + "id": 60, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -46919,7 +49023,7 @@ }, "typeParameter": [ { - "id": 52, + "id": 61, "name": "FnName", "kind": 131072, "kindString": "Type parameter", @@ -46930,7 +49034,7 @@ } }, { - "id": 53, + "id": 62, "name": "Fn", "kind": 131072, "kindString": "Type parameter", @@ -46943,7 +49047,7 @@ ], "parameters": [ { - "id": 54, + "id": 63, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -46953,13 +49057,13 @@ }, "type": { "type": "reference", - "id": 52, + "id": 61, "name": "FnName", "dereferenced": {} } }, { - "id": 55, + "id": 64, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -46975,14 +49079,14 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, "defaultValue": "{}" }, { - "id": 56, + "id": 65, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -46994,14 +49098,14 @@ "type": { "type": "reflection", "declaration": { - "id": 57, + "id": 66, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 60, + "id": 69, "name": "count", "kind": 1024, "kindString": "Property", @@ -47014,7 +49118,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 134, + "line": 137, "character": 6 } ], @@ -47037,7 +49141,7 @@ } }, { - "id": 59, + "id": 68, "name": "get", "kind": 1024, "kindString": "Property", @@ -47050,7 +49154,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 133, + "line": 136, "character": 6 } ], @@ -47060,7 +49164,7 @@ } }, { - "id": 58, + "id": 67, "name": "head", "kind": 1024, "kindString": "Property", @@ -47073,7 +49177,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 132, + "line": 135, "character": 6 } ], @@ -47087,7 +49191,7 @@ { "title": "Properties", "kind": 1024, - "children": [60, 59, 58] + "children": [69, 68, 67] } ] } @@ -47097,11 +49201,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { @@ -47114,7 +49223,7 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, @@ -47190,18 +49299,22 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, { "type": "reference", - "id": 52, + "id": 61, "name": "FnName" }, { "type": "literal", "value": null + }, + { + "type": "literal", + "value": "RPC" } ], "name": "default" @@ -47210,7 +49323,7 @@ ] }, { - "id": 46, + "id": 55, "name": "schema", "kind": 2048, "kindString": "Method", @@ -47218,13 +49331,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 87, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 47, + "id": 56, "name": "schema", "kind": 4096, "kindString": "Call signature", @@ -47235,7 +49348,7 @@ }, "typeParameter": [ { - "id": 48, + "id": 57, "name": "DynamicSchema", "kind": 131072, "kindString": "Type parameter", @@ -47248,7 +49361,7 @@ ], "parameters": [ { - "id": 49, + "id": 58, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -47258,7 +49371,7 @@ }, "type": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema", "dereferenced": {} } @@ -47275,7 +49388,12 @@ }, { "type": "reference", - "id": 48, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 57, "name": "DynamicSchema" }, { @@ -47284,7 +49402,7 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema" }, "objectType": { @@ -47329,24 +49447,24 @@ { "title": "Properties", "kind": 1024, - "children": [28, 26, 27, 25] + "children": [37, 35, 36, 34] }, { "title": "Methods", "kind": 2048, - "children": [33, 50, 46] + "children": [42, 59, 55] } ], "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 17, + "line": 15, "character": 21 } ], "typeParameter": [ { - "id": 61, + "id": 70, "name": "Database", "kind": 131072, "kindString": "Type parameter", @@ -47360,7 +49478,82 @@ } }, { - "id": 62, + "id": 73, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 71, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 72, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [72] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 4 + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 74, "name": "SchemaName", "kind": 131072, "kindString": "Type parameter", @@ -47379,9 +49572,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -47396,9 +49603,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "trueType": { @@ -47416,9 +49637,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -47426,7 +49661,7 @@ } }, { - "id": 63, + "id": 75, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -47441,13 +49676,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "extendsType": { @@ -47458,13 +49707,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "falseType": { @@ -47476,7 +49739,7 @@ ] }, { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -47487,7 +49750,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -47501,14 +49764,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -47516,14 +49779,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -47541,7 +49804,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -47559,7 +49822,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -47577,7 +49840,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -47599,7 +49862,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -47608,7 +49871,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -47623,7 +49886,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -47641,7 +49904,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -47659,7 +49922,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -47681,12 +49944,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -47706,28 +49969,40 @@ ] }, { - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 152, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 153, + "id": 167, "name": "new PostgrestFilterBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 154, + "id": 168, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 169, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -47738,7 +50013,7 @@ } }, { - "id": 155, + "id": 170, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -47761,14 +50036,14 @@ } }, { - "id": 156, + "id": 171, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 157, + "id": 172, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -47779,7 +50054,7 @@ } }, { - "id": 158, + "id": 173, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -47788,143 +50063,48 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 174, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 159, + "id": 175, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "children": [ { - "id": 632, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 31, - "character": 2 - } - ], - "signatures": [ - { - "id": 633, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 634, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 635, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "parameters": [ - { - "id": 636, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, + "id": 181, "name": "body", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 + "line": 40, + "character": 4 } ], "type": { @@ -47933,38 +50113,38 @@ } }, { - "id": 644, + "id": 184, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 186, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 187, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -47988,7 +50168,7 @@ } }, { - "id": 648, + "id": 188, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -48023,50 +50203,38 @@ } }, { - "id": 639, + "id": 179, "name": "headers", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 + "line": 38, + "character": 4 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 649, + "id": 189, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 + "line": 44, + "character": 4 } ], "type": { @@ -48075,18 +50243,16 @@ } }, { - "id": 637, + "id": 177, "name": "method", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 + "line": 36, + "character": 4 } ], "type": { @@ -48116,19 +50282,18 @@ } }, { - "id": 640, + "id": 180, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 + "line": 39, + "character": 4 } ], "type": { @@ -48137,40 +50302,38 @@ } }, { - "id": 642, + "id": 182, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 183, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { @@ -48181,18 +50344,16 @@ } }, { - "id": 638, + "id": 178, "name": "url", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 + "line": 37, + "character": 4 } ], "type": { @@ -48201,868 +50362,13 @@ "package": "typescript", "name": "URL" } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 675, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] } ], "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, { "title": "Properties", "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "children": [181, 184, 179, 189, 177, 180, 182, 183, 178] } ] } @@ -49071,51 +50377,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 536, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 535, "name": "default.constructor" } }, { - "id": 459, + "id": 492, "name": "body", "kind": 1024, "kindString": "Property", @@ -49126,7 +50442,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -49136,12 +50452,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 645, "name": "default.body" } }, { - "id": 462, + "id": 495, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -49151,28 +50467,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 463, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 464, + "id": 497, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 465, + "id": 498, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -49196,7 +50512,7 @@ } }, { - "id": 466, + "id": 499, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -49231,12 +50547,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 594, + "id": 648, "name": "default.fetch" } }, { - "id": 457, + "id": 490, "name": "headers", "kind": 1024, "kindString": "Property", @@ -49246,34 +50562,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 589, + "id": 643, "name": "default.headers" } }, { - "id": 467, + "id": 500, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -49283,7 +50589,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -49293,12 +50599,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 653, "name": "default.isMaybeSingle" } }, { - "id": 455, + "id": 488, "name": "method", "kind": 1024, "kindString": "Property", @@ -49308,7 +50614,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -49339,12 +50645,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 587, + "id": 641, "name": "default.method" } }, { - "id": 458, + "id": 491, "name": "schema", "kind": 1024, "kindString": "Property", @@ -49355,7 +50661,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -49365,18 +50671,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 590, + "id": 644, "name": "default.schema" } }, { - "id": 460, + "id": 493, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 646, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 494, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 647, + "name": "default.signal" + } + }, + { + "id": 489, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -49384,60 +50744,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 592, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 461, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 593, - "name": "default.signal" - } - }, - { - "id": 456, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -49446,12 +50752,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 588, + "id": 642, "name": "default.url" } }, { - "id": 427, + "id": 457, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -49459,13 +50765,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -49475,7 +50781,7 @@ }, "parameters": [ { - "id": 429, + "id": 459, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -49493,51 +50799,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 560, + "id": 611, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 559, + "id": 610, "name": "default.abortSignal" } }, { - "id": 271, + "id": 301, "name": "containedBy", "kind": 2048, "kindString": "Method", @@ -49545,13 +50861,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 342, + "line": 354, "character": 2 } ], "signatures": [ { - "id": 272, + "id": 302, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -49561,7 +50877,7 @@ }, "typeParameter": [ { - "id": 273, + "id": 303, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -49574,7 +50890,7 @@ ], "parameters": [ { - "id": 274, + "id": 304, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -49584,13 +50900,13 @@ }, "type": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName", "dereferenced": {} } }, { - "id": 275, + "id": 305, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -49630,12 +50946,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -49647,39 +50963,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 276, + "id": 306, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -49689,7 +51015,7 @@ }, "parameters": [ { - "id": 277, + "id": 307, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -49703,7 +51029,7 @@ } }, { - "id": 278, + "id": 308, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -49751,32 +51077,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -49785,7 +51121,7 @@ ] }, { - "id": 263, + "id": 293, "name": "contains", "kind": 2048, "kindString": "Method", @@ -49793,13 +51129,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 315, + "line": 327, "character": 2 } ], "signatures": [ { - "id": 264, + "id": 294, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -49809,7 +51145,7 @@ }, "typeParameter": [ { - "id": 265, + "id": 295, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -49822,7 +51158,7 @@ ], "parameters": [ { - "id": 266, + "id": 296, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -49832,13 +51168,13 @@ }, "type": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName", "dereferenced": {} } }, { - "id": 267, + "id": 297, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -49878,12 +51214,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -49895,39 +51231,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 268, + "id": 298, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -49937,7 +51283,7 @@ }, "parameters": [ { - "id": 269, + "id": 299, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -49951,7 +51297,7 @@ } }, { - "id": 270, + "id": 300, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -49999,32 +51345,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -50033,7 +51389,7 @@ ] }, { - "id": 436, + "id": 466, "name": "csv", "kind": 2048, "kindString": "Method", @@ -50041,13 +51397,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 437, + "id": 467, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -50057,8 +51413,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -50072,19 +51433,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 569, + "id": 620, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 568, + "id": 619, "name": "default.csv" } }, { - "id": 160, + "id": 190, "name": "eq", "kind": 2048, "kindString": "Method", @@ -50092,13 +51453,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 87, + "line": 99, "character": 2 } ], "signatures": [ { - "id": 161, + "id": 191, "name": "eq", "kind": 4096, "kindString": "Call signature", @@ -50109,7 +51470,7 @@ }, "typeParameter": [ { - "id": 162, + "id": 192, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -50122,7 +51483,7 @@ ], "parameters": [ { - "id": 163, + "id": 193, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -50132,13 +51493,13 @@ }, "type": { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName", "dereferenced": {} } }, { - "id": 164, + "id": 194, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -50153,17 +51514,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -50184,17 +51545,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -50226,32 +51587,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -50260,7 +51631,7 @@ ] }, { - "id": 440, + "id": 470, "name": "explain", "kind": 2048, "kindString": "Method", @@ -50268,13 +51639,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 441, + "id": 471, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -50285,7 +51656,7 @@ }, "parameters": [ { - "id": 442, + "id": 472, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -50297,14 +51668,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 444, + "id": 474, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -50317,7 +51688,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -50327,7 +51698,7 @@ } }, { - "id": 447, + "id": 477, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -50340,7 +51711,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -50350,7 +51721,7 @@ } }, { - "id": 449, + "id": 479, "name": "format", "kind": 1024, "kindString": "Property", @@ -50363,7 +51734,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -50382,7 +51753,7 @@ } }, { - "id": 446, + "id": 476, "name": "settings", "kind": 1024, "kindString": "Property", @@ -50395,7 +51766,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -50405,7 +51776,7 @@ } }, { - "id": 445, + "id": 475, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -50418,7 +51789,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -50428,7 +51799,7 @@ } }, { - "id": 448, + "id": 478, "name": "wal", "kind": 1024, "kindString": "Property", @@ -50441,7 +51812,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -50455,7 +51826,7 @@ { "title": "Properties", "kind": 1024, - "children": [444, 447, 449, 446, 445, 448] + "children": [474, 477, 479, 476, 475, 478] } ] } @@ -50468,8 +51839,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -50483,8 +51859,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -50515,19 +51896,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 573, + "id": 624, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 572, + "id": 623, "name": "default.explain" } }, { - "id": 366, + "id": 396, "name": "filter", "kind": 2048, "kindString": "Method", @@ -50535,13 +51916,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 569, + "line": 581, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 397, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -50552,7 +51933,7 @@ }, "typeParameter": [ { - "id": 368, + "id": 398, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -50565,7 +51946,7 @@ ], "parameters": [ { - "id": 369, + "id": 399, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -50575,13 +51956,13 @@ }, "type": { "type": "reference", - "id": 368, + "id": 398, "name": "ColumnName", "dereferenced": {} } }, { - "id": 370, + "id": 400, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -50688,7 +52069,7 @@ } }, { - "id": 371, + "id": 401, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -50704,39 +52085,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 372, + "id": 402, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -50747,7 +52138,7 @@ }, "parameters": [ { - "id": 373, + "id": 403, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -50761,7 +52152,7 @@ } }, { - "id": 374, + "id": 404, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -50775,7 +52166,7 @@ } }, { - "id": 375, + "id": 405, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -50791,32 +52182,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -50825,7 +52226,7 @@ ] }, { - "id": 438, + "id": 468, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -50833,13 +52234,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 439, + "id": 469, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -50849,8 +52250,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -50876,19 +52282,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 571, + "id": 622, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 570, + "id": 621, "name": "default.geojson" } }, { - "id": 170, + "id": 200, "name": "gt", "kind": 2048, "kindString": "Method", @@ -50896,13 +52302,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 120, + "line": 132, "character": 2 } ], "signatures": [ { - "id": 171, + "id": 201, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -50912,7 +52318,7 @@ }, "typeParameter": [ { - "id": 172, + "id": 202, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -50925,7 +52331,7 @@ ], "parameters": [ { - "id": 173, + "id": 203, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -50935,13 +52341,13 @@ }, "type": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName", "dereferenced": {} } }, { - "id": 174, + "id": 204, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -50953,12 +52359,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -50966,39 +52372,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 175, + "id": 205, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -51008,7 +52424,7 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51022,7 +52438,7 @@ } }, { - "id": 177, + "id": 207, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -51038,32 +52454,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51072,7 +52498,7 @@ ] }, { - "id": 178, + "id": 208, "name": "gte", "kind": 2048, "kindString": "Method", @@ -51080,13 +52506,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 133, + "line": 145, "character": 2 } ], "signatures": [ { - "id": 179, + "id": 209, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -51096,7 +52522,7 @@ }, "typeParameter": [ { - "id": 180, + "id": 210, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -51109,7 +52535,7 @@ ], "parameters": [ { - "id": 181, + "id": 211, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51119,13 +52545,13 @@ }, "type": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName", "dereferenced": {} } }, { - "id": 182, + "id": 212, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -51137,12 +52563,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -51150,39 +52576,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 183, + "id": 213, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -51192,7 +52628,7 @@ }, "parameters": [ { - "id": 184, + "id": 214, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51206,7 +52642,7 @@ } }, { - "id": 185, + "id": 215, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -51222,32 +52658,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51256,7 +52702,7 @@ ] }, { - "id": 226, + "id": 256, "name": "ilike", "kind": 2048, "kindString": "Method", @@ -51264,13 +52710,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 217, + "line": 229, "character": 2 } ], "signatures": [ { - "id": 227, + "id": 257, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -51280,7 +52726,7 @@ }, "typeParameter": [ { - "id": 228, + "id": 258, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -51293,7 +52739,7 @@ ], "parameters": [ { - "id": 229, + "id": 259, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51303,13 +52749,13 @@ }, "type": { "type": "reference", - "id": 228, + "id": 258, "name": "ColumnName", "dereferenced": {} } }, { - "id": 230, + "id": 260, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -51325,39 +52771,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 231, + "id": 261, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -51367,7 +52823,7 @@ }, "parameters": [ { - "id": 232, + "id": 262, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51381,7 +52837,7 @@ } }, { - "id": 233, + "id": 263, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -51397,32 +52853,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51431,7 +52897,7 @@ ] }, { - "id": 234, + "id": 264, "name": "ilikeAllOf", "kind": 2048, "kindString": "Method", @@ -51439,13 +52905,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 230, + "line": 242, "character": 2 } ], "signatures": [ { - "id": 235, + "id": 265, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -51455,7 +52921,7 @@ }, "typeParameter": [ { - "id": 236, + "id": 266, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -51468,7 +52934,7 @@ ], "parameters": [ { - "id": 237, + "id": 267, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51478,13 +52944,13 @@ }, "type": { "type": "reference", - "id": 236, + "id": 266, "name": "ColumnName", "dereferenced": {} } }, { - "id": 238, + "id": 268, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -51507,39 +52973,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 239, + "id": 269, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -51549,7 +53025,7 @@ }, "parameters": [ { - "id": 240, + "id": 270, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51563,7 +53039,7 @@ } }, { - "id": 241, + "id": 271, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -51586,32 +53062,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51620,7 +53106,7 @@ ] }, { - "id": 242, + "id": 272, "name": "ilikeAnyOf", "kind": 2048, "kindString": "Method", @@ -51628,13 +53114,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 246, + "line": 258, "character": 2 } ], "signatures": [ { - "id": 243, + "id": 273, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -51644,7 +53130,7 @@ }, "typeParameter": [ { - "id": 244, + "id": 274, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -51657,7 +53143,7 @@ ], "parameters": [ { - "id": 245, + "id": 275, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51667,13 +53153,13 @@ }, "type": { "type": "reference", - "id": 244, + "id": 274, "name": "ColumnName", "dereferenced": {} } }, { - "id": 246, + "id": 276, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -51696,39 +53182,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 247, + "id": 277, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -51738,7 +53234,7 @@ }, "parameters": [ { - "id": 248, + "id": 278, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51752,7 +53248,7 @@ } }, { - "id": 249, + "id": 279, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -51775,32 +53271,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51809,7 +53315,7 @@ ] }, { - "id": 258, + "id": 288, "name": "in", "kind": 2048, "kindString": "Method", @@ -51817,13 +53323,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 290, + "line": 302, "character": 2 } ], "signatures": [ { - "id": 259, + "id": 289, "name": "in", "kind": 4096, "kindString": "Call signature", @@ -51833,7 +53339,7 @@ }, "typeParameter": [ { - "id": 260, + "id": 290, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -51846,7 +53352,7 @@ ], "parameters": [ { - "id": 261, + "id": 291, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -51856,13 +53362,13 @@ }, "type": { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName", "dereferenced": {} } }, { - "id": 262, + "id": 292, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -51882,17 +53388,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -51913,17 +53419,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -51949,32 +53455,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -51983,7 +53499,7 @@ ] }, { - "id": 250, + "id": 280, "name": "is", "kind": 2048, "kindString": "Method", @@ -51991,13 +53507,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 262, + "line": 274, "character": 2 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -52008,7 +53524,7 @@ }, "typeParameter": [ { - "id": 252, + "id": 282, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -52021,7 +53537,7 @@ ], "parameters": [ { - "id": 253, + "id": 283, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52031,13 +53547,13 @@ }, "type": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName", "dereferenced": {} } }, { - "id": 254, + "id": 284, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -52055,12 +53571,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -52077,12 +53593,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -52099,12 +53615,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -52120,39 +53636,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 255, + "id": 285, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -52163,7 +53689,7 @@ }, "parameters": [ { - "id": 256, + "id": 286, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52177,7 +53703,7 @@ } }, { - "id": 257, + "id": 287, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -52202,32 +53728,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -52236,7 +53772,7 @@ ] }, { - "id": 202, + "id": 232, "name": "like", "kind": 2048, "kindString": "Method", @@ -52244,13 +53780,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 172, + "line": 184, "character": 2 } ], "signatures": [ { - "id": 203, + "id": 233, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -52260,7 +53796,7 @@ }, "typeParameter": [ { - "id": 204, + "id": 234, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -52273,7 +53809,7 @@ ], "parameters": [ { - "id": 205, + "id": 235, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52283,13 +53819,13 @@ }, "type": { "type": "reference", - "id": 204, + "id": 234, "name": "ColumnName", "dereferenced": {} } }, { - "id": 206, + "id": 236, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -52305,39 +53841,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 207, + "id": 237, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -52347,7 +53893,7 @@ }, "parameters": [ { - "id": 208, + "id": 238, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52361,7 +53907,7 @@ } }, { - "id": 209, + "id": 239, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -52377,32 +53923,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -52411,7 +53967,7 @@ ] }, { - "id": 210, + "id": 240, "name": "likeAllOf", "kind": 2048, "kindString": "Method", @@ -52419,13 +53975,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 185, + "line": 197, "character": 2 } ], "signatures": [ { - "id": 211, + "id": 241, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -52435,7 +53991,7 @@ }, "typeParameter": [ { - "id": 212, + "id": 242, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -52448,7 +54004,7 @@ ], "parameters": [ { - "id": 213, + "id": 243, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52458,13 +54014,13 @@ }, "type": { "type": "reference", - "id": 212, + "id": 242, "name": "ColumnName", "dereferenced": {} } }, { - "id": 214, + "id": 244, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -52487,39 +54043,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 215, + "id": 245, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -52529,7 +54095,7 @@ }, "parameters": [ { - "id": 216, + "id": 246, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52543,7 +54109,7 @@ } }, { - "id": 217, + "id": 247, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -52566,32 +54132,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -52600,7 +54176,7 @@ ] }, { - "id": 218, + "id": 248, "name": "likeAnyOf", "kind": 2048, "kindString": "Method", @@ -52608,13 +54184,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 201, + "line": 213, "character": 2 } ], "signatures": [ { - "id": 219, + "id": 249, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -52624,7 +54200,7 @@ }, "typeParameter": [ { - "id": 220, + "id": 250, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -52637,7 +54213,7 @@ ], "parameters": [ { - "id": 221, + "id": 251, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52647,13 +54223,13 @@ }, "type": { "type": "reference", - "id": 220, + "id": 250, "name": "ColumnName", "dereferenced": {} } }, { - "id": 222, + "id": 252, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -52676,39 +54252,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 223, + "id": 253, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -52718,7 +54304,7 @@ }, "parameters": [ { - "id": 224, + "id": 254, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52732,7 +54318,7 @@ } }, { - "id": 225, + "id": 255, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -52755,32 +54341,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -52789,7 +54385,7 @@ ] }, { - "id": 412, + "id": 442, "name": "limit", "kind": 2048, "kindString": "Method", @@ -52797,13 +54393,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 413, + "id": 443, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -52813,7 +54409,7 @@ }, "parameters": [ { - "id": 414, + "id": 444, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -52827,7 +54423,7 @@ } }, { - "id": 415, + "id": 445, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -52839,14 +54435,14 @@ "type": { "type": "reflection", "declaration": { - "id": 416, + "id": 446, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 417, + "id": 447, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -52859,7 +54455,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -52869,7 +54465,7 @@ } }, { - "id": 418, + "id": 448, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -52882,7 +54478,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -52896,7 +54492,7 @@ { "title": "Properties", "kind": 1024, - "children": [417, 418] + "children": [447, 448] } ] } @@ -52906,51 +54502,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 545, + "id": 596, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 544, + "id": 595, "name": "default.limit" } }, { - "id": 186, + "id": 216, "name": "lt", "kind": 2048, "kindString": "Method", @@ -52958,13 +54564,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 146, + "line": 158, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 217, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -52974,7 +54580,7 @@ }, "typeParameter": [ { - "id": 188, + "id": 218, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -52987,7 +54593,7 @@ ], "parameters": [ { - "id": 189, + "id": 219, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -52997,13 +54603,13 @@ }, "type": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName", "dereferenced": {} } }, { - "id": 190, + "id": 220, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -53015,12 +54621,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -53028,39 +54634,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 191, + "id": 221, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -53070,7 +54686,7 @@ }, "parameters": [ { - "id": 192, + "id": 222, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -53084,7 +54700,7 @@ } }, { - "id": 193, + "id": 223, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -53100,32 +54716,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -53134,7 +54760,7 @@ ] }, { - "id": 194, + "id": 224, "name": "lte", "kind": 2048, "kindString": "Method", @@ -53142,13 +54768,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 159, + "line": 171, "character": 2 } ], "signatures": [ { - "id": 195, + "id": 225, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -53158,7 +54784,7 @@ }, "typeParameter": [ { - "id": 196, + "id": 226, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -53171,7 +54797,7 @@ ], "parameters": [ { - "id": 197, + "id": 227, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -53181,13 +54807,13 @@ }, "type": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName", "dereferenced": {} } }, { - "id": 198, + "id": 228, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -53199,12 +54825,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -53212,39 +54838,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 199, + "id": 229, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -53254,7 +54890,7 @@ }, "parameters": [ { - "id": 200, + "id": 230, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -53268,7 +54904,7 @@ } }, { - "id": 201, + "id": 231, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -53284,32 +54920,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -53318,7 +54964,7 @@ ] }, { - "id": 343, + "id": 373, "name": "match", "kind": 2048, "kindString": "Method", @@ -53326,13 +54972,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 502, + "line": 514, "character": 2 } ], "signatures": [ { - "id": 344, + "id": 374, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -53342,7 +54988,7 @@ }, "typeParameter": [ { - "id": 345, + "id": 375, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -53355,7 +55001,7 @@ ], "parameters": [ { - "id": 346, + "id": 376, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -53368,19 +55014,19 @@ "typeArguments": [ { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -53393,39 +55039,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 347, + "id": 377, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -53435,7 +55091,7 @@ }, "parameters": [ { - "id": 348, + "id": 378, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -53463,32 +55119,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -53497,7 +55163,171 @@ ] }, { - "id": 433, + "id": 485, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 486, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 487, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 168, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 174, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 639, + "name": "default.maxAffected" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 638, + "name": "default.maxAffected" + } + }, + { + "id": 463, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -53505,13 +55335,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 434, + "id": 464, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -53522,7 +55352,7 @@ }, "typeParameter": [ { - "id": 435, + "id": 465, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -53531,7 +55361,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -53554,8 +55384,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -53565,7 +55400,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -53579,19 +55414,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 566, + "id": 617, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 565, + "id": 616, "name": "default.maybeSingle" } }, { - "id": 165, + "id": 195, "name": "neq", "kind": 2048, "kindString": "Method", @@ -53599,13 +55434,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 108, + "line": 120, "character": 2 } ], "signatures": [ { - "id": 166, + "id": 196, "name": "neq", "kind": 4096, "kindString": "Call signature", @@ -53615,7 +55450,7 @@ }, "typeParameter": [ { - "id": 167, + "id": 197, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -53628,7 +55463,7 @@ ], "parameters": [ { - "id": 168, + "id": 198, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -53638,13 +55473,13 @@ }, "type": { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName", "dereferenced": {} } }, { - "id": 169, + "id": 199, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -53659,17 +55494,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -53690,17 +55525,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -53724,32 +55559,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -53758,7 +55603,7 @@ ] }, { - "id": 349, + "id": 379, "name": "not", "kind": 2048, "kindString": "Method", @@ -53766,13 +55611,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 518, + "line": 530, "character": 2 } ], "signatures": [ { - "id": 350, + "id": 380, "name": "not", "kind": 4096, "kindString": "Call signature", @@ -53781,6 +55626,1142 @@ "shortText": "Match only rows which doesn't satisfy the filter.", "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" }, + "typeParameter": [ + { + "id": 381, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 382, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 381, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 383, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 384, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 381, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 170, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + }, + { + "id": 385, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "parameters": [ + { + "id": 386, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 387, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 389, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 569, + "character": 2 + } + ], + "signatures": [ + { + "id": 390, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 391, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 394, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `referencedTable` instead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to filter on referenced tables\ninstead of the parent table" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [394, 395] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 411, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 412, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 413, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 414, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 413, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 415, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 417, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 418, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 419, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [417, 418, 419] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 565, + "name": "default.order" + } + }, + { + "id": 420, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 421, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 423, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 424, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 425, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 426, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [424, 425, 426] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 573, + "name": "default.order" + } + }, + { + "id": 427, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 428, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 429, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 428, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 430, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 431, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 432, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 434, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 433, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [432, 434, 433] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 580, + "name": "default.order" + } + }, + { + "id": 435, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 436, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 438, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 439, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 441, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [439, 441, 440] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 588, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 564, + "name": "default.order" + } + }, + { + "id": 349, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 453, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, "typeParameter": [ { "id": 351, @@ -53802,7 +56783,7 @@ "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The column to filter on" + "shortText": "The array or range column to filter on" }, "type": { "type": "reference", @@ -53813,1072 +56794,6 @@ }, { "id": 353, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "reference", - "name": "FilterOperator" - } - }, - { - "id": 354, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 351, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 155, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 355, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "parameters": [ - { - "id": 356, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 357, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 358, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 359, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 557, - "character": 2 - } - ], - "signatures": [ - { - "id": 360, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy at least one of the filters.", - "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" - }, - "parameters": [ - { - "id": 361, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The filters to use, following PostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 364, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `referencedTable` instead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 365, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to filter on referenced tables\ninstead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [364, 365] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 381, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 382, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 383, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 384, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 385, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 386, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 387, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 388, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 389, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [387, 388, 389] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 514, - "name": "default.order" - } - }, - { - "id": 390, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 391, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 394, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 395, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 396, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [394, 395, 396] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 522, - "name": "default.order" - } - }, - { - "id": 397, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 398, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 399, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 400, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 401, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 402, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 404, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 403, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [402, 404, 403] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 529, - "name": "default.order" - } - }, - { - "id": 405, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 406, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 411, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [409, 411, 410] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "default.order" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 513, - "name": "default.order" - } - }, - { - "id": 319, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 441, - "character": 2 - } - ], - "signatures": [ - { - "id": 320, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." - }, - "typeParameter": [ - { - "id": 321, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 322, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range column to filter on" - }, - "type": { - "type": "reference", - "id": 321, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 323, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -54902,12 +56817,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 321, + "id": 351, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -54919,39 +56834,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 324, + "id": 354, "name": "overlaps", "kind": 4096, "kindString": "Call signature", @@ -54961,7 +56886,7 @@ }, "parameters": [ { - "id": 325, + "id": 355, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -54975,7 +56900,7 @@ } }, { - "id": 326, + "id": 356, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -55007,32 +56932,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -55041,7 +56976,7 @@ ] }, { - "id": 486, + "id": 519, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -55049,13 +56984,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 487, + "id": 520, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -55072,7 +57007,7 @@ }, "typeParameter": [ { - "id": 488, + "id": 521, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -55082,7 +57017,7 @@ } }, { - "id": 493, + "id": 526, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -55093,14 +57028,14 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 522, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 490, + "id": 523, "name": "merge", "kind": 1024, "kindString": "Property", @@ -55110,7 +57045,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -55124,7 +57059,7 @@ { "title": "Properties", "kind": 1024, - "children": [490] + "children": [523] } ] } @@ -55132,14 +57067,14 @@ "default": { "type": "reflection", "declaration": { - "id": 491, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 525, "name": "merge", "kind": 1024, "kindString": "Property", @@ -55147,7 +57082,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -55161,7 +57096,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [525] } ] } @@ -55170,8 +57105,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -55179,12 +57119,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -55209,7 +57149,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -55231,7 +57171,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -55239,7 +57179,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -55249,7 +57189,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -55262,17 +57202,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -55284,12 +57224,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -55305,19 +57245,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 619, + "id": 673, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 618, + "id": 672, "name": "default.overrideTypes" } }, { - "id": 419, + "id": 449, "name": "range", "kind": 2048, "kindString": "Method", @@ -55325,13 +57265,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 420, + "id": 450, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -55341,7 +57281,7 @@ }, "parameters": [ { - "id": 421, + "id": 451, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -55355,7 +57295,7 @@ } }, { - "id": 422, + "id": 452, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -55369,7 +57309,7 @@ } }, { - "id": 423, + "id": 453, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -55381,14 +57321,14 @@ "type": { "type": "reflection", "declaration": { - "id": 424, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 425, + "id": 455, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -55401,7 +57341,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -55411,7 +57351,7 @@ } }, { - "id": 426, + "id": 456, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -55424,7 +57364,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -55438,7 +57378,7 @@ { "title": "Properties", "kind": 1024, - "children": [425, 426] + "children": [455, 456] } ] } @@ -55448,51 +57388,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 603, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 602, "name": "default.range" } }, { - "id": 311, + "id": 341, "name": "rangeAdjacent", "kind": 2048, "kindString": "Method", @@ -55500,13 +57450,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 426, + "line": 438, "character": 2 } ], "signatures": [ { - "id": 312, + "id": 342, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -55516,7 +57466,7 @@ }, "typeParameter": [ { - "id": 313, + "id": 343, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -55529,7 +57479,7 @@ ], "parameters": [ { - "id": 314, + "id": 344, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55539,13 +57489,13 @@ }, "type": { "type": "reference", - "id": 313, + "id": 343, "name": "ColumnName", "dereferenced": {} } }, { - "id": 315, + "id": 345, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55561,39 +57511,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 316, + "id": 346, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -55603,7 +57563,7 @@ }, "parameters": [ { - "id": 317, + "id": 347, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55617,7 +57577,7 @@ } }, { - "id": 318, + "id": 348, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55633,32 +57593,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -55667,7 +57637,7 @@ ] }, { - "id": 279, + "id": 309, "name": "rangeGt", "kind": 2048, "kindString": "Method", @@ -55675,13 +57645,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 368, + "line": 380, "character": 2 } ], "signatures": [ { - "id": 280, + "id": 310, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -55691,7 +57661,7 @@ }, "typeParameter": [ { - "id": 281, + "id": 311, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -55704,7 +57674,7 @@ ], "parameters": [ { - "id": 282, + "id": 312, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55714,13 +57684,13 @@ }, "type": { "type": "reference", - "id": 281, + "id": 311, "name": "ColumnName", "dereferenced": {} } }, { - "id": 283, + "id": 313, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55736,39 +57706,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 284, + "id": 314, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -55778,7 +57758,7 @@ }, "parameters": [ { - "id": 285, + "id": 315, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55792,7 +57772,7 @@ } }, { - "id": 286, + "id": 316, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55808,32 +57788,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -55842,7 +57832,7 @@ ] }, { - "id": 287, + "id": 317, "name": "rangeGte", "kind": 2048, "kindString": "Method", @@ -55850,13 +57840,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 382, + "line": 394, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 318, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -55866,7 +57856,7 @@ }, "typeParameter": [ { - "id": 289, + "id": 319, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -55879,7 +57869,7 @@ ], "parameters": [ { - "id": 290, + "id": 320, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55889,13 +57879,13 @@ }, "type": { "type": "reference", - "id": 289, + "id": 319, "name": "ColumnName", "dereferenced": {} } }, { - "id": 291, + "id": 321, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55911,39 +57901,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 292, + "id": 322, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -55953,7 +57953,7 @@ }, "parameters": [ { - "id": 293, + "id": 323, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -55967,7 +57967,7 @@ } }, { - "id": 294, + "id": 324, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -55983,32 +57983,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -56017,7 +58027,7 @@ ] }, { - "id": 295, + "id": 325, "name": "rangeLt", "kind": 2048, "kindString": "Method", @@ -56025,13 +58035,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 397, + "line": 409, "character": 2 } ], "signatures": [ { - "id": 296, + "id": 326, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -56041,7 +58051,7 @@ }, "typeParameter": [ { - "id": 297, + "id": 327, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -56054,7 +58064,7 @@ ], "parameters": [ { - "id": 298, + "id": 328, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -56064,13 +58074,13 @@ }, "type": { "type": "reference", - "id": 297, + "id": 327, "name": "ColumnName", "dereferenced": {} } }, { - "id": 299, + "id": 329, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -56086,39 +58096,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 300, + "id": 330, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -56128,7 +58148,7 @@ }, "parameters": [ { - "id": 301, + "id": 331, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -56142,7 +58162,7 @@ } }, { - "id": 302, + "id": 332, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -56158,32 +58178,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -56192,7 +58222,7 @@ ] }, { - "id": 303, + "id": 333, "name": "rangeLte", "kind": 2048, "kindString": "Method", @@ -56200,13 +58230,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 411, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 304, + "id": 334, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -56216,7 +58246,7 @@ }, "typeParameter": [ { - "id": 305, + "id": 335, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -56229,7 +58259,7 @@ ], "parameters": [ { - "id": 306, + "id": 336, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -56239,13 +58269,13 @@ }, "type": { "type": "reference", - "id": 305, + "id": 335, "name": "ColumnName", "dereferenced": {} } }, { - "id": 307, + "id": 337, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -56261,39 +58291,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 308, + "id": 338, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -56303,7 +58343,7 @@ }, "parameters": [ { - "id": 309, + "id": 339, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -56317,7 +58357,7 @@ } }, { - "id": 310, + "id": 340, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -56333,32 +58373,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -56367,7 +58417,7 @@ ] }, { - "id": 452, + "id": 482, "name": "returns", "kind": 2048, "kindString": "Method", @@ -56375,13 +58425,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 453, + "id": 483, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -56397,7 +58447,7 @@ }, "typeParameter": [ { - "id": 454, + "id": 484, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -56409,16 +58459,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { @@ -56426,12 +58481,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -56439,32 +58494,37 @@ }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 636, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 584, + "id": 635, "name": "default.returns" } }, { - "id": 450, + "id": 480, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -56472,13 +58532,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 451, + "id": 481, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -56489,51 +58549,61 @@ }, "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 634, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 582, + "id": 633, "name": "default.rollback" } }, { - "id": 376, + "id": 406, "name": "select", "kind": 2048, "kindString": "Method", @@ -56541,13 +58611,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 377, + "id": 407, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -56558,7 +58628,7 @@ }, "typeParameter": [ { - "id": 378, + "id": 408, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -56573,39 +58643,44 @@ } }, { - "id": 379, + "id": 409, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 168, + "name": "ClientOptions" } ], "name": "GetResult" @@ -56614,7 +58689,7 @@ ], "parameters": [ { - "id": 380, + "id": 410, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -56626,7 +58701,7 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query", "dereferenced": {} } @@ -56634,54 +58709,64 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 560, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 508, + "id": 559, "name": "default.select" } }, { - "id": 470, + "id": 503, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -56689,13 +58774,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 471, + "id": 504, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -56705,7 +58790,7 @@ }, "parameters": [ { - "id": 472, + "id": 505, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -56716,7 +58801,7 @@ } }, { - "id": 473, + "id": 506, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -56729,51 +58814,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 603, + "id": 657, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 602, + "id": 656, "name": "default.setHeader" } }, { - "id": 430, + "id": 460, "name": "single", "kind": 2048, "kindString": "Method", @@ -56781,13 +58876,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 431, + "id": 461, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -56798,7 +58893,7 @@ }, "typeParameter": [ { - "id": 432, + "id": 462, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -56807,7 +58902,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -56830,11 +58925,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -56846,19 +58946,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 614, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 613, "name": "default.single" } }, { - "id": 327, + "id": 357, "name": "textSearch", "kind": 2048, "kindString": "Method", @@ -56866,13 +58966,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 464, + "line": 476, "character": 2 } ], "signatures": [ { - "id": 328, + "id": 358, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -56882,7 +58982,7 @@ }, "typeParameter": [ { - "id": 329, + "id": 359, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -56895,7 +58995,7 @@ ], "parameters": [ { - "id": 330, + "id": 360, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -56905,13 +59005,13 @@ }, "type": { "type": "reference", - "id": 329, + "id": 359, "name": "ColumnName", "dereferenced": {} } }, { - "id": 331, + "id": 361, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -56925,7 +59025,7 @@ } }, { - "id": 332, + "id": 362, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -56938,14 +59038,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 364, "name": "config", "kind": 1024, "kindString": "Property", @@ -56958,7 +59058,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 16 } ], @@ -56968,7 +59068,7 @@ } }, { - "id": 335, + "id": 365, "name": "type", "kind": 1024, "kindString": "Property", @@ -56981,7 +59081,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 33 } ], @@ -57008,7 +59108,7 @@ { "title": "Properties", "kind": 1024, - "children": [334, 335] + "children": [364, 365] } ] } @@ -57017,39 +59117,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 336, + "id": 366, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -57059,7 +59169,7 @@ }, "parameters": [ { - "id": 337, + "id": 367, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -57073,7 +59183,7 @@ } }, { - "id": 338, + "id": 368, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -57087,7 +59197,7 @@ } }, { - "id": 339, + "id": 369, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -57100,14 +59210,14 @@ "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "config", "kind": 1024, "kindString": "Property", @@ -57120,7 +59230,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 16 } ], @@ -57130,7 +59240,7 @@ } }, { - "id": 342, + "id": 372, "name": "type", "kind": 1024, "kindString": "Property", @@ -57143,7 +59253,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 33 } ], @@ -57170,7 +59280,7 @@ { "title": "Properties", "kind": 1024, - "children": [341, 342] + "children": [371, 372] } ] } @@ -57179,32 +59289,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -57213,7 +59333,7 @@ ] }, { - "id": 474, + "id": 507, "name": "then", "kind": 2048, "kindString": "Method", @@ -57221,31 +59341,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 475, + "id": 508, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 476, + "id": 509, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -57253,7 +59373,7 @@ } }, { - "id": 477, + "id": 510, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -57266,7 +59386,7 @@ ], "parameters": [ { - "id": 478, + "id": 511, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -57283,32 +59403,32 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 480, + "id": 513, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 481, + "id": 514, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -57321,7 +59441,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -57329,7 +59449,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -57347,7 +59467,7 @@ } }, { - "id": 482, + "id": 515, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -57364,21 +59484,21 @@ { "type": "reflection", "declaration": { - "id": 483, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 517, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 485, + "id": 518, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -57394,7 +59514,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -57402,7 +59522,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -57428,12 +59548,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -57445,19 +59565,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 607, + "id": 661, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 606, + "id": 660, "name": "default.then" } }, { - "id": 468, + "id": 501, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -57465,13 +59585,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 469, + "id": 502, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -57485,43 +59605,58 @@ "types": [ { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 171, "name": "Result" }, { @@ -57535,14 +59670,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 601, + "id": 655, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 600, + "id": 654, "name": "default.throwOnError" } } @@ -57551,33 +59686,45 @@ { "title": "Constructors", "kind": 512, - "children": [152] + "children": [166] }, { "title": "Properties", "kind": 1024, - "children": [459, 462, 457, 467, 455, 458, 460, 461, 456] + "children": [492, 495, 490, 500, 488, 491, 493, 494, 489] }, { "title": "Methods", "kind": 2048, "children": [ - 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, - 303, 452, 450, 376, 470, 430, 327, 474, 468 + 457, 301, 293, 466, 190, 470, 396, 468, 200, 208, 256, 264, 272, 288, 280, 232, 240, + 248, 442, 216, 224, 373, 485, 463, 195, 379, 389, 411, 349, 519, 449, 341, 309, 317, + 325, 333, 482, 480, 406, 503, 460, 357, 507, 501 ] } ], "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 72, + "line": 74, "character": 21 } ], "typeParameter": [ { - "id": 494, + "id": 527, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 528, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -57588,7 +59735,7 @@ } }, { - "id": 495, + "id": 529, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -57611,14 +59758,14 @@ } }, { - "id": 496, + "id": 530, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 531, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -57629,7 +59776,7 @@ } }, { - "id": 498, + "id": 532, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -57638,37 +59785,58 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 533, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -57676,14 +59844,14 @@ ] }, { - "id": 64, + "id": 76, "name": "PostgrestQueryBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 65, + "id": 77, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -57697,14 +59865,26 @@ ], "signatures": [ { - "id": 66, + "id": 78, "name": "new PostgrestQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 67, + "id": 79, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 80, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -57715,7 +59895,7 @@ } }, { - "id": 68, + "id": 81, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -57735,7 +59915,7 @@ } }, { - "id": 69, + "id": 82, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -57746,7 +59926,7 @@ } }, { - "id": 72, + "id": 85, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -57755,20 +59935,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 70, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 84, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -57790,7 +59970,7 @@ { "title": "Properties", "kind": 1024, - "children": [71] + "children": [84] } ] } @@ -57808,7 +59988,7 @@ ], "parameters": [ { - "id": 73, + "id": 86, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -57821,7 +60001,7 @@ } }, { - "id": 74, + "id": 87, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -57829,14 +60009,14 @@ "type": { "type": "reflection", "declaration": { - "id": 75, + "id": 88, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 78, + "id": 91, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -57853,21 +60033,21 @@ "type": { "type": "reflection", "declaration": { - "id": 79, + "id": 92, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 80, + "id": 93, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 81, + "id": 94, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -57891,7 +60071,7 @@ } }, { - "id": 82, + "id": 95, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -57926,7 +60106,7 @@ } }, { - "id": 76, + "id": 89, "name": "headers", "kind": 1024, "kindString": "Property", @@ -57942,23 +60122,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 77, + "id": 90, "name": "schema", "kind": 1024, "kindString": "Property", @@ -57982,7 +60152,7 @@ { "title": "Properties", "kind": 1024, - "children": [78, 76, 77] + "children": [91, 89, 90] } ] } @@ -57991,26 +60161,31 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" } ], @@ -58020,7 +60195,7 @@ ] }, { - "id": 87, + "id": 100, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -58037,21 +60212,21 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 101, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 89, + "id": 102, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 90, + "id": 103, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -58075,7 +60250,7 @@ } }, { - "id": 91, + "id": 104, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -58110,7 +60285,7 @@ } }, { - "id": 84, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -58124,23 +60299,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 85, + "id": 98, "name": "schema", "kind": 1024, "kindString": "Property", @@ -58160,7 +60325,7 @@ } }, { - "id": 86, + "id": 99, "name": "signal", "kind": 1024, "kindString": "Property", @@ -58182,7 +60347,7 @@ } }, { - "id": 83, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -58202,7 +60367,7 @@ } }, { - "id": 140, + "id": 153, "name": "delete", "kind": 2048, "kindString": "Method", @@ -58210,13 +60375,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 357, + "line": 411, "character": 2 } ], "signatures": [ { - "id": 141, + "id": 154, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -58227,7 +60392,7 @@ }, "parameters": [ { - "id": 142, + "id": 155, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -58239,14 +60404,14 @@ "type": { "type": "reflection", "declaration": { - "id": 143, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 157, "name": "count", "kind": 1024, "kindString": "Property", @@ -58259,7 +60424,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 360, + "line": 414, "character": 4 } ], @@ -58286,7 +60451,7 @@ { "title": "Properties", "kind": 1024, - "children": [144] + "children": [157] } ] } @@ -58296,11 +60461,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -58311,7 +60481,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -58321,13 +60491,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "DELETE" } ], "name": "default" @@ -58336,7 +60510,7 @@ ] }, { - "id": 101, + "id": 114, "name": "insert", "kind": 2048, "kindString": "Method", @@ -58344,13 +60518,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 101, + "line": 116, "character": 2 } ], "signatures": [ { - "id": 102, + "id": 115, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -58361,7 +60535,7 @@ }, "typeParameter": [ { - "id": 103, + "id": 116, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -58386,7 +60560,7 @@ ], "parameters": [ { - "id": 104, + "id": 117, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -58396,13 +60570,13 @@ }, "type": { "type": "reference", - "id": 103, + "id": 116, "name": "Row", "dereferenced": {} } }, { - "id": 105, + "id": 118, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -58415,14 +60589,14 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 119, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 107, + "id": 120, "name": "count", "kind": 1024, "kindString": "Property", @@ -58435,7 +60609,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 104, + "line": 119, "character": 6 } ], @@ -58462,7 +60636,7 @@ { "title": "Properties", "kind": 1024, - "children": [107] + "children": [120] } ] } @@ -58471,11 +60645,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -58486,7 +60665,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -58496,20 +60675,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 108, + "id": 121, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -58520,7 +60703,7 @@ }, "typeParameter": [ { - "id": 109, + "id": 122, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -58545,7 +60728,7 @@ ], "parameters": [ { - "id": 110, + "id": 123, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -58557,13 +60740,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 109, + "id": 122, "name": "Row" } } }, { - "id": 111, + "id": 124, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -58576,14 +60759,14 @@ "type": { "type": "reflection", "declaration": { - "id": 112, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 113, + "id": 126, "name": "count", "kind": 1024, "kindString": "Property", @@ -58596,7 +60779,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 110, + "line": 133, "character": 6 } ], @@ -58619,7 +60802,7 @@ } }, { - "id": 114, + "id": 127, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -58632,7 +60815,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 111, + "line": 134, "character": 6 } ], @@ -58646,7 +60829,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 114] + "children": [126, 127] } ] } @@ -58655,11 +60838,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -58670,7 +60858,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -58680,13 +60868,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -58695,7 +60887,7 @@ ] }, { - "id": 92, + "id": 105, "name": "select", "kind": 2048, "kindString": "Method", @@ -58709,7 +60901,7 @@ ], "signatures": [ { - "id": 93, + "id": 106, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -58719,7 +60911,7 @@ }, "typeParameter": [ { - "id": 94, + "id": 107, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -58734,18 +60926,18 @@ } }, { - "id": 95, + "id": 108, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 80, "name": "Schema" }, { @@ -58756,24 +60948,29 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" }, { "type": "reference", - "id": 94, + "id": 107, "name": "Query" + }, + { + "type": "reference", + "id": 79, + "name": "ClientOptions" } ], "name": "GetResult" @@ -58782,7 +60979,7 @@ ], "parameters": [ { - "id": 96, + "id": 109, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -58794,13 +60991,13 @@ }, "type": { "type": "reference", - "id": 94, + "id": 107, "name": "Query", "dereferenced": {} } }, { - "id": 97, + "id": 110, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -58812,14 +61009,14 @@ "type": { "type": "reflection", "declaration": { - "id": 98, + "id": 111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 100, + "id": 113, "name": "count", "kind": 1024, "kindString": "Property", @@ -58832,7 +61029,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 67, + "line": 74, "character": 6 } ], @@ -58855,7 +61052,7 @@ } }, { - "id": 99, + "id": 112, "name": "head", "kind": 1024, "kindString": "Property", @@ -58868,7 +61065,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 66, + "line": 73, "character": 6 } ], @@ -58882,7 +61079,7 @@ { "title": "Properties", "kind": 1024, - "children": [100, 99] + "children": [113, 112] } ] } @@ -58892,11 +61089,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -58907,7 +61109,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -58915,19 +61117,23 @@ "type": "array", "elementType": { "type": "reference", - "id": 95, + "id": 108, "name": "ResultOne" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "GET" } ], "name": "default" @@ -58936,7 +61142,7 @@ ] }, { - "id": 133, + "id": 146, "name": "update", "kind": 2048, "kindString": "Method", @@ -58944,13 +61150,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 309, + "line": 361, "character": 2 } ], "signatures": [ { - "id": 134, + "id": 147, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -58961,7 +61167,7 @@ }, "typeParameter": [ { - "id": 135, + "id": 148, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -58986,7 +61192,7 @@ ], "parameters": [ { - "id": 136, + "id": 149, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -58996,13 +61202,13 @@ }, "type": { "type": "reference", - "id": 135, + "id": 148, "name": "Row", "dereferenced": {} } }, { - "id": 137, + "id": 150, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -59014,14 +61220,14 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 139, + "id": 152, "name": "count", "kind": 1024, "kindString": "Property", @@ -59034,7 +61240,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 314, + "line": 366, "character": 6 } ], @@ -59061,7 +61267,7 @@ { "title": "Properties", "kind": 1024, - "children": [139] + "children": [152] } ] } @@ -59071,11 +61277,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -59086,7 +61297,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -59096,13 +61307,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "PATCH" } ], "name": "default" @@ -59111,7 +61326,7 @@ ] }, { - "id": 115, + "id": 128, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -59119,13 +61334,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 184, + "line": 217, "character": 2 } ], "signatures": [ { - "id": 116, + "id": 129, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -59136,7 +61351,7 @@ }, "typeParameter": [ { - "id": 117, + "id": 130, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -59161,7 +61376,7 @@ ], "parameters": [ { - "id": 118, + "id": 131, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -59171,13 +61386,13 @@ }, "type": { "type": "reference", - "id": 117, + "id": 130, "name": "Row", "dereferenced": {} } }, { - "id": 119, + "id": 132, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -59190,14 +61405,14 @@ "type": { "type": "reflection", "declaration": { - "id": 120, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 123, + "id": 136, "name": "count", "kind": 1024, "kindString": "Property", @@ -59210,7 +61425,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 189, + "line": 222, "character": 6 } ], @@ -59233,7 +61448,7 @@ } }, { - "id": 122, + "id": 135, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -59246,7 +61461,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 188, + "line": 221, "character": 6 } ], @@ -59256,7 +61471,7 @@ } }, { - "id": 121, + "id": 134, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -59269,7 +61484,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 187, + "line": 220, "character": 6 } ], @@ -59283,7 +61498,7 @@ { "title": "Properties", "kind": 1024, - "children": [123, 122, 121] + "children": [136, 135, 134] } ] } @@ -59292,11 +61507,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -59307,7 +61527,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -59317,20 +61537,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 124, + "id": 137, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -59341,7 +61565,7 @@ }, "typeParameter": [ { - "id": 125, + "id": 138, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -59366,7 +61590,7 @@ ], "parameters": [ { - "id": 126, + "id": 139, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -59378,13 +61602,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 125, + "id": 138, "name": "Row" } } }, { - "id": 127, + "id": 140, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -59397,14 +61621,14 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 144, "name": "count", "kind": 1024, "kindString": "Property", @@ -59417,7 +61641,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 197, + "line": 238, "character": 6 } ], @@ -59440,7 +61664,7 @@ } }, { - "id": 132, + "id": 145, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -59453,7 +61677,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 198, + "line": 239, "character": 6 } ], @@ -59463,7 +61687,7 @@ } }, { - "id": 130, + "id": 143, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -59476,7 +61700,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 196, + "line": 237, "character": 6 } ], @@ -59486,7 +61710,7 @@ } }, { - "id": 129, + "id": 142, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -59499,7 +61723,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 195, + "line": 236, "character": 6 } ], @@ -59513,7 +61737,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 132, 130, 129] + "children": [144, 145, 143, 142] } ] } @@ -59522,11 +61746,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -59537,7 +61766,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -59547,13 +61776,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -59566,29 +61799,41 @@ { "title": "Constructors", "kind": 512, - "children": [65] + "children": [77] }, { "title": "Properties", "kind": 1024, - "children": [87, 84, 85, 86, 83] + "children": [100, 97, 98, 99, 96] }, { "title": "Methods", "kind": 2048, - "children": [140, 101, 92, 133, 115] + "children": [153, 114, 105, 146, 128] } ], "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 145, + "id": 158, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 159, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -59599,7 +61844,7 @@ } }, { - "id": 146, + "id": 160, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -59619,7 +61864,7 @@ } }, { - "id": 147, + "id": 161, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -59630,7 +61875,7 @@ } }, { - "id": 150, + "id": 164, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -59639,20 +61884,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -59674,7 +61919,7 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ], "sources": [ @@ -59699,28 +61944,40 @@ ] }, { - "id": 499, + "id": 534, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 500, + "id": 535, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 501, + "id": 536, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 502, + "id": 537, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 538, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -59731,7 +61988,7 @@ } }, { - "id": 503, + "id": 539, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -59754,14 +62011,14 @@ } }, { - "id": 504, + "id": 540, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 505, + "id": 541, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -59772,7 +62029,7 @@ } }, { - "id": 506, + "id": 542, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -59781,143 +62038,48 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 543, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 507, + "id": 544, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 504, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, + "type": "reflection", + "declaration": { + "id": 545, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "children": [ { - "id": 632, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 31, - "character": 2 - } - ], - "signatures": [ - { - "id": 633, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 634, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 635, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "parameters": [ - { - "id": 636, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": "[Circular ~.children.5.children.0.signatures.0.parameters.0.type.dereferenced]" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, + "id": 550, "name": "body", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 + "line": 40, + "character": 4 } ], "type": { @@ -59926,38 +62088,38 @@ } }, { - "id": 644, + "id": 553, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 555, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 556, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -59981,7 +62143,7 @@ } }, { - "id": 648, + "id": 557, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -60016,50 +62178,38 @@ } }, { - "id": 639, + "id": 548, "name": "headers", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 + "line": 38, + "character": 4 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 649, + "id": 558, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 + "line": 44, + "character": 4 } ], "type": { @@ -60068,18 +62218,16 @@ } }, { - "id": 637, + "id": 546, "name": "method", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 + "line": 36, + "character": 4 } ], "type": { @@ -60109,19 +62257,18 @@ } }, { - "id": 640, + "id": 549, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 + "line": 39, + "character": 4 } ], "type": { @@ -60130,40 +62277,38 @@ } }, { - "id": 642, + "id": 551, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 552, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { @@ -60174,18 +62319,16 @@ } }, { - "id": 638, + "id": 547, "name": "url", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 + "line": 37, + "character": 4 } ], "type": { @@ -60194,868 +62337,13 @@ "package": "typescript", "name": "URL" } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 675, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] } ], "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, { "title": "Properties", "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "children": [550, 553, 548, 558, 546, 549, 551, 552, 547] } ] } @@ -61064,51 +62352,61 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 689, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 632, + "id": 688, "name": "default.constructor" } }, { - "id": 591, + "id": 645, "name": "body", "kind": 1024, "kindString": "Property", @@ -61119,7 +62417,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -61129,12 +62427,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 712, "name": "default.body" } }, { - "id": 594, + "id": 648, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -61144,28 +62442,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 596, + "id": 650, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 597, + "id": 651, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -61189,7 +62487,7 @@ } }, { - "id": 598, + "id": 652, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -61224,12 +62522,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 644, + "id": 715, "name": "default.fetch" } }, { - "id": 589, + "id": 643, "name": "headers", "kind": 1024, "kindString": "Property", @@ -61239,34 +62537,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 639, + "id": 710, "name": "default.headers" } }, { - "id": 599, + "id": 653, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -61276,7 +62564,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -61286,12 +62574,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 649, + "id": 720, "name": "default.isMaybeSingle" } }, { - "id": 587, + "id": 641, "name": "method", "kind": 1024, "kindString": "Property", @@ -61301,7 +62589,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -61332,12 +62620,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 708, "name": "default.method" } }, { - "id": 590, + "id": 644, "name": "schema", "kind": 1024, "kindString": "Property", @@ -61348,7 +62636,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -61358,18 +62646,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 640, + "id": 711, "name": "default.schema" } }, { - "id": 592, + "id": 646, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 713, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 647, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 714, + "name": "default.signal" + } + }, + { + "id": 642, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -61377,60 +62719,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 642, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 593, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 643, - "name": "default.signal" - } - }, - { - "id": 588, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -61439,12 +62727,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 638, + "id": 709, "name": "default.url" } }, { - "id": 559, + "id": 610, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -61452,13 +62740,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 560, + "id": 611, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -61468,7 +62756,7 @@ }, "parameters": [ { - "id": 561, + "id": 612, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -61486,32 +62774,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -61520,7 +62818,7 @@ ] }, { - "id": 568, + "id": 619, "name": "csv", "kind": 2048, "kindString": "Method", @@ -61528,13 +62826,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 569, + "id": 620, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -61544,8 +62842,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -61561,7 +62864,7 @@ ] }, { - "id": 572, + "id": 623, "name": "explain", "kind": 2048, "kindString": "Method", @@ -61569,13 +62872,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 573, + "id": 624, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -61586,7 +62889,7 @@ }, "parameters": [ { - "id": 574, + "id": 625, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -61598,14 +62901,14 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 627, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -61618,7 +62921,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -61628,7 +62931,7 @@ } }, { - "id": 579, + "id": 630, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -61641,7 +62944,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -61651,7 +62954,7 @@ } }, { - "id": 581, + "id": 632, "name": "format", "kind": 1024, "kindString": "Property", @@ -61664,7 +62967,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -61683,7 +62986,7 @@ } }, { - "id": 578, + "id": 629, "name": "settings", "kind": 1024, "kindString": "Property", @@ -61696,7 +62999,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -61706,7 +63009,7 @@ } }, { - "id": 577, + "id": 628, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -61719,7 +63022,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -61729,7 +63032,7 @@ } }, { - "id": 580, + "id": 631, "name": "wal", "kind": 1024, "kindString": "Property", @@ -61742,7 +63045,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -61756,7 +63059,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 579, 581, 578, 577, 580] + "children": [627, 630, 632, 629, 628, 631] } ] } @@ -61769,8 +63072,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -61784,8 +63092,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -61818,7 +63131,7 @@ ] }, { - "id": 570, + "id": 621, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -61826,13 +63139,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 571, + "id": 622, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -61842,8 +63155,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -61871,7 +63189,7 @@ ] }, { - "id": 544, + "id": 595, "name": "limit", "kind": 2048, "kindString": "Method", @@ -61879,13 +63197,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 545, + "id": 596, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -61895,7 +63213,7 @@ }, "parameters": [ { - "id": 546, + "id": 597, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -61909,7 +63227,7 @@ } }, { - "id": 547, + "id": 598, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -61921,14 +63239,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 549, + "id": 600, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -61941,7 +63259,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -61951,7 +63269,7 @@ } }, { - "id": 550, + "id": 601, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -61964,7 +63282,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -61978,7 +63296,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [600, 601] } ] } @@ -61988,32 +63306,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -62022,7 +63350,161 @@ ] }, { - "id": 565, + "id": 638, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 639, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 640, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 537, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 543, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 534, + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, + "name": "Schema" + }, + { + "type": "reference", + "id": 539, + "name": "Row" + }, + { + "type": "reference", + "id": 540, + "name": "Result" + }, + { + "type": "reference", + "id": 541, + "name": "RelationName" + }, + { + "type": "reference", + "id": 542, + "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + } + } + ] + }, + { + "id": 616, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -62030,13 +63512,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 566, + "id": 617, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -62047,7 +63529,7 @@ }, "typeParameter": [ { - "id": 567, + "id": 618, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -62056,7 +63538,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -62079,8 +63561,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -62090,7 +63577,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -62106,7 +63593,7 @@ ] }, { - "id": 513, + "id": 564, "name": "order", "kind": 2048, "kindString": "Method", @@ -62114,13 +63601,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 514, + "id": 565, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -62131,7 +63618,7 @@ }, "typeParameter": [ { - "id": 515, + "id": 566, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -62144,7 +63631,7 @@ ], "parameters": [ { - "id": 516, + "id": 567, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -62154,13 +63641,13 @@ }, "type": { "type": "reference", - "id": 383, + "id": 413, "name": "ColumnName", "dereferenced": {} } }, { - "id": 517, + "id": 568, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -62173,14 +63660,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 570, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -62193,7 +63680,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 16 } ], @@ -62203,7 +63690,7 @@ } }, { - "id": 520, + "id": 571, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -62216,7 +63703,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 37 } ], @@ -62226,7 +63713,7 @@ } }, { - "id": 521, + "id": 572, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -62239,7 +63726,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 59 } ], @@ -62253,7 +63740,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 520, 521] + "children": [570, 571, 572] } ] } @@ -62262,39 +63749,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 522, + "id": 573, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -62305,7 +63802,7 @@ }, "parameters": [ { - "id": 523, + "id": 574, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -62319,7 +63816,7 @@ } }, { - "id": 524, + "id": 575, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -62332,14 +63829,14 @@ "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 577, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -62352,7 +63849,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 16 } ], @@ -62362,7 +63859,7 @@ } }, { - "id": 527, + "id": 578, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -62375,7 +63872,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 37 } ], @@ -62385,7 +63882,7 @@ } }, { - "id": 528, + "id": 579, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -62398,7 +63895,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 59 } ], @@ -62412,7 +63909,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 528] + "children": [577, 578, 579] } ] } @@ -62421,39 +63918,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 529, + "id": 580, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -62470,7 +63977,7 @@ }, "typeParameter": [ { - "id": 530, + "id": 581, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -62483,7 +63990,7 @@ ], "parameters": [ { - "id": 531, + "id": 582, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -62493,13 +64000,13 @@ }, "type": { "type": "reference", - "id": 398, + "id": 428, "name": "ColumnName", "dereferenced": {} } }, { - "id": 532, + "id": 583, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -62512,14 +64019,14 @@ "type": { "type": "reflection", "declaration": { - "id": 533, + "id": 584, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 585, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -62529,7 +64036,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 16 } ], @@ -62539,7 +64046,7 @@ } }, { - "id": 536, + "id": 587, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -62549,7 +64056,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 59 } ], @@ -62559,7 +64066,7 @@ } }, { - "id": 535, + "id": 586, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -62569,7 +64076,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 37 } ], @@ -62583,7 +64090,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 536, 535] + "children": [585, 587, 586] } ] } @@ -62592,39 +64099,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 537, + "id": 588, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -62641,7 +64158,7 @@ }, "parameters": [ { - "id": 538, + "id": 589, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -62655,7 +64172,7 @@ } }, { - "id": 539, + "id": 590, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -62668,14 +64185,14 @@ "type": { "type": "reflection", "declaration": { - "id": 540, + "id": 591, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 592, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -62685,7 +64202,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 16 } ], @@ -62695,7 +64212,7 @@ } }, { - "id": 543, + "id": 594, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -62705,7 +64222,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 59 } ], @@ -62715,7 +64232,7 @@ } }, { - "id": 542, + "id": 593, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -62725,7 +64242,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 37 } ], @@ -62739,7 +64256,7 @@ { "title": "Properties", "kind": 1024, - "children": [541, 543, 542] + "children": [592, 594, 593] } ] } @@ -62748,32 +64265,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -62782,7 +64309,7 @@ ] }, { - "id": 618, + "id": 672, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -62790,13 +64317,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 619, + "id": 673, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -62813,7 +64340,7 @@ }, "typeParameter": [ { - "id": 620, + "id": 674, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -62823,7 +64350,7 @@ } }, { - "id": 625, + "id": 679, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -62834,14 +64361,14 @@ "type": { "type": "reflection", "declaration": { - "id": 621, + "id": 675, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 676, "name": "merge", "kind": 1024, "kindString": "Property", @@ -62851,7 +64378,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -62865,7 +64392,7 @@ { "title": "Properties", "kind": 1024, - "children": [622] + "children": [676] } ] } @@ -62873,14 +64400,14 @@ "default": { "type": "reflection", "declaration": { - "id": 623, + "id": 677, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 624, + "id": 678, "name": "merge", "kind": 1024, "kindString": "Property", @@ -62888,7 +64415,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -62902,7 +64429,7 @@ { "title": "Properties", "kind": 1024, - "children": [624] + "children": [678] } ] } @@ -62911,8 +64438,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -62920,12 +64452,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -62950,7 +64482,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -62972,7 +64504,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -62980,7 +64512,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -62990,7 +64522,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -63003,17 +64535,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -63025,12 +64557,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -63046,19 +64578,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 672, + "id": 743, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 671, + "id": 742, "name": "default.overrideTypes" } }, { - "id": 551, + "id": 602, "name": "range", "kind": 2048, "kindString": "Method", @@ -63066,13 +64598,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 552, + "id": 603, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -63082,7 +64614,7 @@ }, "parameters": [ { - "id": 553, + "id": 604, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -63096,7 +64628,7 @@ } }, { - "id": 554, + "id": 605, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -63110,7 +64642,7 @@ } }, { - "id": 555, + "id": 606, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -63122,14 +64654,14 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 608, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -63142,7 +64674,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -63152,7 +64684,7 @@ } }, { - "id": 558, + "id": 609, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -63165,7 +64697,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -63179,7 +64711,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [608, 609] } ] } @@ -63189,32 +64721,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -63223,7 +64765,7 @@ ] }, { - "id": 584, + "id": 635, "name": "returns", "kind": 2048, "kindString": "Method", @@ -63231,13 +64773,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 585, + "id": 636, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -63253,7 +64795,7 @@ }, "typeParameter": [ { - "id": 586, + "id": 637, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -63265,16 +64807,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { @@ -63282,12 +64829,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -63295,32 +64842,37 @@ }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "overwrites": { "type": "reference", - "id": 669, + "id": 740, "name": "default.returns" } } ], "overwrites": { "type": "reference", - "id": 668, + "id": 739, "name": "default.returns" } }, { - "id": 582, + "id": 633, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -63328,13 +64880,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 583, + "id": 634, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -63345,32 +64897,42 @@ }, "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -63379,7 +64941,7 @@ ] }, { - "id": 508, + "id": 559, "name": "select", "kind": 2048, "kindString": "Method", @@ -63387,13 +64949,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 509, + "id": 560, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -63404,7 +64966,7 @@ }, "typeParameter": [ { - "id": 510, + "id": 561, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -63419,39 +64981,44 @@ } }, { - "id": 511, + "id": 562, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 537, + "name": "ClientOptions" } ], "name": "GetResult" @@ -63460,7 +65027,7 @@ ], "parameters": [ { - "id": 512, + "id": 563, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -63472,7 +65039,7 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query", "dereferenced": {} } @@ -63480,35 +65047,45 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -63517,7 +65094,7 @@ ] }, { - "id": 602, + "id": 656, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -63525,13 +65102,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 603, + "id": 657, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -63541,7 +65118,7 @@ }, "parameters": [ { - "id": 604, + "id": 658, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -63552,7 +65129,7 @@ } }, { - "id": 605, + "id": 659, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -63565,51 +65142,61 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 653, + "id": 724, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 652, + "id": 723, "name": "default.setHeader" } }, { - "id": 562, + "id": 613, "name": "single", "kind": 2048, "kindString": "Method", @@ -63617,13 +65204,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 563, + "id": 614, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -63634,7 +65221,7 @@ }, "typeParameter": [ { - "id": 564, + "id": 615, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -63643,7 +65230,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -63666,11 +65253,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -63684,7 +65276,7 @@ ] }, { - "id": 606, + "id": 660, "name": "then", "kind": 2048, "kindString": "Method", @@ -63692,31 +65284,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 607, + "id": 661, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 608, + "id": 662, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -63724,7 +65316,7 @@ } }, { - "id": 609, + "id": 663, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -63737,7 +65329,7 @@ ], "parameters": [ { - "id": 610, + "id": 664, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -63754,32 +65346,32 @@ { "type": "reflection", "declaration": { - "id": 611, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 612, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 613, + "id": 667, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -63792,7 +65384,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -63800,7 +65392,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -63818,7 +65410,7 @@ } }, { - "id": 614, + "id": 668, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -63835,21 +65427,21 @@ { "type": "reflection", "declaration": { - "id": 615, + "id": 669, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 616, + "id": 670, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 617, + "id": 671, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -63865,7 +65457,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -63873,7 +65465,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -63899,12 +65491,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -63916,19 +65508,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 657, + "id": 728, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 656, + "id": 727, "name": "default.then" } }, { - "id": 600, + "id": 654, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -63936,13 +65528,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 601, + "id": 655, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -63956,43 +65548,58 @@ "types": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" }, { @@ -64006,14 +65613,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 651, + "id": 722, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 650, + "id": 721, "name": "default.throwOnError" } } @@ -64022,31 +65629,43 @@ { "title": "Constructors", "kind": 512, - "children": [500] + "children": [535] }, { "title": "Properties", "kind": 1024, - "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] + "children": [645, 648, 643, 653, 641, 644, 646, 647, 642] }, { "title": "Methods", "kind": 2048, "children": [ - 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 + 610, 619, 623, 621, 595, 638, 616, 564, 672, 602, 635, 633, 559, 656, 613, 660, 654 ] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 5, + "line": 11, "character": 21 } ], "typeParameter": [ { - "id": 626, + "id": 680, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 681, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -64057,7 +65676,7 @@ } }, { - "id": 627, + "id": 682, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -64080,14 +65699,14 @@ } }, { - "id": 628, + "id": 683, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 629, + "id": 684, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -64098,7 +65717,7 @@ } }, { - "id": 630, + "id": 685, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -64107,16 +65726,32 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 686, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" } ], @@ -64126,20 +65761,20 @@ "extendedBy": [ { "type": "reference", - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder" } ] }, { - "id": 695, + "id": 767, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 698, + "id": 770, "name": "count", "kind": 1024, "kindString": "Property", @@ -64157,7 +65792,7 @@ } }, { - "id": 697, + "id": 769, "name": "data", "kind": 1024, "kindString": "Property", @@ -64175,7 +65810,7 @@ } }, { - "id": 696, + "id": 768, "name": "error", "kind": 1024, "kindString": "Property", @@ -64189,10 +65824,10 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default", "dereferenced": { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -64203,7 +65838,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -64217,14 +65852,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -64232,14 +65867,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -64257,7 +65892,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -64275,7 +65910,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -64293,7 +65928,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -64315,7 +65950,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -64324,7 +65959,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -64339,7 +65974,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -64357,7 +65992,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -64375,7 +66010,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -64397,12 +66032,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -64424,7 +66059,7 @@ } }, { - "id": 699, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -64446,7 +66081,7 @@ } }, { - "id": 700, + "id": 772, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -64472,7 +66107,7 @@ { "title": "Properties", "kind": 1024, - "children": [698, 697, 696, 699, 700] + "children": [770, 769, 768, 771, 772] } ], "sources": [ @@ -64490,14 +66125,14 @@ ] }, { - "id": 701, + "id": 773, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 776, "name": "count", "kind": 1024, "kindString": "Property", @@ -64524,7 +66159,7 @@ } }, { - "id": 703, + "id": 775, "name": "data", "kind": 1024, "kindString": "Property", @@ -64538,13 +66173,13 @@ ], "type": { "type": "reference", - "id": 707, + "id": 779, "name": "T", "dereferenced": {} } }, { - "id": 702, + "id": 774, "name": "error", "kind": 1024, "kindString": "Property", @@ -64562,7 +66197,7 @@ } }, { - "id": 705, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -64584,7 +66219,7 @@ } }, { - "id": 706, + "id": 778, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -64610,7 +66245,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 703, 702, 705, 706] + "children": [776, 775, 774, 777, 778] } ], "sources": [ @@ -64622,7 +66257,7 @@ ], "typeParameter": [ { - "id": 707, + "id": 779, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -64637,7 +66272,310 @@ ] }, { - "id": 710, + "id": 784, + "name": "ClientServerOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 785, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 786, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 75, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [786] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 34 + } + ] + } + } + }, + { + "id": 787, + "name": "GetGenericDatabaseWithOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 85, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 788, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 791, + "name": "Opts", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "reflection", + "declaration": { + "id": 789, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 790, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [790] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 37 + } + ] + } + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + } + ], + "name": "IsAny" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + } + } + }, + { + "id": 782, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -64651,7 +66589,7 @@ ], "typeParameter": [ { - "id": 711, + "id": 783, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -64660,14 +66598,14 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 711, + "id": 783, "name": "T" }, { @@ -64681,7 +66619,7 @@ } }, { - "id": 693, + "id": 765, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", @@ -64695,7 +66633,7 @@ ], "typeParameter": [ { - "id": 694, + "id": 766, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -64704,13 +66642,13 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "id": 694, + "id": 766, "name": "T" } } @@ -64719,7 +66657,7 @@ } }, { - "id": 708, + "id": 780, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -64733,7 +66671,7 @@ ], "typeParameter": [ { - "id": 709, + "id": 781, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -64744,14 +66682,14 @@ "type": "union", "types": [ { - "id": 701, + "id": 773, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 776, "name": "count", "kind": 1024, "kindString": "Property", @@ -64778,7 +66716,7 @@ } }, { - "id": 703, + "id": 775, "name": "data", "kind": 1024, "kindString": "Property", @@ -64792,13 +66730,13 @@ ], "type": { "type": "reference", - "id": 707, + "id": 779, "name": "T", "dereferenced": {} } }, { - "id": 702, + "id": 774, "name": "error", "kind": 1024, "kindString": "Property", @@ -64816,7 +66754,7 @@ } }, { - "id": 705, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -64838,7 +66776,7 @@ } }, { - "id": 706, + "id": 778, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -64864,7 +66802,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 703, 702, 705, 706] + "children": [776, 775, 774, 777, 778] } ], "sources": [ @@ -64876,7 +66814,7 @@ ], "typeParameter": [ { - "id": 707, + "id": 779, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -64891,14 +66829,14 @@ ] }, { - "id": 695, + "id": 767, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 698, + "id": 770, "name": "count", "kind": 1024, "kindString": "Property", @@ -64916,7 +66854,7 @@ } }, { - "id": 697, + "id": 769, "name": "data", "kind": 1024, "kindString": "Property", @@ -64934,7 +66872,7 @@ } }, { - "id": 696, + "id": 768, "name": "error", "kind": 1024, "kindString": "Property", @@ -64948,10 +66886,10 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default", "dereferenced": { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -64962,7 +66900,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -64976,14 +66914,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -64991,14 +66929,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -65016,7 +66954,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -65034,7 +66972,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -65052,7 +66990,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -65074,7 +67012,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -65083,7 +67021,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -65098,7 +67036,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -65116,7 +67054,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -65134,7 +67072,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -65156,12 +67094,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -65183,7 +67121,7 @@ } }, { - "id": 699, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -65205,7 +67143,7 @@ } }, { - "id": 700, + "id": 772, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -65231,7 +67169,7 @@ { "title": "Properties", "kind": 1024, - "children": [698, 697, 696, 699, 700] + "children": [770, 769, 768, 771, 772] } ], "sources": [ @@ -65252,7 +67190,7 @@ } }, { - "id": 712, + "id": 792, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -65263,13 +67201,13 @@ "sources": [ { "fileName": "src/select-query-parser/result.ts", - "line": 33, + "line": 37, "character": 12 } ], "typeParameter": [ { - "id": 713, + "id": 793, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -65283,7 +67221,7 @@ } }, { - "id": 714, + "id": 794, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -65309,7 +67247,7 @@ } }, { - "id": 715, + "id": 795, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -65319,7 +67257,7 @@ } }, { - "id": 716, + "id": 796, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -65329,7 +67267,7 @@ } }, { - "id": 717, + "id": 797, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -65341,6 +67279,18 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 798, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } } ], "type": { @@ -65350,7 +67300,7 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 793, "name": "Schema" } ], @@ -65367,7 +67317,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -65394,7 +67344,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -65430,7 +67380,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -65444,7 +67394,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -65478,7 +67428,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -65487,7 +67437,7 @@ }, "trueType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "falseType": { @@ -65497,7 +67447,7 @@ }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } ], @@ -65510,7 +67460,7 @@ }, "falseType": { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } }, @@ -65521,7 +67471,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -65548,7 +67498,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -65559,7 +67509,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -65574,22 +67524,27 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 798, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 793, "name": "Schema" }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" }, { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, { @@ -65666,7 +67621,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 631, + "id": 687, "name": "default" } } @@ -65696,7 +67651,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 681, + "id": 753, "name": "default" } } @@ -65711,7 +67666,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 151, + "id": 165, "name": "default" } } @@ -65726,7 +67681,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 64, + "id": 76, "name": "default" } } @@ -65741,7 +67696,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 499, + "id": 534, "name": "default" } } @@ -65762,17 +67717,17 @@ { "title": "Classes", "kind": 128, - "children": [631, 9, 681, 151, 64, 499] + "children": [687, 9, 753, 165, 76, 534] }, { "title": "Interfaces", "kind": 256, - "children": [695, 701] + "children": [767, 773] }, { "title": "Type Aliases", "kind": 4194304, - "children": [710, 693, 708, 712] + "children": [784, 787, 782, 765, 780, 792] }, { "title": "Variables", @@ -65796,14 +67751,14 @@ "flags": {}, "children": [ { - "id": 618, + "id": 629, "name": "REALTIME_LISTEN_TYPES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 619, + "id": 630, "name": "BROADCAST", "variant": "declaration", "kind": 16, @@ -65813,7 +67768,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L98" } ], "type": { @@ -65822,7 +67777,7 @@ } }, { - "id": 621, + "id": 632, "name": "POSTGRES_CHANGES", "variant": "declaration", "kind": 16, @@ -65832,7 +67787,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L100" } ], "type": { @@ -65841,7 +67796,7 @@ } }, { - "id": 620, + "id": 631, "name": "PRESENCE", "variant": "declaration", "kind": 16, @@ -65851,7 +67806,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L99" } ], "type": { @@ -65860,7 +67815,7 @@ } }, { - "id": 622, + "id": 633, "name": "SYSTEM", "variant": "declaration", "kind": 16, @@ -65870,7 +67825,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L101" } ], "type": { @@ -65882,7 +67837,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [619, 621, 620, 622] + "children": [630, 632, 631, 633] } ], "sources": [ @@ -65890,19 +67845,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L97" } ] }, { - "id": 623, + "id": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 624, + "id": 635, "name": "ALL", "variant": "declaration", "kind": 16, @@ -65912,7 +67867,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L91" } ], "type": { @@ -65921,7 +67876,7 @@ } }, { - "id": 627, + "id": 638, "name": "DELETE", "variant": "declaration", "kind": 16, @@ -65931,7 +67886,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L94" } ], "type": { @@ -65940,7 +67895,7 @@ } }, { - "id": 625, + "id": 636, "name": "INSERT", "variant": "declaration", "kind": 16, @@ -65950,7 +67905,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L92" } ], "type": { @@ -65959,7 +67914,7 @@ } }, { - "id": 626, + "id": 637, "name": "UPDATE", "variant": "declaration", "kind": 16, @@ -65969,7 +67924,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L93" } ], "type": { @@ -65981,7 +67936,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [624, 627, 625, 626] + "children": [635, 638, 636, 637] } ], "sources": [ @@ -65989,19 +67944,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 90, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L90" } ] }, { - "id": 628, + "id": 639, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 630, + "id": 641, "name": "JOIN", "variant": "declaration", "kind": 16, @@ -66011,7 +67966,7 @@ "fileName": "src/RealtimePresence.ts", "line": 37, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L37" } ], "type": { @@ -66020,7 +67975,7 @@ } }, { - "id": 631, + "id": 642, "name": "LEAVE", "variant": "declaration", "kind": 16, @@ -66030,7 +67985,7 @@ "fileName": "src/RealtimePresence.ts", "line": 38, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L38" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L38" } ], "type": { @@ -66039,7 +67994,7 @@ } }, { - "id": 629, + "id": 640, "name": "SYNC", "variant": "declaration", "kind": 16, @@ -66049,7 +68004,7 @@ "fileName": "src/RealtimePresence.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L36" } ], "type": { @@ -66061,7 +68016,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [630, 631, 629] + "children": [641, 642, 640] } ], "sources": [ @@ -66069,19 +68024,19 @@ "fileName": "src/RealtimePresence.ts", "line": 35, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L35" } ] }, { - "id": 632, + "id": 643, "name": "REALTIME_SUBSCRIBE_STATES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 636, + "id": 647, "name": "CHANNEL_ERROR", "variant": "declaration", "kind": 16, @@ -66091,7 +68046,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L108" } ], "type": { @@ -66100,7 +68055,7 @@ } }, { - "id": 635, + "id": 646, "name": "CLOSED", "variant": "declaration", "kind": 16, @@ -66110,7 +68065,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L107" } ], "type": { @@ -66119,7 +68074,7 @@ } }, { - "id": 633, + "id": 644, "name": "SUBSCRIBED", "variant": "declaration", "kind": 16, @@ -66129,7 +68084,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L105" } ], "type": { @@ -66138,7 +68093,7 @@ } }, { - "id": 634, + "id": 645, "name": "TIMED_OUT", "variant": "declaration", "kind": 16, @@ -66148,7 +68103,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L106" } ], "type": { @@ -66160,7 +68115,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [636, 635, 633, 634] + "children": [647, 646, 644, 645] } ], "sources": [ @@ -66168,12 +68123,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 104, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L104" } ] }, { - "id": 65, + "id": 59, "name": "RealtimeChannel", "variant": "declaration", "kind": 128, @@ -66188,7 +68143,7 @@ }, "children": [ { - "id": 76, + "id": 70, "name": "constructor", "variant": "declaration", "kind": 512, @@ -66198,12 +68153,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "signatures": [ { - "id": 77, + "id": 71, "name": "RealtimeChannel", "variant": "signature", "kind": 16384, @@ -66213,12 +68168,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "parameters": [ { - "id": 78, + "id": 72, "name": "topic", "variant": "param", "kind": 32768, @@ -66237,28 +68192,28 @@ } }, { - "id": 79, + "id": 73, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 80, + "id": 74, "name": "socket", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -66267,7 +68222,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -66276,7 +68231,7 @@ ] }, { - "id": 81, + "id": 75, "name": "bindings", "variant": "declaration", "kind": 1024, @@ -66286,13 +68241,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "type": { "type": "reflection", "declaration": { - "id": 82, + "id": 76, "name": "__type", "variant": "declaration", "kind": 65536, @@ -66302,12 +68257,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "indexSignatures": [ { - "id": 83, + "id": 77, "name": "__index", "variant": "signature", "kind": 8192, @@ -66317,12 +68272,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ], "parameters": [ { - "id": 84, + "id": 78, "name": "key", "variant": "param", "kind": 32768, @@ -66338,14 +68293,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 85, + "id": 79, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 91, + "id": 85, "name": "callback", "variant": "declaration", "kind": 1024, @@ -66355,7 +68310,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 132, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L132" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L132" } ], "type": { @@ -66369,7 +68324,7 @@ } }, { - "id": 87, + "id": 81, "name": "filter", "variant": "declaration", "kind": 1024, @@ -66379,13 +68334,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 82, "name": "__type", "variant": "declaration", "kind": 65536, @@ -66395,12 +68350,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "indexSignatures": [ { - "id": 89, + "id": 83, "name": "__index", "variant": "signature", "kind": 8192, @@ -66410,12 +68365,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "parameters": [ { - "id": 90, + "id": 84, "name": "key", "variant": "param", "kind": 32768, @@ -66436,7 +68391,7 @@ } }, { - "id": 92, + "id": 86, "name": "id", "variant": "declaration", "kind": 1024, @@ -66448,7 +68403,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 133, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L133" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L133" } ], "type": { @@ -66457,7 +68412,7 @@ } }, { - "id": 86, + "id": 80, "name": "type", "variant": "declaration", "kind": 1024, @@ -66467,7 +68422,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 130, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L130" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L130" } ], "type": { @@ -66479,7 +68434,7 @@ "groups": [ { "title": "Properties", - "children": [91, 87, 92, 86] + "children": [85, 81, 86, 80] } ], "sources": [ @@ -66487,7 +68442,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 19, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ] } @@ -66500,7 +68455,7 @@ "defaultValue": "{}" }, { - "id": 100, + "id": 94, "name": "broadcastEndpointURL", "variant": "declaration", "kind": 1024, @@ -66510,7 +68465,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 143, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L143" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L143" } ], "type": { @@ -66519,7 +68474,7 @@ } }, { - "id": 95, + "id": 89, "name": "joinedOnce", "variant": "declaration", "kind": 1024, @@ -66529,7 +68484,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 138, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L138" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L138" } ], "type": { @@ -66539,7 +68494,7 @@ "defaultValue": "false" }, { - "id": 96, + "id": 90, "name": "joinPush", "variant": "declaration", "kind": 1024, @@ -66549,7 +68504,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 139, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L139" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L139" } ], "type": { @@ -66564,7 +68519,7 @@ } }, { - "id": 104, + "id": 98, "name": "params", "variant": "declaration", "kind": 1024, @@ -66576,19 +68531,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 150, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L150" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L150" } ], "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 99, + "id": 93, "name": "presence", "variant": "declaration", "kind": 1024, @@ -66598,7 +68553,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 142, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L142" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L142" } ], "type": { @@ -66610,7 +68565,7 @@ } }, { - "id": 102, + "id": 96, "name": "private", "variant": "declaration", "kind": 1024, @@ -66620,7 +68575,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 145, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L145" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L145" } ], "type": { @@ -66629,7 +68584,7 @@ } }, { - "id": 98, + "id": 92, "name": "pushBuffer", "variant": "declaration", "kind": 1024, @@ -66639,7 +68594,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 141, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L141" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L141" } ], "type": { @@ -66658,7 +68613,7 @@ "defaultValue": "[]" }, { - "id": 97, + "id": 91, "name": "rejoinTimer", "variant": "declaration", "kind": 1024, @@ -66668,7 +68623,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 140, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L140" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L140" } ], "type": { @@ -66683,7 +68638,7 @@ } }, { - "id": 105, + "id": 99, "name": "socket", "variant": "declaration", "kind": 1024, @@ -66695,19 +68650,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 151, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L151" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L151" } ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 94, + "id": 88, "name": "state", "variant": "declaration", "kind": 1024, @@ -66717,7 +68672,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 137, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L137" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L137" } ], "type": { @@ -66732,7 +68687,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 101, + "id": 95, "name": "subTopic", "variant": "declaration", "kind": 1024, @@ -66742,7 +68697,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 144, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L144" } ], "type": { @@ -66751,7 +68706,7 @@ } }, { - "id": 93, + "id": 87, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -66761,7 +68716,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 136, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L136" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L136" } ], "type": { @@ -66770,7 +68725,7 @@ } }, { - "id": 103, + "id": 97, "name": "topic", "variant": "declaration", "kind": 1024, @@ -66790,7 +68745,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 149, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L149" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L149" } ], "type": { @@ -66799,223 +68754,82 @@ } }, { - "id": 137, + "id": 131, "name": "on", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - }, { "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" }, { "fileName": "src/RealtimeChannel.ts", "line": 360, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" }, { "fileName": "src/RealtimeChannel.ts", "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" }, { "fileName": "src/RealtimeChannel.ts", "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" }, { "fileName": "src/RealtimeChannel.ts", "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" }, { "fileName": "src/RealtimeChannel.ts", "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" }, { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" }, { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" }, { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" }, { "fileName": "src/RealtimeChannel.ts", "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" + }, + { + "fileName": "src/RealtimeChannel.ts", + "line": 419, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L419" } ], "signatures": [ { - "id": 138, - "name": "on", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates an event handler that listens to changes." - } - ] - }, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - } - ], - "parameters": [ - { - "id": 139, - "name": "type", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 140, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 141, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 142, - "name": "event", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ], - "type": { - "type": "literal", - "value": "sync" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [142] - } - ], - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ] - } - } - }, - { - "id": 143, - "name": "callback", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 144, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "signatures": [ - { - "id": 145, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": 65, - "name": "RealtimeChannel", - "package": "@supabase/realtime-js", - "qualifiedName": "default" - } - }, - { - "id": 146, + "id": 132, "name": "on", "variant": "signature", "kind": 4096, @@ -67033,20 +68847,83 @@ "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" } ], - "typeParameters": [ + "parameters": [ { - "id": 147, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 133, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 134, + "name": "filter", + "variant": "param", + "kind": 32768, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 136, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [136] + } + ], + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 12, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ] + } + } + }, + { + "id": 137, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 138, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67054,14 +68931,92 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "signatures": [ + { + "id": 139, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 140, + "name": "on", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates an event handler that listens to changes." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" + } + ], + "typeParameters": [ + { + "id": 141, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "indexSignatures": [ { - "id": 149, + "id": 143, "name": "__index", "variant": "signature", "kind": 8192, @@ -67069,14 +69024,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 360, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "parameters": [ { - "id": 150, + "id": 144, "name": "key", "variant": "param", "kind": 32768, @@ -67099,7 +69054,7 @@ ], "parameters": [ { - "id": 151, + "id": 145, "name": "type", "variant": "param", "kind": 32768, @@ -67110,7 +69065,7 @@ } }, { - "id": 152, + "id": 146, "name": "filter", "variant": "param", "kind": 32768, @@ -67118,14 +69073,14 @@ "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 147, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 154, + "id": 148, "name": "event", "variant": "declaration", "kind": 1024, @@ -67133,9 +69088,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ], "type": { @@ -67147,22 +69102,22 @@ "groups": [ { "title": "Properties", - "children": [154] + "children": [148] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ] } } }, { - "id": 155, + "id": 149, "name": "callback", "variant": "param", "kind": 32768, @@ -67170,7 +69125,7 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 150, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67178,14 +69133,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "signatures": [ { - "id": 157, + "id": 151, "name": "__type", "variant": "signature", "kind": 4096, @@ -67193,25 +69148,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "parameters": [ { - "id": 158, + "id": 152, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 588, + "target": 599, "typeArguments": [ { "type": "reference", - "target": 147, + "target": 141, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -67234,14 +69189,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 159, + "id": 153, "name": "on", "variant": "signature", "kind": 4096, @@ -67257,14 +69212,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "typeParameters": [ { - "id": 160, + "id": 154, "name": "T", "variant": "typeParam", "kind": 131072, @@ -67272,7 +69227,7 @@ "type": { "type": "reflection", "declaration": { - "id": 161, + "id": 155, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67280,14 +69235,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "indexSignatures": [ { - "id": 162, + "id": 156, "name": "__index", "variant": "signature", "kind": 8192, @@ -67295,14 +69250,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "parameters": [ { - "id": 163, + "id": 157, "name": "key", "variant": "param", "kind": 32768, @@ -67325,7 +69280,7 @@ ], "parameters": [ { - "id": 164, + "id": 158, "name": "type", "variant": "param", "kind": 32768, @@ -67336,7 +69291,7 @@ } }, { - "id": 165, + "id": 159, "name": "filter", "variant": "param", "kind": 32768, @@ -67344,14 +69299,14 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 160, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 167, + "id": 161, "name": "event", "variant": "declaration", "kind": 1024, @@ -67359,9 +69314,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ], "type": { @@ -67373,22 +69328,22 @@ "groups": [ { "title": "Properties", - "children": [167] + "children": [161] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ] } } }, { - "id": 168, + "id": 162, "name": "callback", "variant": "param", "kind": 32768, @@ -67396,7 +69351,7 @@ "type": { "type": "reflection", "declaration": { - "id": 169, + "id": 163, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67404,14 +69359,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "signatures": [ { - "id": 170, + "id": 164, "name": "__type", "variant": "signature", "kind": 4096, @@ -67419,25 +69374,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "parameters": [ { - "id": 171, + "id": 165, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 598, + "target": 609, "typeArguments": [ { "type": "reference", - "target": 160, + "target": 154, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -67460,14 +69415,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 172, + "id": 166, "name": "on", "variant": "signature", "kind": 4096, @@ -67483,14 +69438,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "typeParameters": [ { - "id": 173, + "id": 167, "name": "T", "variant": "typeParam", "kind": 131072, @@ -67498,7 +69453,7 @@ "type": { "type": "reflection", "declaration": { - "id": 174, + "id": 168, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67506,14 +69461,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "indexSignatures": [ { - "id": 175, + "id": 169, "name": "__index", "variant": "signature", "kind": 8192, @@ -67521,14 +69476,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "parameters": [ { - "id": 176, + "id": 170, "name": "key", "variant": "param", "kind": 32768, @@ -67551,7 +69506,7 @@ ], "parameters": [ { - "id": 177, + "id": 171, "name": "type", "variant": "param", "kind": 32768, @@ -67562,14 +69517,14 @@ } }, { - "id": 178, + "id": 172, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -67581,7 +69536,7 @@ } }, { - "id": 179, + "id": 173, "name": "callback", "variant": "param", "kind": 32768, @@ -67589,7 +69544,7 @@ "type": { "type": "reflection", "declaration": { - "id": 180, + "id": 174, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67597,14 +69552,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "signatures": [ { - "id": 181, + "id": 175, "name": "__type", "variant": "signature", "kind": 4096, @@ -67612,25 +69567,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "parameters": [ { - "id": 182, + "id": 176, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 554, + "target": 565, "typeArguments": [ { "type": "reference", - "target": 173, + "target": 167, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -67653,14 +69608,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 183, + "id": 177, "name": "on", "variant": "signature", "kind": 4096, @@ -67676,14 +69631,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "typeParameters": [ { - "id": 184, + "id": 178, "name": "T", "variant": "typeParam", "kind": 131072, @@ -67691,7 +69646,7 @@ "type": { "type": "reflection", "declaration": { - "id": 185, + "id": 179, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67699,14 +69654,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "indexSignatures": [ { - "id": 186, + "id": 180, "name": "__index", "variant": "signature", "kind": 8192, @@ -67714,14 +69669,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "parameters": [ { - "id": 187, + "id": 181, "name": "key", "variant": "param", "kind": 32768, @@ -67744,7 +69699,7 @@ ], "parameters": [ { - "id": 188, + "id": 182, "name": "type", "variant": "param", "kind": 32768, @@ -67755,14 +69710,14 @@ } }, { - "id": 189, + "id": 183, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -67774,7 +69729,7 @@ } }, { - "id": 190, + "id": 184, "name": "callback", "variant": "param", "kind": 32768, @@ -67782,7 +69737,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 185, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67790,14 +69745,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "signatures": [ { - "id": 192, + "id": 186, "name": "__type", "variant": "signature", "kind": 4096, @@ -67805,25 +69760,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "parameters": [ { - "id": 193, + "id": 187, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 184, + "target": 178, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -67846,14 +69801,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 194, + "id": 188, "name": "on", "variant": "signature", "kind": 4096, @@ -67869,14 +69824,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "typeParameters": [ { - "id": 195, + "id": 189, "name": "T", "variant": "typeParam", "kind": 131072, @@ -67884,7 +69839,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 190, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67892,14 +69847,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "indexSignatures": [ { - "id": 197, + "id": 191, "name": "__index", "variant": "signature", "kind": 8192, @@ -67907,14 +69862,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "parameters": [ { - "id": 198, + "id": 192, "name": "key", "variant": "param", "kind": 32768, @@ -67937,7 +69892,7 @@ ], "parameters": [ { - "id": 199, + "id": 193, "name": "type", "variant": "param", "kind": 32768, @@ -67948,14 +69903,14 @@ } }, { - "id": 200, + "id": 194, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -67967,7 +69922,7 @@ } }, { - "id": 201, + "id": 195, "name": "callback", "variant": "param", "kind": 32768, @@ -67975,7 +69930,7 @@ "type": { "type": "reflection", "declaration": { - "id": 202, + "id": 196, "name": "__type", "variant": "declaration", "kind": 65536, @@ -67983,14 +69938,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "signatures": [ { - "id": 203, + "id": 197, "name": "__type", "variant": "signature", "kind": 4096, @@ -67998,25 +69953,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "parameters": [ { - "id": 204, + "id": 198, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 195, + "target": 189, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -68039,14 +69994,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 205, + "id": 199, "name": "on", "variant": "signature", "kind": 4096, @@ -68062,14 +70017,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "typeParameters": [ { - "id": 206, + "id": 200, "name": "T", "variant": "typeParam", "kind": 131072, @@ -68077,7 +70032,7 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 201, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68085,14 +70040,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "indexSignatures": [ { - "id": 208, + "id": 202, "name": "__index", "variant": "signature", "kind": 8192, @@ -68100,14 +70055,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "parameters": [ { - "id": 209, + "id": 203, "name": "key", "variant": "param", "kind": 32768, @@ -68130,7 +70085,7 @@ ], "parameters": [ { - "id": 210, + "id": 204, "name": "type", "variant": "param", "kind": 32768, @@ -68141,14 +70096,14 @@ } }, { - "id": 211, + "id": 205, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -68160,7 +70115,7 @@ } }, { - "id": 212, + "id": 206, "name": "callback", "variant": "param", "kind": 32768, @@ -68168,7 +70123,7 @@ "type": { "type": "reflection", "declaration": { - "id": 213, + "id": 207, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68176,14 +70131,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "signatures": [ { - "id": 214, + "id": 208, "name": "__type", "variant": "signature", "kind": 4096, @@ -68191,25 +70146,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "parameters": [ { - "id": 215, + "id": 209, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 206, + "target": 200, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -68232,14 +70187,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 216, + "id": 210, "name": "on", "variant": "signature", "kind": 4096, @@ -68255,14 +70210,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" } ], "parameters": [ { - "id": 217, + "id": 211, "name": "type", "variant": "param", "kind": 32768, @@ -68281,7 +70236,7 @@ } }, { - "id": 218, + "id": 212, "name": "filter", "variant": "param", "kind": 32768, @@ -68297,14 +70252,14 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 220, + "id": 214, "name": "event", "variant": "declaration", "kind": 1024, @@ -68312,9 +70267,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ], "type": { @@ -68326,22 +70281,22 @@ "groups": [ { "title": "Properties", - "children": [220] + "children": [214] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ] } } }, { - "id": 221, + "id": 215, "name": "callback", "variant": "param", "kind": 32768, @@ -68357,7 +70312,7 @@ "type": { "type": "reflection", "declaration": { - "id": 222, + "id": 216, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68365,14 +70320,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "signatures": [ { - "id": 223, + "id": 217, "name": "__type", "variant": "signature", "kind": 4096, @@ -68380,14 +70335,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "parameters": [ { - "id": 224, + "id": 218, "name": "payload", "variant": "param", "kind": 32768, @@ -68395,14 +70350,14 @@ "type": { "type": "reflection", "declaration": { - "id": 225, + "id": 219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 227, + "id": 221, "name": "event", "variant": "declaration", "kind": 1024, @@ -68410,9 +70365,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 396, + "line": 401, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L396" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L401" } ], "type": { @@ -68421,7 +70376,7 @@ } }, { - "id": 226, + "id": 220, "name": "type", "variant": "declaration", "kind": 1024, @@ -68429,9 +70384,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 395, + "line": 400, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L400" } ], "type": { @@ -68443,20 +70398,20 @@ "groups": [ { "title": "Properties", - "children": [227, 226] + "children": [221, 220] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "indexSignatures": [ { - "id": 228, + "id": 222, "name": "__index", "variant": "signature", "kind": 8192, @@ -68464,14 +70419,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 397, + "line": 402, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L397" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L402" } ], "parameters": [ { - "id": 229, + "id": 223, "name": "key", "variant": "param", "kind": 32768, @@ -68504,14 +70459,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 230, + "id": 224, "name": "on", "variant": "signature", "kind": 4096, @@ -68527,14 +70482,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "typeParameters": [ { - "id": 231, + "id": 225, "name": "T", "variant": "typeParam", "kind": 131072, @@ -68542,7 +70497,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 226, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68550,14 +70505,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "indexSignatures": [ { - "id": 233, + "id": 227, "name": "__index", "variant": "signature", "kind": 8192, @@ -68565,14 +70520,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "parameters": [ { - "id": 234, + "id": 228, "name": "key", "variant": "param", "kind": 32768, @@ -68595,7 +70550,7 @@ ], "parameters": [ { - "id": 235, + "id": 229, "name": "type", "variant": "param", "kind": 32768, @@ -68606,7 +70561,7 @@ } }, { - "id": 236, + "id": 230, "name": "filter", "variant": "param", "kind": 32768, @@ -68614,14 +70569,14 @@ "type": { "type": "reflection", "declaration": { - "id": 237, + "id": 231, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 238, + "id": 232, "name": "event", "variant": "declaration", "kind": 1024, @@ -68629,9 +70584,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ], "type": { @@ -68643,22 +70598,22 @@ "groups": [ { "title": "Properties", - "children": [238] + "children": [232] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ] } } }, { - "id": 239, + "id": 233, "name": "callback", "variant": "param", "kind": 32768, @@ -68666,7 +70621,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 234, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68674,14 +70629,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "signatures": [ { - "id": 241, + "id": 235, "name": "__type", "variant": "signature", "kind": 4096, @@ -68689,14 +70644,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "parameters": [ { - "id": 242, + "id": 236, "name": "payload", "variant": "param", "kind": 32768, @@ -68704,14 +70659,14 @@ "type": { "type": "reflection", "declaration": { - "id": 243, + "id": 237, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 245, + "id": 239, "name": "event", "variant": "declaration", "kind": 1024, @@ -68719,9 +70674,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 405, + "line": 410, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L405" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L410" } ], "type": { @@ -68730,7 +70685,7 @@ } }, { - "id": 246, + "id": 240, "name": "payload", "variant": "declaration", "kind": 1024, @@ -68738,21 +70693,21 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 406, + "line": 411, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L406" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L411" } ], "type": { "type": "reference", - "target": 231, + "target": 225, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 244, + "id": 238, "name": "type", "variant": "declaration", "kind": 1024, @@ -68760,9 +70715,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 404, + "line": 409, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L404" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L409" } ], "type": { @@ -68774,15 +70729,15 @@ "groups": [ { "title": "Properties", - "children": [245, 246, 244] + "children": [239, 240, 238] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ] } @@ -68801,14 +70756,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 247, + "id": 241, "name": "on", "variant": "signature", "kind": 4096, @@ -68824,14 +70779,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "typeParameters": [ { - "id": 248, + "id": 242, "name": "T", "variant": "typeParam", "kind": 131072, @@ -68839,7 +70794,7 @@ "type": { "type": "reflection", "declaration": { - "id": 249, + "id": 243, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68847,14 +70802,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "indexSignatures": [ { - "id": 250, + "id": 244, "name": "__index", "variant": "signature", "kind": 8192, @@ -68862,14 +70817,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "parameters": [ { - "id": 251, + "id": 245, "name": "key", "variant": "param", "kind": 32768, @@ -68892,7 +70847,7 @@ ], "parameters": [ { - "id": 252, + "id": 246, "name": "type", "variant": "param", "kind": 32768, @@ -68903,7 +70858,7 @@ } }, { - "id": 253, + "id": 247, "name": "filter", "variant": "param", "kind": 32768, @@ -68911,7 +70866,7 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 248, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68920,7 +70875,7 @@ } }, { - "id": 255, + "id": 249, "name": "callback", "variant": "param", "kind": 32768, @@ -68928,7 +70883,7 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 250, "name": "__type", "variant": "declaration", "kind": 65536, @@ -68936,14 +70891,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "signatures": [ { - "id": 257, + "id": 251, "name": "__type", "variant": "signature", "kind": 4096, @@ -68951,14 +70906,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "parameters": [ { - "id": 258, + "id": 252, "name": "payload", "variant": "param", "kind": 32768, @@ -68981,7 +70936,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -68990,7 +70945,7 @@ ] }, { - "id": 114, + "id": 108, "name": "presenceState", "variant": "declaration", "kind": 2048, @@ -68998,14 +70953,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "signatures": [ { - "id": 115, + "id": 109, "name": "presenceState", "variant": "signature", "kind": 4096, @@ -69013,14 +70968,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "typeParameters": [ { - "id": 116, + "id": 110, "name": "T", "variant": "typeParam", "kind": 131072, @@ -69028,7 +70983,7 @@ "type": { "type": "reflection", "declaration": { - "id": 117, + "id": 111, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69036,14 +70991,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "indexSignatures": [ { - "id": 118, + "id": 112, "name": "__index", "variant": "signature", "kind": 8192, @@ -69051,14 +71006,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "parameters": [ { - "id": 119, + "id": 113, "name": "key", "variant": "param", "kind": 32768, @@ -69080,7 +71035,7 @@ "default": { "type": "reflection", "declaration": { - "id": 120, + "id": 114, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69091,11 +71046,11 @@ ], "type": { "type": "reference", - "target": 608, + "target": 619, "typeArguments": [ { "type": "reference", - "target": 116, + "target": 110, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -69108,7 +71063,7 @@ ] }, { - "id": 259, + "id": 253, "name": "send", "variant": "declaration", "kind": 2048, @@ -69116,14 +71071,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "signatures": [ { - "id": 260, + "id": 254, "name": "send", "variant": "signature", "kind": 4096, @@ -69139,14 +71094,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "parameters": [ { - "id": 261, + "id": 255, "name": "args", "variant": "param", "kind": 32768, @@ -69162,14 +71117,14 @@ "type": { "type": "reflection", "declaration": { - "id": 262, + "id": 256, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 264, + "id": 258, "name": "event", "variant": "declaration", "kind": 1024, @@ -69185,9 +71140,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 433, + "line": 448, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L433" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L448" } ], "type": { @@ -69196,7 +71151,7 @@ } }, { - "id": 265, + "id": 259, "name": "payload", "variant": "declaration", "kind": 1024, @@ -69214,9 +71169,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 434, + "line": 449, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L434" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L449" } ], "type": { @@ -69225,7 +71180,7 @@ } }, { - "id": 263, + "id": 257, "name": "type", "variant": "declaration", "kind": 1024, @@ -69241,9 +71196,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 432, + "line": 447, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L432" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L447" } ], "type": { @@ -69268,20 +71223,20 @@ "groups": [ { "title": "Properties", - "children": [264, 265, 263] + "children": [258, 259, 257] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 431, + "line": 446, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L431" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L446" } ], "indexSignatures": [ { - "id": 266, + "id": 260, "name": "__index", "variant": "signature", "kind": 8192, @@ -69289,14 +71244,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 435, + "line": 450, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L435" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L450" } ], "parameters": [ { - "id": 267, + "id": 261, "name": "key", "variant": "param", "kind": 32768, @@ -69317,7 +71272,7 @@ } }, { - "id": 268, + "id": 262, "name": "opts", "variant": "param", "kind": 32768, @@ -69333,7 +71288,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 263, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69341,14 +71296,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "indexSignatures": [ { - "id": 270, + "id": 264, "name": "__index", "variant": "signature", "kind": 8192, @@ -69356,14 +71311,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "parameters": [ { - "id": 271, + "id": 265, "name": "key", "variant": "param", "kind": 32768, @@ -69394,7 +71349,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -69406,7 +71361,7 @@ ] }, { - "id": 106, + "id": 100, "name": "subscribe", "variant": "declaration", "kind": 2048, @@ -69416,12 +71371,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "signatures": [ { - "id": 107, + "id": 101, "name": "subscribe", "variant": "signature", "kind": 4096, @@ -69439,12 +71394,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "parameters": [ { - "id": 108, + "id": 102, "name": "callback", "variant": "param", "kind": 32768, @@ -69454,7 +71409,7 @@ "type": { "type": "reflection", "declaration": { - "id": 109, + "id": 103, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69464,12 +71419,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "signatures": [ { - "id": 110, + "id": 104, "name": "__type", "variant": "signature", "kind": 4096, @@ -69479,25 +71434,25 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "parameters": [ { - "id": 111, + "id": 105, "name": "status", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 632, + "target": 643, "name": "REALTIME_SUBSCRIBE_STATES", "package": "@supabase/realtime-js" } }, { - "id": 112, + "id": 106, "name": "err", "variant": "param", "kind": 32768, @@ -69525,7 +71480,7 @@ } }, { - "id": 113, + "id": 107, "name": "timeout", "variant": "param", "kind": 32768, @@ -69539,7 +71494,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -69548,7 +71503,51 @@ ] }, { - "id": 121, + "id": 275, + "name": "teardown", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "signatures": [ + { + "id": 276, + "name": "teardown", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Teardown the channel.\n\nDestroys and stops related timers." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 115, "name": "track", "variant": "declaration", "kind": 2048, @@ -69556,14 +71555,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "signatures": [ { - "id": 122, + "id": 116, "name": "track", "variant": "signature", "kind": 4096, @@ -69571,14 +71570,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "parameters": [ { - "id": 123, + "id": 117, "name": "payload", "variant": "param", "kind": 32768, @@ -69586,7 +71585,7 @@ "type": { "type": "reflection", "declaration": { - "id": 124, + "id": 118, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69594,14 +71593,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "indexSignatures": [ { - "id": 125, + "id": 119, "name": "__index", "variant": "signature", "kind": 8192, @@ -69609,14 +71608,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "parameters": [ { - "id": 126, + "id": 120, "name": "key", "variant": "param", "kind": 32768, @@ -69637,7 +71636,7 @@ } }, { - "id": 127, + "id": 121, "name": "opts", "variant": "param", "kind": 32768, @@ -69645,7 +71644,7 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 122, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69653,14 +71652,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "indexSignatures": [ { - "id": 129, + "id": 123, "name": "__index", "variant": "signature", "kind": 8192, @@ -69668,14 +71667,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "parameters": [ { - "id": 130, + "id": 124, "name": "key", "variant": "param", "kind": 32768, @@ -69706,7 +71705,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -69718,7 +71717,7 @@ ] }, { - "id": 278, + "id": 272, "name": "unsubscribe", "variant": "declaration", "kind": 2048, @@ -69726,14 +71725,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "signatures": [ { - "id": 279, + "id": 273, "name": "unsubscribe", "variant": "signature", "kind": 4096, @@ -69757,14 +71756,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "parameters": [ { - "id": 280, + "id": 274, "name": "timeout", "variant": "param", "kind": 32768, @@ -69808,7 +71807,7 @@ ] }, { - "id": 131, + "id": 125, "name": "untrack", "variant": "declaration", "kind": 2048, @@ -69816,14 +71815,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "signatures": [ { - "id": 132, + "id": 126, "name": "untrack", "variant": "signature", "kind": 4096, @@ -69831,14 +71830,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "parameters": [ { - "id": 133, + "id": 127, "name": "opts", "variant": "param", "kind": 32768, @@ -69846,7 +71845,7 @@ "type": { "type": "reflection", "declaration": { - "id": 134, + "id": 128, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69854,14 +71853,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "indexSignatures": [ { - "id": 135, + "id": 129, "name": "__index", "variant": "signature", "kind": 8192, @@ -69869,14 +71868,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "parameters": [ { - "id": 136, + "id": 130, "name": "key", "variant": "param", "kind": 32768, @@ -69907,7 +71906,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -69919,7 +71918,7 @@ ] }, { - "id": 272, + "id": 266, "name": "updateJoinPayload", "variant": "declaration", "kind": 2048, @@ -69927,14 +71926,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "signatures": [ { - "id": 273, + "id": 267, "name": "updateJoinPayload", "variant": "signature", "kind": 4096, @@ -69942,14 +71941,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 274, + "id": 268, "name": "payload", "variant": "param", "kind": 32768, @@ -69957,7 +71956,7 @@ "type": { "type": "reflection", "declaration": { - "id": 275, + "id": 269, "name": "__type", "variant": "declaration", "kind": 65536, @@ -69965,14 +71964,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 29, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "indexSignatures": [ { - "id": 276, + "id": 270, "name": "__index", "variant": "signature", "kind": 8192, @@ -69980,14 +71979,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 31, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 277, + "id": 271, "name": "key", "variant": "param", "kind": 32768, @@ -70019,15 +72018,15 @@ "groups": [ { "title": "Constructors", - "children": [76] + "children": [70] }, { "title": "Properties", - "children": [81, 100, 95, 96, 104, 99, 102, 98, 97, 105, 94, 101, 93, 103] + "children": [75, 94, 89, 90, 98, 93, 96, 92, 91, 99, 88, 95, 87, 97] }, { "title": "Methods", - "children": [137, 114, 259, 106, 121, 278, 131, 272] + "children": [131, 108, 253, 100, 275, 115, 272, 125, 266] } ], "sources": [ @@ -70035,19 +72034,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 127, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L127" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L127" } ] }, { - "id": 372, + "id": 369, "name": "RealtimeClient", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 373, + "id": 370, "name": "constructor", "variant": "declaration", "kind": 512, @@ -70055,14 +72054,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "signatures": [ { - "id": 374, + "id": 371, "name": "RealtimeClient", "variant": "signature", "kind": 16384, @@ -70078,14 +72077,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "parameters": [ { - "id": 375, + "id": 372, "name": "endPoint", "variant": "param", "kind": 32768, @@ -70104,7 +72103,7 @@ } }, { - "id": 376, + "id": 373, "name": "options", "variant": "param", "kind": 32768, @@ -70113,7 +72112,7 @@ }, "type": { "type": "reference", - "target": 515, + "target": 526, "name": "RealtimeClientOptions", "package": "@supabase/realtime-js", "highlightedProperties": { @@ -70138,7 +72137,7 @@ "headers": [ { "kind": "text", - "text": "The optional headers to pass when connecting." + "text": "Deprecated: headers cannot be set on websocket connections and this option will be removed in the future." } ], "heartbeatIntervalMs": [ @@ -70203,7 +72202,7 @@ ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -70212,7 +72211,7 @@ ] }, { - "id": 419, + "id": 420, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -70220,9 +72219,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -70235,7 +72234,7 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 421, "name": "__type", "variant": "declaration", "kind": 65536, @@ -70243,14 +72242,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "signatures": [ { - "id": 421, + "id": 422, "name": "__type", "variant": "signature", "kind": 4096, @@ -70258,9 +72257,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -70296,7 +72295,7 @@ "defaultValue": "null" }, { - "id": 377, + "id": 374, "name": "accessTokenValue", "variant": "declaration", "kind": 1024, @@ -70304,9 +72303,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 87, + "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L87" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L91" } ], "type": { @@ -70325,7 +72324,7 @@ "defaultValue": "null" }, { - "id": 378, + "id": 375, "name": "apiKey", "variant": "declaration", "kind": 1024, @@ -70333,9 +72332,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 88, + "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L92" } ], "type": { @@ -70354,7 +72353,7 @@ "defaultValue": "null" }, { - "id": 379, + "id": 376, "name": "channels", "variant": "declaration", "kind": 1024, @@ -70362,25 +72361,25 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 89, + "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L93" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, - "defaultValue": "[]" + "defaultValue": "..." }, { - "id": 402, + "id": 403, "name": "conn", "variant": "declaration", "kind": 1024, @@ -70388,9 +72387,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 106, + "line": 112, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L112" } ], "type": { @@ -70403,18 +72402,18 @@ { "type": "reference", "target": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "WebSocketLike" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "WebSocket" }, - "name": "WebSocketLike", - "package": "@supabase/realtime-js" + "name": "WebSocket", + "package": "typescript" } ] }, "defaultValue": "null" }, { - "id": 400, + "id": 401, "name": "decode", "variant": "declaration", "kind": 1024, @@ -70422,9 +72421,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 104, + "line": 110, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L110" } ], "type": { @@ -70438,7 +72437,7 @@ } }, { - "id": 399, + "id": 400, "name": "encode", "variant": "declaration", "kind": 1024, @@ -70446,9 +72445,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 103, + "line": 109, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L103" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L109" } ], "type": { @@ -70462,7 +72461,7 @@ } }, { - "id": 380, + "id": 377, "name": "endPoint", "variant": "declaration", "kind": 1024, @@ -70470,9 +72469,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 90, + "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L94" } ], "type": { @@ -70482,7 +72481,7 @@ "defaultValue": "''" }, { - "id": 411, + "id": 412, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -70490,15 +72489,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 120, + "line": 126, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L120" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L126" } ], "type": { "type": "reflection", "declaration": { - "id": 412, + "id": 413, "name": "__type", "variant": "declaration", "kind": 65536, @@ -70506,7 +72505,7 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 }, { @@ -70517,7 +72516,7 @@ ], "signatures": [ { - "id": 413, + "id": 414, "name": "__type", "variant": "signature", "kind": 4096, @@ -70533,13 +72532,13 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 } ], "parameters": [ { - "id": 414, + "id": 415, "name": "input", "variant": "param", "kind": 32768, @@ -70569,7 +72568,7 @@ } }, { - "id": 415, + "id": 416, "name": "init", "variant": "param", "kind": 32768, @@ -70609,7 +72608,7 @@ } }, { - "id": 416, + "id": 417, "name": "__type", "variant": "signature", "kind": 4096, @@ -70631,7 +72630,7 @@ ], "parameters": [ { - "id": 417, + "id": 418, "name": "input", "variant": "param", "kind": 32768, @@ -70665,7 +72664,7 @@ } }, { - "id": 418, + "id": 419, "name": "init", "variant": "param", "kind": 32768, @@ -70709,25 +72708,39 @@ } }, { - "id": 382, + "id": 379, "name": "headers", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "headers cannot be set on websocket connections" + } + ] + } + ] + }, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "type": { "type": "reflection", "declaration": { - "id": 383, + "id": 380, "name": "__type", "variant": "declaration", "kind": 65536, @@ -70735,14 +72748,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "indexSignatures": [ { - "id": 384, + "id": 381, "name": "__index", "variant": "signature", "kind": 8192, @@ -70750,14 +72763,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "parameters": [ { - "id": 385, + "id": 382, "name": "key", "variant": "param", "kind": 32768, @@ -70776,10 +72789,83 @@ ] } }, - "defaultValue": "DEFAULT_HEADERS" + "defaultValue": "{}" }, { "id": 392, + "name": "heartbeatCallback", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "signatures": [ + { + "id": 394, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "parameters": [ + { + "id": 395, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "noop" + }, + { + "id": 389, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -70787,9 +72873,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 96, + "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L96" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L101" } ], "type": { @@ -70799,7 +72885,7 @@ "defaultValue": "25000" }, { - "id": 393, + "id": 390, "name": "heartbeatTimer", "variant": "declaration", "kind": 1024, @@ -70807,9 +72893,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 97, + "line": 102, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L102" } ], "type": { @@ -70834,7 +72920,7 @@ "defaultValue": "undefined" }, { - "id": 381, + "id": 378, "name": "httpEndpoint", "variant": "declaration", "kind": 1024, @@ -70842,9 +72928,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 91, + "line": 95, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L95" } ], "type": { @@ -70854,7 +72940,7 @@ "defaultValue": "''" }, { - "id": 397, + "id": 398, "name": "logger", "variant": "declaration", "kind": 1024, @@ -70862,9 +72948,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 101, + "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L107" } ], "type": { @@ -70879,7 +72965,7 @@ "defaultValue": "noop" }, { - "id": 398, + "id": 399, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -70889,23 +72975,23 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 102, + "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L102" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L108" } ], "type": { "type": "reference", "target": { - "sourceFileName": "src/lib/constants.ts", - "qualifiedName": "LOG_LEVEL" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" }, - "name": "LOG_LEVEL", + "name": "LogLevel", "package": "@supabase/realtime-js" } }, { - "id": 386, + "id": 383, "name": "params", "variant": "declaration", "kind": 1024, @@ -70915,15 +73001,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "type": { "type": "reflection", "declaration": { - "id": 387, + "id": 384, "name": "__type", "variant": "declaration", "kind": 65536, @@ -70931,14 +73017,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "indexSignatures": [ { - "id": 388, + "id": 385, "name": "__index", "variant": "signature", "kind": 8192, @@ -70946,14 +73032,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "parameters": [ { - "id": 389, + "id": 386, "name": "key", "variant": "param", "kind": 32768, @@ -70975,7 +73061,7 @@ "defaultValue": "{}" }, { - "id": 394, + "id": 391, "name": "pendingHeartbeatRef", "variant": "declaration", "kind": 1024, @@ -70983,9 +73069,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 98, + "line": 103, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L103" } ], "type": { @@ -71004,7 +73090,7 @@ "defaultValue": "null" }, { - "id": 401, + "id": 402, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -71012,9 +73098,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 105, + "line": 111, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L111" } ], "type": { @@ -71028,7 +73114,7 @@ } }, { - "id": 396, + "id": 397, "name": "reconnectTimer", "variant": "declaration", "kind": 1024, @@ -71036,9 +73122,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 100, + "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L106" } ], "type": { @@ -71053,7 +73139,7 @@ } }, { - "id": 395, + "id": 396, "name": "ref", "variant": "declaration", "kind": 1024, @@ -71061,9 +73147,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 99, + "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L105" } ], "type": { @@ -71073,7 +73159,7 @@ "defaultValue": "0" }, { - "id": 403, + "id": 404, "name": "sendBuffer", "variant": "declaration", "kind": 1024, @@ -71081,9 +73167,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 107, + "line": 113, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L113" } ], "type": { @@ -71101,7 +73187,7 @@ "defaultValue": "[]" }, { - "id": 404, + "id": 405, "name": "serializer", "variant": "declaration", "kind": 1024, @@ -71109,9 +73195,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 108, + "line": 114, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L114" } ], "type": { @@ -71127,7 +73213,7 @@ "defaultValue": "..." }, { - "id": 405, + "id": 406, "name": "stateChangeCallbacks", "variant": "declaration", "kind": 1024, @@ -71135,22 +73221,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ], "type": { "type": "reflection", "declaration": { - "id": 406, + "id": 407, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 408, + "id": 409, "name": "close", "variant": "declaration", "kind": 1024, @@ -71158,36 +73244,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 111, + "line": 117, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L111" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Function" - }, - "name": "Function", - "package": "typescript" - } - } - }, - { - "id": 409, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeClient.ts", - "line": 112, - "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L112" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L117" } ], "type": { @@ -71205,16 +73264,16 @@ }, { "id": 410, - "name": "message", + "name": "error", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 113, + "line": 118, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L113" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L118" } ], "type": { @@ -71231,7 +73290,34 @@ } }, { - "id": 407, + "id": 411, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 119, + "character": 4, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L119" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + } + }, + { + "id": 408, "name": "open", "variant": "declaration", "kind": 1024, @@ -71239,9 +73325,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 110, + "line": 116, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L110" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L116" } ], "type": { @@ -71261,15 +73347,15 @@ "groups": [ { "title": "Properties", - "children": [408, 409, 410, 407] + "children": [409, 410, 411, 408] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ] } @@ -71277,7 +73363,7 @@ "defaultValue": "..." }, { - "id": 390, + "id": 387, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -71285,9 +73371,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 94, + "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L99" } ], "type": { @@ -71297,7 +73383,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 391, + "id": 388, "name": "transport", "variant": "declaration", "kind": 1024, @@ -71305,9 +73391,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 95, + "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L95" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L100" } ], "type": { @@ -71330,7 +73416,7 @@ } }, { - "id": 422, + "id": 423, "name": "worker", "variant": "declaration", "kind": 1024, @@ -71340,9 +73426,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 122, + "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L122" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L128" } ], "type": { @@ -71351,7 +73437,7 @@ } }, { - "id": 424, + "id": 425, "name": "workerRef", "variant": "declaration", "kind": 1024, @@ -71361,9 +73447,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 124, + "line": 130, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L124" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L130" } ], "type": { @@ -71377,7 +73463,7 @@ } }, { - "id": 423, + "id": 424, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -71387,9 +73473,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 123, + "line": 129, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L123" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L129" } ], "type": { @@ -71398,7 +73484,7 @@ } }, { - "id": 449, + "id": 450, "name": "channel", "variant": "declaration", "kind": 2048, @@ -71406,14 +73492,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "signatures": [ { - "id": 450, + "id": 451, "name": "channel", "variant": "signature", "kind": 4096, @@ -71421,14 +73507,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "parameters": [ { - "id": 451, + "id": 452, "name": "topic", "variant": "param", "kind": 32768, @@ -71439,14 +73525,14 @@ } }, { - "id": 452, + "id": 453, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, @@ -71455,7 +73541,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -71464,7 +73550,7 @@ ] }, { - "id": 425, + "id": 426, "name": "connect", "variant": "declaration", "kind": 2048, @@ -71472,14 +73558,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "signatures": [ { - "id": 426, + "id": 427, "name": "connect", "variant": "signature", "kind": 4096, @@ -71495,9 +73581,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "type": { @@ -71508,7 +73594,7 @@ ] }, { - "id": 445, + "id": 446, "name": "connectionState", "variant": "declaration", "kind": 2048, @@ -71516,14 +73602,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "signatures": [ { - "id": 446, + "id": 447, "name": "connectionState", "variant": "signature", "kind": 4096, @@ -71539,9 +73625,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "type": { @@ -71557,7 +73643,7 @@ ] }, { - "id": 429, + "id": 430, "name": "disconnect", "variant": "declaration", "kind": 2048, @@ -71565,14 +73651,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "signatures": [ { - "id": 430, + "id": 431, "name": "disconnect", "variant": "signature", "kind": 4096, @@ -71588,14 +73674,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "parameters": [ { - "id": 431, + "id": 432, "name": "code", "variant": "param", "kind": 32768, @@ -71616,7 +73702,7 @@ } }, { - "id": 432, + "id": 433, "name": "reason", "variant": "param", "kind": 32768, @@ -71645,7 +73731,7 @@ ] }, { - "id": 427, + "id": 428, "name": "endpointURL", "variant": "declaration", "kind": 2048, @@ -71653,14 +73739,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "signatures": [ { - "id": 428, + "id": 429, "name": "endpointURL", "variant": "signature", "kind": 4096, @@ -71687,9 +73773,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "type": { @@ -71700,7 +73786,7 @@ ] }, { - "id": 461, + "id": 468, "name": "flushSendBuffer", "variant": "declaration", "kind": 2048, @@ -71708,14 +73794,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "signatures": [ { - "id": 462, + "id": 469, "name": "flushSendBuffer", "variant": "signature", "kind": 4096, @@ -71731,9 +73817,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "type": { @@ -71744,7 +73830,7 @@ ] }, { - "id": 433, + "id": 434, "name": "getChannels", "variant": "declaration", "kind": 2048, @@ -71752,14 +73838,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "signatures": [ { - "id": 434, + "id": 435, "name": "getChannels", "variant": "signature", "kind": 4096, @@ -71775,16 +73861,16 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -71794,7 +73880,7 @@ ] }, { - "id": 447, + "id": 448, "name": "isConnected", "variant": "declaration", "kind": 2048, @@ -71802,14 +73888,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "signatures": [ { - "id": 448, + "id": 449, "name": "isConnected", "variant": "signature", "kind": 4096, @@ -71833,9 +73919,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "type": { @@ -71846,7 +73932,7 @@ ] }, { - "id": 440, + "id": 441, "name": "log", "variant": "declaration", "kind": 2048, @@ -71854,14 +73940,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "signatures": [ { - "id": 441, + "id": 442, "name": "log", "variant": "signature", "kind": 4096, @@ -71885,14 +73971,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "parameters": [ { - "id": 442, + "id": 443, "name": "kind", "variant": "param", "kind": 32768, @@ -71903,7 +73989,7 @@ } }, { - "id": 443, + "id": 444, "name": "msg", "variant": "param", "kind": 32768, @@ -71914,7 +74000,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "variant": "param", "kind": 32768, @@ -71935,7 +74021,109 @@ ] }, { - "id": 453, + "id": 462, + "name": "onHeartbeat", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 463, + "name": "onHeartbeat", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 464, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 466, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 467, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 454, "name": "push", "variant": "declaration", "kind": 2048, @@ -71943,14 +74131,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "signatures": [ { - "id": 454, + "id": 455, "name": "push", "variant": "signature", "kind": 4096, @@ -71966,21 +74154,21 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "parameters": [ { - "id": 455, + "id": 456, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 540, + "target": 551, "name": "RealtimeMessage", "package": "@supabase/realtime-js" } @@ -71994,7 +74182,7 @@ ] }, { - "id": 438, + "id": 439, "name": "removeAllChannels", "variant": "declaration", "kind": 2048, @@ -72002,14 +74190,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "signatures": [ { - "id": 439, + "id": 440, "name": "removeAllChannels", "variant": "signature", "kind": 4096, @@ -72025,9 +74213,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "type": { @@ -72041,7 +74229,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -72054,7 +74242,7 @@ ] }, { - "id": 435, + "id": 436, "name": "removeChannel", "variant": "declaration", "kind": 2048, @@ -72062,14 +74250,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "signatures": [ { - "id": 436, + "id": 437, "name": "removeChannel", "variant": "signature", "kind": 4096, @@ -72085,14 +74273,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "parameters": [ { - "id": 437, + "id": 438, "name": "channel", "variant": "param", "kind": 32768, @@ -72107,7 +74295,7 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -72123,7 +74311,7 @@ "typeArguments": [ { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -72135,7 +74323,7 @@ ] }, { - "id": 459, + "id": 460, "name": "sendHeartbeat", "variant": "declaration", "kind": 2048, @@ -72143,14 +74331,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "signatures": [ { - "id": 460, + "id": 461, "name": "sendHeartbeat", "variant": "signature", "kind": 4096, @@ -72166,9 +74354,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "type": { @@ -72190,7 +74378,7 @@ ] }, { - "id": 456, + "id": 457, "name": "setAuth", "variant": "declaration", "kind": 2048, @@ -72198,14 +74386,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "signatures": [ { - "id": 457, + "id": 458, "name": "setAuth", "variant": "signature", "kind": 4096, @@ -72229,14 +74417,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "parameters": [ { - "id": 458, + "id": 459, "name": "token", "variant": "param", "kind": 32768, @@ -72287,26 +74475,28 @@ "groups": [ { "title": "Constructors", - "children": [373] + "children": [370] }, { "title": "Properties", "children": [ - 419, 377, 378, 379, 402, 400, 399, 380, 411, 382, 392, 393, 381, 397, 398, 386, 394, - 401, 396, 395, 403, 404, 405, 390, 391, 422, 424, 423 + 420, 374, 375, 376, 403, 401, 400, 377, 412, 379, 392, 389, 390, 378, 398, 399, 383, + 391, 402, 397, 396, 404, 405, 406, 387, 388, 423, 425, 424 ] }, { "title": "Methods", - "children": [449, 425, 445, 429, 427, 461, 433, 447, 440, 453, 438, 435, 459, 456] + "children": [ + 450, 426, 446, 430, 428, 468, 434, 448, 441, 462, 454, 439, 436, 460, 457 + ] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 86, + "line": 90, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L86" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L90" } ] }, @@ -72318,7 +74508,7 @@ "flags": {}, "children": [ { - "id": 36, + "id": 30, "name": "constructor", "variant": "declaration", "kind": 512, @@ -72326,14 +74516,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "signatures": [ { - "id": 37, + "id": 31, "name": "RealtimePresence", "variant": "signature", "kind": 16384, @@ -72349,14 +74539,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "parameters": [ { - "id": 38, + "id": 32, "name": "channel", "variant": "param", "kind": 32768, @@ -72371,14 +74561,14 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 39, + "id": 33, "name": "opts", "variant": "param", "kind": 32768, @@ -72419,7 +74609,7 @@ ] }, { - "id": 44, + "id": 38, "name": "caller", "variant": "declaration", "kind": 1024, @@ -72427,22 +74617,22 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ], "type": { "type": "reflection", "declaration": { - "id": 45, + "id": 39, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 46, + "id": 40, "name": "onJoin", "variant": "declaration", "kind": 1024, @@ -72450,9 +74640,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 68, + "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L69" } ], "type": { @@ -72466,7 +74656,7 @@ } }, { - "id": 47, + "id": 41, "name": "onLeave", "variant": "declaration", "kind": 1024, @@ -72474,9 +74664,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 69, + "line": 70, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L70" } ], "type": { @@ -72490,7 +74680,7 @@ } }, { - "id": 48, + "id": 42, "name": "onSync", "variant": "declaration", "kind": 1024, @@ -72498,15 +74688,15 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { "type": "reflection", "declaration": { - "id": 49, + "id": 43, "name": "__type", "variant": "declaration", "kind": 65536, @@ -72514,14 +74704,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "signatures": [ { - "id": 50, + "id": 44, "name": "__type", "variant": "signature", "kind": 4096, @@ -72529,9 +74719,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { @@ -72547,15 +74737,15 @@ "groups": [ { "title": "Properties", - "children": [46, 47, 48] + "children": [40, 41, 42] } ], "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ] } @@ -72563,7 +74753,7 @@ "defaultValue": "..." }, { - "id": 51, + "id": 45, "name": "channel", "variant": "declaration", "kind": 1024, @@ -72581,21 +74771,41 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 43, + "id": 37, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimePresence.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 36, "name": "joinRef", "variant": "declaration", "kind": 1024, @@ -72605,7 +74815,7 @@ "fileName": "src/RealtimePresence.ts", "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L66" } ], "type": { @@ -72624,7 +74834,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 35, "name": "pendingDiffs", "variant": "declaration", "kind": 1024, @@ -72634,7 +74844,7 @@ "fileName": "src/RealtimePresence.ts", "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L65" } ], "type": { @@ -72652,7 +74862,7 @@ "defaultValue": "[]" }, { - "id": 40, + "id": 34, "name": "state", "variant": "declaration", "kind": 1024, @@ -72662,24 +74872,12 @@ "fileName": "src/RealtimePresence.ts", "line": 64, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L64" } ], "type": { "type": "reference", - "target": 608, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], + "target": 619, "name": "RealtimePresenceState", "package": "@supabase/realtime-js" }, @@ -72689,11 +74887,11 @@ "groups": [ { "title": "Constructors", - "children": [36] + "children": [30] }, { "title": "Properties", - "children": [44, 51, 43, 42, 40] + "children": [38, 45, 37, 36, 35, 34] } ], "sources": [ @@ -72701,12 +74899,12 @@ "fileName": "src/RealtimePresence.ts", "line": 63, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L63" } ] }, { - "id": 359, + "id": 355, "name": "RealtimeChannelOptions", "variant": "declaration", "kind": 2097152, @@ -72716,20 +74914,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ], "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 356, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 361, + "id": 357, "name": "config", "variant": "declaration", "kind": 1024, @@ -72739,20 +74937,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ], "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 358, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 363, + "id": 359, "name": "broadcast", "variant": "declaration", "kind": 1024, @@ -72772,20 +74970,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 366, + "id": 362, "name": "ack", "variant": "declaration", "kind": 1024, @@ -72797,7 +74995,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 34, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -72806,7 +75004,7 @@ } }, { - "id": 365, + "id": 361, "name": "self", "variant": "declaration", "kind": 1024, @@ -72818,7 +75016,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -72830,7 +75028,7 @@ "groups": [ { "title": "Properties", - "children": [366, 365] + "children": [362, 361] } ], "sources": [ @@ -72838,14 +75036,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ] } } }, { - "id": 367, + "id": 363, "name": "presence", "variant": "declaration", "kind": 1024, @@ -72865,20 +75063,41 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 364, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 369, + "id": 366, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 26, + "character": 31, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 365, "name": "key", "variant": "declaration", "kind": 1024, @@ -72890,7 +75109,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { @@ -72902,7 +75121,7 @@ "groups": [ { "title": "Properties", - "children": [369] + "children": [366, 365] } ], "sources": [ @@ -72910,14 +75129,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ] } } }, { - "id": 370, + "id": 367, "name": "private", "variant": "declaration", "kind": 1024, @@ -72937,7 +75156,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 30, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L30" } ], "type": { @@ -72949,7 +75168,7 @@ "groups": [ { "title": "Properties", - "children": [363, 367, 370] + "children": [359, 363, 367] } ], "sources": [ @@ -72957,7 +75176,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ] } @@ -72967,7 +75186,7 @@ "groups": [ { "title": "Properties", - "children": [361] + "children": [357] } ], "sources": [ @@ -72975,14 +75194,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 37, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ] } } }, { - "id": 371, + "id": 368, "name": "RealtimeChannelSendResponse", "variant": "declaration", "kind": 2097152, @@ -72992,7 +75211,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 88, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L88" } ], "type": { @@ -73014,7 +75233,7 @@ } }, { - "id": 515, + "id": 526, "name": "RealtimeClientOptions", "variant": "declaration", "kind": 2097152, @@ -73022,22 +75241,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 527, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 537, + "id": 548, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -73047,15 +75266,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 549, "name": "__type", "variant": "declaration", "kind": 65536, @@ -73063,14 +75282,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "signatures": [ { - "id": 539, + "id": 550, "name": "__type", "variant": "signature", "kind": 4096, @@ -73105,7 +75324,7 @@ } }, { - "id": 522, + "id": 533, "name": "decode", "variant": "declaration", "kind": 1024, @@ -73115,9 +75334,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 66, + "line": 70, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L70" } ], "type": { @@ -73131,7 +75350,7 @@ } }, { - "id": 521, + "id": 532, "name": "encode", "variant": "declaration", "kind": 1024, @@ -73141,9 +75360,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 65, + "line": 69, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L69" } ], "type": { @@ -73157,7 +75376,7 @@ } }, { - "id": 534, + "id": 545, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -73167,9 +75386,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 73, + "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L77" } ], "type": { @@ -73183,7 +75402,7 @@ } }, { - "id": 524, + "id": 535, "name": "headers", "variant": "declaration", "kind": 1024, @@ -73193,15 +75412,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 536, "name": "__type", "variant": "declaration", "kind": 65536, @@ -73209,14 +75428,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "indexSignatures": [ { - "id": 526, + "id": 537, "name": "__index", "variant": "signature", "kind": 8192, @@ -73224,14 +75443,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "parameters": [ { - "id": 527, + "id": 538, "name": "key", "variant": "param", "kind": 32768, @@ -73252,7 +75471,7 @@ } }, { - "id": 519, + "id": 530, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -73262,9 +75481,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 63, + "line": 67, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L67" } ], "type": { @@ -73273,7 +75492,7 @@ } }, { - "id": 532, + "id": 543, "name": "log_level", "variant": "declaration", "kind": 1024, @@ -73283,9 +75502,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 71, + "line": 75, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L71" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L75" } ], "type": { @@ -73299,7 +75518,7 @@ } }, { - "id": 520, + "id": 531, "name": "logger", "variant": "declaration", "kind": 1024, @@ -73309,9 +75528,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 64, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L68" } ], "type": { @@ -73325,7 +75544,7 @@ } }, { - "id": 533, + "id": 544, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -73335,9 +75554,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 72, + "line": 76, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L72" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L76" } ], "type": { @@ -73351,7 +75570,7 @@ } }, { - "id": 528, + "id": 539, "name": "params", "variant": "declaration", "kind": 1024, @@ -73361,15 +75580,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 540, "name": "__type", "variant": "declaration", "kind": 65536, @@ -73377,14 +75596,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "indexSignatures": [ { - "id": 530, + "id": 541, "name": "__index", "variant": "signature", "kind": 8192, @@ -73392,14 +75611,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "parameters": [ { - "id": 531, + "id": 542, "name": "key", "variant": "param", "kind": 32768, @@ -73420,7 +75639,7 @@ } }, { - "id": 523, + "id": 534, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -73430,9 +75649,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 67, + "line": 71, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L71" } ], "type": { @@ -73446,7 +75665,7 @@ } }, { - "id": 518, + "id": 529, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -73456,9 +75675,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 62, + "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L66" } ], "type": { @@ -73467,7 +75686,7 @@ } }, { - "id": 517, + "id": 528, "name": "transport", "variant": "declaration", "kind": 1024, @@ -73477,9 +75696,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 61, + "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L61" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L65" } ], "type": { @@ -73493,7 +75712,7 @@ } }, { - "id": 535, + "id": 546, "name": "worker", "variant": "declaration", "kind": 1024, @@ -73503,9 +75722,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 74, + "line": 78, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L74" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L78" } ], "type": { @@ -73514,7 +75733,7 @@ } }, { - "id": 536, + "id": 547, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -73524,9 +75743,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 75, + "line": 79, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L75" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L79" } ], "type": { @@ -73539,23 +75758,23 @@ { "title": "Properties", "children": [ - 537, 522, 521, 534, 524, 519, 532, 520, 533, 528, 523, 518, 517, 535, 536 + 548, 533, 532, 545, 535, 530, 543, 531, 544, 539, 534, 529, 528, 546, 547 ] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 36, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ] } } }, { - "id": 540, + "id": 551, "name": "RealtimeMessage", "variant": "declaration", "kind": 2097152, @@ -73563,22 +75782,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ], "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 552, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 543, + "id": 554, "name": "event", "variant": "declaration", "kind": 1024, @@ -73586,9 +75805,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 34, + "line": 33, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L34" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L33" } ], "type": { @@ -73597,7 +75816,7 @@ } }, { - "id": 546, + "id": 557, "name": "join_ref", "variant": "declaration", "kind": 1024, @@ -73607,9 +75826,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 37, + "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L36" } ], "type": { @@ -73618,7 +75837,7 @@ } }, { - "id": 544, + "id": 555, "name": "payload", "variant": "declaration", "kind": 1024, @@ -73626,9 +75845,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 35, + "line": 34, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L34" } ], "type": { @@ -73637,7 +75856,7 @@ } }, { - "id": 545, + "id": 556, "name": "ref", "variant": "declaration", "kind": 1024, @@ -73645,9 +75864,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 36, + "line": 35, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L35" } ], "type": { @@ -73656,7 +75875,7 @@ } }, { - "id": 542, + "id": 553, "name": "topic", "variant": "declaration", "kind": 1024, @@ -73664,9 +75883,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 33, + "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L33" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L32" } ], "type": { @@ -73678,22 +75897,22 @@ "groups": [ { "title": "Properties", - "children": [543, 546, 544, 545, 542] + "children": [554, 557, 555, 556, 553] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 30, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ] } } }, { - "id": 547, + "id": 558, "name": "RealtimePostgresChangesFilter", "variant": "declaration", "kind": 2097152, @@ -73703,12 +75922,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 67, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L67" } ], "typeParameters": [ { - "id": 553, + "id": 564, "name": "T", "variant": "typeParam", "kind": 131072, @@ -73720,7 +75939,7 @@ [ { "type": "reference", - "target": 623, + "target": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "package": "@supabase/realtime-js" }, @@ -73733,14 +75952,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 549, + "id": 560, "name": "event", "variant": "declaration", "kind": 1024, @@ -73758,19 +75977,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L73" } ], "type": { "type": "reference", - "target": 553, + "target": 564, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 552, + "id": 563, "name": "filter", "variant": "declaration", "kind": 1024, @@ -73790,7 +76009,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L85" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L85" } ], "type": { @@ -73799,7 +76018,7 @@ } }, { - "id": 550, + "id": 561, "name": "schema", "variant": "declaration", "kind": 1024, @@ -73817,7 +76036,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L77" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L77" } ], "type": { @@ -73826,7 +76045,7 @@ } }, { - "id": 551, + "id": 562, "name": "table", "variant": "declaration", "kind": 1024, @@ -73846,7 +76065,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L81" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L81" } ], "type": { @@ -73858,7 +76077,7 @@ "groups": [ { "title": "Properties", - "children": [549, 552, 550, 551] + "children": [560, 563, 561, 562] } ], "sources": [ @@ -73866,14 +76085,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L69" } ] } } }, { - "id": 554, + "id": 565, "name": "RealtimePostgresChangesPayload", "variant": "declaration", "kind": 2097152, @@ -73883,12 +76102,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "typeParameters": [ { - "id": 555, + "id": 566, "name": "T", "variant": "typeParam", "kind": 131072, @@ -73896,7 +76115,7 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 567, "name": "__type", "variant": "declaration", "kind": 65536, @@ -73906,12 +76125,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "indexSignatures": [ { - "id": 557, + "id": 568, "name": "__index", "variant": "signature", "kind": 8192, @@ -73921,12 +76140,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 55, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "parameters": [ { - "id": 558, + "id": 569, "name": "key", "variant": "param", "kind": 32768, @@ -73952,11 +76171,11 @@ "types": [ { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -73967,11 +76186,11 @@ }, { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -73982,11 +76201,11 @@ }, { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -73999,7 +76218,7 @@ } }, { - "id": 578, + "id": 589, "name": "RealtimePostgresDeletePayload", "variant": "declaration", "kind": 2097152, @@ -74009,12 +76228,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "typeParameters": [ { - "id": 584, + "id": 595, "name": "T", "variant": "typeParam", "kind": 131072, @@ -74022,7 +76241,7 @@ "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 596, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74032,12 +76251,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "indexSignatures": [ { - "id": 586, + "id": 597, "name": "__index", "variant": "signature", "kind": 8192, @@ -74047,12 +76266,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "parameters": [ { - "id": 587, + "id": 598, "name": "key", "variant": "param", "kind": 32768, @@ -74088,14 +76307,14 @@ { "type": "reflection", "declaration": { - "id": 579, + "id": 590, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 580, + "id": 591, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -74105,7 +76324,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 57, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L57" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L57" } ], "type": { @@ -74115,7 +76334,7 @@ [ { "type": "reference", - "target": 627, + "target": 638, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE", "package": "@supabase/realtime-js" }, @@ -74125,7 +76344,7 @@ } }, { - "id": 581, + "id": 592, "name": "new", "variant": "declaration", "kind": 1024, @@ -74135,13 +76354,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ], "type": { "type": "reflection", "declaration": { - "id": 582, + "id": 593, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74151,14 +76370,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ] } } }, { - "id": 583, + "id": 594, "name": "old", "variant": "declaration", "kind": 1024, @@ -74168,7 +76387,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 59, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L59" } ], "type": { @@ -74180,7 +76399,7 @@ "typeArguments": [ { "type": "reference", - "target": 584, + "target": 595, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -74194,7 +76413,7 @@ "groups": [ { "title": "Properties", - "children": [580, 581, 583] + "children": [591, 592, 594] } ], "sources": [ @@ -74202,7 +76421,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 56, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L56" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L56" } ] } @@ -74211,7 +76430,7 @@ } }, { - "id": 559, + "id": 570, "name": "RealtimePostgresInsertPayload", "variant": "declaration", "kind": 2097152, @@ -74221,12 +76440,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "typeParameters": [ { - "id": 565, + "id": 576, "name": "T", "variant": "typeParam", "kind": 131072, @@ -74234,7 +76453,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 577, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74244,12 +76463,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "indexSignatures": [ { - "id": 567, + "id": 578, "name": "__index", "variant": "signature", "kind": 8192, @@ -74259,12 +76478,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "parameters": [ { - "id": 568, + "id": 579, "name": "key", "variant": "param", "kind": 32768, @@ -74300,14 +76519,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 571, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 561, + "id": 572, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -74317,7 +76536,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L43" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L43" } ], "type": { @@ -74327,7 +76546,7 @@ [ { "type": "reference", - "target": 625, + "target": 636, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT", "package": "@supabase/realtime-js" }, @@ -74337,7 +76556,7 @@ } }, { - "id": 562, + "id": 573, "name": "new", "variant": "declaration", "kind": 1024, @@ -74347,19 +76566,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L44" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L44" } ], "type": { "type": "reference", - "target": 565, + "target": 576, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 563, + "id": 574, "name": "old", "variant": "declaration", "kind": 1024, @@ -74369,13 +76588,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ], "type": { "type": "reflection", "declaration": { - "id": 564, + "id": 575, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74385,7 +76604,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ] } @@ -74395,7 +76614,7 @@ "groups": [ { "title": "Properties", - "children": [561, 562, 563] + "children": [572, 573, 574] } ], "sources": [ @@ -74403,7 +76622,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 42, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L42" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L42" } ] } @@ -74412,7 +76631,7 @@ } }, { - "id": 569, + "id": 580, "name": "RealtimePostgresUpdatePayload", "variant": "declaration", "kind": 2097152, @@ -74422,12 +76641,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "typeParameters": [ { - "id": 574, + "id": 585, "name": "T", "variant": "typeParam", "kind": 131072, @@ -74435,7 +76654,7 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 586, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74445,12 +76664,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "indexSignatures": [ { - "id": 576, + "id": 587, "name": "__index", "variant": "signature", "kind": 8192, @@ -74460,12 +76679,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "parameters": [ { - "id": 577, + "id": 588, "name": "key", "variant": "param", "kind": 32768, @@ -74501,14 +76720,14 @@ { "type": "reflection", "declaration": { - "id": 570, + "id": 581, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 571, + "id": 582, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -74518,7 +76737,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 50, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L50" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L50" } ], "type": { @@ -74528,7 +76747,7 @@ [ { "type": "reference", - "target": 626, + "target": 637, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE", "package": "@supabase/realtime-js" }, @@ -74538,7 +76757,7 @@ } }, { - "id": 572, + "id": 583, "name": "new", "variant": "declaration", "kind": 1024, @@ -74548,19 +76767,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 51, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L51" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L51" } ], "type": { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 573, + "id": 584, "name": "old", "variant": "declaration", "kind": 1024, @@ -74570,7 +76789,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 52, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L52" } ], "type": { @@ -74582,7 +76801,7 @@ "typeArguments": [ { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -74596,7 +76815,7 @@ "groups": [ { "title": "Properties", - "children": [571, 572, 573] + "children": [582, 583, 584] } ], "sources": [ @@ -74604,7 +76823,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 49, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L49" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L49" } ] } @@ -74613,7 +76832,7 @@ } }, { - "id": 588, + "id": 599, "name": "RealtimePresenceJoinPayload", "variant": "declaration", "kind": 2097152, @@ -74623,12 +76842,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "typeParameters": [ { - "id": 594, + "id": 605, "name": "T", "variant": "typeParam", "kind": 131072, @@ -74636,7 +76855,7 @@ "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 606, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74646,12 +76865,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 50, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "indexSignatures": [ { - "id": 596, + "id": 607, "name": "__index", "variant": "signature", "kind": 8192, @@ -74661,12 +76880,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "parameters": [ { - "id": 597, + "id": 608, "name": "key", "variant": "param", "kind": 32768, @@ -74690,14 +76909,14 @@ "type": { "type": "reflection", "declaration": { - "id": 589, + "id": 600, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 592, + "id": 603, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -74707,7 +76926,7 @@ "fileName": "src/RealtimePresence.ts", "line": 24, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L24" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L24" } ], "type": { @@ -74721,7 +76940,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -74733,7 +76952,7 @@ } }, { - "id": 590, + "id": 601, "name": "event", "variant": "declaration", "kind": 1024, @@ -74743,7 +76962,7 @@ "fileName": "src/RealtimePresence.ts", "line": 22, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L22" } ], "type": { @@ -74753,7 +76972,7 @@ [ { "type": "reference", - "target": 630, + "target": 641, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN", "package": "@supabase/realtime-js" }, @@ -74763,7 +76982,7 @@ } }, { - "id": 591, + "id": 602, "name": "key", "variant": "declaration", "kind": 1024, @@ -74773,7 +76992,7 @@ "fileName": "src/RealtimePresence.ts", "line": 23, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L23" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L23" } ], "type": { @@ -74782,7 +77001,7 @@ } }, { - "id": 593, + "id": 604, "name": "newPresences", "variant": "declaration", "kind": 1024, @@ -74792,7 +77011,7 @@ "fileName": "src/RealtimePresence.ts", "line": 25, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L25" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L25" } ], "type": { @@ -74806,7 +77025,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -74821,7 +77040,7 @@ "groups": [ { "title": "Properties", - "children": [592, 590, 591, 593] + "children": [603, 601, 602, 604] } ], "sources": [ @@ -74829,14 +77048,14 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 76, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ] } } }, { - "id": 598, + "id": 609, "name": "RealtimePresenceLeavePayload", "variant": "declaration", "kind": 2097152, @@ -74846,12 +77065,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "typeParameters": [ { - "id": 604, + "id": 615, "name": "T", "variant": "typeParam", "kind": 131072, @@ -74859,7 +77078,7 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 616, "name": "__type", "variant": "declaration", "kind": 65536, @@ -74869,12 +77088,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 51, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "indexSignatures": [ { - "id": 606, + "id": 617, "name": "__index", "variant": "signature", "kind": 8192, @@ -74884,12 +77103,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "parameters": [ { - "id": 607, + "id": 618, "name": "key", "variant": "param", "kind": 32768, @@ -74913,14 +77132,14 @@ "type": { "type": "reflection", "declaration": { - "id": 599, + "id": 610, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 602, + "id": 613, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -74930,7 +77149,7 @@ "fileName": "src/RealtimePresence.ts", "line": 31, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L31" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L31" } ], "type": { @@ -74944,7 +77163,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -74956,7 +77175,7 @@ } }, { - "id": 600, + "id": 611, "name": "event", "variant": "declaration", "kind": 1024, @@ -74966,7 +77185,7 @@ "fileName": "src/RealtimePresence.ts", "line": 29, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L29" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L29" } ], "type": { @@ -74976,7 +77195,7 @@ [ { "type": "reference", - "target": 631, + "target": 642, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE", "package": "@supabase/realtime-js" }, @@ -74986,7 +77205,7 @@ } }, { - "id": 601, + "id": 612, "name": "key", "variant": "declaration", "kind": 1024, @@ -74996,7 +77215,7 @@ "fileName": "src/RealtimePresence.ts", "line": 30, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L30" } ], "type": { @@ -75005,7 +77224,7 @@ } }, { - "id": 603, + "id": 614, "name": "leftPresences", "variant": "declaration", "kind": 1024, @@ -75015,7 +77234,7 @@ "fileName": "src/RealtimePresence.ts", "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L32" } ], "type": { @@ -75029,7 +77248,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -75044,7 +77263,7 @@ "groups": [ { "title": "Properties", - "children": [602, 600, 601, 603] + "children": [613, 611, 612, 614] } ], "sources": [ @@ -75052,14 +77271,14 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 77, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ] } } }, { - "id": 608, + "id": 619, "name": "RealtimePresenceState", "variant": "declaration", "kind": 2097152, @@ -75069,12 +77288,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "typeParameters": [ { - "id": 612, + "id": 623, "name": "T", "variant": "typeParam", "kind": 131072, @@ -75082,7 +77301,7 @@ "type": { "type": "reflection", "declaration": { - "id": 613, + "id": 624, "name": "__type", "variant": "declaration", "kind": 65536, @@ -75092,12 +77311,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 44, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 614, + "id": 625, "name": "__index", "variant": "signature", "kind": 8192, @@ -75107,12 +77326,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 46, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "parameters": [ { - "id": 615, + "id": 626, "name": "key", "variant": "param", "kind": 32768, @@ -75134,7 +77353,7 @@ "default": { "type": "reflection", "declaration": { - "id": 616, + "id": 627, "name": "__type", "variant": "declaration", "kind": 65536, @@ -75144,7 +77363,7 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 69, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ] } @@ -75154,7 +77373,7 @@ "type": { "type": "reflection", "declaration": { - "id": 609, + "id": 620, "name": "__type", "variant": "declaration", "kind": 65536, @@ -75164,12 +77383,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 75, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 610, + "id": 621, "name": "__index", "variant": "signature", "kind": 8192, @@ -75179,12 +77398,12 @@ "fileName": "src/RealtimePresence.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L18" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L18" } ], "parameters": [ { - "id": 611, + "id": 622, "name": "key", "variant": "param", "kind": 32768, @@ -75206,7 +77425,7 @@ "typeArguments": [ { "type": "reference", - "target": 612, + "target": 623, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -75222,7 +77441,7 @@ } }, { - "id": 617, + "id": 628, "name": "RealtimeRemoveChannelResponse", "variant": "declaration", "kind": 2097152, @@ -75230,9 +77449,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 40, + "line": 39, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L40" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L39" } ], "type": { @@ -75254,7 +77473,7 @@ } }, { - "id": 637, + "id": 648, "name": "REALTIME_CHANNEL_STATES", "variant": "declaration", "kind": 32, @@ -75266,7 +77485,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 111, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L111" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L111" } ], "type": { @@ -75288,19 +77507,19 @@ "groups": [ { "title": "Enumerations", - "children": [618, 623, 628, 632] + "children": [629, 634, 639, 643] }, { "title": "Classes", - "children": [65, 372, 1] + "children": [59, 369, 1] }, { "title": "Type Aliases", - "children": [359, 371, 515, 540, 547, 554, 578, 559, 569, 588, 598, 608, 617] + "children": [355, 368, 526, 551, 558, 565, 589, 570, 580, 599, 609, 619, 628] }, { "title": "Variables", - "children": [637] + "children": [648] } ], "packageName": "@supabase/realtime-js", @@ -75503,98 +77722,118 @@ "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "36": { + "30": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.__constructor" }, - "37": { + "31": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "38": { + "32": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "channel" }, - "39": { + "33": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "opts" }, - "40": { + "34": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.state" }, - "41": { - "sourceFileName": "", - "qualifiedName": "__type" - }, - "42": { + "35": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.pendingDiffs" }, - "43": { + "36": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.joinRef" }, - "44": { + "37": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.enabled" + }, + "38": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.caller" }, - "45": { + "39": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "46": { + "40": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onJoin" }, - "47": { + "41": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onLeave" }, - "48": { + "42": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onSync" }, - "49": { + "43": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "50": { + "44": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "51": { + "45": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.channel" }, - "65": { + "59": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "76": { + "70": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.__constructor" }, - "77": { + "71": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "78": { + "72": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "topic" }, - "79": { + "73": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "params" }, - "80": { + "74": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "socket" }, - "81": { + "75": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.bindings" }, + "76": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "77": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "79": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "80": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "81": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, "82": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" @@ -75605,160 +77844,160 @@ }, "85": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.callback" }, "86": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type.id" }, "87": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" + "qualifiedName": "default.timeout" }, "88": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.state" }, "89": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "91": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.callback" - }, - "92": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.id" - }, - "93": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.timeout" - }, - "94": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.state" - }, - "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinedOnce" }, - "96": { + "90": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinPush" }, - "97": { + "91": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.rejoinTimer" }, - "98": { + "92": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.pushBuffer" }, - "99": { + "93": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presence" }, - "100": { + "94": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.broadcastEndpointURL" }, - "101": { + "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subTopic" }, - "102": { + "96": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.private" }, - "103": { + "97": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.topic" }, - "104": { + "98": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.params" }, - "105": { + "99": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.socket" }, - "106": { + "100": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "107": { + "101": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "108": { + "102": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, - "109": { + "103": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "110": { + "104": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "111": { + "105": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "status" }, - "112": { + "106": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "err" }, - "113": { + "107": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "timeout" }, - "114": { + "108": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "115": { + "109": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "116": { + "110": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, - "117": { + "111": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "118": { + "112": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "120": { + "114": { "sourceFileName": "", "qualifiedName": "__type" }, - "121": { + "115": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "122": { + "116": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "123": { + "117": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "124": { + "118": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "125": { + "119": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, + "121": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "122": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "125": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "126": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, "127": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "opts" @@ -75773,303 +78012,307 @@ }, "131": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "132": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "133": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "type" }, "134": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "filter" }, "135": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" }, "137": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "callback" }, "138": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "139": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "140": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "default.on" }, "141": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "142": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "143": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "144": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "145": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "type" }, "146": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "147": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "148": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "149": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "150": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "151": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "152": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "153": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "154": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "155": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "156": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "157": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "158": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "159": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "160": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "161": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "162": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "163": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "164": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "165": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "166": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "167": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "168": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "169": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "170": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "171": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "172": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "173": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "callback" }, "174": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "175": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "177": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "178": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "179": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "180": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "181": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "182": { + "176": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "183": { + "177": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "184": { + "178": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "179": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "180": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "182": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "183": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "184": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "185": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "186": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "188": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "189": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "190": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "191": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "192": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "193": { + "187": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "194": { + "188": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "195": { + "189": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "190": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "191": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "193": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "194": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "195": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "196": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "197": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "199": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "200": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "201": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "202": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "203": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "204": { + "198": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "205": { + "199": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "206": { + "200": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "201": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "202": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "204": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "205": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "206": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "207": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "208": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "209": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" }, "210": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "default.on" }, "211": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "type" }, "212": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "filter" }, "213": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76077,23 +78320,23 @@ }, "214": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "215": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "callback" }, "216": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "217": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "218": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "219": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76101,87 +78344,87 @@ }, "220": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "221": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "222": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "223": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "224": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "default.on" }, "225": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "226": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "227": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "228": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "230": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "231": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "232": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "233": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "235": { + "229": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "type" }, - "236": { + "230": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, + "231": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "232": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "233": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "234": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "235": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, "237": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "238": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "239": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "240": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.payload" }, "241": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "242": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "T" }, "243": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76189,95 +78432,91 @@ }, "244": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" - }, - "245": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.__index" }, "246": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "type" }, "247": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "248": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "249": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "250": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "252": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "253": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, - "254": { + "248": { "sourceFileName": "", "qualifiedName": "__type" }, - "255": { + "249": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, + "250": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "251": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "252": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "253": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "254": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "255": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "args" + }, "256": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "257": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.type" }, "258": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "__type.event" }, "259": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" + "qualifiedName": "__type.payload" }, "260": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" - }, - "261": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "args" + "qualifiedName": "__type.__index" }, "262": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "opts" }, "263": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "264": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "265": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.__index" }, "266": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.updateJoinPayload" + }, + "267": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" }, "268": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "payload" }, "269": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76289,39 +78528,43 @@ }, "272": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "273": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "274": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "timeout" }, "275": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.teardown" }, "276": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.teardown" }, - "278": { + "355": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "RealtimeChannelOptions" }, - "279": { + "356": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "__type" }, - "280": { + "357": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "timeout" + "qualifiedName": "__type.config" + }, + "358": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "359": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimeChannelOptions" + "qualifiedName": "__type.broadcast" }, "360": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76329,15 +78572,15 @@ }, "361": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.config" + "qualifiedName": "__type.self" }, "362": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.ack" }, "363": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.broadcast" + "qualifiedName": "__type.presence" }, "364": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76345,187 +78588,187 @@ }, "365": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.self" + "qualifiedName": "__type.key" }, "366": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.ack" + "qualifiedName": "__type.enabled" }, "367": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.presence" + "qualifiedName": "__type.private" }, "368": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "369": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.key" - }, - "370": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.private" - }, - "371": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimeChannelSendResponse" }, - "372": { + "369": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "373": { + "370": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.__constructor" }, - "374": { + "371": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "375": { + "372": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "endPoint" }, - "376": { + "373": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "options" }, - "377": { + "374": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.accessTokenValue" }, - "378": { + "375": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.apiKey" }, - "379": { + "376": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.channels" }, - "380": { + "377": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.endPoint" }, - "381": { + "378": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.httpEndpoint" }, - "382": { + "379": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.headers" }, - "383": { + "380": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "384": { + "381": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "386": { + "383": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.params" }, - "387": { + "384": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "388": { + "385": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "390": { + "387": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.timeout" }, - "391": { + "388": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.transport" }, - "392": { + "389": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatIntervalMs" }, - "393": { + "390": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatTimer" }, - "394": { + "391": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.pendingHeartbeatRef" }, - "395": { + "392": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.ref" + "qualifiedName": "default.heartbeatCallback" }, - "396": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectTimer" - }, - "397": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logger" - }, - "398": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logLevel" - }, - "399": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.encode" - }, - "400": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.decode" - }, - "401": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectAfterMs" - }, - "402": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.conn" - }, - "403": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendBuffer" - }, - "404": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.serializer" - }, - "405": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.stateChangeCallbacks" - }, - "406": { + "393": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, + "394": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "395": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "396": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.ref" + }, + "397": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectTimer" + }, + "398": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logger" + }, + "399": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logLevel" + }, + "400": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.encode" + }, + "401": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.decode" + }, + "402": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectAfterMs" + }, + "403": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.conn" + }, + "404": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendBuffer" + }, + "405": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.serializer" + }, + "406": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.stateChangeCallbacks" + }, "407": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.open" + "qualifiedName": "__type" }, "408": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.close" + "qualifiedName": "__type.open" }, "409": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.error" + "qualifiedName": "__type.close" }, "410": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.message" + "qualifiedName": "__type.error" }, "411": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.fetch" + "qualifiedName": "__type.message" }, "412": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.fetch" }, "413": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", @@ -76533,31 +78776,31 @@ }, "414": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "415": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "416": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" }, "417": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "418": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "419": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.accessToken" + "sourceFileName": "node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" }, "420": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.accessToken" }, "421": { "sourceFileName": "src/RealtimeClient.ts", @@ -76565,19 +78808,19 @@ }, "422": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.worker" + "qualifiedName": "__type" }, "423": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerUrl" + "qualifiedName": "default.worker" }, "424": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerRef" + "qualifiedName": "default.workerUrl" }, "425": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connect" + "qualifiedName": "default.workerRef" }, "426": { "sourceFileName": "src/RealtimeClient.ts", @@ -76585,7 +78828,7 @@ }, "427": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.endpointURL" + "qualifiedName": "default.connect" }, "428": { "sourceFileName": "src/RealtimeClient.ts", @@ -76593,7 +78836,7 @@ }, "429": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.disconnect" + "qualifiedName": "default.endpointURL" }, "430": { "sourceFileName": "src/RealtimeClient.ts", @@ -76601,15 +78844,15 @@ }, "431": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "code" + "qualifiedName": "default.disconnect" }, "432": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "reason" + "qualifiedName": "code" }, "433": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.getChannels" + "qualifiedName": "reason" }, "434": { "sourceFileName": "src/RealtimeClient.ts", @@ -76617,7 +78860,7 @@ }, "435": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeChannel" + "qualifiedName": "default.getChannels" }, "436": { "sourceFileName": "src/RealtimeClient.ts", @@ -76625,11 +78868,11 @@ }, "437": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "channel" + "qualifiedName": "default.removeChannel" }, "438": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeAllChannels" + "qualifiedName": "channel" }, "439": { "sourceFileName": "src/RealtimeClient.ts", @@ -76637,7 +78880,7 @@ }, "440": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.log" + "qualifiedName": "default.removeAllChannels" }, "441": { "sourceFileName": "src/RealtimeClient.ts", @@ -76645,19 +78888,19 @@ }, "442": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "kind" + "qualifiedName": "default.log" }, "443": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "msg" + "qualifiedName": "kind" }, "444": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "msg" }, "445": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connectionState" + "qualifiedName": "data" }, "446": { "sourceFileName": "src/RealtimeClient.ts", @@ -76665,7 +78908,7 @@ }, "447": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.isConnected" + "qualifiedName": "default.connectionState" }, "448": { "sourceFileName": "src/RealtimeClient.ts", @@ -76673,7 +78916,7 @@ }, "449": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.channel" + "qualifiedName": "default.isConnected" }, "450": { "sourceFileName": "src/RealtimeClient.ts", @@ -76681,15 +78924,15 @@ }, "451": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "topic" + "qualifiedName": "default.channel" }, "452": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "params" + "qualifiedName": "topic" }, "453": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.push" + "qualifiedName": "params" }, "454": { "sourceFileName": "src/RealtimeClient.ts", @@ -76697,11 +78940,11 @@ }, "455": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "default.push" }, "456": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.setAuth" + "qualifiedName": "data" }, "457": { "sourceFileName": "src/RealtimeClient.ts", @@ -76709,11 +78952,11 @@ }, "458": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "token" + "qualifiedName": "default.setAuth" }, "459": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendHeartbeat" + "qualifiedName": "token" }, "460": { "sourceFileName": "src/RealtimeClient.ts", @@ -76721,235 +78964,223 @@ }, "461": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.flushSendBuffer" + "qualifiedName": "default.sendHeartbeat" }, "462": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "463": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "464": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "callback" + }, + "465": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "466": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "467": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "468": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.flushSendBuffer" }, - "515": { + "469": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeClientOptions" - }, - "516": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "517": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.transport" - }, - "518": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.timeout" - }, - "519": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.heartbeatIntervalMs" - }, - "520": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logger" - }, - "521": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.encode" - }, - "522": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.decode" - }, - "523": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.reconnectAfterMs" - }, - "524": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.headers" - }, - "525": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.flushSendBuffer" }, "526": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "RealtimeClientOptions" + }, + "527": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" }, "528": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.params" + "qualifiedName": "__type.transport" }, "529": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.timeout" }, "530": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.heartbeatIntervalMs" + }, + "531": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.logger" }, "532": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.log_level" + "qualifiedName": "__type.encode" }, "533": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logLevel" + "qualifiedName": "__type.decode" }, "534": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.fetch" + "qualifiedName": "__type.reconnectAfterMs" }, "535": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.worker" + "qualifiedName": "__type.headers" }, "536": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.workerUrl" + "qualifiedName": "__type" }, "537": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.accessToken" - }, - "538": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "539": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.params" }, "540": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeMessage" + "qualifiedName": "__type" }, "541": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "542": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.topic" + "qualifiedName": "__type.__index" }, "543": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.log_level" }, "544": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.logLevel" }, "545": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.ref" + "qualifiedName": "__type.fetch" }, "546": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.join_ref" + "qualifiedName": "__type.worker" }, "547": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.workerUrl" + }, + "548": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.accessToken" + }, + "549": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "550": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "551": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeMessage" + }, + "552": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "553": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.topic" + }, + "554": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.event" + }, + "555": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.payload" + }, + "556": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.ref" + }, + "557": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.join_ref" + }, + "558": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimePostgresChangesFilter" }, - "548": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "549": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "550": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.schema" - }, - "551": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.table" - }, - "552": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" - }, - "553": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "554": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresChangesPayload" - }, - "555": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "556": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "557": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, "559": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresInsertPayload" + "qualifiedName": "__type" }, "560": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "561": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type.schema" }, "562": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.table" }, "563": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.filter" }, "564": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "565": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "RealtimePostgresChangesPayload" }, "566": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "567": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "569": { + "568": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresUpdatePayload" + "qualifiedName": "__type.__index" }, "570": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePostgresInsertPayload" }, "571": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type" }, "572": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.eventType" }, "573": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "574": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "575": { "sourceFileName": "src/RealtimeChannel.ts", @@ -76957,225 +79188,265 @@ }, "576": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "T" + }, + "577": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "578": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresDeletePayload" - }, - "579": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "580": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "RealtimePostgresUpdatePayload" }, "581": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type" }, "582": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.eventType" }, "583": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "584": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "585": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "586": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "588": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceJoinPayload" + "587": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "589": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresDeletePayload" }, "590": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" - }, - "591": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" - }, - "592": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" - }, - "593": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.newPresences" - }, - "594": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" - }, - "595": { - "sourceFileName": "src/RealtimePresence.ts", + "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "596": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "591": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" }, - "598": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceLeavePayload" + "592": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "593": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "594": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "595": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "596": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "597": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "599": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceJoinPayload" }, "600": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "601": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" + "qualifiedName": "__type.event" }, "602": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" + "qualifiedName": "__type.key" }, "603": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.leftPresences" + "qualifiedName": "__type.currentPresences" }, "604": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.newPresences" }, "605": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "606": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "608": { + "607": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceState" + "qualifiedName": "__type.__index" }, "609": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceLeavePayload" }, "610": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "611": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.event" }, "612": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.key" }, "613": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.currentPresences" }, "614": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.leftPresences" + }, + "615": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" }, "616": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, "617": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "619": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceState" + }, + "620": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "621": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "623": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "624": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "625": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "627": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "628": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "RealtimeRemoveChannelResponse" }, - "618": { + "629": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES" }, - "619": { + "630": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST" }, - "620": { + "631": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE" }, - "621": { + "632": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES" }, - "622": { + "633": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM" }, - "623": { + "634": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, - "624": { + "635": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" }, - "625": { + "636": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" }, - "626": { + "637": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" }, - "627": { + "638": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" }, - "628": { + "639": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS" }, - "629": { + "640": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC" }, - "630": { + "641": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, - "631": { + "642": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, - "632": { + "643": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES" }, - "633": { + "644": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED" }, - "634": { + "645": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT" }, - "635": { + "646": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED" }, - "636": { + "647": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR" }, - "637": { + "648": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_CHANNEL_STATES" } @@ -77204,14 +79475,14 @@ "flags": {}, "children": [ { - "id": 498, + "id": 504, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 499, + "id": 505, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -77219,20 +79490,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 17, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 500, + "id": 506, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 501, + "id": 507, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -77243,7 +79514,7 @@ } }, { - "id": 502, + "id": 508, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -77252,28 +79523,39 @@ "type": "intrinsic", "name": "number" } + }, + { + "id": 509, + "name": "statusCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 503, + "id": 510, "name": "status", "kind": 1024, "kindString": "Property", @@ -77291,7 +79573,25 @@ } }, { - "id": 504, + "id": 511, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -77299,13 +79599,13 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 23, + "line": 25, "character": 2 } ], "signatures": [ { - "id": 505, + "id": 513, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -77313,14 +79613,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 508, + "id": 516, "name": "message", "kind": 1024, "kindString": "Property", @@ -77328,7 +79628,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 26, + "line": 28, "character": 6 } ], @@ -77339,30 +79639,11 @@ "defaultValue": "..." }, { - "id": 507, + "id": 515, "name": "name", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 509, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/errors.ts", @@ -77370,18 +79651,56 @@ "character": 6 } ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 517, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 29, + "character": 6 + } + ], "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "..." + }, + { + "id": 518, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 30, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [508, 507, 509] + "children": [516, 515, 517, 518] } ] } @@ -77394,17 +79713,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [505] }, { "title": "Properties", "kind": 1024, - "children": [503] + "children": [510, 511] }, { "title": "Methods", "kind": 2048, - "children": [504] + "children": [512] } ], "sources": [ @@ -77417,20 +79736,20 @@ "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 333, + "id": 335, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 334, + "id": 336, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -77438,20 +79757,20 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 6, + "line": 10, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 337, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 338, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -77462,7 +79781,7 @@ } }, { - "id": 337, + "id": 339, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -77470,20 +79789,20 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 339, + "id": 341, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 340, + "id": 342, "name": "key", "kind": 32768, "flags": {}, @@ -77503,7 +79822,7 @@ "defaultValue": "{}" }, { - "id": 341, + "id": 343, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -77513,21 +79832,21 @@ "type": { "type": "reflection", "declaration": { - "id": 342, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 343, + "id": 345, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 344, + "id": 346, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -77540,7 +79859,7 @@ } }, { - "id": 345, + "id": 347, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -77573,11 +79892,24 @@ ] } } + }, + { + "id": 348, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" }, "overwrites": { @@ -77594,7 +79926,7 @@ } }, { - "id": 376, + "id": 379, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -77602,24 +79934,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 377, + "id": 380, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 378, + "id": 381, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -77633,7 +79965,7 @@ } }, { - "id": 379, + "id": 382, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -77641,14 +79973,14 @@ "type": { "type": "reflection", "declaration": { - "id": 380, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 386, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -77661,7 +79993,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -77683,7 +80015,7 @@ } }, { - "id": 382, + "id": 385, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -77696,7 +80028,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -77719,7 +80051,7 @@ } }, { - "id": 381, + "id": 384, "name": "public", "kind": 1024, "kindString": "Property", @@ -77730,7 +80062,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -77738,13 +80070,64 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 387, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [383, 382, 381] + "children": [386, 385, 384, 387] } ] } @@ -77761,14 +80144,14 @@ { "type": "reflection", "declaration": { - "id": 384, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 385, + "id": 389, "name": "data", "kind": 1024, "kindString": "Property", @@ -77776,7 +80159,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -77785,7 +80168,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -77799,7 +80182,7 @@ } }, { - "id": 386, + "id": 390, "name": "error", "kind": 1024, "kindString": "Property", @@ -77807,7 +80190,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -77821,7 +80204,7 @@ { "title": "Properties", "kind": 1024, - "children": [385, 386] + "children": [389, 390] } ] } @@ -77829,14 +80212,14 @@ { "type": "reflection", "declaration": { - "id": 387, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 388, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -77844,7 +80227,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -77854,7 +80237,7 @@ } }, { - "id": 389, + "id": 393, "name": "error", "kind": 1024, "kindString": "Property", @@ -77862,13 +80245,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -77877,7 +80260,7 @@ { "title": "Properties", "kind": 1024, - "children": [388, 389] + "children": [392, 393] } ] } @@ -77891,19 +80274,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 45, "name": "default.createBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "default.createBucket" } }, { - "id": 417, + "id": 421, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -77911,13 +80294,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 418, + "id": 422, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -77927,7 +80310,7 @@ }, "parameters": [ { - "id": 419, + "id": 423, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -77950,14 +80333,14 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 421, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -77965,21 +80348,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 422, + "id": 426, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 423, + "id": 427, "name": "message", "kind": 1024, "kindString": "Property", @@ -77987,7 +80370,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -78001,14 +80384,14 @@ { "title": "Properties", "kind": 1024, - "children": [423] + "children": [427] } ] } } }, { - "id": 424, + "id": 428, "name": "error", "kind": 1024, "kindString": "Property", @@ -78016,7 +80399,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -78030,7 +80413,7 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424] + "children": [425, 428] } ] } @@ -78038,14 +80421,14 @@ { "type": "reflection", "declaration": { - "id": 425, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 430, "name": "data", "kind": 1024, "kindString": "Property", @@ -78053,7 +80436,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -78063,7 +80446,7 @@ } }, { - "id": 427, + "id": 431, "name": "error", "kind": 1024, "kindString": "Property", @@ -78071,13 +80454,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -78086,7 +80469,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 427] + "children": [430, 431] } ] } @@ -78100,19 +80483,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "default.deleteBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 84, + "id": 86, "name": "default.deleteBucket" } }, { - "id": 406, + "id": 410, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -78120,13 +80503,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 407, + "id": 411, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -78136,7 +80519,7 @@ }, "parameters": [ { - "id": 408, + "id": 412, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -78159,14 +80542,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 413, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 414, "name": "data", "kind": 1024, "kindString": "Property", @@ -78174,21 +80557,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 415, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 412, + "id": 416, "name": "message", "kind": 1024, "kindString": "Property", @@ -78196,7 +80579,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -78210,14 +80593,14 @@ { "title": "Properties", "kind": 1024, - "children": [412] + "children": [416] } ] } } }, { - "id": 413, + "id": 417, "name": "error", "kind": 1024, "kindString": "Property", @@ -78225,7 +80608,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -78239,7 +80622,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 413] + "children": [414, 417] } ] } @@ -78247,14 +80630,14 @@ { "type": "reflection", "declaration": { - "id": 414, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 415, + "id": 419, "name": "data", "kind": 1024, "kindString": "Property", @@ -78262,7 +80645,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -78272,7 +80655,7 @@ } }, { - "id": 416, + "id": 420, "name": "error", "kind": 1024, "kindString": "Property", @@ -78280,13 +80663,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -78295,7 +80678,7 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416] + "children": [419, 420] } ] } @@ -78309,19 +80692,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 74, + "id": 76, "name": "default.emptyBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 75, "name": "default.emptyBucket" } }, { - "id": 346, + "id": 349, "name": "from", "kind": 2048, "kindString": "Method", @@ -78329,13 +80712,13 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 15, + "line": 24, "character": 2 } ], "signatures": [ { - "id": 347, + "id": 350, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -78345,7 +80728,7 @@ }, "parameters": [ { - "id": 348, + "id": 351, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -78361,14 +80744,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 367, + "id": 370, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -78376,13 +80759,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 368, + "id": 371, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -78392,7 +80775,7 @@ }, "parameters": [ { - "id": 369, + "id": 372, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -78412,62 +80795,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 370, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 371, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - }, - { - "id": 372, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [371, 372] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -78486,13 +80813,14 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 69, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 433, + "name": "Bucket" } }, { @@ -78504,14 +80832,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 70, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -78523,6 +80850,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 377, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 73, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 378, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 74, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [377, 378] + } + ] + } } ] } @@ -78533,19 +80916,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 35, + "id": 36, "name": "default.getBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 34, + "id": 35, "name": "default.getBucket" } }, { - "id": 359, + "id": 362, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -78553,13 +80936,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 363, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -78573,65 +80956,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 361, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 362, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - } - }, - { - "id": 363, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [362, 363] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -78650,13 +80974,17 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 40, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "array", + "elementType": { + "type": "reference", + "id": 433, + "name": "Bucket" + } } }, { @@ -78668,14 +80996,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 41, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -78687,6 +81014,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 367, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 44, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 369, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 45, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 369] + } + ] + } } ] } @@ -78697,19 +81080,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 27, + "id": 28, "name": "default.listBuckets" } } ], "inheritedFrom": { "type": "reference", - "id": 26, + "id": 27, "name": "default.listBuckets" } }, { - "id": 390, + "id": 394, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -78717,13 +81100,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 391, + "id": 395, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -78733,7 +81116,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -78747,7 +81130,7 @@ } }, { - "id": 393, + "id": 397, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -78755,14 +81138,14 @@ "type": { "type": "reflection", "declaration": { - "id": 394, + "id": 398, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 401, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -78775,7 +81158,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -78797,7 +81180,7 @@ } }, { - "id": 396, + "id": 400, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -78810,7 +81193,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -78833,7 +81216,7 @@ } }, { - "id": 395, + "id": 399, "name": "public", "kind": 1024, "kindString": "Property", @@ -78844,7 +81227,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -78858,7 +81241,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 396, 395] + "children": [401, 400, 399] } ] } @@ -78874,14 +81257,14 @@ { "type": "reflection", "declaration": { - "id": 398, + "id": 402, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 399, + "id": 403, "name": "data", "kind": 1024, "kindString": "Property", @@ -78889,21 +81272,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 400, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 401, + "id": 405, "name": "message", "kind": 1024, "kindString": "Property", @@ -78911,7 +81294,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -78925,14 +81308,14 @@ { "title": "Properties", "kind": 1024, - "children": [401] + "children": [405] } ] } } }, { - "id": 402, + "id": 406, "name": "error", "kind": 1024, "kindString": "Property", @@ -78940,7 +81323,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -78954,7 +81337,7 @@ { "title": "Properties", "kind": 1024, - "children": [399, 402] + "children": [403, 406] } ] } @@ -78962,14 +81345,14 @@ { "type": "reflection", "declaration": { - "id": 403, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 404, + "id": 408, "name": "data", "kind": 1024, "kindString": "Property", @@ -78977,7 +81360,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -78987,7 +81370,7 @@ } }, { - "id": 405, + "id": 409, "name": "error", "kind": 1024, "kindString": "Property", @@ -78995,13 +81378,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -79010,7 +81393,7 @@ { "title": "Properties", "kind": 1024, - "children": [404, 405] + "children": [408, 409] } ] } @@ -79024,14 +81407,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 58, + "id": 60, "name": "default.updateBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 57, + "id": 59, "name": "default.updateBucket" } } @@ -79040,18 +81423,18 @@ { "title": "Constructors", "kind": 512, - "children": [334] + "children": [336] }, { "title": "Methods", "kind": 2048, - "children": [376, 417, 406, 346, 367, 359, 390] + "children": [379, 421, 410, 349, 370, 362, 394] } ], "sources": [ { "fileName": "src/StorageClient.ts", - "line": 5, + "line": 9, "character": 13 } ], @@ -79064,14 +81447,14 @@ ] }, { - "id": 493, + "id": 499, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 494, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -79085,14 +81468,14 @@ ], "signatures": [ { - "id": 495, + "id": 501, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 502, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -79105,7 +81488,7 @@ ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" }, "overwrites": { @@ -79124,7 +81507,7 @@ { "title": "Constructors", "kind": 512, - "children": [494] + "children": [500] } ], "sources": [ @@ -79145,25 +81528,25 @@ "extendedBy": [ { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" } ] }, { - "id": 511, + "id": 520, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 512, + "id": 521, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -79171,20 +81554,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 35, + "line": 38, "character": 2 } ], "signatures": [ { - "id": 513, + "id": 522, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 523, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -79195,7 +81578,7 @@ } }, { - "id": 515, + "id": 524, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -79208,24 +81591,24 @@ ], "type": { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 516, + "id": 525, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -79233,7 +81616,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 33, + "line": 36, "character": 2 } ], @@ -79247,38 +81630,38 @@ { "title": "Constructors", "kind": 512, - "children": [512] + "children": [521] }, { "title": "Properties", "kind": 1024, - "children": [516] + "children": [525] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 32, + "line": 35, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 428, + "id": 433, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 433, + "id": 439, "name": "allowed_mime_types", "kind": 1024, "kindString": "Property", @@ -79288,7 +81671,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 9, "character": 2 } ], @@ -79301,7 +81684,7 @@ } }, { - "id": 434, + "id": 440, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -79309,7 +81692,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 10, "character": 2 } ], @@ -79319,7 +81702,7 @@ } }, { - "id": 432, + "id": 438, "name": "file_size_limit", "kind": 1024, "kindString": "Property", @@ -79329,7 +81712,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 8, "character": 2 } ], @@ -79339,47 +81722,11 @@ } }, { - "id": 429, + "id": 434, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -79394,6 +81741,42 @@ }, { "id": 436, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, "name": "public", "kind": 1024, "kindString": "Property", @@ -79401,7 +81784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 9, + "line": 12, "character": 2 } ], @@ -79412,6 +81795,54 @@ }, { "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } + }, + { + "id": 441, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -79419,7 +81850,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 8, + "line": 11, "character": 2 } ], @@ -79433,26 +81864,26 @@ { "title": "Properties", "kind": 1024, - "children": [433, 434, 432, 429, 430, 431, 436, 435] + "children": [439, 440, 438, 434, 436, 437, 442, 435, 441] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 3, "character": 17 } ] }, { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -79462,7 +81893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -79476,26 +81907,26 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] }, { - "id": 478, + "id": 484, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 479, + "id": 485, "name": "signal", "kind": 1024, "kindString": "Property", @@ -79508,7 +81939,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 2 } ], @@ -79524,26 +81955,26 @@ { "title": "Properties", "kind": 1024, - "children": [479] + "children": [485] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 104, "character": 17 } ] }, { - "id": 437, + "id": 443, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 439, + "id": 445, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -79551,7 +81982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 14, + "line": 17, "character": 2 } ], @@ -79561,7 +81992,7 @@ } }, { - "id": 446, + "id": 452, "name": "buckets", "kind": 1024, "kindString": "Property", @@ -79569,23 +82000,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 21, + "line": 24, "character": 2 } ], "type": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket", "dereferenced": { - "id": 428, + "id": 433, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 433, + "id": 439, "name": "allowed_mime_types", "kind": 1024, "kindString": "Property", @@ -79595,7 +82026,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 9, "character": 2 } ], @@ -79608,7 +82039,7 @@ } }, { - "id": 434, + "id": 440, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -79616,7 +82047,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 10, "character": 2 } ], @@ -79626,7 +82057,7 @@ } }, { - "id": 432, + "id": 438, "name": "file_size_limit", "kind": 1024, "kindString": "Property", @@ -79636,7 +82067,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 8, "character": 2 } ], @@ -79646,47 +82077,11 @@ } }, { - "id": 429, + "id": 434, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -79701,6 +82096,42 @@ }, { "id": 436, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, "name": "public", "kind": 1024, "kindString": "Property", @@ -79708,7 +82139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 9, + "line": 12, "character": 2 } ], @@ -79719,6 +82150,54 @@ }, { "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } + }, + { + "id": 441, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -79726,7 +82205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 8, + "line": 11, "character": 2 } ], @@ -79740,13 +82219,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 434, 432, 429, 430, 431, 436, 435] + "children": [439, 440, 438, 434, 436, 437, 442, 435, 441] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 3, "character": 17 } ] @@ -79754,7 +82233,7 @@ } }, { - "id": 443, + "id": 449, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -79762,7 +82241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 18, + "line": 21, "character": 2 } ], @@ -79772,29 +82251,11 @@ } }, { - "id": 441, + "id": 447, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 444, - "name": "last_accessed_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -79808,7 +82269,25 @@ } }, { - "id": 445, + "id": 450, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -79816,7 +82295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 20, + "line": 23, "character": 2 } ], @@ -79838,7 +82317,7 @@ } }, { - "id": 438, + "id": 444, "name": "name", "kind": 1024, "kindString": "Property", @@ -79846,7 +82325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 13, + "line": 16, "character": 2 } ], @@ -79856,7 +82335,7 @@ } }, { - "id": 440, + "id": 446, "name": "owner", "kind": 1024, "kindString": "Property", @@ -79864,7 +82343,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 18, "character": 2 } ], @@ -79874,7 +82353,7 @@ } }, { - "id": 442, + "id": 448, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -79882,7 +82361,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 17, + "line": 20, "character": 2 } ], @@ -79896,141 +82375,27 @@ { "title": "Properties", "kind": 1024, - "children": [439, 446, 443, 441, 444, 445, 438, 440, 442] + "children": [445, 452, 449, 447, 450, 451, 444, 446, 448] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 12, + "line": 15, "character": 17 } ] }, { - "id": 447, + "id": 453, "name": "FileObjectV2", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ - { - "id": 451, - "name": "bucket_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 456, - "name": "cache_control", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, { "id": 457, - "name": "content_type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "etag", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 454, - "name": "last_accessed_at", + "name": "bucket_id", "kind": 1024, "kindString": "Property", "flags": {}, @@ -80047,8 +82412,8 @@ } }, { - "id": 459, - "name": "last_modified", + "id": 462, + "name": "cache_control", "kind": 1024, "kindString": "Property", "flags": { @@ -80067,8 +82432,8 @@ } }, { - "id": 460, - "name": "metadata", + "id": 463, + "name": "content_type", "kind": 1024, "kindString": "Property", "flags": { @@ -80081,6 +82446,120 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 464, + "name": "etag", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 465, + "name": "last_modified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 40, + "character": 2 + } + ], "type": { "type": "reference", "typeArguments": [ @@ -80099,7 +82578,7 @@ } }, { - "id": 450, + "id": 456, "name": "name", "kind": 1024, "kindString": "Property", @@ -80107,7 +82586,45 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 30, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 458, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 32, "character": 2 } ], @@ -80118,27 +82635,7 @@ }, { "id": 455, - "name": "size", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 452, - "name": "updated_at", + "name": "version", "kind": 1024, "kindString": "Property", "flags": {}, @@ -80153,50 +82650,32 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "version", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [451, 456, 457, 453, 458, 448, 454, 459, 460, 450, 455, 452, 449] + "children": [457, 462, 463, 459, 464, 454, 460, 465, 466, 456, 461, 458, 455] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 24, + "line": 27, "character": 17 } ] }, { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -80209,7 +82688,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -80219,7 +82698,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -80232,7 +82711,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -80242,7 +82721,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -80255,7 +82734,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -80265,7 +82744,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -80278,7 +82757,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -80300,7 +82779,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -80313,7 +82792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -80335,7 +82814,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -80348,7 +82827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -80362,26 +82841,26 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] }, { - "id": 480, + "id": 486, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 481, + "id": 487, "name": "name", "kind": 1024, "kindString": "Property", @@ -80389,7 +82868,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 113, "character": 2 } ], @@ -80403,26 +82882,26 @@ { "title": "Properties", "kind": 1024, - "children": [481] + "children": [487] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 108, + "line": 112, "character": 17 } ] }, { - "id": 473, + "id": 479, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 474, + "id": 480, "name": "limit", "kind": 1024, "kindString": "Property", @@ -80430,12 +82909,18 @@ "isOptional": true }, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -80445,7 +82930,7 @@ } }, { - "id": 475, + "id": 481, "name": "offset", "kind": 1024, "kindString": "Property", @@ -80458,7 +82943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 91, "character": 2 } ], @@ -80468,7 +82953,7 @@ } }, { - "id": 477, + "id": 483, "name": "search", "kind": 1024, "kindString": "Property", @@ -80481,7 +82966,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 101, "character": 2 } ], @@ -80491,7 +82976,7 @@ } }, { - "id": 476, + "id": 482, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -80504,23 +82989,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 96, "character": 2 } ], "type": { "type": "reference", - "id": 461, + "id": 467, "name": "SortBy", "dereferenced": { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -80530,7 +83015,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -80540,7 +83025,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -80550,7 +83035,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -80564,13 +83049,13 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] @@ -80582,26 +83067,26 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 477, 476] + "children": [480, 481, 483, 482] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 81, "character": 17 } ] }, { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -80611,7 +83096,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -80621,7 +83106,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -80631,7 +83116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -80645,26 +83130,26 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] }, { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -80678,7 +83163,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -80688,7 +83173,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -80701,7 +83186,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -80711,7 +83196,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -80724,7 +83209,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -80734,7 +83219,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -80747,7 +83232,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -80770,7 +83255,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -80783,7 +83268,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -80797,19 +83282,46 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] }, { - "id": 488, + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + }, + { + "id": 494, "name": "Camelize", "kind": 4194304, "kindString": "Type alias", @@ -80817,13 +83329,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 147, + "line": 151, "character": 12 } ], "typeParameter": [ { - "id": 489, + "id": 495, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -80838,7 +83350,7 @@ "operator": "keyof", "target": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -80850,7 +83362,7 @@ }, "objectType": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -80879,7 +83391,7 @@ } }, { - "id": 490, + "id": 496, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -80893,14 +83405,14 @@ ], "signatures": [ { - "id": 491, + "id": 497, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 492, + "id": 498, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -80917,7 +83429,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -80929,22 +83441,22 @@ { "title": "Classes", "kind": 128, - "children": [498, 333, 493, 511] + "children": [504, 335, 499, 520] }, { "title": "Interfaces", "kind": 256, - "children": [428, 471, 478, 437, 447, 464, 480, 473, 461, 482] + "children": [433, 477, 484, 443, 453, 470, 486, 479, 467, 488] }, { "title": "Type Aliases", "kind": 4194304, - "children": [488] + "children": [432, 494] }, { "title": "Functions", "kind": 64, - "children": [490] + "children": [496] } ], "sources": [ @@ -80978,7 +83490,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, + "line": 13, "character": 2 } ], @@ -81113,6 +83625,19 @@ ] } } + }, + { + "id": 16, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { @@ -81124,7 +83649,7 @@ ] }, { - "id": 43, + "id": 44, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -81132,24 +83657,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 44, + "id": 45, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 45, + "id": 46, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -81163,7 +83688,7 @@ } }, { - "id": 46, + "id": 47, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -81171,14 +83696,14 @@ "type": { "type": "reflection", "declaration": { - "id": 47, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 50, + "id": 51, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -81191,7 +83716,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -81213,7 +83738,7 @@ } }, { - "id": 49, + "id": 50, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -81226,7 +83751,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -81249,7 +83774,7 @@ } }, { - "id": 48, + "id": 49, "name": "public", "kind": 1024, "kindString": "Property", @@ -81260,7 +83785,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -81268,13 +83793,64 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 52, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [50, 49, 48] + "children": [51, 50, 49, 52] } ] } @@ -81291,14 +83867,14 @@ { "type": "reflection", "declaration": { - "id": 51, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 52, + "id": 54, "name": "data", "kind": 1024, "kindString": "Property", @@ -81306,7 +83882,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -81315,7 +83891,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -81329,7 +83905,7 @@ } }, { - "id": 53, + "id": 55, "name": "error", "kind": 1024, "kindString": "Property", @@ -81337,7 +83913,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -81351,7 +83927,7 @@ { "title": "Properties", "kind": 1024, - "children": [52, 53] + "children": [54, 55] } ] } @@ -81359,14 +83935,14 @@ { "type": "reflection", "declaration": { - "id": 54, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 55, + "id": 57, "name": "data", "kind": 1024, "kindString": "Property", @@ -81374,7 +83950,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -81384,7 +83960,7 @@ } }, { - "id": 56, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -81392,13 +83968,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -81407,7 +83983,7 @@ { "title": "Properties", "kind": 1024, - "children": [55, 56] + "children": [57, 58] } ] } @@ -81423,7 +83999,7 @@ ] }, { - "id": 84, + "id": 86, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -81431,13 +84007,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 85, + "id": 87, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -81447,7 +84023,7 @@ }, "parameters": [ { - "id": 86, + "id": 88, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -81470,14 +84046,14 @@ { "type": "reflection", "declaration": { - "id": 87, + "id": 89, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 88, + "id": 90, "name": "data", "kind": 1024, "kindString": "Property", @@ -81485,21 +84061,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 89, + "id": 91, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 90, + "id": 92, "name": "message", "kind": 1024, "kindString": "Property", @@ -81507,7 +84083,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -81521,14 +84097,14 @@ { "title": "Properties", "kind": 1024, - "children": [90] + "children": [92] } ] } } }, { - "id": 91, + "id": 93, "name": "error", "kind": 1024, "kindString": "Property", @@ -81536,7 +84112,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -81550,7 +84126,7 @@ { "title": "Properties", "kind": 1024, - "children": [88, 91] + "children": [90, 93] } ] } @@ -81558,14 +84134,14 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 93, + "id": 95, "name": "data", "kind": 1024, "kindString": "Property", @@ -81573,7 +84149,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -81583,7 +84159,7 @@ } }, { - "id": 94, + "id": 96, "name": "error", "kind": 1024, "kindString": "Property", @@ -81591,13 +84167,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -81606,7 +84182,7 @@ { "title": "Properties", "kind": 1024, - "children": [93, 94] + "children": [95, 96] } ] } @@ -81622,7 +84198,7 @@ ] }, { - "id": 73, + "id": 75, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -81630,13 +84206,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 74, + "id": 76, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -81646,7 +84222,7 @@ }, "parameters": [ { - "id": 75, + "id": 77, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -81669,14 +84245,14 @@ { "type": "reflection", "declaration": { - "id": 76, + "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 77, + "id": 79, "name": "data", "kind": 1024, "kindString": "Property", @@ -81684,21 +84260,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 80, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 79, + "id": 81, "name": "message", "kind": 1024, "kindString": "Property", @@ -81706,7 +84282,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -81720,14 +84296,14 @@ { "title": "Properties", "kind": 1024, - "children": [79] + "children": [81] } ] } } }, { - "id": 80, + "id": 82, "name": "error", "kind": 1024, "kindString": "Property", @@ -81735,7 +84311,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -81749,7 +84325,7 @@ { "title": "Properties", "kind": 1024, - "children": [77, 80] + "children": [79, 82] } ] } @@ -81757,14 +84333,14 @@ { "type": "reflection", "declaration": { - "id": 81, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 82, + "id": 84, "name": "data", "kind": 1024, "kindString": "Property", @@ -81772,7 +84348,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -81782,7 +84358,7 @@ } }, { - "id": 83, + "id": 85, "name": "error", "kind": 1024, "kindString": "Property", @@ -81790,13 +84366,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -81805,7 +84381,7 @@ { "title": "Properties", "kind": 1024, - "children": [82, 83] + "children": [84, 85] } ] } @@ -81821,7 +84397,7 @@ ] }, { - "id": 34, + "id": 35, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -81829,13 +84405,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 35, + "id": 36, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -81845,7 +84421,7 @@ }, "parameters": [ { - "id": 36, + "id": 37, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -81868,14 +84444,14 @@ { "type": "reflection", "declaration": { - "id": 37, + "id": 38, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 38, + "id": 39, "name": "data", "kind": 1024, "kindString": "Property", @@ -81883,18 +84459,18 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, + "line": 69, "character": 8 } ], "type": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } }, { - "id": 39, + "id": 40, "name": "error", "kind": 1024, "kindString": "Property", @@ -81902,7 +84478,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, + "line": 70, "character": 8 } ], @@ -81916,7 +84492,7 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [39, 40] } ] } @@ -81924,14 +84500,14 @@ { "type": "reflection", "declaration": { - "id": 40, + "id": 41, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 41, + "id": 42, "name": "data", "kind": 1024, "kindString": "Property", @@ -81939,7 +84515,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 73, "character": 8 } ], @@ -81949,7 +84525,7 @@ } }, { - "id": 42, + "id": 43, "name": "error", "kind": 1024, "kindString": "Property", @@ -81957,13 +84533,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 74, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -81972,7 +84548,7 @@ { "title": "Properties", "kind": 1024, - "children": [41, 42] + "children": [42, 43] } ] } @@ -81988,7 +84564,7 @@ ] }, { - "id": 26, + "id": 27, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -81996,13 +84572,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 27, + "id": 28, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -82019,14 +84595,14 @@ { "type": "reflection", "declaration": { - "id": 28, + "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 29, + "id": 30, "name": "data", "kind": 1024, "kindString": "Property", @@ -82034,7 +84610,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, + "line": 40, "character": 8 } ], @@ -82042,13 +84618,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } } }, { - "id": 30, + "id": 31, "name": "error", "kind": 1024, "kindString": "Property", @@ -82056,7 +84632,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, + "line": 41, "character": 8 } ], @@ -82070,7 +84646,7 @@ { "title": "Properties", "kind": 1024, - "children": [29, 30] + "children": [30, 31] } ] } @@ -82078,14 +84654,14 @@ { "type": "reflection", "declaration": { - "id": 31, + "id": 32, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 32, + "id": 33, "name": "data", "kind": 1024, "kindString": "Property", @@ -82093,7 +84669,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 44, "character": 8 } ], @@ -82103,7 +84679,7 @@ } }, { - "id": 33, + "id": 34, "name": "error", "kind": 1024, "kindString": "Property", @@ -82111,13 +84687,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 45, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -82126,7 +84702,7 @@ { "title": "Properties", "kind": 1024, - "children": [32, 33] + "children": [33, 34] } ] } @@ -82142,7 +84718,7 @@ ] }, { - "id": 57, + "id": 59, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -82150,13 +84726,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 58, + "id": 60, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -82166,7 +84742,7 @@ }, "parameters": [ { - "id": 59, + "id": 61, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -82180,7 +84756,7 @@ } }, { - "id": 60, + "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -82188,14 +84764,14 @@ "type": { "type": "reflection", "declaration": { - "id": 61, + "id": 63, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 64, + "id": 66, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -82208,7 +84784,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -82230,7 +84806,7 @@ } }, { - "id": 63, + "id": 65, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -82243,7 +84819,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -82266,7 +84842,7 @@ } }, { - "id": 62, + "id": 64, "name": "public", "kind": 1024, "kindString": "Property", @@ -82277,7 +84853,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -82291,7 +84867,7 @@ { "title": "Properties", "kind": 1024, - "children": [64, 63, 62] + "children": [66, 65, 64] } ] } @@ -82307,14 +84883,14 @@ { "type": "reflection", "declaration": { - "id": 65, + "id": 67, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 66, + "id": 68, "name": "data", "kind": 1024, "kindString": "Property", @@ -82322,21 +84898,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 67, + "id": 69, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 68, + "id": 70, "name": "message", "kind": 1024, "kindString": "Property", @@ -82344,7 +84920,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -82358,14 +84934,14 @@ { "title": "Properties", "kind": 1024, - "children": [68] + "children": [70] } ] } } }, { - "id": 69, + "id": 71, "name": "error", "kind": 1024, "kindString": "Property", @@ -82373,7 +84949,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -82387,7 +84963,7 @@ { "title": "Properties", "kind": 1024, - "children": [66, 69] + "children": [68, 71] } ] } @@ -82395,14 +84971,14 @@ { "type": "reflection", "declaration": { - "id": 70, + "id": 72, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 73, "name": "data", "kind": 1024, "kindString": "Property", @@ -82410,7 +84986,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -82420,7 +84996,7 @@ } }, { - "id": 72, + "id": 74, "name": "error", "kind": 1024, "kindString": "Property", @@ -82428,13 +85004,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -82443,7 +85019,7 @@ { "title": "Properties", "kind": 1024, - "children": [71, 72] + "children": [73, 74] } ] } @@ -82468,20 +85044,20 @@ { "title": "Methods", "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] + "children": [44, 86, 75, 35, 27, 59] } ], "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 7, + "line": 8, "character": 21 } ], "extendedBy": [ { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" } ] @@ -82503,21 +85079,21 @@ ] }, { - "id": 95, + "id": 97, "name": "packages/StorageFileApi", "kind": 2, "kindString": "Module", "flags": {}, "children": [ { - "id": 96, + "id": 98, "name": "default", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 97, + "id": 99, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -82531,14 +85107,14 @@ ], "signatures": [ { - "id": 98, + "id": 100, "name": "new default", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 99, + "id": 101, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -82549,7 +85125,7 @@ } }, { - "id": 100, + "id": 102, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -82557,20 +85133,20 @@ "type": { "type": "reflection", "declaration": { - "id": 101, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 102, + "id": 104, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 103, + "id": 105, "name": "key", "kind": 32768, "flags": {}, @@ -82590,7 +85166,7 @@ "defaultValue": "{}" }, { - "id": 104, + "id": 106, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -82603,7 +85179,7 @@ } }, { - "id": 105, + "id": 107, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -82613,21 +85189,21 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 107, + "id": 109, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 110, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -82640,7 +85216,7 @@ } }, { - "id": 109, + "id": 111, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -82677,14 +85253,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 211, + "id": 213, "name": "copy", "kind": 2048, "kindString": "Method", @@ -82692,13 +85268,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 373, + "line": 355, "character": 8 } ], "signatures": [ { - "id": 212, + "id": 214, "name": "copy", "kind": 4096, "kindString": "Call signature", @@ -82708,7 +85284,7 @@ }, "parameters": [ { - "id": 213, + "id": 215, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -82722,7 +85298,7 @@ } }, { - "id": 214, + "id": 216, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -82736,7 +85312,7 @@ } }, { - "id": 215, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -82748,17 +85324,17 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions", "dereferenced": { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -82768,7 +85344,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -82782,13 +85358,13 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] @@ -82805,14 +85381,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 219, "name": "data", "kind": 1024, "kindString": "Property", @@ -82820,21 +85396,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 219, + "id": 221, "name": "path", "kind": 1024, "kindString": "Property", @@ -82842,7 +85418,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 16 } ], @@ -82856,14 +85432,14 @@ { "title": "Properties", "kind": 1024, - "children": [219] + "children": [221] } ] } } }, { - "id": 220, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -82871,7 +85447,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 380, + "line": 362, "character": 8 } ], @@ -82885,7 +85461,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 220] + "children": [219, 222] } ] } @@ -82893,14 +85469,14 @@ { "type": "reflection", "declaration": { - "id": 221, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -82908,7 +85484,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 383, + "line": 365, "character": 8 } ], @@ -82918,7 +85494,7 @@ } }, { - "id": 223, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -82926,13 +85502,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "line": 366, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -82941,7 +85517,7 @@ { "title": "Properties", "kind": 1024, - "children": [222, 223] + "children": [224, 225] } ] } @@ -82957,7 +85533,7 @@ ] }, { - "id": 167, + "id": 169, "name": "createSignedUploadUrl", "kind": 2048, "kindString": "Method", @@ -82965,13 +85541,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 243, + "line": 225, "character": 8 } ], "signatures": [ { - "id": 168, + "id": 170, "name": "createSignedUploadUrl", "kind": 4096, "kindString": "Call signature", @@ -82981,7 +85557,7 @@ }, "parameters": [ { - "id": 169, + "id": 171, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -82995,7 +85571,7 @@ } }, { - "id": 170, + "id": 172, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -83005,14 +85581,14 @@ "type": { "type": "reflection", "declaration": { - "id": 171, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 172, + "id": 174, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -83023,7 +85599,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 245, + "line": 227, "character": 16 } ], @@ -83037,7 +85613,7 @@ { "title": "Properties", "kind": 1024, - "children": [172] + "children": [174] } ] } @@ -83053,14 +85629,14 @@ { "type": "reflection", "declaration": { - "id": 173, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 174, + "id": 176, "name": "data", "kind": 1024, "kindString": "Property", @@ -83068,21 +85644,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 178, + "id": 180, "name": "path", "kind": 1024, "kindString": "Property", @@ -83090,7 +85666,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 50 } ], @@ -83100,7 +85676,7 @@ } }, { - "id": 176, + "id": 178, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -83108,7 +85684,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 16 } ], @@ -83118,7 +85694,7 @@ } }, { - "id": 177, + "id": 179, "name": "token", "kind": 1024, "kindString": "Property", @@ -83126,7 +85702,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 35 } ], @@ -83140,14 +85716,14 @@ { "title": "Properties", "kind": 1024, - "children": [178, 176, 177] + "children": [180, 178, 179] } ] } } }, { - "id": 179, + "id": 181, "name": "error", "kind": 1024, "kindString": "Property", @@ -83155,7 +85731,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 249, + "line": 231, "character": 8 } ], @@ -83169,7 +85745,7 @@ { "title": "Properties", "kind": 1024, - "children": [174, 179] + "children": [176, 181] } ] } @@ -83177,14 +85753,14 @@ { "type": "reflection", "declaration": { - "id": 180, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 181, + "id": 183, "name": "data", "kind": 1024, "kindString": "Property", @@ -83192,7 +85768,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 252, + "line": 234, "character": 8 } ], @@ -83202,7 +85778,7 @@ } }, { - "id": 182, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -83210,13 +85786,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 253, + "line": 235, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -83225,7 +85801,7 @@ { "title": "Properties", "kind": 1024, - "children": [181, 182] + "children": [183, 184] } ] } @@ -83241,7 +85817,7 @@ ] }, { - "id": 224, + "id": 226, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -83249,13 +85825,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 417, + "line": 399, "character": 8 } ], "signatures": [ { - "id": 225, + "id": 227, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -83265,7 +85841,7 @@ }, "parameters": [ { - "id": 226, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -83279,7 +85855,7 @@ } }, { - "id": 227, + "id": 229, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -83293,7 +85869,7 @@ } }, { - "id": 228, + "id": 230, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -83303,14 +85879,14 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 232, "name": "download", "kind": 1024, "kindString": "Property", @@ -83323,7 +85899,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 16 } ], @@ -83342,7 +85918,7 @@ } }, { - "id": 231, + "id": 233, "name": "transform", "kind": 1024, "kindString": "Property", @@ -83355,23 +85931,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -83385,7 +85961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -83395,7 +85971,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -83408,7 +85984,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -83418,7 +85994,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -83431,7 +86007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -83441,7 +86017,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -83454,7 +86030,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -83477,7 +86053,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -83490,7 +86066,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -83504,13 +86080,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -83522,7 +86098,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 231] + "children": [232, 233] } ] } @@ -83538,14 +86114,14 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 233, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -83553,21 +86129,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 234, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 235, + "id": 237, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -83575,7 +86151,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 16 } ], @@ -83589,14 +86165,14 @@ { "title": "Properties", "kind": 1024, - "children": [235] + "children": [237] } ] } } }, { - "id": 236, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -83604,7 +86180,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 424, + "line": 406, "character": 8 } ], @@ -83618,7 +86194,7 @@ { "title": "Properties", "kind": 1024, - "children": [233, 236] + "children": [235, 238] } ] } @@ -83626,14 +86202,14 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 238, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -83641,7 +86217,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 427, + "line": 409, "character": 8 } ], @@ -83651,7 +86227,7 @@ } }, { - "id": 239, + "id": 241, "name": "error", "kind": 1024, "kindString": "Property", @@ -83659,13 +86235,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 428, + "line": 410, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -83674,7 +86250,7 @@ { "title": "Properties", "kind": 1024, - "children": [238, 239] + "children": [240, 241] } ] } @@ -83690,7 +86266,7 @@ ] }, { - "id": 240, + "id": 242, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -83698,13 +86274,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 462, + "line": 444, "character": 8 } ], "signatures": [ { - "id": 241, + "id": 243, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -83714,7 +86290,7 @@ }, "parameters": [ { - "id": 242, + "id": 244, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -83731,7 +86307,7 @@ } }, { - "id": 243, + "id": 245, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -83745,7 +86321,7 @@ } }, { - "id": 244, + "id": 246, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -83755,14 +86331,14 @@ "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 246, + "id": 248, "name": "download", "kind": 1024, "kindString": "Property", @@ -83773,7 +86349,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 465, + "line": 447, "character": 16 } ], @@ -83796,7 +86372,7 @@ { "title": "Properties", "kind": 1024, - "children": [246] + "children": [248] } ] } @@ -83812,14 +86388,14 @@ { "type": "reflection", "declaration": { - "id": 247, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 248, + "id": 250, "name": "data", "kind": 1024, "kindString": "Property", @@ -83827,7 +86403,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 8 } ], @@ -83836,14 +86412,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 249, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 252, "name": "error", "kind": 1024, "kindString": "Property", @@ -83851,7 +86427,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 16 } ], @@ -83870,7 +86446,7 @@ } }, { - "id": 251, + "id": 253, "name": "path", "kind": 1024, "kindString": "Property", @@ -83878,7 +86454,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 38 } ], @@ -83897,7 +86473,7 @@ } }, { - "id": 252, + "id": 254, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -83905,7 +86481,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 59 } ], @@ -83919,7 +86495,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251, 252] + "children": [252, 253, 254] } ] } @@ -83927,7 +86503,7 @@ } }, { - "id": 253, + "id": 255, "name": "error", "kind": 1024, "kindString": "Property", @@ -83935,7 +86511,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 469, + "line": 451, "character": 8 } ], @@ -83949,7 +86525,7 @@ { "title": "Properties", "kind": 1024, - "children": [248, 253] + "children": [250, 255] } ] } @@ -83957,14 +86533,14 @@ { "type": "reflection", "declaration": { - "id": 254, + "id": 256, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 255, + "id": 257, "name": "data", "kind": 1024, "kindString": "Property", @@ -83972,7 +86548,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 472, + "line": 454, "character": 8 } ], @@ -83982,7 +86558,7 @@ } }, { - "id": 256, + "id": 258, "name": "error", "kind": 1024, "kindString": "Property", @@ -83990,13 +86566,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 473, + "line": 455, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -84005,7 +86581,7 @@ { "title": "Properties", "kind": 1024, - "children": [255, 256] + "children": [257, 258] } ] } @@ -84021,7 +86597,7 @@ ] }, { - "id": 257, + "id": 259, "name": "download", "kind": 2048, "kindString": "Method", @@ -84029,13 +86605,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 511, + "line": 493, "character": 8 } ], "signatures": [ { - "id": 258, + "id": 260, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -84045,7 +86621,7 @@ }, "parameters": [ { - "id": 259, + "id": 261, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -84059,7 +86635,7 @@ } }, { - "id": 260, + "id": 262, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -84069,14 +86645,14 @@ "type": { "type": "reflection", "declaration": { - "id": 261, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 262, + "id": 264, "name": "transform", "kind": 1024, "kindString": "Property", @@ -84089,23 +86665,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 495, "character": 16 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -84119,7 +86695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -84129,7 +86705,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -84142,7 +86718,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -84152,7 +86728,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -84165,7 +86741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -84175,7 +86751,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -84188,7 +86764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -84211,7 +86787,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -84224,7 +86800,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -84238,13 +86814,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -84256,7 +86832,7 @@ { "title": "Properties", "kind": 1024, - "children": [262] + "children": [264] } ] } @@ -84272,14 +86848,14 @@ { "type": "reflection", "declaration": { - "id": 263, + "id": 265, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 264, + "id": 266, "name": "data", "kind": 1024, "kindString": "Property", @@ -84287,7 +86863,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 498, "character": 8 } ], @@ -84299,7 +86875,7 @@ } }, { - "id": 265, + "id": 267, "name": "error", "kind": 1024, "kindString": "Property", @@ -84307,7 +86883,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 499, "character": 8 } ], @@ -84321,7 +86897,7 @@ { "title": "Properties", "kind": 1024, - "children": [264, 265] + "children": [266, 267] } ] } @@ -84329,14 +86905,14 @@ { "type": "reflection", "declaration": { - "id": 266, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 267, + "id": 269, "name": "data", "kind": 1024, "kindString": "Property", @@ -84344,7 +86920,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 520, + "line": 502, "character": 8 } ], @@ -84354,7 +86930,7 @@ } }, { - "id": 268, + "id": 270, "name": "error", "kind": 1024, "kindString": "Property", @@ -84362,13 +86938,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 521, + "line": 503, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -84377,7 +86953,7 @@ { "title": "Properties", "kind": 1024, - "children": [267, 268] + "children": [269, 270] } ] } @@ -84393,7 +86969,7 @@ ] }, { - "id": 278, + "id": 280, "name": "exists", "kind": 2048, "kindString": "Method", @@ -84401,13 +86977,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 583, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 279, + "id": 281, "name": "exists", "kind": 4096, "kindString": "Call signature", @@ -84417,7 +86993,7 @@ }, "parameters": [ { - "id": 280, + "id": 282, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -84440,14 +87016,14 @@ { "type": "reflection", "declaration": { - "id": 281, + "id": 283, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 282, + "id": 284, "name": "data", "kind": 1024, "kindString": "Property", @@ -84455,7 +87031,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 587, + "line": 569, "character": 8 } ], @@ -84465,7 +87041,7 @@ } }, { - "id": 283, + "id": 285, "name": "error", "kind": 1024, "kindString": "Property", @@ -84473,7 +87049,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 588, + "line": 570, "character": 8 } ], @@ -84487,7 +87063,7 @@ { "title": "Properties", "kind": 1024, - "children": [282, 283] + "children": [284, 285] } ] } @@ -84495,14 +87071,14 @@ { "type": "reflection", "declaration": { - "id": 284, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 285, + "id": 287, "name": "data", "kind": 1024, "kindString": "Property", @@ -84510,7 +87086,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 591, + "line": 573, "character": 8 } ], @@ -84520,7 +87096,7 @@ } }, { - "id": 286, + "id": 288, "name": "error", "kind": 1024, "kindString": "Property", @@ -84528,13 +87104,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 592, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -84543,7 +87119,7 @@ { "title": "Properties", "kind": 1024, - "children": [285, 286] + "children": [287, 288] } ] } @@ -84559,7 +87135,7 @@ ] }, { - "id": 287, + "id": 289, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -84567,13 +87143,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 624, + "line": 606, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 290, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -84583,7 +87159,7 @@ }, "parameters": [ { - "id": 289, + "id": 291, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -84597,7 +87173,7 @@ } }, { - "id": 290, + "id": 292, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -84607,14 +87183,14 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 293, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 292, + "id": 294, "name": "download", "kind": 1024, "kindString": "Property", @@ -84627,7 +87203,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 16 } ], @@ -84646,7 +87222,7 @@ } }, { - "id": 293, + "id": 295, "name": "transform", "kind": 1024, "kindString": "Property", @@ -84659,23 +87235,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -84689,7 +87265,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -84699,7 +87275,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -84712,7 +87288,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -84722,7 +87298,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -84735,7 +87311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -84745,7 +87321,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -84758,7 +87334,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -84781,7 +87357,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -84794,7 +87370,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -84808,13 +87384,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -84826,7 +87402,7 @@ { "title": "Properties", "kind": 1024, - "children": [292, 293] + "children": [294, 295] } ] } @@ -84836,14 +87412,14 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 295, + "id": 297, "name": "data", "kind": 1024, "kindString": "Property", @@ -84851,21 +87427,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 296, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 297, + "id": 299, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -84873,7 +87449,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 15 } ], @@ -84887,7 +87463,7 @@ { "title": "Properties", "kind": 1024, - "children": [297] + "children": [299] } ] } @@ -84898,7 +87474,7 @@ { "title": "Properties", "kind": 1024, - "children": [295] + "children": [297] } ] } @@ -84907,7 +87483,7 @@ ] }, { - "id": 269, + "id": 271, "name": "info", "kind": 2048, "kindString": "Method", @@ -84915,13 +87491,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 550, + "line": 532, "character": 8 } ], "signatures": [ { - "id": 270, + "id": 272, "name": "info", "kind": 4096, "kindString": "Call signature", @@ -84931,7 +87507,7 @@ }, "parameters": [ { - "id": 271, + "id": 273, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -84954,14 +87530,14 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 274, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 273, + "id": 275, "name": "data", "kind": 1024, "kindString": "Property", @@ -84969,17 +87545,17 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 554, + "line": 536, "character": 8 } ], "type": { "type": "reference", - "id": 488, + "id": 494, "typeArguments": [ { "type": "reference", - "id": 447, + "id": 453, "name": "FileObjectV2" } ], @@ -84987,7 +87563,7 @@ } }, { - "id": 274, + "id": 276, "name": "error", "kind": 1024, "kindString": "Property", @@ -84995,7 +87571,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 555, + "line": 537, "character": 8 } ], @@ -85009,7 +87585,7 @@ { "title": "Properties", "kind": 1024, - "children": [273, 274] + "children": [275, 276] } ] } @@ -85017,14 +87593,14 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 276, + "id": 278, "name": "data", "kind": 1024, "kindString": "Property", @@ -85032,7 +87608,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 558, + "line": 540, "character": 8 } ], @@ -85042,7 +87618,7 @@ } }, { - "id": 277, + "id": 279, "name": "error", "kind": 1024, "kindString": "Property", @@ -85050,13 +87626,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 559, + "line": 541, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -85065,7 +87641,7 @@ { "title": "Properties", "kind": 1024, - "children": [276, 277] + "children": [278, 279] } ] } @@ -85081,7 +87657,7 @@ ] }, { - "id": 307, + "id": 309, "name": "list", "kind": 2048, "kindString": "Method", @@ -85089,13 +87665,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 758, + "line": 741, "character": 8 } ], "signatures": [ { - "id": 308, + "id": 310, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -85105,7 +87681,7 @@ }, "parameters": [ { - "id": 309, + "id": 311, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -85113,7 +87689,7 @@ "isOptional": true }, "comment": { - "shortText": "The folder path.\n" + "shortText": "The folder path." }, "type": { "type": "intrinsic", @@ -85121,26 +87697,29 @@ } }, { - "id": 310, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "Search options including limit (defaults to 100), offset, sortBy, and search\n" + }, "type": { "type": "reference", - "id": 473, + "id": 479, "name": "SearchOptions", "dereferenced": { - "id": 473, + "id": 479, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 474, + "id": 480, "name": "limit", "kind": 1024, "kindString": "Property", @@ -85148,12 +87727,18 @@ "isOptional": true }, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -85163,7 +87748,7 @@ } }, { - "id": 475, + "id": 481, "name": "offset", "kind": 1024, "kindString": "Property", @@ -85176,7 +87761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 91, "character": 2 } ], @@ -85186,7 +87771,7 @@ } }, { - "id": 477, + "id": 483, "name": "search", "kind": 1024, "kindString": "Property", @@ -85199,7 +87784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 101, "character": 2 } ], @@ -85209,7 +87794,7 @@ } }, { - "id": 476, + "id": 482, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -85222,23 +87807,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 96, "character": 2 } ], "type": { "type": "reference", - "id": 461, + "id": 467, "name": "SortBy", "dereferenced": { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -85248,7 +87833,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -85258,7 +87843,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -85268,7 +87853,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -85282,13 +87867,13 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] @@ -85300,13 +87885,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 477, 476] + "children": [480, 481, 483, 482] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 81, "character": 17 } ] @@ -85314,7 +87899,7 @@ } }, { - "id": 311, + "id": 313, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -85323,17 +87908,17 @@ }, "type": { "type": "reference", - "id": 478, + "id": 484, "name": "FetchParameters", "dereferenced": { - "id": 478, + "id": 484, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 479, + "id": 485, "name": "signal", "kind": 1024, "kindString": "Property", @@ -85346,7 +87931,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 2 } ], @@ -85362,13 +87947,13 @@ { "title": "Properties", "kind": 1024, - "children": [479] + "children": [485] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 104, "character": 17 } ] @@ -85385,14 +87970,14 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 314, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 313, + "id": 315, "name": "data", "kind": 1024, "kindString": "Property", @@ -85400,7 +87985,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 764, + "line": 747, "character": 8 } ], @@ -85408,13 +87993,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 314, + "id": 316, "name": "error", "kind": 1024, "kindString": "Property", @@ -85422,7 +88007,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 765, + "line": 748, "character": 8 } ], @@ -85436,7 +88021,7 @@ { "title": "Properties", "kind": 1024, - "children": [313, 314] + "children": [315, 316] } ] } @@ -85444,14 +88029,14 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 316, + "id": 318, "name": "data", "kind": 1024, "kindString": "Property", @@ -85459,7 +88044,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 768, + "line": 751, "character": 8 } ], @@ -85469,7 +88054,7 @@ } }, { - "id": 317, + "id": 319, "name": "error", "kind": 1024, "kindString": "Property", @@ -85477,13 +88062,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 769, + "line": 752, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -85492,7 +88077,7 @@ { "title": "Properties", "kind": 1024, - "children": [316, 317] + "children": [318, 319] } ] } @@ -85508,7 +88093,7 @@ ] }, { - "id": 198, + "id": 200, "name": "move", "kind": 2048, "kindString": "Method", @@ -85516,13 +88101,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 330, + "line": 312, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 201, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -85532,7 +88117,7 @@ }, "parameters": [ { - "id": 200, + "id": 202, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -85546,7 +88131,7 @@ } }, { - "id": 201, + "id": 203, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -85560,7 +88145,7 @@ } }, { - "id": 202, + "id": 204, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -85572,17 +88157,17 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions", "dereferenced": { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -85592,7 +88177,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -85606,13 +88191,13 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] @@ -85629,14 +88214,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 206, "name": "data", "kind": 1024, "kindString": "Property", @@ -85644,21 +88229,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 205, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 208, "name": "message", "kind": 1024, "kindString": "Property", @@ -85666,7 +88251,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 16 } ], @@ -85680,14 +88265,14 @@ { "title": "Properties", "kind": 1024, - "children": [206] + "children": [208] } ] } } }, { - "id": 207, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -85695,7 +88280,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 337, + "line": 319, "character": 8 } ], @@ -85709,7 +88294,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 207] + "children": [206, 209] } ] } @@ -85717,14 +88302,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 211, "name": "data", "kind": 1024, "kindString": "Property", @@ -85732,7 +88317,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 340, + "line": 322, "character": 8 } ], @@ -85742,7 +88327,7 @@ } }, { - "id": 210, + "id": 212, "name": "error", "kind": 1024, "kindString": "Property", @@ -85750,13 +88335,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 341, + "line": 323, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -85765,7 +88350,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [211, 212] } ] } @@ -85781,7 +88366,7 @@ ] }, { - "id": 298, + "id": 300, "name": "remove", "kind": 2048, "kindString": "Method", @@ -85789,13 +88374,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 662, + "line": 644, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 301, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -85805,7 +88390,7 @@ }, "parameters": [ { - "id": 300, + "id": 302, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -85831,14 +88416,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -85846,7 +88431,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 666, + "line": 648, "character": 8 } ], @@ -85854,13 +88439,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 303, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -85868,7 +88453,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 667, + "line": 649, "character": 8 } ], @@ -85882,7 +88467,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [304, 305] } ] } @@ -85890,14 +88475,14 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -85905,7 +88490,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 670, + "line": 652, "character": 8 } ], @@ -85915,7 +88500,7 @@ } }, { - "id": 306, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -85923,13 +88508,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 671, + "line": 653, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -85938,7 +88523,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 306] + "children": [307, 308] } ] } @@ -85954,7 +88539,7 @@ ] }, { - "id": 321, + "id": 323, "name": "toBase64", "kind": 2048, "kindString": "Method", @@ -85962,20 +88547,20 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 795, + "line": 778, "character": 2 } ], "signatures": [ { - "id": 322, + "id": 324, "name": "toBase64", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 323, + "id": 325, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -85994,7 +88579,7 @@ ] }, { - "id": 183, + "id": 185, "name": "update", "kind": 2048, "kindString": "Method", @@ -86002,13 +88587,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 296, + "line": 278, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 186, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -86018,7 +88603,7 @@ }, "parameters": [ { - "id": 185, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -86032,7 +88617,7 @@ } }, { - "id": 186, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -86113,7 +88698,7 @@ } }, { - "id": 187, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -86122,17 +88707,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -86145,7 +88730,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -86155,7 +88740,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -86168,7 +88753,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -86178,7 +88763,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -86191,7 +88776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -86201,7 +88786,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -86214,7 +88799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -86236,7 +88821,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -86249,7 +88834,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -86271,7 +88856,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -86284,7 +88869,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -86298,13 +88883,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -86321,14 +88906,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 191, "name": "data", "kind": 1024, "kindString": "Property", @@ -86336,21 +88921,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 193, + "id": 195, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -86358,7 +88943,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 42 } ], @@ -86368,7 +88953,7 @@ } }, { - "id": 191, + "id": 193, "name": "id", "kind": 1024, "kindString": "Property", @@ -86376,7 +88961,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 16 } ], @@ -86386,7 +88971,7 @@ } }, { - "id": 192, + "id": 194, "name": "path", "kind": 1024, "kindString": "Property", @@ -86394,7 +88979,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 28 } ], @@ -86408,14 +88993,14 @@ { "title": "Properties", "kind": 1024, - "children": [193, 191, 192] + "children": [195, 193, 194] } ] } } }, { - "id": 194, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -86423,7 +89008,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 295, "character": 8 } ], @@ -86437,7 +89022,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 194] + "children": [191, 196] } ] } @@ -86445,14 +89030,14 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 198, "name": "data", "kind": 1024, "kindString": "Property", @@ -86460,7 +89045,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 316, + "line": 298, "character": 8 } ], @@ -86470,7 +89055,7 @@ } }, { - "id": 197, + "id": 199, "name": "error", "kind": 1024, "kindString": "Property", @@ -86478,13 +89063,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 299, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -86493,7 +89078,7 @@ { "title": "Properties", "kind": 1024, - "children": [196, 197] + "children": [198, 199] } ] } @@ -86509,7 +89094,7 @@ ] }, { - "id": 137, + "id": 139, "name": "upload", "kind": 2048, "kindString": "Method", @@ -86517,13 +89102,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 154, + "line": 147, "character": 8 } ], "signatures": [ { - "id": 138, + "id": 140, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -86533,7 +89118,7 @@ }, "parameters": [ { - "id": 139, + "id": 141, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -86547,7 +89132,7 @@ } }, { - "id": 140, + "id": 142, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -86561,7 +89146,7 @@ } }, { - "id": 141, + "id": 143, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -86570,17 +89155,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -86593,7 +89178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -86603,7 +89188,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -86616,7 +89201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -86626,7 +89211,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -86639,7 +89224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -86649,7 +89234,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -86662,7 +89247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -86684,7 +89269,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -86697,7 +89282,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -86719,7 +89304,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -86732,7 +89317,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -86746,13 +89331,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -86769,14 +89354,14 @@ { "type": "reflection", "declaration": { - "id": 142, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 143, + "id": 145, "name": "data", "kind": 1024, "kindString": "Property", @@ -86784,21 +89369,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 149, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -86806,7 +89391,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 42 } ], @@ -86816,7 +89401,7 @@ } }, { - "id": 145, + "id": 147, "name": "id", "kind": 1024, "kindString": "Property", @@ -86824,7 +89409,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 16 } ], @@ -86834,7 +89419,7 @@ } }, { - "id": 146, + "id": 148, "name": "path", "kind": 1024, "kindString": "Property", @@ -86842,7 +89427,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 28 } ], @@ -86856,14 +89441,14 @@ { "title": "Properties", "kind": 1024, - "children": [147, 145, 146] + "children": [149, 147, 148] } ] } } }, { - "id": 148, + "id": 150, "name": "error", "kind": 1024, "kindString": "Property", @@ -86871,7 +89456,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 161, + "line": 154, "character": 8 } ], @@ -86885,7 +89470,7 @@ { "title": "Properties", "kind": 1024, - "children": [143, 148] + "children": [145, 150] } ] } @@ -86893,14 +89478,14 @@ { "type": "reflection", "declaration": { - "id": 149, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 150, + "id": 152, "name": "data", "kind": 1024, "kindString": "Property", @@ -86908,7 +89493,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 164, + "line": 157, "character": 8 } ], @@ -86918,7 +89503,7 @@ } }, { - "id": 151, + "id": 153, "name": "error", "kind": 1024, "kindString": "Property", @@ -86926,13 +89511,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 165, + "line": 158, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -86941,7 +89526,7 @@ { "title": "Properties", "kind": 1024, - "children": [150, 151] + "children": [152, 153] } ] } @@ -86957,7 +89542,7 @@ ] }, { - "id": 152, + "id": 154, "name": "uploadToSignedUrl", "kind": 2048, "kindString": "Method", @@ -86965,13 +89550,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 170, "character": 8 } ], "signatures": [ { - "id": 153, + "id": 155, "name": "uploadToSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -86981,7 +89566,7 @@ }, "parameters": [ { - "id": 154, + "id": 156, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -86995,7 +89580,7 @@ } }, { - "id": 155, + "id": 157, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -87009,7 +89594,7 @@ } }, { - "id": 156, + "id": 158, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -87023,7 +89608,7 @@ } }, { - "id": 157, + "id": 159, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -87032,17 +89617,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -87055,7 +89640,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -87065,7 +89650,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -87078,7 +89663,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -87088,7 +89673,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -87101,7 +89686,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -87111,7 +89696,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -87124,7 +89709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -87146,7 +89731,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -87159,7 +89744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -87181,7 +89766,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -87194,7 +89779,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -87208,13 +89793,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -87231,14 +89816,14 @@ { "type": "reflection", "declaration": { - "id": 158, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 161, "name": "data", "kind": 1024, "kindString": "Property", @@ -87246,21 +89831,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 10 + "line": 206, + "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 162, + "id": 164, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -87268,8 +89853,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 35 + "line": 206, + "character": 33 } ], "type": { @@ -87279,7 +89864,7 @@ "defaultValue": "data.Key" }, { - "id": 161, + "id": 163, "name": "path", "kind": 1024, "kindString": "Property", @@ -87287,8 +89872,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 18 + "line": 206, + "character": 16 } ], "type": { @@ -87302,7 +89887,7 @@ { "title": "Properties", "kind": 1024, - "children": [162, 161] + "children": [164, 163] } ] } @@ -87310,7 +89895,7 @@ "defaultValue": "..." }, { - "id": 163, + "id": 165, "name": "error", "kind": 1024, "kindString": "Property", @@ -87318,8 +89903,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 221, - "character": 10 + "line": 207, + "character": 8 } ], "type": { @@ -87333,7 +89918,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 163] + "children": [161, 165] } ] } @@ -87341,14 +89926,14 @@ { "type": "reflection", "declaration": { - "id": 164, + "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 167, "name": "data", "kind": 1024, "kindString": "Property", @@ -87356,7 +89941,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 225, + "line": 211, "character": 17 } ], @@ -87367,14 +89952,15 @@ "defaultValue": "null" }, { - "id": 166, + "id": 168, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 499, + "name": "StorageError" } } ], @@ -87382,7 +89968,7 @@ { "title": "Properties", "kind": 1024, - "children": [165, 166] + "children": [167, 168] } ] } @@ -87402,13 +89988,13 @@ { "title": "Constructors", "kind": 512, - "children": [97] + "children": [99] }, { "title": "Methods", "kind": 2048, "children": [ - 211, 167, 224, 240, 257, 278, 287, 269, 307, 198, 298, 321, 183, 137, 152 + 213, 169, 226, 242, 259, 280, 289, 271, 309, 200, 300, 323, 185, 139, 154 ] } ], @@ -87425,7 +90011,7 @@ { "title": "Classes", "kind": 128, - "children": [96] + "children": [98] } ], "sources": [ @@ -87441,7 +90027,7 @@ { "title": "Modules", "kind": 2, - "children": [1, 2, 95] + "children": [1, 2, 97] } ] }, @@ -87469,7 +90055,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -87488,7 +90074,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -87507,7 +90093,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -87526,7 +90112,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -87545,7 +90131,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -87564,7 +90150,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -87583,7 +90169,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -87602,7 +90188,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -87621,7 +90207,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -87640,7 +90226,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -87659,7 +90245,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -87678,7 +90264,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -87697,7 +90283,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -87716,7 +90302,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -87735,7 +90321,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -87756,7 +90342,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -88038,7 +90624,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -88057,7 +90643,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -88076,7 +90662,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -88095,7 +90681,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -88114,7 +90700,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -88133,7 +90719,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -88152,7 +90738,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -88171,7 +90757,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -88190,7 +90776,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -88209,7 +90795,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -88228,7 +90814,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -88247,7 +90833,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -88266,7 +90852,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -88285,7 +90871,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -88304,7 +90890,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -88327,7 +90913,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -88578,7 +91164,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -88597,7 +91183,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -88616,7 +91202,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -88635,7 +91221,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -88654,7 +91240,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -88673,7 +91259,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -88692,7 +91278,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -88711,7 +91297,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -88730,7 +91316,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -88749,7 +91335,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -88768,7 +91354,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -88787,7 +91373,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -88806,7 +91392,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -88825,7 +91411,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -88844,7 +91430,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -88865,7 +91451,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -88965,7 +91551,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 12 } ], @@ -88992,7 +91578,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 78, + "line": 79, "character": 2 } ], @@ -89074,7 +91660,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 2 } ], @@ -89089,7 +91675,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 12 } ], @@ -89133,7 +91719,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 70, + "line": 71, "character": 2 } ], @@ -89177,7 +91763,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 74, + "line": 75, "character": 2 } ], @@ -89201,7 +91787,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -89220,7 +91806,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -89239,7 +91825,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -89258,7 +91844,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -89277,7 +91863,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -89296,7 +91882,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -89315,7 +91901,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -89334,7 +91920,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -89353,7 +91939,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -89372,7 +91958,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -89391,7 +91977,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -89410,7 +91996,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -89429,7 +92015,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -89448,7 +92034,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -89467,7 +92053,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -89491,7 +92077,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -89509,7 +92095,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 36 } ] @@ -89631,7 +92217,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 20, "character": 2 } ], @@ -89705,7 +92291,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -89730,7 +92316,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 18, "character": 13 } ], @@ -89776,7 +92362,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -89827,7 +92413,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -89857,7 +92443,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 26, + "line": 27, "character": 13 } ], @@ -89885,7 +92471,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 39, + "line": 40, "character": 2 } ], @@ -89936,7 +92522,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -89966,7 +92552,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 38, + "line": 39, "character": 13 } ], @@ -89994,7 +92580,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 33, + "line": 34, "character": 2 } ], @@ -90045,7 +92631,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -90075,7 +92661,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 32, + "line": 33, "character": 13 } ], @@ -90096,7 +92682,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 12 } ], @@ -90123,7 +92709,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 78, + "line": 79, "character": 2 } ], @@ -90205,7 +92791,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 2 } ], @@ -90220,7 +92806,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 12 } ], @@ -90264,7 +92850,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 70, + "line": 71, "character": 2 } ], @@ -90308,7 +92894,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 74, + "line": 75, "character": 2 } ], @@ -90332,7 +92918,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -90351,7 +92937,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -90370,7 +92956,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -90389,7 +92975,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -90408,7 +92994,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -90427,7 +93013,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -90446,7 +93032,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -90465,7 +93051,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -90484,7 +93070,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -90503,7 +93089,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -90522,7 +93108,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -90541,7 +93127,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -90560,7 +93146,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -90579,7 +93165,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -90598,7 +93184,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -90619,7 +93205,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -90637,7 +93223,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 36 } ] @@ -90653,7 +93239,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 16, "character": 12 } ], diff --git a/apps/docs/spec/enrichments/tsdoc_v2/functions.json b/apps/docs/spec/enrichments/tsdoc_v2/functions.json index 9e27366a175..eb3e8bbe95e 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/functions.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/functions.json @@ -22,7 +22,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -41,7 +41,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -60,7 +60,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -79,7 +79,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -98,7 +98,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -117,7 +117,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -136,7 +136,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -155,7 +155,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -174,7 +174,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -193,7 +193,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -212,7 +212,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -231,7 +231,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -250,7 +250,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -269,7 +269,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -288,7 +288,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -309,7 +309,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -1006,7 +1006,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 20, "character": 2 } ], @@ -1080,7 +1080,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -1105,7 +1105,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 18, "character": 13 } ], @@ -1151,7 +1151,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -1202,7 +1202,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -1232,7 +1232,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 26, + "line": 27, "character": 13 } ], @@ -1260,7 +1260,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 39, + "line": 40, "character": 2 } ], @@ -1311,7 +1311,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -1341,7 +1341,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 38, + "line": 39, "character": 13 } ], @@ -1369,7 +1369,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 33, + "line": 34, "character": 2 } ], @@ -1420,7 +1420,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -1450,7 +1450,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 32, + "line": 33, "character": 13 } ], @@ -1471,7 +1471,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 12 } ], @@ -1498,7 +1498,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 78, + "line": 79, "character": 2 } ], @@ -1580,7 +1580,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 2 } ], @@ -1595,7 +1595,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 12 } ], @@ -1639,7 +1639,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 70, + "line": 71, "character": 2 } ], @@ -1683,7 +1683,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 74, + "line": 75, "character": 2 } ], @@ -1704,7 +1704,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 36 } ] @@ -1720,7 +1720,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 16, "character": 12 } ], diff --git a/apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json index 89c4d5f7ecf..67dfd7e419e 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json @@ -22,7 +22,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -41,7 +41,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -60,7 +60,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -79,7 +79,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -98,7 +98,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -117,7 +117,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -136,7 +136,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -155,7 +155,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -174,7 +174,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -193,7 +193,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -212,7 +212,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -231,7 +231,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -250,7 +250,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -269,7 +269,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -288,7 +288,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -309,7 +309,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -591,7 +591,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -610,7 +610,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -629,7 +629,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -648,7 +648,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -667,7 +667,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -686,7 +686,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -705,7 +705,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -724,7 +724,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -743,7 +743,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -762,7 +762,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -781,7 +781,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -800,7 +800,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -819,7 +819,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -838,7 +838,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -857,7 +857,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -880,7 +880,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -1131,7 +1131,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -1150,7 +1150,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -1169,7 +1169,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -1188,7 +1188,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -1207,7 +1207,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -1226,7 +1226,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -1245,7 +1245,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -1264,7 +1264,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -1283,7 +1283,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -1302,7 +1302,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -1321,7 +1321,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -1340,7 +1340,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -1359,7 +1359,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -1378,7 +1378,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -1397,7 +1397,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -1418,7 +1418,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -1518,7 +1518,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 12 } ], @@ -1545,7 +1545,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 78, + "line": 79, "character": 2 } ], @@ -1627,7 +1627,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 2 } ], @@ -1642,7 +1642,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 12 } ], @@ -1686,7 +1686,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 70, + "line": 71, "character": 2 } ], @@ -1730,7 +1730,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 74, + "line": 75, "character": 2 } ], @@ -1754,7 +1754,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -1773,7 +1773,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -1792,7 +1792,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -1811,7 +1811,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -1830,7 +1830,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -1849,7 +1849,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -1868,7 +1868,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -1887,7 +1887,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -1906,7 +1906,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -1925,7 +1925,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -1944,7 +1944,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -1963,7 +1963,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -1982,7 +1982,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -2001,7 +2001,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -2020,7 +2020,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -2043,7 +2043,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -2061,7 +2061,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 36 } ] @@ -2183,7 +2183,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 19, + "line": 20, "character": 2 } ], @@ -2257,7 +2257,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -2282,7 +2282,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 17, + "line": 18, "character": 13 } ], @@ -2328,7 +2328,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 27, + "line": 28, "character": 2 } ], @@ -2379,7 +2379,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -2409,7 +2409,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 26, + "line": 27, "character": 13 } ], @@ -2437,7 +2437,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 39, + "line": 40, "character": 2 } ], @@ -2488,7 +2488,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -2518,7 +2518,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 38, + "line": 39, "character": 13 } ], @@ -2546,7 +2546,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 33, + "line": 34, "character": 2 } ], @@ -2597,7 +2597,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 18, + "line": 19, "character": 2 } ], @@ -2627,7 +2627,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 32, + "line": 33, "character": 13 } ], @@ -2648,7 +2648,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 12 } ], @@ -2675,7 +2675,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 78, + "line": 79, "character": 2 } ], @@ -2757,7 +2757,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 2 } ], @@ -2772,7 +2772,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 66, + "line": 67, "character": 12 } ], @@ -2816,7 +2816,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 70, + "line": 71, "character": 2 } ], @@ -2860,7 +2860,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 74, + "line": 75, "character": 2 } ], @@ -2884,7 +2884,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 45, + "line": 46, "character": 2 } ], @@ -2903,7 +2903,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 46, + "line": 47, "character": 2 } ], @@ -2922,7 +2922,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 47, + "line": 48, "character": 2 } ], @@ -2941,7 +2941,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 48, + "line": 49, "character": 2 } ], @@ -2960,7 +2960,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 49, + "line": 50, "character": 2 } ], @@ -2979,7 +2979,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 50, + "line": 51, "character": 2 } ], @@ -2998,7 +2998,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 51, + "line": 52, "character": 2 } ], @@ -3017,7 +3017,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 52, + "line": 53, "character": 2 } ], @@ -3036,7 +3036,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 53, + "line": 54, "character": 2 } ], @@ -3055,7 +3055,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 54, + "line": 55, "character": 2 } ], @@ -3074,7 +3074,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 55, + "line": 56, "character": 2 } ], @@ -3093,7 +3093,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 56, + "line": 57, "character": 2 } ], @@ -3112,7 +3112,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 57, + "line": 58, "character": 2 } ], @@ -3131,7 +3131,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 58, + "line": 59, "character": 2 } ], @@ -3150,7 +3150,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 59, + "line": 60, "character": 2 } ], @@ -3171,7 +3171,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 44, + "line": 45, "character": 12 } ] @@ -3189,7 +3189,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 62, + "line": 63, "character": 36 } ] @@ -3205,7 +3205,7 @@ "sources": [ { "fileName": "src/types.ts", - "line": 15, + "line": 16, "character": 12 } ], diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json index 9ff81b74039..89fe9472f01 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 1247, + "id": 1280, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1248, + "id": 1281, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1249, + "id": 1282, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1250, + "id": 1283, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1251, + "id": 1284, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1252, + "id": 1285, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,24 +79,24 @@ ], "type": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1239, + "id": 1272, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1238, + "id": 1271, "name": "AuthError.constructor" } }, { - "id": 1254, + "id": 1287, "name": "code", "kind": 1024, "kindString": "Property", @@ -128,7 +128,7 @@ { "type": "reflection", "declaration": { - "id": 1255, + "id": 1288, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -145,12 +145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1276, "name": "AuthError.code" } }, { - "id": 1253, + "id": 1286, "name": "status", "kind": 1024, "kindString": "Property", @@ -171,7 +171,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -180,12 +180,12 @@ { "title": "Constructors", "kind": 512, - "children": [1248] + "children": [1281] }, { "title": "Properties", "kind": 1024, - "children": [1254, 1253] + "children": [1287, 1286] } ], "sources": [ @@ -198,20 +198,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] }, { - "id": 1237, + "id": 1270, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1238, + "id": 1271, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -225,14 +225,14 @@ ], "signatures": [ { - "id": 1239, + "id": 1272, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1240, + "id": 1273, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -243,7 +243,7 @@ } }, { - "id": 1241, + "id": 1274, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -256,7 +256,7 @@ } }, { - "id": 1242, + "id": 1275, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, "overwrites": { @@ -285,2653 +285,6 @@ "name": "Error.constructor" } }, - { - "id": 1243, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - } - }, - { - "id": 1245, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1238] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1243, 1245] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1247, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1304, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1305, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1306, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1307, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1308, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1309, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1311, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1310, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1311, 1310] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1304, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1328, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1312, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1313, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1315, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1314, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1315, 1314] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1326, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1327, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1316, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1317, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1318, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1322, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1323, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1325, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1324, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1325, 1324] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1320, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1319, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1321, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1322, 1320, 1319, 1321] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1305] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1328, 1312, 1326, 1327] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1316] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1295, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1296, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1297, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1298, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1295, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1301, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1299, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1300, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1296] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1301, 1299, 1300] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 82, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1380, - "name": "AuthInvalidJwtError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1381, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 162, - "character": 2 - } - ], - "signatures": [ - { - "id": 1382, - "name": "new AuthInvalidJwtError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1383, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1380, - "name": "AuthInvalidJwtError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1386, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1384, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1385, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1381] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1386, 1384, 1385] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 161, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1287, - "name": "AuthInvalidTokenResponseError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1288, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 77, - "character": 2 - } - ], - "signatures": [ - { - "id": 1289, - "name": "new AuthInvalidTokenResponseError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1287, - "name": "AuthInvalidTokenResponseError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1292, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1293, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1290, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1291, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1288] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1292, 1290, 1291] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 76, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1332, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 2 - } - ], - "signatures": [ - { - "id": 1333, - "name": "new AuthPKCEGrantCodeExchangeError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1334, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1335, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1336, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1338, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1337, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1338, 1337] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1355, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1339, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1340, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1342, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1341, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1342, 1341] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1353, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1354, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1343, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 119, - "character": 2 - } - ], - "signatures": [ - { - "id": 1344, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1345, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1349, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1350, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1352, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1351, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1352, 1351] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1347, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 122, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1346, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 121, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1348, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 123, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1349, 1347, 1346, 1348] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1332] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1355, 1339, 1353, 1354] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1343] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 111, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1358, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1359, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 130, - "character": 2 - } - ], - "signatures": [ - { - "id": 1360, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1361, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1362, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 1358, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1365, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1366, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1363, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1364, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1359] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1365, 1363, 1364] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 129, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1279, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1280, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2 - } - ], - "signatures": [ - { - "id": 1281, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1279, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1284, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1285, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1282, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1283, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1280] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1284, 1282, 1283] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1257, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1258, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 1259, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1260, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1261, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, - { - "id": 1263, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1243, - "name": "AuthError.code" - } - }, - { - "id": 1262, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1265, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1245, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1258] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1263, 1262, 1265] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 45, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - ] - }, - { - "id": 1368, - "name": "AuthWeakPasswordError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." - }, - "children": [ - { - "id": 1369, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 150, - "character": 2 - } - ], - "signatures": [ - { - "id": 1370, - "name": "new AuthWeakPasswordError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1371, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1372, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1373, - "name": "reasons", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 1368, - "name": "AuthWeakPasswordError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1377, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1375, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1374, - "name": "reasons", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Reasons why the password is deemed weak." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 148, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 591, - "name": "WeakPasswordReasons" - } - } - }, - { - "id": 1376, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1369] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1377, 1375, 1374, 1376] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 144, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1267, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1268, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 2 - } - ], - "signatures": [ - { - "id": 1269, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1270, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1271, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1272, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1273, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, { "id": 1276, "name": "code", @@ -2979,15 +332,2662 @@ "name": "ErrorCode" } ] + } + }, + { + "id": 1278, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1271] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1276, 1278] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1280, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1337, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1338, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1339, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1340, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1341, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1342, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1344, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1343, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1344, 1343] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1337, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1361, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1345, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1346, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1348, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1347, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1348, 1347] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1359, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1360, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1349, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1350, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1355, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1358, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1357, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1358, 1357] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1353, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1352, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1354, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1355, 1353, 1352, 1354] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1338] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1361, 1345, 1359, 1360] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1349] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1328, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1329, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1330, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1331, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1328, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1334, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1335, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1332, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1333, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1329] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1334, 1332, 1333] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1413, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1414, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1415, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1416, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1413, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1419, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1417, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1418, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1414] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1419, 1417, 1418] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1320, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1321, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1322, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1320, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1325, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1323, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1324, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1321] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1325, 1323, 1324] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 76, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1365, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 2 + } + ], + "signatures": [ + { + "id": 1366, + "name": "new AuthPKCEGrantCodeExchangeError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1367, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1368, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1371, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1370, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1371, 1370] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1388, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1372, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1375, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1374, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1375, 1374] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1386, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1387, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1376, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 1377, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1382, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 124, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1385, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1384, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1385, 1384] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1380, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 122, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1379, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1381, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 123, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1382, 1380, 1379, 1381] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1365] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1388, 1372, 1386, 1387] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1376] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 111, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1391, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1392, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 1393, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1394, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1395, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 1391, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1398, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1399, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1396, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1397, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1392] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1398, 1396, 1397] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 129, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1312, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1313, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 1314, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1312, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1317, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1315, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1316, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1313] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1317, 1315, 1316] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1290, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1291, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 1292, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1293, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1294, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1296, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1297, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, "name": "AuthError.code" } }, { - "id": 1274, + "id": 1295, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1298, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1278, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1291] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1296, 1295, 1298] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + ] + }, + { + "id": 1401, + "name": "AuthWeakPasswordError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." + }, + "children": [ + { + "id": 1402, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 150, + "character": 2 + } + ], + "signatures": [ + { + "id": 1403, + "name": "new AuthWeakPasswordError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1404, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1405, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1406, + "name": "reasons", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 1401, + "name": "AuthWeakPasswordError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1410, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1408, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1407, + "name": "reasons", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Reasons why the password is deemed weak." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 148, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 606, + "name": "WeakPasswordReasons" + } + } + }, + { + "id": 1409, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1402] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1410, 1408, 1407, 1409] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 144, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1300, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1301, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 1302, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1303, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1304, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1305, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1306, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1309, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, + "name": "AuthError.code" + } + }, + { + "id": 1307, "name": "name", "kind": 1024, "kindString": "Property", @@ -3009,7 +3009,7 @@ } }, { - "id": 1275, + "id": 1308, "name": "status", "kind": 1024, "kindString": "Property", @@ -3030,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -3039,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1268] + "children": [1301] }, { "title": "Properties", "kind": 1024, - "children": [1276, 1274, 1275] + "children": [1309, 1307, 1308] } ], "sources": [ @@ -3057,49 +3057,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1287, + "id": 1320, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1295, + "id": 1328, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1331, + "id": 1364, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1380, + "id": 1413, "name": "AuthInvalidJwtError" } ] @@ -3342,7 +3342,7 @@ ], "type": { "type": "reference", - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi" } }, @@ -3378,7 +3378,7 @@ "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes" } } @@ -3388,7 +3388,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -3458,7 +3458,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -3501,7 +3501,7 @@ "flags": {}, "type": { "type": "reference", - "id": 974, + "id": 1007, "name": "GenerateLinkParams" } } @@ -3511,7 +3511,7 @@ "typeArguments": [ { "type": "reference", - "id": 975, + "id": 1008, "name": "GenerateLinkResponse" } ], @@ -3566,7 +3566,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -3697,7 +3697,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -3746,7 +3746,7 @@ }, "type": { "type": "reference", - "id": 1146, + "id": 1179, "name": "PageParams" } } @@ -3826,7 +3826,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -3843,7 +3843,7 @@ }, { "type": "reference", - "id": 1139, + "id": 1172, "name": "Pagination" } ] @@ -3951,7 +3951,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -4094,7 +4094,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -4164,7 +4164,7 @@ }, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes" } } @@ -4174,7 +4174,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -4227,7 +4227,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 229, + "line": 240, "character": 2 } ], @@ -4250,7 +4250,7 @@ "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 584, "name": "GoTrueClientOptions" } } @@ -4275,7 +4275,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 156, + "line": 167, "character": 2 } ], @@ -4297,13 +4297,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 160, + "line": 171, "character": 2 } ], "type": { "type": "reference", - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi" } }, @@ -4316,7 +4316,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 640, + "line": 651, "character": 8 } ], @@ -4348,7 +4348,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -4360,7 +4360,7 @@ ] }, { - "id": 508, + "id": 523, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -4368,13 +4368,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3025, + "line": 3181, "character": 8 } ], "signatures": [ { - "id": 509, + "id": 524, "name": "getClaims", "kind": 4096, "kindString": "Call signature", @@ -4385,7 +4385,7 @@ }, "parameters": [ { - "id": 510, + "id": 525, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -4401,7 +4401,7 @@ } }, { - "id": 511, + "id": 526, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4412,14 +4412,14 @@ "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 529, "name": "allowExpired", "kind": 1024, "kindString": "Property", @@ -4432,7 +4432,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3034, + "line": 3190, "character": 6 } ], @@ -4442,7 +4442,7 @@ } }, { - "id": 515, + "id": 530, "name": "jwks", "kind": 1024, "kindString": "Property", @@ -4455,21 +4455,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 517, + "id": 532, "name": "keys", "kind": 1024, "kindString": "Property", @@ -4477,7 +4477,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 15 } ], @@ -4485,7 +4485,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -4495,14 +4495,14 @@ { "title": "Properties", "kind": 1024, - "children": [517] + "children": [532] } ] } } }, { - "id": 513, + "id": 528, "name": "keys", "kind": 1024, "kindString": "Property", @@ -4520,7 +4520,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3031, + "line": 3187, "character": 6 } ], @@ -4528,7 +4528,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -4538,7 +4538,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 515, 513] + "children": [529, 530, 528] } ] } @@ -4555,14 +4555,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 533, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 534, "name": "data", "kind": 1024, "kindString": "Property", @@ -4570,21 +4570,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 521, + "id": 536, "name": "claims", "kind": 1024, "kindString": "Property", @@ -4592,18 +4592,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 16 } ], "type": { "type": "reference", - "id": 1206, + "id": 1239, "name": "JwtPayload" } }, { - "id": 522, + "id": 537, "name": "header", "kind": 1024, "kindString": "Property", @@ -4611,18 +4611,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 36 } ], "type": { "type": "reference", - "id": 1191, + "id": 1224, "name": "JwtHeader" } }, { - "id": 523, + "id": 538, "name": "signature", "kind": 1024, "kindString": "Property", @@ -4630,7 +4630,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 55 } ], @@ -4646,14 +4646,14 @@ { "title": "Properties", "kind": 1024, - "children": [521, 522, 523] + "children": [536, 537, 538] } ] } } }, { - "id": 524, + "id": 539, "name": "error", "kind": 1024, "kindString": "Property", @@ -4661,7 +4661,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3042, + "line": 3198, "character": 8 } ], @@ -4675,7 +4675,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 524] + "children": [534, 539] } ] } @@ -4683,14 +4683,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -4698,7 +4698,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 8 } ], @@ -4708,7 +4708,7 @@ } }, { - "id": 527, + "id": 542, "name": "error", "kind": 1024, "kindString": "Property", @@ -4716,13 +4716,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -4731,7 +4731,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527] + "children": [541, 542] } ] } @@ -4739,14 +4739,14 @@ { "type": "reflection", "declaration": { - "id": 528, + "id": 543, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 529, + "id": 544, "name": "data", "kind": 1024, "kindString": "Property", @@ -4754,7 +4754,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 8 } ], @@ -4764,7 +4764,7 @@ } }, { - "id": 530, + "id": 545, "name": "error", "kind": 1024, "kindString": "Property", @@ -4772,7 +4772,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 20 } ], @@ -4786,7 +4786,7 @@ { "title": "Properties", "kind": 1024, - "children": [529, 530] + "children": [544, 545] } ] } @@ -4802,7 +4802,7 @@ ] }, { - "id": 217, + "id": 232, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -4810,13 +4810,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1199, + "line": 1355, "character": 8 } ], "signatures": [ { - "id": 218, + "id": 233, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -4834,14 +4834,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -4849,21 +4849,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1292, + "line": 1448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 237, "name": "session", "kind": 1024, "kindString": "Property", @@ -4871,13 +4871,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1293, + "line": 1449, "character": 14 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -4886,14 +4886,14 @@ { "title": "Properties", "kind": 1024, - "children": [222] + "children": [237] } ] } } }, { - "id": 223, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -4901,7 +4901,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1295, + "line": 1451, "character": 12 } ], @@ -4915,7 +4915,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 223] + "children": [235, 238] } ] } @@ -4923,14 +4923,14 @@ { "type": "reflection", "declaration": { - "id": 224, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 225, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -4938,21 +4938,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1298, + "line": 1454, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 242, "name": "session", "kind": 1024, "kindString": "Property", @@ -4960,7 +4960,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1299, + "line": 1455, "character": 14 } ], @@ -4974,14 +4974,14 @@ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [242] } ] } } }, { - "id": 228, + "id": 243, "name": "error", "kind": 1024, "kindString": "Property", @@ -4989,13 +4989,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1301, + "line": 1457, "character": 12 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -5004,7 +5004,7 @@ { "title": "Properties", "kind": 1024, - "children": [225, 228] + "children": [240, 243] } ] } @@ -5012,14 +5012,14 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 245, "name": "data", "kind": 1024, "kindString": "Property", @@ -5027,21 +5027,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1304, + "line": 1460, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 231, + "id": 246, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 232, + "id": 247, "name": "session", "kind": 1024, "kindString": "Property", @@ -5049,7 +5049,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1305, + "line": 1461, "character": 14 } ], @@ -5063,14 +5063,14 @@ { "title": "Properties", "kind": 1024, - "children": [232] + "children": [247] } ] } } }, { - "id": 233, + "id": 248, "name": "error", "kind": 1024, "kindString": "Property", @@ -5078,7 +5078,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1463, "character": 12 } ], @@ -5092,7 +5092,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 233] + "children": [245, 248] } ] } @@ -5108,7 +5108,7 @@ ] }, { - "id": 280, + "id": 295, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -5116,13 +5116,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1443, + "line": 1599, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 296, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -5132,7 +5132,7 @@ }, "parameters": [ { - "id": 282, + "id": 297, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -5153,7 +5153,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -5165,7 +5165,7 @@ ] }, { - "id": 389, + "id": 404, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -5173,13 +5173,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2001, + "line": 2157, "character": 8 } ], "signatures": [ { - "id": 390, + "id": 405, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -5196,14 +5196,14 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 406, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 392, + "id": 407, "name": "data", "kind": 1024, "kindString": "Property", @@ -5211,21 +5211,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2003, + "line": 2159, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 393, + "id": 408, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 394, + "id": 409, "name": "identities", "kind": 1024, "kindString": "Property", @@ -5233,7 +5233,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2004, + "line": 2160, "character": 10 } ], @@ -5241,7 +5241,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity" } } @@ -5251,14 +5251,14 @@ { "title": "Properties", "kind": 1024, - "children": [394] + "children": [409] } ] } } }, { - "id": 395, + "id": 410, "name": "error", "kind": 1024, "kindString": "Property", @@ -5266,7 +5266,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2006, + "line": 2162, "character": 8 } ], @@ -5280,7 +5280,7 @@ { "title": "Properties", "kind": 1024, - "children": [392, 395] + "children": [407, 410] } ] } @@ -5288,14 +5288,14 @@ { "type": "reflection", "declaration": { - "id": 396, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 412, "name": "data", "kind": 1024, "kindString": "Property", @@ -5303,7 +5303,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 8 } ], @@ -5313,7 +5313,7 @@ } }, { - "id": 398, + "id": 413, "name": "error", "kind": 1024, "kindString": "Property", @@ -5321,13 +5321,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -5336,7 +5336,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398] + "children": [412, 413] } ] } @@ -5360,7 +5360,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 342, + "line": 353, "character": 8 } ], @@ -5379,7 +5379,7 @@ "typeArguments": [ { "type": "reference", - "id": 1129, + "id": 1162, "name": "InitializeResult" } ], @@ -5391,7 +5391,7 @@ ] }, { - "id": 399, + "id": 414, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -5399,13 +5399,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2025, + "line": 2181, "character": 8 } ], "signatures": [ { - "id": 400, + "id": 415, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -5415,14 +5415,14 @@ }, "parameters": [ { - "id": 401, + "id": 416, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials" } } @@ -5432,7 +5432,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -5444,7 +5444,7 @@ ] }, { - "id": 361, + "id": 376, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -5452,13 +5452,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1899, + "line": 2055, "character": 2 } ], "signatures": [ { - "id": 362, + "id": 377, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -5468,7 +5468,7 @@ }, "parameters": [ { - "id": 363, + "id": 378, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -5479,33 +5479,33 @@ "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 365, + "id": 380, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 366, + "id": 381, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent" } }, { - "id": 367, + "id": 382, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -5519,7 +5519,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -5556,14 +5556,14 @@ "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 369, + "id": 384, "name": "data", "kind": 1024, "kindString": "Property", @@ -5571,21 +5571,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 370, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 371, + "id": 386, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -5593,13 +5593,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 12 } ], "type": { "type": "reference", - "id": 785, + "id": 800, "name": "Subscription" } } @@ -5608,7 +5608,7 @@ { "title": "Properties", "kind": 1024, - "children": [371] + "children": [386] } ] } @@ -5619,7 +5619,7 @@ { "title": "Properties", "kind": 1024, - "children": [369] + "children": [384] } ] } @@ -5628,7 +5628,7 @@ ] }, { - "id": 210, + "id": 225, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -5636,13 +5636,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1115, + "line": 1271, "character": 8 } ], "signatures": [ { - "id": 211, + "id": 226, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -5655,7 +5655,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -5667,7 +5667,7 @@ ] }, { - "id": 310, + "id": 325, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -5675,13 +5675,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 8 } ], "signatures": [ { - "id": 311, + "id": 326, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -5691,7 +5691,7 @@ }, "parameters": [ { - "id": 312, + "id": 327, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -5704,14 +5704,14 @@ "type": { "type": "reflection", "declaration": { - "id": 313, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 329, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -5719,7 +5719,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 42 } ], @@ -5733,7 +5733,7 @@ { "title": "Properties", "kind": 1024, - "children": [314] + "children": [329] } ] } @@ -5745,7 +5745,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -5757,7 +5757,7 @@ ] }, { - "id": 214, + "id": 229, "name": "resend", "kind": 2048, "kindString": "Method", @@ -5765,13 +5765,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1150, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 215, + "id": 230, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -5781,14 +5781,14 @@ }, "parameters": [ { - "id": 216, + "id": 231, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 955, "name": "ResendParams" } } @@ -5798,7 +5798,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -5810,7 +5810,7 @@ ] }, { - "id": 375, + "id": 390, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -5818,13 +5818,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1955, + "line": 2111, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 391, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -5834,7 +5834,7 @@ }, "parameters": [ { - "id": 377, + "id": 392, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -5848,7 +5848,7 @@ } }, { - "id": 378, + "id": 393, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5856,14 +5856,14 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 381, + "id": 396, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -5876,7 +5876,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1959, + "line": 2115, "character": 6 } ], @@ -5886,7 +5886,7 @@ } }, { - "id": 380, + "id": 395, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -5899,7 +5899,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1958, + "line": 2114, "character": 6 } ], @@ -5913,7 +5913,7 @@ { "title": "Properties", "kind": 1024, - "children": [381, 380] + "children": [396, 395] } ] } @@ -5930,14 +5930,14 @@ { "type": "reflection", "declaration": { - "id": 382, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 398, "name": "data", "kind": 1024, "kindString": "Property", @@ -5945,14 +5945,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1963, + "line": 2119, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 384, + "id": 399, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5961,7 +5961,7 @@ } }, { - "id": 385, + "id": 400, "name": "error", "kind": 1024, "kindString": "Property", @@ -5969,7 +5969,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1964, + "line": 2120, "character": 8 } ], @@ -5983,7 +5983,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 385] + "children": [398, 400] } ] } @@ -5991,14 +5991,14 @@ { "type": "reflection", "declaration": { - "id": 386, + "id": 401, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 387, + "id": 402, "name": "data", "kind": 1024, "kindString": "Property", @@ -6006,7 +6006,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 8 } ], @@ -6016,7 +6016,7 @@ } }, { - "id": 388, + "id": 403, "name": "error", "kind": 1024, "kindString": "Property", @@ -6024,13 +6024,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -6039,7 +6039,7 @@ { "title": "Properties", "kind": 1024, - "children": [387, 388] + "children": [402, 403] } ] } @@ -6055,7 +6055,7 @@ ] }, { - "id": 298, + "id": 313, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -6063,13 +6063,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1573, + "line": 1729, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 314, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -6079,7 +6079,7 @@ }, "parameters": [ { - "id": 300, + "id": 315, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -6090,14 +6090,14 @@ "type": { "type": "reflection", "declaration": { - "id": 301, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 317, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -6105,7 +6105,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1574, + "line": 1730, "character": 4 } ], @@ -6115,7 +6115,7 @@ } }, { - "id": 303, + "id": 318, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -6123,7 +6123,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1575, + "line": 1731, "character": 4 } ], @@ -6137,7 +6137,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [317, 318] } ] } @@ -6149,7 +6149,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -6169,7 +6169,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 445, + "line": 456, "character": 8 } ], @@ -6195,7 +6195,7 @@ }, "type": { "type": "reference", - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials" } } @@ -6205,7 +6205,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -6217,7 +6217,7 @@ ] }, { - "id": 198, + "id": 213, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -6225,13 +6225,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 908, + "line": 1064, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 214, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -6241,14 +6241,14 @@ }, "parameters": [ { - "id": 200, + "id": 215, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials" } } @@ -6258,7 +6258,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -6278,7 +6278,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 628, + "line": 639, "character": 8 } ], @@ -6301,7 +6301,7 @@ "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials" } } @@ -6311,7 +6311,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -6323,7 +6323,7 @@ ] }, { - "id": 201, + "id": 216, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -6331,13 +6331,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 963, + "line": 1119, "character": 8 } ], "signatures": [ { - "id": 202, + "id": 217, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -6348,14 +6348,14 @@ }, "parameters": [ { - "id": 203, + "id": 218, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 829, + "id": 844, "name": "SignInWithPasswordlessCredentials" } } @@ -6365,7 +6365,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -6385,7 +6385,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 565, + "line": 576, "character": 8 } ], @@ -6409,7 +6409,7 @@ "flags": {}, "type": { "type": "reference", - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials" } } @@ -6419,7 +6419,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 667, "name": "AuthTokenResponsePassword" } ], @@ -6431,7 +6431,7 @@ ] }, { - "id": 207, + "id": 222, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -6439,13 +6439,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1077, + "line": 1233, "character": 8 } ], "signatures": [ { - "id": 208, + "id": 223, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -6456,14 +6456,14 @@ }, "parameters": [ { - "id": 209, + "id": 224, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 936, + "id": 969, "name": "SignInWithSSO" } } @@ -6473,7 +6473,7 @@ "typeArguments": [ { "type": "reference", - "id": 680, + "id": 695, "name": "SSOResponse" } ], @@ -6493,7 +6493,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 666, "character": 8 } ], @@ -6505,7 +6505,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Signs in a user by verifying a message signed by the user's private key.\nOnly Solana supported at this time, using the Sign in with Solana standard." + "shortText": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side.", + "tags": [ + { + "tag": "reference", + "text": "https://eips.ethereum.org/EIPS/eip-4361\n" + } + ] }, "parameters": [ { @@ -6516,8 +6522,8 @@ "flags": {}, "type": { "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials" + "id": 932, + "name": "Web3Credentials" } } ], @@ -6545,7 +6551,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 8 } ], @@ -6567,13 +6573,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 16 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } }, @@ -6586,13 +6592,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 34 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -6616,7 +6622,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 655, + "line": 669, "character": 8 } ], @@ -6653,7 +6659,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 8 } ], @@ -6675,7 +6681,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 16 } ], @@ -6693,7 +6699,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 31 } ], @@ -6722,13 +6728,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 45 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -6753,7 +6759,7 @@ ] }, { - "id": 351, + "id": 366, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -6761,13 +6767,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 8 } ], "signatures": [ { - "id": 352, + "id": 367, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -6778,14 +6784,14 @@ }, "parameters": [ { - "id": 353, + "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1150, + "id": 1183, "name": "SignOut" }, "defaultValue": "..." @@ -6797,14 +6803,14 @@ { "type": "reflection", "declaration": { - "id": 354, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 355, + "id": 370, "name": "error", "kind": 1024, "kindString": "Property", @@ -6812,7 +6818,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 67 } ], @@ -6825,7 +6831,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -6836,7 +6842,7 @@ { "title": "Properties", "kind": 1024, - "children": [355] + "children": [370] } ] } @@ -6858,7 +6864,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 488, + "line": 499, "character": 8 } ], @@ -6883,7 +6889,7 @@ "flags": {}, "type": { "type": "reference", - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials" } } @@ -6893,7 +6899,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -6905,7 +6911,7 @@ ] }, { - "id": 457, + "id": 472, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6913,13 +6919,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2542, + "line": 2698, "character": 8 } ], "signatures": [ { - "id": 458, + "id": 473, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6944,7 +6950,7 @@ ] }, { - "id": 459, + "id": 474, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -6952,13 +6958,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2555, + "line": 2711, "character": 8 } ], "signatures": [ { - "id": 460, + "id": 475, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -6983,7 +6989,7 @@ ] }, { - "id": 402, + "id": 417, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -6991,13 +6997,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2061, + "line": 2217, "character": 8 } ], "signatures": [ { - "id": 403, + "id": 418, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -7007,14 +7013,14 @@ }, "parameters": [ { - "id": 404, + "id": 419, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity" } } @@ -7028,14 +7034,14 @@ { "type": "reflection", "declaration": { - "id": 405, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 406, + "id": 421, "name": "data", "kind": 1024, "kindString": "Property", @@ -7043,14 +7049,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2063, + "line": 2219, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 407, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7059,7 +7065,7 @@ } }, { - "id": 408, + "id": 423, "name": "error", "kind": 1024, "kindString": "Property", @@ -7067,7 +7073,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2064, + "line": 2220, "character": 8 } ], @@ -7081,7 +7087,7 @@ { "title": "Properties", "kind": 1024, - "children": [406, 408] + "children": [421, 423] } ] } @@ -7089,14 +7095,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -7104,7 +7110,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 8 } ], @@ -7114,7 +7120,7 @@ } }, { - "id": 411, + "id": 426, "name": "error", "kind": 1024, "kindString": "Property", @@ -7122,13 +7128,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -7137,7 +7143,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 411] + "children": [425, 426] } ] } @@ -7153,7 +7159,7 @@ ] }, { - "id": 286, + "id": 301, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -7161,13 +7167,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1504, + "line": 1660, "character": 8 } ], "signatures": [ { - "id": 287, + "id": 302, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -7177,19 +7183,19 @@ }, "parameters": [ { - "id": 288, + "id": 303, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" } }, { - "id": 289, + "id": 304, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7197,14 +7203,14 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 291, + "id": 306, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -7214,7 +7220,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1507, + "line": 1663, "character": 6 } ], @@ -7228,7 +7234,7 @@ { "title": "Properties", "kind": 1024, - "children": [291] + "children": [306] } ] } @@ -7241,7 +7247,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -7253,7 +7259,7 @@ ] }, { - "id": 204, + "id": 219, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -7261,13 +7267,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1016, + "line": 1172, "character": 8 } ], "signatures": [ { - "id": 205, + "id": 220, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -7277,14 +7283,14 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 900, + "id": 933, "name": "VerifyOtpParams" } } @@ -7294,7 +7300,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -7321,42 +7327,42 @@ "title": "Methods", "kind": 2048, "children": [ - 157, 508, 217, 280, 389, 141, 399, 361, 210, 310, 214, 375, 298, 145, 198, 154, 201, - 151, 207, 160, 351, 148, 457, 459, 402, 286, 204 + 157, 523, 232, 295, 404, 141, 414, 376, 225, 325, 229, 390, 313, 145, 213, 154, 216, + 151, 222, 160, 366, 148, 472, 474, 417, 301, 219 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 147, + "line": 158, "character": 21 } ] }, { - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 542, + "id": 557, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 543, + "id": 558, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 559, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7369,7 +7375,7 @@ ], "type": { "type": "reference", - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -7384,7 +7390,7 @@ } }, { - "id": 545, + "id": 560, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -7414,12 +7420,12 @@ { "title": "Constructors", "kind": 512, - "children": [542] + "children": [557] }, { "title": "Properties", "kind": 1024, - "children": [545] + "children": [560] } ], "sources": [ @@ -7437,7 +7443,7 @@ ] }, { - "id": 709, + "id": 724, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -7454,7 +7460,7 @@ }, "children": [ { - "id": 710, + "id": 725, "name": "method", "kind": 1024, "kindString": "Property", @@ -7465,7 +7471,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 281, + "line": 283, "character": 2 } ], @@ -7486,7 +7492,7 @@ { "type": "reflection", "declaration": { - "id": 711, + "id": 726, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7511,7 +7517,7 @@ } }, { - "id": 712, + "id": 727, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -7522,7 +7528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 289, "character": 2 } ], @@ -7536,26 +7542,26 @@ { "title": "Properties", "kind": 1024, - "children": [710, 712] + "children": [725, 727] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 281, "character": 17 } ] }, { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7569,7 +7575,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -7579,7 +7585,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7593,7 +7599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -7603,7 +7609,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -7616,7 +7622,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -7630,7 +7636,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7644,7 +7650,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -7654,7 +7660,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -7668,7 +7674,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -7678,7 +7684,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -7692,7 +7698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -7706,7 +7712,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -7719,7 +7725,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -7733,7 +7739,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -7747,7 +7753,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -7757,7 +7763,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7770,7 +7776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -7784,7 +7790,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7798,7 +7804,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -7808,7 +7814,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -7822,7 +7828,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -7832,7 +7838,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7846,7 +7852,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -7860,13 +7866,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] + "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -7876,7 +7882,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -7891,7 +7897,7 @@ ] }, { - "id": 725, + "id": 740, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -7915,7 +7921,7 @@ }, "children": [ { - "id": 731, + "id": 746, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -7923,7 +7929,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 327, "character": 2 } ], @@ -7933,7 +7939,7 @@ } }, { - "id": 728, + "id": 743, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -7944,7 +7950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 320, + "line": 322, "character": 2 } ], @@ -7961,7 +7967,7 @@ { "type": "reflection", "declaration": { - "id": 729, + "id": 744, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7982,7 +7988,7 @@ } }, { - "id": 727, + "id": 742, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -7995,7 +8001,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 317, "character": 2 } ], @@ -8005,7 +8011,7 @@ } }, { - "id": 726, + "id": 741, "name": "id", "kind": 1024, "kindString": "Property", @@ -8016,7 +8022,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 314, "character": 2 } ], @@ -8026,7 +8032,7 @@ } }, { - "id": 730, + "id": 745, "name": "status", "kind": 1024, "kindString": "Property", @@ -8037,7 +8043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 323, + "line": 325, "character": 2 } ], @@ -8056,7 +8062,7 @@ } }, { - "id": 732, + "id": 747, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -8064,7 +8070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 328, "character": 2 } ], @@ -8078,26 +8084,26 @@ { "title": "Properties", "kind": 1024, - "children": [731, 728, 727, 726, 730, 732] + "children": [746, 743, 742, 741, 745, 747] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 312, "character": 17 } ] }, { - "id": 971, + "id": 1004, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 972, + "id": 1005, "name": "data", "kind": 1024, "kindString": "Property", @@ -8111,7 +8117,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 810, + "line": 851, "character": 2 } ], @@ -8121,7 +8127,7 @@ } }, { - "id": 973, + "id": 1006, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -8134,7 +8140,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 812, + "line": 853, "character": 2 } ], @@ -8148,19 +8154,19 @@ { "title": "Properties", "kind": 1024, - "children": [972, 973] + "children": [1005, 1006] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 845, "character": 17 } ] }, { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -8176,14 +8182,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -8203,14 +8209,14 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams" } } @@ -8220,7 +8226,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -8232,14 +8238,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -8249,14 +8255,14 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams" } } @@ -8266,7 +8272,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -8282,19 +8288,19 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] }, { - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -8304,14 +8310,14 @@ }, "children": [ { - "id": 1078, + "id": 1111, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1079, + "id": 1112, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -8321,14 +8327,14 @@ }, "parameters": [ { - "id": 1080, + "id": 1113, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1038, "name": "MFAChallengeParams" } } @@ -8338,7 +8344,7 @@ "typeArguments": [ { "type": "reference", - "id": 1036, + "id": 1069, "name": "AuthMFAChallengeResponse" } ], @@ -8350,14 +8356,14 @@ ] }, { - "id": 1087, + "id": 1120, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1088, + "id": 1121, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -8367,14 +8373,14 @@ }, "parameters": [ { - "id": 1089, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams" } } @@ -8384,7 +8390,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -8396,14 +8402,14 @@ ] }, { - "id": 1071, + "id": 1104, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1072, + "id": 1105, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -8414,14 +8420,14 @@ }, "parameters": [ { - "id": 1073, + "id": 1106, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams" } } @@ -8431,7 +8437,7 @@ "typeArguments": [ { "type": "reference", - "id": 1163, + "id": 1196, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -8441,21 +8447,21 @@ } }, { - "id": 1074, + "id": 1107, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1075, + "id": 1108, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams" } } @@ -8465,7 +8471,7 @@ "typeArguments": [ { "type": "reference", - "id": 1179, + "id": 1212, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -8475,21 +8481,21 @@ } }, { - "id": 1076, + "id": 1109, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1077, + "id": 1110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 996, + "id": 1029, "name": "MFAEnrollParams" } } @@ -8499,7 +8505,7 @@ "typeArguments": [ { "type": "reference", - "id": 1026, + "id": 1059, "name": "AuthMFAEnrollResponse" } ], @@ -8511,14 +8517,14 @@ ] }, { - "id": 1092, + "id": 1125, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1093, + "id": 1126, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -8532,7 +8538,7 @@ "typeArguments": [ { "type": "reference", - "id": 1059, + "id": 1092, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -8544,14 +8550,14 @@ ] }, { - "id": 1090, + "id": 1123, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1091, + "id": 1124, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -8578,7 +8584,7 @@ "typeArguments": [ { "type": "reference", - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse" } ], @@ -8590,14 +8596,14 @@ ] }, { - "id": 1084, + "id": 1117, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1085, + "id": 1118, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -8607,14 +8613,14 @@ }, "parameters": [ { - "id": 1086, + "id": 1119, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 997, + "id": 1030, "name": "MFAUnenrollParams" } } @@ -8624,7 +8630,7 @@ "typeArguments": [ { "type": "reference", - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse" } ], @@ -8636,14 +8642,14 @@ ] }, { - "id": 1081, + "id": 1114, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1082, + "id": 1115, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -8653,14 +8659,14 @@ }, "parameters": [ { - "id": 1083, + "id": 1116, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1000, + "id": 1033, "name": "MFAVerifyParams" } } @@ -8670,7 +8676,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -8686,26 +8692,26 @@ { "title": "Methods", "kind": 2048, - "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] + "children": [1111, 1120, 1104, 1125, 1123, 1117, 1114] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 998, + "line": 1039, "character": 17 } ] }, { - "id": 1210, + "id": 1243, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1213, + "id": 1246, "name": "alg", "kind": 1024, "kindString": "Property", @@ -8715,7 +8721,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1291, + "line": 1332, "character": 2 } ], @@ -8725,7 +8731,7 @@ } }, { - "id": 1212, + "id": 1245, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -8733,7 +8739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1290, + "line": 1331, "character": 2 } ], @@ -8746,7 +8752,7 @@ } }, { - "id": 1214, + "id": 1247, "name": "kid", "kind": 1024, "kindString": "Property", @@ -8756,7 +8762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1292, + "line": 1333, "character": 2 } ], @@ -8766,7 +8772,7 @@ } }, { - "id": 1211, + "id": 1244, "name": "kty", "kind": 1024, "kindString": "Property", @@ -8774,7 +8780,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1289, + "line": 1330, "character": 2 } ], @@ -8801,25 +8807,25 @@ { "title": "Properties", "kind": 1024, - "children": [1213, 1212, 1214, 1211] + "children": [1246, 1245, 1247, 1244] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1288, + "line": 1329, "character": 17 } ], "indexSignature": { - "id": 1215, + "id": 1248, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1216, + "id": 1249, "name": "key", "kind": 32768, "flags": {}, @@ -8836,14 +8842,14 @@ } }, { - "id": 700, + "id": 715, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 703, + "id": 718, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -8854,7 +8860,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 250, + "line": 252, "character": 2 } ], @@ -8864,7 +8870,7 @@ } }, { - "id": 706, + "id": 721, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -8877,7 +8883,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 262, + "line": 264, "character": 2 } ], @@ -8887,7 +8893,7 @@ } }, { - "id": 705, + "id": 720, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -8898,7 +8904,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -8908,7 +8914,7 @@ } }, { - "id": 702, + "id": 717, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -8921,7 +8927,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 246, + "line": 248, "character": 2 } ], @@ -8940,7 +8946,7 @@ } }, { - "id": 701, + "id": 716, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -8953,7 +8959,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -8972,7 +8978,7 @@ } }, { - "id": 704, + "id": 719, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -8983,7 +8989,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 254, + "line": 256, "character": 2 } ], @@ -8993,7 +8999,7 @@ } }, { - "id": 707, + "id": 722, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -9001,7 +9007,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 263, + "line": 265, "character": 2 } ], @@ -9011,7 +9017,7 @@ } }, { - "id": 708, + "id": 723, "name": "user", "kind": 1024, "kindString": "Property", @@ -9022,13 +9028,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 270, "character": 2 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -9037,26 +9043,26 @@ { "title": "Properties", "kind": 1024, - "children": [703, 706, 705, 702, 701, 704, 707, 708] + "children": [718, 721, 720, 717, 716, 719, 722, 723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 17 } ] }, { - "id": 785, + "id": 800, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 786, + "id": 801, "name": "id", "kind": 1024, "kindString": "Property", @@ -9067,7 +9073,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 479, "character": 2 } ], @@ -9077,7 +9083,7 @@ } }, { - "id": 787, + "id": 802, "name": "callback", "kind": 2048, "kindString": "Method", @@ -9085,13 +9091,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 483, "character": 2 } ], "signatures": [ { - "id": 788, + "id": 803, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -9101,19 +9107,19 @@ }, "parameters": [ { - "id": 789, + "id": 804, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent" } }, { - "id": 790, + "id": 805, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -9127,7 +9133,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -9142,7 +9148,7 @@ ] }, { - "id": 791, + "id": 806, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -9150,13 +9156,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 485, + "line": 487, "character": 2 } ], "signatures": [ { - "id": 792, + "id": 807, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -9176,418 +9182,37 @@ { "title": "Properties", "kind": 1024, - "children": [786] + "children": [801] }, { "title": "Methods", "kind": 2048, - "children": [787, 791] + "children": [802, 806] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 473, + "line": 475, "character": 17 } ] }, { - "id": 740, + "id": 755, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 751, + "id": 766, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 742, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 733, - "name": "UserAppMetadata" - } - }, - { - "id": 744, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 765, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 747, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 761, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 713, - "name": "UserIdentity" - } - } - }, - { - "id": 750, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 763, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 758, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 748, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 753, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -9602,7 +9227,64 @@ }, { "id": 757, - "name": "phone_confirmed_at", + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 342, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 748, + "name": "UserAppMetadata" + } + }, + { + "id": 759, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 770, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9621,17 +9303,15 @@ } }, { - "id": 746, - "name": "recovery_sent_at", + "id": 769, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 354, "character": 2 } ], @@ -9641,8 +9321,8 @@ } }, { - "id": 759, - "name": "role", + "id": 780, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9651,7 +9331,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 357, + "line": 365, "character": 2 } ], @@ -9661,8 +9341,194 @@ } }, { - "id": 760, - "name": "updated_at", + "id": 767, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 771, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 356, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 779, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + }, + { + "id": 756, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 776, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 728, + "name": "UserIdentity" + } + } + }, + { + "id": 765, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 777, + "name": "is_anonymous", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 778, + "name": "is_sso_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -9681,53 +9547,8 @@ } }, { - "id": 743, - "name": "user_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 341, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 737, - "name": "UserMetadata" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [ - 751, 742, 744, 745, 755, 754, 765, 752, 747, 756, 764, 741, 761, 750, 762, 763, 758, - 748, 749, 753, 757, 746, 759, 760, 743 - ] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 338, - "character": 17 - } - ] - }, - { - "id": 733, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 734, - "name": "provider", + "id": 763, + "name": "new_email", "kind": 1024, "kindString": "Property", "flags": { @@ -9736,100 +9557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [734] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 17 - } - ], - "indexSignature": { - "id": 735, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 736, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - }, - { - "id": 766, - "name": "UserAttributes", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 771, - "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.raw_user_meta_data` 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": 395, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 767, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's email." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 370, + "line": 348, "character": 2 } ], @@ -9839,44 +9567,17 @@ } }, { - "id": 770, - "name": "nonce", + "id": 764, + "name": "new_phone", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", - "text": "Call reauthenticate() to obtain the nonce first.\n" - }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 769, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 380, + "line": 349, "character": 2 } ], @@ -9893,13 +9594,155 @@ "flags": { "isOptional": true }, - "comment": { - "shortText": "The user's phone." + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 359, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 343, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 752, + "name": "UserMetadata" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, 778, 773, + 763, 764, 768, 772, 761, 774, 775, 758 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 340, + "character": 17 + } + ] + }, + { + "id": 748, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 749, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, "character": 2 } ], @@ -9913,175 +9756,195 @@ { "title": "Properties", "kind": 1024, - "children": [771, 767, 770, 769, 768] + "children": [749] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 331, + "character": 17 + } + ], + "indexSignature": { + "id": 750, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 751, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + }, + { + "id": 781, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 786, + "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.raw_user_meta_data` 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": 397, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 782, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's email." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 372, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 785, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The nonce sent for reauthentication if the user's password is to be updated.", + "text": "Call reauthenticate() to obtain the nonce first.\n" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 389, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 784, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 382, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 783, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The user's phone." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 377, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [786, 782, 785, 784, 783] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 368, "character": 17 } ] }, { - "id": 713, + "id": 728, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 722, + "id": 737, "name": "created_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 714, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 291, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 718, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 719, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 720, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 724, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -10095,7 +9958,150 @@ } }, { - "id": 715, + "id": 729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 733, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 735, + "name": "identity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 301, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 736, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 739, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 302, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 730, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -10103,7 +10109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 292, + "line": 294, "character": 2 } ], @@ -10117,19 +10123,19 @@ { "title": "Properties", "kind": 1024, - "children": [722, 714, 716, 720, 723, 721, 724, 715] + "children": [737, 729, 731, 735, 738, 736, 739, 730] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 290, + "line": 292, "character": 17 } ] }, { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -10137,19 +10143,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -10166,14 +10172,14 @@ } }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -10184,7 +10190,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -10194,7 +10200,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -10204,21 +10210,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10237,7 +10243,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -10247,7 +10253,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10260,7 +10266,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -10274,14 +10280,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -10292,7 +10298,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -10302,7 +10308,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -10313,13 +10319,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" } } @@ -10328,26 +10334,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -10357,21 +10363,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -10390,7 +10396,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -10400,7 +10406,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -10413,7 +10419,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -10427,14 +10433,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10445,7 +10451,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -10455,7 +10461,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -10466,7 +10472,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -10476,7 +10482,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -10487,13 +10493,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" } } @@ -10502,26 +10508,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -10532,7 +10538,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -10542,7 +10548,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -10553,13 +10559,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" } } @@ -10568,19 +10574,19 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] }, { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -10588,7 +10594,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -10621,14 +10627,14 @@ }, { "type": "reference", - "id": 558, + "id": 573, "name": "AuthChangeEventMFA" } ] } }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -10636,7 +10642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -10646,7 +10652,7 @@ } }, { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -10654,7 +10660,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -10673,7 +10679,7 @@ } }, { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -10689,21 +10695,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -10714,7 +10720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -10724,7 +10730,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -10735,7 +10741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -10749,13 +10755,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -10763,7 +10769,7 @@ } }, { - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -10779,7 +10785,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1066, + "line": 1107, "character": 12 } ], @@ -10789,14 +10795,14 @@ { "type": "reflection", "declaration": { - "id": 1095, + "id": 1128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1129, "name": "data", "kind": 1024, "kindString": "Property", @@ -10804,21 +10810,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1097, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1098, + "id": 1131, "name": "id", "kind": 1024, "kindString": "Property", @@ -10829,7 +10835,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1070, + "line": 1111, "character": 8 } ], @@ -10843,13 +10849,1396 @@ { "title": "Properties", "kind": 1024, - "children": [1098] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, + "character": 12 + } + ] + } + } + }, + { + "id": 1132, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1113, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1129, 1132] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1108, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1133, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1134, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1135, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1134, 1135] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1149, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1151, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1146, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1151] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 44 + } + ] + } + } + }, + { + "id": 1140, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1131, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1143, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1144, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1135, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1144] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 12 + } + ] + } + } + }, + { + "id": 1145, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1137, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1142, 1145] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1132, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1146, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1147, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1148, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1147, 1148] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1069, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 977, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1070, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1071, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1072, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1075, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 987, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1073, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 981, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1074, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Factor Type which generated the challenge" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 984, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1075, 1073, 1074] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 12 + } + ] + } + } + }, + { + "id": 1076, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 989, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1071, 1076] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 978, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1077, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1078, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1079, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1078, 1079] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1286, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1218, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1219, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1299, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1293, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1218, 1216, 1219, 1217] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 12 + } + ] + } + } + }, + { + "id": 1220, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1301, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1214, 1220] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1287, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1222, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1304, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1223, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1305, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1222, 1223] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1303, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1059, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 965, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse" + }, + { + "type": "reference", + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse" + } + ] + } + }, + { + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1207, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1277, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1200, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1255, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1204, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1265, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1205, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1270, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1274, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1204, 1205, 1206] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 14 + } + ] + } + } + }, + { + "id": 1201, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1258, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1207, 1200, 1202, 1201] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 12 + } + ] + } + } + }, + { + "id": 1208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1279, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1198, 1208] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1252, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1282, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1283, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1210, 1211] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1281, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1092, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1010, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1093, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1094, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1095, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1098, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1029, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 724, + "name": "AMREntry" + } + } + }, + { + "id": 1096, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1014, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1097, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1022, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1098, 1096, 1097] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, "character": 12 } ] @@ -10865,7 +12254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1072, + "line": 1031, "character": 6 } ], @@ -10879,13 +12268,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1099] + "children": [1094, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1067, + "line": 1011, "character": 4 } ] @@ -10909,7 +12298,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 6 } ], @@ -10927,13 +12316,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -10948,7 +12337,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 4 } ] @@ -10958,1390 +12347,7 @@ } }, { - "id": 1116, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1118, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1105, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1118] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 44 - } - ] - } - } - }, - { - "id": 1107, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1090, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1108, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1109, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1111, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1094, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1111] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 12 - } - ] - } - } - }, - { - "id": 1112, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1096, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1109, 1112] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1091, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1114, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1115, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1114, 1115] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1036, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 936, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1037, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1038, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1042, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 946, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1040, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 940, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1041, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 943, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1042, 1040, 1041] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 12 - } - ] - } - } - }, - { - "id": 1043, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 948, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1038, 1043] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1044, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1045, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1046, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1045, 1046] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1245, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1183, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1249, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1186, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1183, 1186, 1184] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 12 - } - ] - } - } - }, - { - "id": 1187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1260, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1181, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1263, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1190, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1264, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1262, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1026, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 924, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse" - }, - { - "type": "reference", - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse" - } - ] - } - }, - { - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1210, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1174, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1214, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1169, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1171, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1224, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1229, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1173, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1233, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1171, 1172, 1173] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 14 - } - ] - } - } - }, - { - "id": 1168, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1174, 1167, 1169, 1168] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 12 - } - ] - } - } - }, - { - "id": 1175, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1165, 1175] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1211, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1241, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1177, 1178] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1059, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1060, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1061, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1062, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1065, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 988, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 709, - "name": "AMREntry" - } - } - }, - { - "id": 1063, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 973, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1064, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 981, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1065, 1063, 1064] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 12 - } - ] - } - } - }, - { - "id": 1066, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 990, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1061, 1066] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 970, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1067, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1068, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1069, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1068, 1069] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -12349,7 +12355,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 952, + "line": 993, "character": 12 } ], @@ -12359,14 +12365,14 @@ { "type": "reflection", "declaration": { - "id": 1048, + "id": 1081, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1049, + "id": 1082, "name": "data", "kind": 1024, "kindString": "Property", @@ -12374,21 +12380,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1050, + "id": 1083, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1051, + "id": 1084, "name": "all", "kind": 1024, "kindString": "Property", @@ -12399,7 +12405,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 956, + "line": 997, "character": 8 } ], @@ -12407,13 +12413,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1053, + "id": 1086, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12424,7 +12430,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 961, + "line": 1002, "character": 8 } ], @@ -12432,13 +12438,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1052, + "id": 1085, "name": "totp", "kind": 1024, "kindString": "Property", @@ -12449,7 +12455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 959, + "line": 1000, "character": 8 } ], @@ -12457,7 +12463,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } @@ -12467,13 +12473,13 @@ { "title": "Properties", "kind": 1024, - "children": [1051, 1053, 1052] + "children": [1084, 1086, 1085] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 12 } ] @@ -12481,7 +12487,7 @@ } }, { - "id": 1054, + "id": 1087, "name": "error", "kind": 1024, "kindString": "Property", @@ -12489,7 +12495,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 963, + "line": 1004, "character": 6 } ], @@ -12503,13 +12509,13 @@ { "title": "Properties", "kind": 1024, - "children": [1049, 1054] + "children": [1082, 1087] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 953, + "line": 994, "character": 4 } ] @@ -12518,14 +12524,14 @@ { "type": "reflection", "declaration": { - "id": 1055, + "id": 1088, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1089, "name": "data", "kind": 1024, "kindString": "Property", @@ -12533,7 +12539,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 6 } ], @@ -12543,7 +12549,7 @@ } }, { - "id": 1057, + "id": 1090, "name": "error", "kind": 1024, "kindString": "Property", @@ -12551,13 +12557,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -12566,13 +12572,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056, 1057] + "children": [1089, 1090] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 4 } ] @@ -12582,7 +12588,7 @@ } }, { - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -12590,7 +12596,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 967, "character": 12 } ], @@ -12600,14 +12606,14 @@ { "type": "reflection", "declaration": { - "id": 1028, + "id": 1061, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1029, + "id": 1062, "name": "data", "kind": 1024, "kindString": "Property", @@ -12615,21 +12621,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1030, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1031, + "id": 1064, "name": "id", "kind": 1024, "kindString": "Property", @@ -12640,7 +12646,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 930, + "line": 971, "character": 8 } ], @@ -12654,13 +12660,13 @@ { "title": "Properties", "kind": 1024, - "children": [1031] + "children": [1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 12 } ] @@ -12668,7 +12674,7 @@ } }, { - "id": 1032, + "id": 1065, "name": "error", "kind": 1024, "kindString": "Property", @@ -12676,7 +12682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 932, + "line": 973, "character": 6 } ], @@ -12690,13 +12696,13 @@ { "title": "Properties", "kind": 1024, - "children": [1029, 1032] + "children": [1062, 1065] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 968, "character": 4 } ] @@ -12705,14 +12711,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1066, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1067, "name": "data", "kind": 1024, "kindString": "Property", @@ -12720,7 +12726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 6 } ], @@ -12730,7 +12736,7 @@ } }, { - "id": 1035, + "id": 1068, "name": "error", "kind": 1024, "kindString": "Property", @@ -12738,13 +12744,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -12753,13 +12759,13 @@ { "title": "Properties", "kind": 1024, - "children": [1034, 1035] + "children": [1067, 1068] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 4 } ] @@ -12769,7 +12775,7 @@ } }, { - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -12777,7 +12783,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 899, + "line": 940, "character": 12 } ], @@ -12787,14 +12793,14 @@ { "type": "reflection", "declaration": { - "id": 1014, + "id": 1047, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1015, + "id": 1048, "name": "data", "kind": 1024, "kindString": "Property", @@ -12802,21 +12808,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1016, + "id": 1049, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1017, + "id": 1050, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -12827,7 +12833,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 944, "character": 8 } ], @@ -12837,7 +12843,7 @@ } }, { - "id": 1019, + "id": 1052, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -12848,7 +12854,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 909, + "line": 950, "character": 8 } ], @@ -12858,7 +12864,7 @@ } }, { - "id": 1020, + "id": 1053, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -12869,7 +12875,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 953, "character": 8 } ], @@ -12879,7 +12885,7 @@ } }, { - "id": 1018, + "id": 1051, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -12890,7 +12896,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 947, "character": 8 } ], @@ -12900,7 +12906,7 @@ } }, { - "id": 1021, + "id": 1054, "name": "user", "kind": 1024, "kindString": "Property", @@ -12911,13 +12917,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 956, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -12926,13 +12932,13 @@ { "title": "Properties", "kind": 1024, - "children": [1017, 1019, 1020, 1018, 1021] + "children": [1050, 1052, 1053, 1051, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 12 } ] @@ -12940,7 +12946,7 @@ } }, { - "id": 1022, + "id": 1055, "name": "error", "kind": 1024, "kindString": "Property", @@ -12948,7 +12954,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 958, "character": 6 } ], @@ -12962,13 +12968,13 @@ { "title": "Properties", "kind": 1024, - "children": [1015, 1022] + "children": [1048, 1055] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 941, "character": 4 } ] @@ -12977,14 +12983,14 @@ { "type": "reflection", "declaration": { - "id": 1023, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1024, + "id": 1057, "name": "data", "kind": 1024, "kindString": "Property", @@ -12992,7 +12998,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 920, + "line": 961, "character": 6 } ], @@ -13002,7 +13008,7 @@ } }, { - "id": 1025, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -13010,13 +13016,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 962, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -13025,13 +13031,13 @@ { "title": "Properties", "kind": 1024, - "children": [1024, 1025] + "children": [1057, 1058] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 960, "character": 4 } ] @@ -13041,7 +13047,7 @@ } }, { - "id": 624, + "id": 639, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -13053,915 +13059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 144, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 627, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 630, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 629, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 628, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [630, 629, 628] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 12 - } - ] - } - } - }, - { - "id": 631, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626, 631] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 637, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 636, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 635, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [637, 636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 12 - } - ] - } - } - }, - { - "id": 638, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 638] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 597, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 598, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 599, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 600, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 602, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 601, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [602, 601] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12 - } - ] - } - } - }, - { - "id": 603, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 603] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 604, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 605, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 606, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 608, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 607, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 116, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [608, 607] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12 - } - ] - } - } - }, - { - "id": 609, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [605, 609] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 610, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 611, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 614, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 616, - "name": "weak_password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 593, - "name": "WeakPassword" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 614, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 12 - } - ] - } - } - }, - { - "id": 617, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 618, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 619, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 620, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 622, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [622, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 12 - } - ] - } - } - }, - { - "id": 623, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 136, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [619, 623] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 639, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, + "line": 146, "character": 12 } ], @@ -13986,7 +13084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 6 } ], @@ -13999,6 +13097,35 @@ "kindString": "Type literal", "flags": {}, "children": [ + { + "id": 645, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 148, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, { "id": 644, "name": "session", @@ -14008,14 +13135,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, - "character": 8 + "line": 148, + "character": 26 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "literal", + "value": null } }, { @@ -14027,14 +13153,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 157, - "character": 8 + "line": 148, + "character": 14 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" + "type": "literal", + "value": null } } ], @@ -14042,13 +13167,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 643] + "children": [645, 644, 643] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 12 } ] @@ -14056,7 +13181,7 @@ } }, { - "id": 645, + "id": 646, "name": "error", "kind": 1024, "kindString": "Property", @@ -14064,7 +13189,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 160, + "line": 149, "character": 6 } ], @@ -14078,13 +13203,13 @@ { "title": "Properties", "kind": 1024, - "children": [641, 645] + "children": [641, 646] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 155, + "line": 147, "character": 4 } ] @@ -14093,14 +13218,14 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 647, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 647, + "id": 648, "name": "data", "kind": 1024, "kindString": "Property", @@ -14108,21 +13233,50 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 652, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 152, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 651, "name": "session", "kind": 1024, "kindString": "Property", @@ -14130,8 +13284,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 + "line": 152, + "character": 26 } ], "type": { @@ -14140,7 +13294,7 @@ } }, { - "id": 649, + "id": 650, "name": "user", "kind": 1024, "kindString": "Property", @@ -14148,8 +13302,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 + "line": 152, + "character": 14 } ], "type": { @@ -14162,13 +13316,13 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [652, 651, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 12 } ] @@ -14176,7 +13330,7 @@ } }, { - "id": 651, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -14184,13 +13338,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 167, + "line": 153, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -14199,13 +13353,13 @@ { "title": "Properties", "kind": 1024, - "children": [647, 651] + "children": [648, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 151, "character": 4 } ] @@ -14215,15 +13369,15 @@ } }, { - "id": 652, - "name": "AuthTokenResponsePassword", + "id": 612, + "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 108, "character": 12 } ], @@ -14233,14 +13387,14 @@ { "type": "reflection", "declaration": { - "id": 653, + "id": 613, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 654, + "id": 614, "name": "data", "kind": 1024, "kindString": "Property", @@ -14248,21 +13402,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 655, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 657, + "id": 617, "name": "session", "kind": 1024, "kindString": "Property", @@ -14270,18 +13424,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "line": 112, "character": 8 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 656, + "id": 616, "name": "user", "kind": 1024, "kindString": "Property", @@ -14289,35 +13452,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 173, + "line": 111, "character": 8 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" - } - }, - { - "id": 658, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 175, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 593, - "name": "WeakPassword" + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] } } ], @@ -14325,13 +13476,13 @@ { "title": "Properties", "kind": 1024, - "children": [657, 656, 658] + "children": [617, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 12 } ] @@ -14339,7 +13490,7 @@ } }, { - "id": 659, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -14347,7 +13498,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 177, + "line": 114, "character": 6 } ], @@ -14361,13 +13512,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [614, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 109, "character": 4 } ] @@ -14376,14 +13527,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -14391,21 +13542,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 662, + "id": 621, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 664, + "id": 623, "name": "session", "kind": 1024, "kindString": "Property", @@ -14413,7 +13564,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 119, "character": 8 } ], @@ -14423,7 +13574,7 @@ } }, { - "id": 663, + "id": 622, "name": "user", "kind": 1024, "kindString": "Property", @@ -14431,27 +13582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 665, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, + "line": 118, "character": 8 } ], @@ -14465,13 +13596,585 @@ { "title": "Properties", "kind": 1024, - "children": [664, 663, 665] + "children": [623, 622] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, + "character": 12 + } + ] + } + } + }, + { + "id": 624, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [620, 624] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 116, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 625, + "name": "AuthResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 626, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 627, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 628, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 630, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 128, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 629, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 127, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 631, + "name": "weak_password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 608, + "name": "WeakPassword" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [630, 629, 631] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 12 + } + ] + } + } + }, + { + "id": 632, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 131, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [627, 632] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 633, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 634, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 635, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 637, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 636, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 135, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [637, 636] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 12 + } + ] + } + } + }, + { + "id": 638, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 138, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [634, 638] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 133, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 654, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 657, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 659, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 658, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 159, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [659, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 12 + } + ] + } + } + }, + { + "id": 660, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 660] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 663, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 664, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 166, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [665, 664] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, "character": 12 } ] @@ -14487,13 +14190,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 169, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -14502,13 +14205,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 666] + "children": [662, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 164, "character": 4 } ] @@ -14518,7 +14221,310 @@ } }, { - "id": 1058, + "id": 667, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 671, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 175, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + }, + { + "id": 673, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 608, + "name": "WeakPassword" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 12 + } + ] + } + } + }, + { + "id": 674, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 674] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 679, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 184, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 678, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 183, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 680, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 678, 680] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 12 + } + ] + } + } + }, + { + "id": 681, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 187, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 681] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 181, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1091, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -14526,7 +14532,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 967, + "line": 1008, "character": 12 } ], @@ -14545,7 +14551,7 @@ } }, { - "id": 1132, + "id": 1165, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -14553,7 +14559,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1155, + "line": 1196, "character": 12 } ], @@ -14563,14 +14569,14 @@ { "type": "reflection", "declaration": { - "id": 1133, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1135, + "id": 1168, "name": "error", "kind": 1024, "kindString": "Property", @@ -14578,7 +14584,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1158, + "line": 1199, "character": 6 } ], @@ -14588,7 +14594,7 @@ } }, { - "id": 1134, + "id": 1167, "name": "session", "kind": 1024, "kindString": "Property", @@ -14596,13 +14602,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1198, "character": 6 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -14611,13 +14617,13 @@ { "title": "Properties", "kind": 1024, - "children": [1135, 1134] + "children": [1168, 1167] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1156, + "line": 1197, "character": 4 } ] @@ -14626,14 +14632,14 @@ { "type": "reflection", "declaration": { - "id": 1136, + "id": 1169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1138, + "id": 1171, "name": "error", "kind": 1024, "kindString": "Property", @@ -14641,18 +14647,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1162, + "line": 1203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } }, { - "id": 1137, + "id": 1170, "name": "session", "kind": 1024, "kindString": "Property", @@ -14660,7 +14666,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1202, "character": 6 } ], @@ -14674,13 +14680,13 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137] + "children": [1171, 1170] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1160, + "line": 1201, "character": 4 } ] @@ -14690,7 +14696,7 @@ } }, { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -14698,7 +14704,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -14733,7 +14739,431 @@ } }, { - "id": 965, + "id": 914, + "name": "EthereumWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "EIP1193Provider" + } + }, + { + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] + } + } + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14741,21 +15171,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -14766,7 +15196,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -14776,7 +15206,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -14787,7 +15217,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -14797,7 +15227,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -14807,7 +15237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -14816,7 +15246,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -14830,7 +15260,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -14838,7 +15268,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -14861,13 +15291,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -14875,7 +15305,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -14883,21 +15313,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -14908,7 +15338,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -14918,7 +15348,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -14928,7 +15358,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -14937,7 +15367,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -14960,7 +15390,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -14968,7 +15398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -14991,13 +15421,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -15005,7 +15435,7 @@ } }, { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15013,7 +15443,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -15022,29 +15452,29 @@ "types": [ { "type": "reference", - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams" }, { "type": "reference", - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams" }, { "type": "reference", - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams" }, { "type": "reference", - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams" } ] } }, { - "id": 988, + "id": 1021, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -15055,21 +15485,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 989, + "id": 1022, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1023, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -15080,7 +15510,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 884, "character": 2 } ], @@ -15090,7 +15520,7 @@ } }, { - "id": 991, + "id": 1024, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -15101,7 +15531,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 848, + "line": 889, "character": 2 } ], @@ -15111,7 +15541,7 @@ } }, { - "id": 992, + "id": 1025, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -15122,7 +15552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 893, "character": 2 } ], @@ -15132,7 +15562,7 @@ } }, { - "id": 993, + "id": 1026, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -15143,7 +15573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 895, "character": 2 } ], @@ -15153,7 +15583,7 @@ } }, { - "id": 994, + "id": 1027, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -15164,13 +15594,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 897, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1028, "name": "GenerateLinkType" } } @@ -15179,13 +15609,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 991, 992, 993, 994] + "children": [1023, 1024, 1025, 1026, 1027] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 37 } ] @@ -15193,7 +15623,7 @@ } }, { - "id": 975, + "id": 1008, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -15201,7 +15631,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 821, + "line": 862, "character": 12 } ], @@ -15211,14 +15641,14 @@ { "type": "reflection", "declaration": { - "id": 976, + "id": 1009, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 977, + "id": 1010, "name": "data", "kind": 1024, "kindString": "Property", @@ -15226,21 +15656,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 978, + "id": 1011, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 979, + "id": 1012, "name": "properties", "kind": 1024, "kindString": "Property", @@ -15248,18 +15678,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 865, "character": 8 } ], "type": { "type": "reference", - "id": 988, + "id": 1021, "name": "GenerateLinkProperties" } }, { - "id": 980, + "id": 1013, "name": "user", "kind": 1024, "kindString": "Property", @@ -15267,13 +15697,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 825, + "line": 866, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -15282,13 +15712,13 @@ { "title": "Properties", "kind": 1024, - "children": [979, 980] + "children": [1012, 1013] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 12 } ] @@ -15296,7 +15726,7 @@ } }, { - "id": 981, + "id": 1014, "name": "error", "kind": 1024, "kindString": "Property", @@ -15304,7 +15734,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 868, "character": 6 } ], @@ -15318,13 +15748,13 @@ { "title": "Properties", "kind": 1024, - "children": [977, 981] + "children": [1010, 1014] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 863, "character": 4 } ] @@ -15333,14 +15763,14 @@ { "type": "reflection", "declaration": { - "id": 982, + "id": 1015, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 983, + "id": 1016, "name": "data", "kind": 1024, "kindString": "Property", @@ -15348,21 +15778,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 984, + "id": 1017, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 985, + "id": 1018, "name": "properties", "kind": 1024, "kindString": "Property", @@ -15370,7 +15800,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 872, "character": 8 } ], @@ -15380,7 +15810,7 @@ } }, { - "id": 986, + "id": 1019, "name": "user", "kind": 1024, "kindString": "Property", @@ -15388,7 +15818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 832, + "line": 873, "character": 8 } ], @@ -15402,13 +15832,13 @@ { "title": "Properties", "kind": 1024, - "children": [985, 986] + "children": [1018, 1019] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 12 } ] @@ -15416,7 +15846,7 @@ } }, { - "id": 987, + "id": 1020, "name": "error", "kind": 1024, "kindString": "Property", @@ -15424,13 +15854,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 834, + "line": 875, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -15439,13 +15869,13 @@ { "title": "Properties", "kind": 1024, - "children": [983, 987] + "children": [1016, 1020] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 870, "character": 4 } ] @@ -15455,7 +15885,7 @@ } }, { - "id": 995, + "id": 1028, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -15463,7 +15893,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 859, + "line": 900, "character": 12 } ], @@ -15498,7 +15928,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15506,21 +15936,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -15531,7 +15961,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -15541,7 +15971,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -15551,7 +15981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -15560,7 +15990,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15574,7 +16004,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -15582,7 +16012,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -15596,13 +16026,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -15610,7 +16040,7 @@ } }, { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -15618,21 +16048,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -15640,7 +16070,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -15650,7 +16080,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -15660,7 +16090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -15669,7 +16099,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -15692,7 +16122,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -15700,7 +16130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -15710,7 +16140,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -15718,7 +16148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -15732,13 +16162,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -15746,7 +16176,7 @@ } }, { - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -15754,21 +16184,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 578, + "id": 593, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -15778,7 +16208,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 68, + "line": 70, "character": 2 } ], @@ -15788,7 +16218,7 @@ } }, { - "id": 584, + "id": 599, "name": "debug", "kind": 1024, "kindString": "Property", @@ -15798,7 +16228,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 2 } ], @@ -15812,7 +16242,7 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15820,20 +16250,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 21 } ], "signatures": [ { - "id": 586, + "id": 601, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 587, + "id": 602, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -15844,7 +16274,7 @@ } }, { - "id": 588, + "id": 603, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -15872,7 +16302,7 @@ } }, { - "id": 577, + "id": 592, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -15882,7 +16312,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 68, "character": 2 } ], @@ -15892,33 +16322,13 @@ } }, { - "id": 582, + "id": 597, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 583, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -15928,12 +16338,32 @@ ], "type": { "type": "reference", - "id": 846, + "name": "Fetch" + } + }, + { + "id": 598, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 861, "name": "AuthFlowType" } }, { - "id": 590, + "id": 605, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -15952,7 +16382,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 99, "character": 2 } ], @@ -15962,7 +16392,7 @@ } }, { - "id": 572, + "id": 587, "name": "headers", "kind": 1024, "kindString": "Property", @@ -15972,14 +16402,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -15987,19 +16417,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 12 } ], "indexSignature": { - "id": 574, + "id": 589, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 575, + "id": 590, "name": "key", "kind": 32768, "flags": {}, @@ -16018,7 +16448,7 @@ } }, { - "id": 589, + "id": 604, "name": "lock", "kind": 1024, "kindString": "Property", @@ -16037,44 +16467,24 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 94, "character": 2 } ], "type": { "type": "reference", - "id": 560, + "id": 575, "name": "LockFunc" } }, { - "id": 579, + "id": 594, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 580, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -16082,14 +16492,34 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 595, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage" } }, { - "id": 576, + "id": 591, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -16099,7 +16529,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -16109,7 +16539,7 @@ } }, { - "id": 571, + "id": 586, "name": "url", "kind": 1024, "kindString": "Property", @@ -16119,7 +16549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 62, "character": 2 } ], @@ -16129,7 +16559,7 @@ } }, { - "id": 581, + "id": 596, "name": "userStorage", "kind": 1024, "kindString": "Property", @@ -16149,13 +16579,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 82, "character": 2 } ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage" } } @@ -16164,13 +16594,13 @@ { "title": "Properties", "kind": 1024, - "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] + "children": [593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 34 } ] @@ -16178,7 +16608,7 @@ } }, { - "id": 1129, + "id": 1162, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -16186,21 +16616,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1130, + "id": 1163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1131, + "id": 1164, "name": "error", "kind": 1024, "kindString": "Property", @@ -16208,7 +16638,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 33 } ], @@ -16217,7 +16647,7 @@ "types": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, { @@ -16232,13 +16662,13 @@ { "title": "Properties", "kind": 1024, - "children": [1131] + "children": [1164] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 31 } ] @@ -16246,7 +16676,7 @@ } }, { - "id": 1191, + "id": 1224, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -16254,21 +16684,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1192, + "id": 1225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1193, + "id": 1226, "name": "alg", "kind": 1024, "kindString": "Property", @@ -16276,7 +16706,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1268, + "line": 1309, "character": 2 } ], @@ -16299,7 +16729,7 @@ } }, { - "id": 1194, + "id": 1227, "name": "kid", "kind": 1024, "kindString": "Property", @@ -16307,7 +16737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1269, + "line": 1310, "character": 2 } ], @@ -16317,7 +16747,7 @@ } }, { - "id": 1195, + "id": 1228, "name": "typ", "kind": 1024, "kindString": "Property", @@ -16325,7 +16755,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1270, + "line": 1311, "character": 2 } ], @@ -16339,13 +16769,13 @@ { "title": "Properties", "kind": 1024, - "children": [1193, 1194, 1195] + "children": [1226, 1227, 1228] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 24 } ] @@ -16353,7 +16783,7 @@ } }, { - "id": 1206, + "id": 1239, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -16361,7 +16791,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 12 } ], @@ -16370,13 +16800,13 @@ "types": [ { "type": "reference", - "id": 1196, + "id": 1229, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1207, + "id": 1240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16384,19 +16814,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 42 } ], "indexSignature": { - "id": 1208, + "id": 1241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1209, + "id": 1242, "name": "key", "kind": 32768, "flags": {}, @@ -16417,7 +16847,7 @@ } }, { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -16425,14 +16855,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16440,13 +16870,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -16462,7 +16892,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -16471,7 +16901,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -16485,7 +16915,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -16499,7 +16929,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -16510,7 +16940,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16518,13 +16948,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -16534,7 +16964,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -16553,7 +16983,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -16567,7 +16997,7 @@ } }, { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -16575,21 +17005,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -16600,7 +17030,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -16610,7 +17040,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16621,7 +17051,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -16635,13 +17065,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -16649,7 +17079,7 @@ } }, { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -16657,21 +17087,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16684,7 +17114,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -16703,7 +17133,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -16714,7 +17144,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -16728,13 +17158,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -16742,7 +17172,7 @@ } }, { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -16750,7 +17180,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -16759,19 +17189,19 @@ "types": [ { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams" }, { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams" } ] } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -16779,21 +17209,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16804,7 +17234,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -16814,7 +17244,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -16827,7 +17257,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -16837,7 +17267,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16848,7 +17278,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -16862,13 +17292,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -16876,7 +17306,7 @@ } }, { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -16884,21 +17314,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -16909,7 +17339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -16919,7 +17349,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -16932,7 +17362,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -16942,7 +17372,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -16955,7 +17385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -16969,13 +17399,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -16983,7 +17413,7 @@ } }, { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -16991,21 +17421,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17016,7 +17446,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -17030,13 +17460,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -17044,7 +17474,7 @@ } }, { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -17052,21 +17482,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -17077,7 +17507,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -17087,7 +17517,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -17098,7 +17528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -17108,7 +17538,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -17119,7 +17549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -17133,13 +17563,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -17147,7 +17577,7 @@ } }, { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17155,7 +17585,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -17174,7 +17604,7 @@ } }, { - "id": 667, + "id": 682, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -17182,7 +17612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 190, "character": 12 } ], @@ -17192,14 +17622,14 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 669, + "id": 684, "name": "data", "kind": 1024, "kindString": "Property", @@ -17207,21 +17637,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 670, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 671, + "id": 686, "name": "provider", "kind": 1024, "kindString": "Property", @@ -17229,18 +17659,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 193, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 672, + "id": 687, "name": "url", "kind": 1024, "kindString": "Property", @@ -17248,7 +17678,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 194, "character": 8 } ], @@ -17262,13 +17692,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 672] + "children": [686, 687] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 12 } ] @@ -17276,7 +17706,7 @@ } }, { - "id": 673, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -17284,7 +17714,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 196, "character": 6 } ], @@ -17298,13 +17728,13 @@ { "title": "Properties", "kind": 1024, - "children": [669, 673] + "children": [684, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 191, "character": 4 } ] @@ -17313,14 +17743,14 @@ { "type": "reflection", "declaration": { - "id": 674, + "id": 689, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, + "id": 690, "name": "data", "kind": 1024, "kindString": "Property", @@ -17328,21 +17758,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 676, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 677, + "id": 692, "name": "provider", "kind": 1024, "kindString": "Property", @@ -17350,18 +17780,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 198, + "line": 200, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 678, + "id": 693, "name": "url", "kind": 1024, "kindString": "Property", @@ -17369,7 +17799,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 199, + "line": 201, "character": 8 } ], @@ -17383,13 +17813,13 @@ { "title": "Properties", "kind": 1024, - "children": [677, 678] + "children": [692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 12 } ] @@ -17397,7 +17827,7 @@ } }, { - "id": 679, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -17405,13 +17835,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -17420,13 +17850,13 @@ { "title": "Properties", "kind": 1024, - "children": [675, 679] + "children": [690, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 198, "character": 4 } ] @@ -17436,7 +17866,7 @@ } }, { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -17444,21 +17874,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -17471,7 +17901,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -17481,7 +17911,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -17494,7 +17924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -17508,13 +17938,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -17522,7 +17952,7 @@ } }, { - "id": 1139, + "id": 1172, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -17530,21 +17960,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1140, + "id": 1173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1142, + "id": 1175, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -17552,7 +17982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1168, + "line": 1209, "character": 2 } ], @@ -17562,7 +17992,7 @@ } }, { - "id": 1141, + "id": 1174, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -17570,7 +18000,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1167, + "line": 1208, "character": 2 } ], @@ -17589,7 +18019,7 @@ } }, { - "id": 1143, + "id": 1176, "name": "total", "kind": 1024, "kindString": "Property", @@ -17597,7 +18027,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1169, + "line": 1210, "character": 2 } ], @@ -17611,25 +18041,25 @@ { "title": "Properties", "kind": 1024, - "children": [1142, 1141, 1143] + "children": [1175, 1174, 1176] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 25 } ], "indexSignature": { - "id": 1144, + "id": 1177, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1145, + "id": 1178, "name": "key", "kind": 32768, "flags": {}, @@ -17648,7 +18078,7 @@ } }, { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -17659,7 +18089,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -17758,7 +18188,7 @@ } }, { - "id": 1196, + "id": 1229, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -17766,21 +18196,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1197, + "id": 1230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1204, + "id": 1237, "name": "aal", "kind": 1024, "kindString": "Property", @@ -17788,18 +18218,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1280, + "line": 1321, "character": 2 } ], "type": { "type": "reference", - "id": 1058, + "id": 1091, "name": "AuthenticatorAssuranceLevels" } }, { - "id": 1200, + "id": 1233, "name": "aud", "kind": 1024, "kindString": "Property", @@ -17807,7 +18237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1276, + "line": 1317, "character": 2 } ], @@ -17829,7 +18259,7 @@ } }, { - "id": 1201, + "id": 1234, "name": "exp", "kind": 1024, "kindString": "Property", @@ -17837,7 +18267,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1277, + "line": 1318, "character": 2 } ], @@ -17847,7 +18277,7 @@ } }, { - "id": 1202, + "id": 1235, "name": "iat", "kind": 1024, "kindString": "Property", @@ -17855,7 +18285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1278, + "line": 1319, "character": 2 } ], @@ -17865,7 +18295,7 @@ } }, { - "id": 1198, + "id": 1231, "name": "iss", "kind": 1024, "kindString": "Property", @@ -17873,7 +18303,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1274, + "line": 1315, "character": 2 } ], @@ -17883,7 +18313,7 @@ } }, { - "id": 1203, + "id": 1236, "name": "role", "kind": 1024, "kindString": "Property", @@ -17891,7 +18321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1279, + "line": 1320, "character": 2 } ], @@ -17901,7 +18331,7 @@ } }, { - "id": 1205, + "id": 1238, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -17909,7 +18339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1281, + "line": 1322, "character": 2 } ], @@ -17919,7 +18349,7 @@ } }, { - "id": 1199, + "id": 1232, "name": "sub", "kind": 1024, "kindString": "Property", @@ -17927,7 +18357,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1275, + "line": 1316, "character": 2 } ], @@ -17941,13 +18371,13 @@ { "title": "Properties", "kind": 1024, - "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] + "children": [1237, 1233, 1234, 1235, 1231, 1236, 1238, 1232] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 29 } ] @@ -17955,7 +18385,7 @@ } }, { - "id": 922, + "id": 955, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -17963,7 +18393,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 769, "character": 12 } ], @@ -17973,14 +18403,14 @@ { "type": "reflection", "declaration": { - "id": 923, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 925, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -17988,7 +18418,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 772, "character": 6 } ], @@ -17998,7 +18428,7 @@ } }, { - "id": 926, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -18008,21 +18438,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 962, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18035,7 +18465,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 777, "character": 8 } ], @@ -18045,7 +18475,7 @@ } }, { - "id": 928, + "id": 961, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -18058,7 +18488,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 775, "character": 8 } ], @@ -18072,13 +18502,13 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928] + "children": [962, 961] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 16 } ] @@ -18086,7 +18516,7 @@ } }, { - "id": 924, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -18094,7 +18524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 771, "character": 6 } ], @@ -18103,7 +18533,7 @@ "typeArguments": [ { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" }, { @@ -18130,13 +18560,13 @@ { "title": "Properties", "kind": 1024, - "children": [925, 926, 924] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 770, "character": 4 } ] @@ -18145,14 +18575,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 963, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 966, "name": "options", "kind": 1024, "kindString": "Property", @@ -18162,21 +18592,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 934, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 935, + "id": 968, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18189,7 +18619,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 785, "character": 8 } ], @@ -18203,13 +18633,13 @@ { "title": "Properties", "kind": 1024, - "children": [935] + "children": [968] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 16 } ] @@ -18217,7 +18647,7 @@ } }, { - "id": 932, + "id": 965, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18225,7 +18655,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 782, "character": 6 } ], @@ -18235,7 +18665,7 @@ } }, { - "id": 931, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -18243,7 +18673,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 740, + "line": 781, "character": 6 } ], @@ -18252,7 +18682,7 @@ "typeArguments": [ { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" }, { @@ -18279,13 +18709,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932, 931] + "children": [966, 965, 964] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 780, "character": 4 } ] @@ -18295,7 +18725,7 @@ } }, { - "id": 680, + "id": 695, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -18303,7 +18733,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 204, + "line": 206, "character": 12 } ], @@ -18313,14 +18743,14 @@ { "type": "reflection", "declaration": { - "id": 681, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 682, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -18328,21 +18758,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 698, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 699, "name": "url", "kind": 1024, "kindString": "Property", @@ -18354,7 +18784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 216, "character": 8 } ], @@ -18368,13 +18798,13 @@ { "title": "Properties", "kind": 1024, - "children": [684] + "children": [699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 12 } ] @@ -18382,7 +18812,7 @@ } }, { - "id": 685, + "id": 700, "name": "error", "kind": 1024, "kindString": "Property", @@ -18390,7 +18820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -18404,13 +18834,13 @@ { "title": "Properties", "kind": 1024, - "children": [682, 685] + "children": [697, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 207, "character": 4 } ] @@ -18419,14 +18849,14 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 701, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 702, "name": "data", "kind": 1024, "kindString": "Property", @@ -18434,7 +18864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 221, "character": 6 } ], @@ -18444,7 +18874,7 @@ } }, { - "id": 688, + "id": 703, "name": "error", "kind": 1024, "kindString": "Property", @@ -18452,13 +18882,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 220, + "line": 222, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -18467,13 +18897,13 @@ { "title": "Properties", "kind": 1024, - "children": [687, 688] + "children": [702, 703] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 218, + "line": 220, "character": 4 } ] @@ -18483,7 +18913,7 @@ } }, { - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18491,21 +18921,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 794, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 810, "name": "options", "kind": 1024, "kindString": "Property", @@ -18515,21 +18945,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 796, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 813, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18542,7 +18972,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 499, "character": 4 } ], @@ -18552,7 +18982,7 @@ } }, { - "id": 797, + "id": 812, "name": "data", "kind": 1024, "kindString": "Property", @@ -18566,7 +18996,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 497, "character": 4 } ], @@ -18580,13 +19010,13 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [813, 812] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 12 } ] @@ -18598,13 +19028,13 @@ { "title": "Properties", "kind": 1024, - "children": [795] + "children": [810] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 43 } ] @@ -18612,7 +19042,7 @@ } }, { - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18620,21 +19050,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 860, + "id": 875, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 879, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -18644,29 +19074,6 @@ "comment": { "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 865, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -18680,7 +19087,30 @@ } }, { - "id": 866, + "id": 880, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 625, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, "name": "options", "kind": 1024, "kindString": "Property", @@ -18690,21 +19120,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 867, + "id": 882, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 868, + "id": 883, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -18717,7 +19147,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 628, "character": 4 } ], @@ -18731,13 +19161,13 @@ { "title": "Properties", "kind": 1024, - "children": [868] + "children": [883] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 12 } ] @@ -18745,7 +19175,7 @@ } }, { - "id": 861, + "id": 876, "name": "provider", "kind": 1024, "kindString": "Property", @@ -18756,7 +19186,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 2 } ], @@ -18793,7 +19223,7 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18801,7 +19231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 76 } ] @@ -18813,7 +19243,7 @@ } }, { - "id": 863, + "id": 878, "name": "token", "kind": 1024, "kindString": "Property", @@ -18824,7 +19254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 621, "character": 2 } ], @@ -18838,13 +19268,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 865, 866, 861, 863] + "children": [879, 880, 881, 876, 878] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 43 } ] @@ -18852,7 +19282,7 @@ } }, { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -18860,21 +19290,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -18884,21 +19314,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -18911,14 +19341,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18926,19 +19356,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -18957,7 +19387,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18967,29 +19397,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -19003,7 +19410,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -19016,7 +19446,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -19030,13 +19460,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -19044,7 +19474,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -19055,13 +19485,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } } @@ -19070,13 +19500,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -19084,7 +19514,7 @@ } }, { - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -19092,7 +19522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 541, "character": 12 } ], @@ -19102,14 +19532,14 @@ { "type": "reflection", "declaration": { - "id": 817, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -19117,92 +19547,6 @@ "comment": { "shortText": "The user's email address." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 822, - "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": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 16 - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -19214,35 +19558,9 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "kind": 1024, - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 540, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 823, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 826, + "id": 835, "name": "options", "kind": 1024, "kindString": "Property", @@ -19252,187 +19570,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 827, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 828, - "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": 557, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [828] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 16 - } - ] - } - } - }, - { - "id": 825, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 824, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [826, 825, 824] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 550, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 829, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 561, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 830, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 831, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 564, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 832, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 833, + "id": 836, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -19452,7 +19597,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 577, + "line": 549, "character": 8 } ], @@ -19460,107 +19605,58 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 836, - "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.raw_user_meta_data` 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": 575, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 834, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 835, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [837, 836, 834, 835] + "children": [837] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 547, "character": 16 } ] } } + }, + { + "id": 834, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [831, 832] + "children": [833, 835, 834] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 542, "character": 4 } ] @@ -19576,7 +19672,7 @@ "flags": {}, "children": [ { - "id": 840, + "id": 841, "name": "options", "kind": 1024, "kindString": "Property", @@ -19586,21 +19682,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 557, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 841, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 843, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19613,7 +19709,180 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 593, + "line": 559, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [843] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 16 + } + ] + } + } + }, + { + "id": 840, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 556, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 554, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [841, 840, 839] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 552, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 844, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 563, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 845, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 846, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 847, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 848, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 852, + "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": 579, "character": 8 } ], @@ -19623,7 +19892,168 @@ } }, { - "id": 845, + "id": 851, + "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.raw_user_meta_data` 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": 577, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 849, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 850, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 571, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [852, 851, 849, 850] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [846, 847] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 564, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 853, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 855, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 585, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 856, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 859, + "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": 595, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 860, "name": "channel", "kind": 1024, "kindString": "Property", @@ -19636,7 +20066,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 595, + "line": 597, "character": 8 } ], @@ -19655,7 +20085,7 @@ } }, { - "id": 843, + "id": 858, "name": "data", "kind": 1024, "kindString": "Property", @@ -19669,7 +20099,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 593, "character": 8 } ], @@ -19679,7 +20109,7 @@ } }, { - "id": 842, + "id": 857, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -19692,7 +20122,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 587, "character": 8 } ], @@ -19706,13 +20136,13 @@ { "title": "Properties", "kind": 1024, - "children": [844, 845, 843, 842] + "children": [859, 860, 858, 857] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 16 } ] @@ -19720,7 +20150,7 @@ } }, { - "id": 839, + "id": 854, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19731,7 +20161,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 582, + "line": 584, "character": 6 } ], @@ -19745,13 +20175,13 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839] + "children": [855, 854] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 582, "character": 4 } ] @@ -19761,7 +20191,7 @@ } }, { - "id": 936, + "id": 969, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -19769,7 +20199,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 789, "character": 12 } ], @@ -19779,14 +20209,14 @@ { "type": "reflection", "declaration": { - "id": 937, + "id": 970, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 939, + "id": 972, "name": "options", "kind": 1024, "kindString": "Property", @@ -19796,21 +20226,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 940, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 975, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19823,7 +20253,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 757, + "line": 798, "character": 8 } ], @@ -19833,7 +20263,7 @@ } }, { - "id": 941, + "id": 974, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -19846,7 +20276,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 796, "character": 8 } ], @@ -19860,13 +20290,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 941] + "children": [975, 974] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 16 } ] @@ -19874,7 +20304,7 @@ } }, { - "id": 938, + "id": 971, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -19885,7 +20315,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 792, "character": 6 } ], @@ -19899,13 +20329,13 @@ { "title": "Properties", "kind": 1024, - "children": [939, 938] + "children": [972, 971] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 790, "character": 4 } ] @@ -19914,14 +20344,14 @@ { "type": "reflection", "declaration": { - "id": 943, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 977, "name": "domain", "kind": 1024, "kindString": "Property", @@ -19932,7 +20362,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 803, "character": 6 } ], @@ -19942,7 +20372,7 @@ } }, { - "id": 945, + "id": 978, "name": "options", "kind": 1024, "kindString": "Property", @@ -19952,21 +20382,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 946, + "id": 979, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 948, + "id": 981, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -19979,7 +20409,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 809, "character": 8 } ], @@ -19989,7 +20419,7 @@ } }, { - "id": 947, + "id": 980, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -20002,7 +20432,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 807, "character": 8 } ], @@ -20016,13 +20446,13 @@ { "title": "Properties", "kind": 1024, - "children": [948, 947] + "children": [981, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 16 } ] @@ -20034,13 +20464,13 @@ { "title": "Properties", "kind": 1024, - "children": [944, 945] + "children": [977, 978] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 801, "character": 4 } ] @@ -20050,7 +20480,7 @@ } }, { - "id": 1150, + "id": 1183, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -20058,21 +20488,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1151, + "id": 1184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1152, + "id": 1185, "name": "scope", "kind": 1024, "kindString": "Property", @@ -20085,7 +20515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1190, + "line": 1231, "character": 2 } ], @@ -20112,13 +20542,13 @@ { "title": "Properties", "kind": 1024, - "children": [1152] + "children": [1185] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 22 } ] @@ -20126,7 +20556,7 @@ } }, { - "id": 1218, + "id": 1251, "name": "SignOutScope", "kind": 4194304, "kindString": "Type alias", @@ -20134,7 +20564,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1297, + "line": 1338, "character": 12 } ], @@ -20148,14 +20578,14 @@ "type": "query", "queryType": { "type": "reference", - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES" } } } }, { - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -20163,7 +20593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 503, "character": 12 } ], @@ -20173,14 +20603,14 @@ { "type": "reflection", "declaration": { - "id": 800, + "id": 815, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 816, "name": "email", "kind": 1024, "kindString": "Property", @@ -20191,7 +20621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 506, "character": 6 } ], @@ -20201,7 +20631,7 @@ } }, { - "id": 803, + "id": 818, "name": "options", "kind": 1024, "kindString": "Property", @@ -20211,21 +20641,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 807, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20238,7 +20668,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 519, "character": 8 } ], @@ -20248,7 +20678,7 @@ } }, { - "id": 806, + "id": 821, "name": "data", "kind": 1024, "kindString": "Property", @@ -20262,7 +20692,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 517, "character": 8 } ], @@ -20272,7 +20702,7 @@ } }, { - "id": 805, + "id": 820, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -20285,7 +20715,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 511, "character": 8 } ], @@ -20299,13 +20729,13 @@ { "title": "Properties", "kind": 1024, - "children": [807, 806, 805] + "children": [822, 821, 820] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 16 } ] @@ -20313,7 +20743,7 @@ } }, { - "id": 802, + "id": 817, "name": "password", "kind": 1024, "kindString": "Property", @@ -20324,7 +20754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 508, "character": 6 } ], @@ -20338,13 +20768,13 @@ { "title": "Properties", "kind": 1024, - "children": [801, 803, 802] + "children": [816, 818, 817] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 504, "character": 4 } ] @@ -20353,14 +20783,14 @@ { "type": "reflection", "declaration": { - "id": 808, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 811, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -20370,21 +20800,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 812, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 814, + "id": 829, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20397,7 +20827,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 535, "character": 8 } ], @@ -20407,7 +20837,7 @@ } }, { - "id": 815, + "id": 830, "name": "channel", "kind": 1024, "kindString": "Property", @@ -20420,7 +20850,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 537, "character": 8 } ], @@ -20439,7 +20869,7 @@ } }, { - "id": 813, + "id": 828, "name": "data", "kind": 1024, "kindString": "Property", @@ -20453,7 +20883,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 531, + "line": 533, "character": 8 } ], @@ -20467,13 +20897,13 @@ { "title": "Properties", "kind": 1024, - "children": [814, 815, 813] + "children": [829, 830, 828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 16 } ] @@ -20481,7 +20911,7 @@ } }, { - "id": 810, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -20492,7 +20922,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 526, "character": 6 } ], @@ -20502,7 +20932,7 @@ } }, { - "id": 809, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -20513,7 +20943,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 524, "character": 6 } ], @@ -20527,13 +20957,13 @@ { "title": "Properties", "kind": 1024, - "children": [811, 810, 809] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 522, "character": 4 } ] @@ -20543,7 +20973,7 @@ } }, { - "id": 869, + "id": 884, "name": "SolanaWallet", "kind": 4194304, "kindString": "Type alias", @@ -20551,21 +20981,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 870, + "id": 885, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 874, + "id": 889, "name": "publicKey", "kind": 1024, "kindString": "Property", @@ -20575,7 +21005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 2 } ], @@ -20585,14 +21015,14 @@ { "type": "reflection", "declaration": { - "id": 875, + "id": 890, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 876, + "id": 891, "name": "toBase58", "kind": 2048, "kindString": "Method", @@ -20600,13 +21030,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 635, "character": 4 } ], "signatures": [ { - "id": 877, + "id": 892, "name": "toBase58", "kind": 4096, "kindString": "Call signature", @@ -20623,13 +21053,13 @@ { "title": "Methods", "kind": 2048, - "children": [876] + "children": [891] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 14 } ] @@ -20643,7 +21073,7 @@ } }, { - "id": 871, + "id": 886, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -20653,20 +21083,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 633, "character": 2 } ], "signatures": [ { - "id": 872, + "id": 887, "name": "signIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 873, + "id": 888, "name": "inputs", "kind": 32768, "kindString": "Parameter", @@ -20710,7 +21140,7 @@ ] }, { - "id": 878, + "id": 893, "name": "signMessage", "kind": 2048, "kindString": "Method", @@ -20720,20 +21150,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 638, "character": 2 } ], "signatures": [ { - "id": 879, + "id": 894, "name": "signMessage", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 880, + "id": 895, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -20746,7 +21176,7 @@ } }, { - "id": 881, + "id": 896, "name": "encoding", "kind": 32768, "kindString": "Parameter", @@ -20790,18 +21220,18 @@ { "title": "Properties", "kind": 1024, - "children": [874] + "children": [889] }, { "title": "Methods", "kind": 2048, - "children": [871, 878] + "children": [886, 893] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 27 } ] @@ -20809,7 +21239,7 @@ } }, { - "id": 882, + "id": 897, "name": "SolanaWeb3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -20817,7 +21247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 641, "character": 12 } ], @@ -20827,14 +21257,14 @@ { "type": "reflection", "declaration": { - "id": 883, + "id": 898, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 884, + "id": 899, "name": "chain", "kind": 1024, "kindString": "Property", @@ -20842,7 +21272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 643, "character": 6 } ], @@ -20852,7 +21282,7 @@ } }, { - "id": 887, + "id": 902, "name": "options", "kind": 1024, "kindString": "Property", @@ -20862,21 +21292,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 888, + "id": 903, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 890, + "id": 905, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -20889,7 +21319,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 656, "character": 8 } ], @@ -20899,7 +21329,7 @@ } }, { - "id": 891, + "id": 906, "name": "signInWithSolana", "kind": 1024, "kindString": "Property", @@ -20909,7 +21339,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 658, "character": 8 } ], @@ -20960,7 +21390,7 @@ } }, { - "id": 889, + "id": 904, "name": "url", "kind": 1024, "kindString": "Property", @@ -20973,7 +21403,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 653, "character": 8 } ], @@ -20987,13 +21417,13 @@ { "title": "Properties", "kind": 1024, - "children": [890, 891, 889] + "children": [905, 906, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 16 } ] @@ -21001,7 +21431,7 @@ } }, { - "id": 886, + "id": 901, "name": "statement", "kind": 1024, "kindString": "Property", @@ -21014,7 +21444,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 649, "character": 6 } ], @@ -21024,7 +21454,7 @@ } }, { - "id": 885, + "id": 900, "name": "wallet", "kind": 1024, "kindString": "Property", @@ -21037,13 +21467,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 646, "character": 6 } ], "type": { "type": "reference", - "id": 869, + "id": 884, "name": "SolanaWallet" } } @@ -21052,13 +21482,13 @@ { "title": "Properties", "kind": 1024, - "children": [884, 887, 886, 885] + "children": [899, 902, 901, 900] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 642, "character": 4 } ] @@ -21067,14 +21497,14 @@ { "type": "reflection", "declaration": { - "id": 892, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 908, "name": "chain", "kind": 1024, "kindString": "Property", @@ -21082,7 +21512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 664, "character": 6 } ], @@ -21092,7 +21522,7 @@ } }, { - "id": 894, + "id": 909, "name": "message", "kind": 1024, "kindString": "Property", @@ -21103,7 +21533,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 667, "character": 6 } ], @@ -21113,7 +21543,7 @@ } }, { - "id": 896, + "id": 911, "name": "options", "kind": 1024, "kindString": "Property", @@ -21123,21 +21553,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 897, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 898, + "id": 913, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -21150,7 +21580,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 672, + "line": 674, "character": 8 } ], @@ -21164,13 +21594,13 @@ { "title": "Properties", "kind": 1024, - "children": [898] + "children": [913] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 16 } ] @@ -21178,7 +21608,7 @@ } }, { - "id": 895, + "id": 910, "name": "signature", "kind": 1024, "kindString": "Property", @@ -21189,7 +21619,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 670, "character": 6 } ], @@ -21205,13 +21635,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 896, 895] + "children": [908, 909, 911, 910] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 661, + "line": 663, "character": 4 } ] @@ -21221,7 +21651,7 @@ } }, { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -21229,7 +21659,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -21276,14 +21706,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -21296,7 +21726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -21310,13 +21740,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -21326,7 +21756,7 @@ } }, { - "id": 689, + "id": 704, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -21334,7 +21764,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 225, "character": 12 } ], @@ -21344,14 +21774,14 @@ { "type": "reflection", "declaration": { - "id": 690, + "id": 705, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 691, + "id": 706, "name": "data", "kind": 1024, "kindString": "Property", @@ -21359,21 +21789,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 692, + "id": 707, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 708, "name": "user", "kind": 1024, "kindString": "Property", @@ -21381,13 +21811,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 226, + "line": 228, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -21396,13 +21826,13 @@ { "title": "Properties", "kind": 1024, - "children": [693] + "children": [708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 12 } ] @@ -21410,7 +21840,7 @@ } }, { - "id": 694, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -21418,7 +21848,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 230, "character": 6 } ], @@ -21432,13 +21862,13 @@ { "title": "Properties", "kind": 1024, - "children": [691, 694] + "children": [706, 709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 224, + "line": 226, "character": 4 } ] @@ -21447,14 +21877,14 @@ { "type": "reflection", "declaration": { - "id": 695, + "id": 710, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 696, + "id": 711, "name": "data", "kind": 1024, "kindString": "Property", @@ -21462,21 +21892,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 697, + "id": 712, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 698, + "id": 713, "name": "user", "kind": 1024, "kindString": "Property", @@ -21484,7 +21914,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 234, "character": 8 } ], @@ -21498,13 +21928,13 @@ { "title": "Properties", "kind": 1024, - "children": [698] + "children": [713] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 12 } ] @@ -21512,7 +21942,7 @@ } }, { - "id": 699, + "id": 714, "name": "error", "kind": 1024, "kindString": "Property", @@ -21520,13 +21950,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 234, + "line": 236, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -21535,13 +21965,13 @@ { "title": "Properties", "kind": 1024, - "children": [696, 699] + "children": [711, 714] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 230, + "line": 232, "character": 4 } ] @@ -21551,7 +21981,7 @@ } }, { - "id": 900, + "id": 933, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -21559,7 +21989,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 719, "character": 12 } ], @@ -21568,24 +21998,24 @@ "types": [ { "type": "reference", - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams" }, { "type": "reference", - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams" }, { "type": "reference", - "id": 917, + "id": 950, "name": "VerifyTokenHashParams" } ] } }, { - "id": 593, + "id": 608, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -21593,21 +22023,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 594, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 611, "name": "message", "kind": 1024, "kindString": "Property", @@ -21615,7 +22045,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 105, "character": 2 } ], @@ -21625,7 +22055,7 @@ } }, { - "id": 595, + "id": 610, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -21633,7 +22063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 104, "character": 2 } ], @@ -21641,7 +22071,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 591, + "id": 606, "name": "WeakPasswordReasons" } } @@ -21651,13 +22081,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 595] + "children": [611, 610] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 27 } ] @@ -21665,7 +22095,7 @@ } }, { - "id": 591, + "id": 606, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -21673,7 +22103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 12 } ], @@ -21702,7 +22132,7 @@ { "type": "reflection", "declaration": { - "id": 592, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -21710,7 +22140,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 80 } ] @@ -21722,7 +22152,7 @@ } }, { - "id": 899, + "id": 932, "name": "Web3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -21730,18 +22160,28 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 717, "character": 12 } ], "type": { - "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials" + "type": "union", + "types": [ + { + "type": "reference", + "id": 897, + "name": "SolanaWeb3Credentials" + }, + { + "type": "reference", + "id": 915, + "name": "EthereumWeb3Credentials" + } + ] } }, { - "id": 531, + "id": 546, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -21766,7 +22206,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 532, + "id": 547, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -21791,7 +22231,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES", "kind": 32, "kindString": "Variable", @@ -21801,7 +22241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1296, + "line": 1337, "character": 13 } ], @@ -21829,7 +22269,7 @@ "defaultValue": "..." }, { - "id": 546, + "id": 561, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -21854,14 +22294,14 @@ "type": { "type": "reflection", "declaration": { - "id": 547, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 548, + "id": 563, "name": "debug", "kind": 1024, "kindString": "Property", @@ -21892,7 +22332,7 @@ { "title": "Properties", "kind": 1024, - "children": [548] + "children": [563] } ] } @@ -21900,7 +22340,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1255, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -21914,14 +22354,14 @@ ], "signatures": [ { - "id": 1223, + "id": 1256, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1224, + "id": 1257, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -21938,7 +22378,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" } } @@ -21946,7 +22386,7 @@ ] }, { - "id": 1219, + "id": 1252, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -21960,14 +22400,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1253, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1254, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -21984,7 +22424,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -21992,7 +22432,7 @@ ] }, { - "id": 1228, + "id": 1261, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -22006,14 +22446,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1262, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1263, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -22030,7 +22470,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" } } @@ -22038,7 +22478,7 @@ ] }, { - "id": 1231, + "id": 1264, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -22052,14 +22492,14 @@ ], "signatures": [ { - "id": 1232, + "id": 1265, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1233, + "id": 1266, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -22076,7 +22516,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" } } @@ -22084,7 +22524,7 @@ ] }, { - "id": 1225, + "id": 1258, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -22098,14 +22538,14 @@ ], "signatures": [ { - "id": 1226, + "id": 1259, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1227, + "id": 1260, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -22122,7 +22562,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" } } @@ -22130,7 +22570,7 @@ ] }, { - "id": 1234, + "id": 1267, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -22144,14 +22584,14 @@ ], "signatures": [ { - "id": 1235, + "id": 1268, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1236, + "id": 1269, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -22168,7 +22608,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" } } @@ -22176,7 +22616,7 @@ ] }, { - "id": 533, + "id": 548, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -22190,7 +22630,7 @@ ], "signatures": [ { - "id": 534, + "id": 549, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -22201,7 +22641,7 @@ }, "typeParameter": [ { - "id": 535, + "id": 550, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -22210,7 +22650,7 @@ ], "parameters": [ { - "id": 536, + "id": 551, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -22224,7 +22664,7 @@ } }, { - "id": 537, + "id": 552, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -22238,7 +22678,7 @@ } }, { - "id": 538, + "id": 553, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -22249,14 +22689,14 @@ "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 540, + "id": 555, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -22266,7 +22706,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -22285,7 +22725,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -22297,7 +22737,7 @@ ] }, { - "id": 549, + "id": 564, "name": "processLock", "kind": 64, "kindString": "Function", @@ -22311,7 +22751,7 @@ ], "signatures": [ { - "id": 550, + "id": 565, "name": "processLock", "kind": 4096, "kindString": "Call signature", @@ -22322,7 +22762,7 @@ }, "typeParameter": [ { - "id": 551, + "id": 566, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -22331,7 +22771,7 @@ ], "parameters": [ { - "id": 552, + "id": 567, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -22345,7 +22785,7 @@ } }, { - "id": 553, + "id": 568, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -22359,7 +22799,7 @@ } }, { - "id": 554, + "id": 569, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -22370,14 +22810,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 556, + "id": 571, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -22387,7 +22827,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -22406,7 +22846,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -22423,36 +22863,36 @@ "title": "Classes", "kind": 128, "children": [ - 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 + 1280, 1270, 1337, 1328, 1413, 1320, 1364, 1391, 1312, 1290, 1401, 1300, 1, 78, 556 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 + 724, 787, 740, 1004, 1152, 1103, 1243, 715, 800, 755, 748, 781, 728, 752, 942, 934, 950 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 559, 558, 846, 1103, 1094, 1116, 1107, 1036, 1179, 1026, 1163, 1059, 1047, 1027, 1013, 624, - 597, 610, 639, 652, 1058, 1132, 921, 965, 955, 974, 988, 975, 995, 960, 949, 569, 1129, - 1191, 1206, 560, 1009, 1005, 996, 1158, 1153, 997, 1000, 920, 667, 1146, 1139, 557, 1196, - 922, 680, 793, 859, 847, 816, 829, 936, 1150, 1218, 799, 869, 882, 1126, 689, 900, 593, 591, - 899 + 574, 573, 861, 1136, 1127, 1149, 1140, 1069, 1212, 1059, 1196, 1092, 1080, 1060, 1046, 639, + 612, 625, 654, 667, 1091, 1165, 954, 914, 915, 998, 988, 1007, 1021, 1008, 1028, 993, 982, + 584, 1162, 1224, 1239, 575, 1042, 1038, 1029, 1191, 1186, 1030, 1033, 953, 682, 1179, 1172, + 572, 1229, 955, 695, 808, 874, 862, 831, 844, 969, 1183, 1251, 814, 884, 897, 1159, 704, + 933, 608, 606, 932 ] }, { "title": "Variables", "kind": 32, - "children": [531, 532, 1217, 546] + "children": [546, 547, 1250, 561] }, { "title": "Functions", "kind": 64, - "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] + "children": [1255, 1252, 1261, 1264, 1258, 1267, 548, 564] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json index 35c7abd80f5..6ebcce5ff2a 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json @@ -7,14 +7,14 @@ "originalName": "", "children": [ { - "id": 1247, + "id": 1280, "name": "AuthApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1248, + "id": 1281, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,14 +28,14 @@ ], "signatures": [ { - "id": 1249, + "id": 1282, "name": "new AuthApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1250, + "id": 1283, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -46,7 +46,7 @@ } }, { - "id": 1251, + "id": 1284, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -57,7 +57,7 @@ } }, { - "id": 1252, + "id": 1285, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -79,24 +79,24 @@ ], "type": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" }, "overwrites": { "type": "reference", - "id": 1239, + "id": 1272, "name": "AuthError.constructor" } } ], "overwrites": { "type": "reference", - "id": 1238, + "id": 1271, "name": "AuthError.constructor" } }, { - "id": 1254, + "id": 1287, "name": "code", "kind": 1024, "kindString": "Property", @@ -128,7 +128,7 @@ { "type": "reflection", "declaration": { - "id": 1255, + "id": 1288, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -145,12 +145,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1276, "name": "AuthError.code" } }, { - "id": 1253, + "id": 1286, "name": "status", "kind": 1024, "kindString": "Property", @@ -171,7 +171,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -180,12 +180,12 @@ { "title": "Constructors", "kind": 512, - "children": [1248] + "children": [1281] }, { "title": "Properties", "kind": 1024, - "children": [1254, 1253] + "children": [1287, 1286] } ], "sources": [ @@ -198,20 +198,20 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] }, { - "id": 1237, + "id": 1270, "name": "AuthError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 1238, + "id": 1271, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -225,14 +225,14 @@ ], "signatures": [ { - "id": 1239, + "id": 1272, "name": "new AuthError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 1240, + "id": 1273, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -243,7 +243,7 @@ } }, { - "id": 1241, + "id": 1274, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -256,7 +256,7 @@ } }, { - "id": 1242, + "id": 1275, "name": "code", "kind": 32768, "kindString": "Parameter", @@ -271,7 +271,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, "overwrites": { @@ -285,2653 +285,6 @@ "name": "Error.constructor" } }, - { - "id": 1243, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - } - }, - { - "id": 1245, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1238] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1243, 1245] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 4, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "qualifiedName": "Error", - "package": "typescript", - "name": "Error" - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 1247, - "name": "AuthApiError" - }, - { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1304, - "name": "AuthImplicitGrantRedirectError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1305, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 2 - } - ], - "signatures": [ - { - "id": 1306, - "name": "new AuthImplicitGrantRedirectError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1307, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1308, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1309, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1311, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1310, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 90, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1311, 1310] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1304, - "name": "AuthImplicitGrantRedirectError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1328, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1329, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1312, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1313, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1315, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1314, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1315, 1314] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1326, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1327, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1316, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 95, - "character": 2 - } - ], - "signatures": [ - { - "id": 1317, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1318, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1322, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 100, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1323, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1325, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1324, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 89, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1325, 1324] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1320, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 98, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1319, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 97, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1321, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 99, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1322, 1320, 1319, 1321] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1305] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1328, 1312, 1326, 1327] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1316] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 88, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1295, - "name": "AuthInvalidCredentialsError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1296, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 83, - "character": 2 - } - ], - "signatures": [ - { - "id": 1297, - "name": "new AuthInvalidCredentialsError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1298, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1295, - "name": "AuthInvalidCredentialsError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1301, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1302, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1299, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1300, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1296] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1301, 1299, 1300] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 82, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1380, - "name": "AuthInvalidJwtError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1381, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 162, - "character": 2 - } - ], - "signatures": [ - { - "id": 1382, - "name": "new AuthInvalidJwtError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1383, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 1380, - "name": "AuthInvalidJwtError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1386, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1387, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1384, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1385, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1381] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1386, 1384, 1385] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 161, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1287, - "name": "AuthInvalidTokenResponseError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1288, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 77, - "character": 2 - } - ], - "signatures": [ - { - "id": 1289, - "name": "new AuthInvalidTokenResponseError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1287, - "name": "AuthInvalidTokenResponseError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1292, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1293, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1290, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1291, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1288] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1292, 1290, 1291] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 76, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1332, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 2 - } - ], - "signatures": [ - { - "id": 1333, - "name": "new AuthPKCEGrantCodeExchangeError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1334, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1335, - "name": "details", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1336, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1338, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 57 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1337, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 114, - "character": 42 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1338, 1337] - } - ] - } - } - ] - }, - "defaultValue": "null" - } - ], - "type": { - "type": "reference", - "id": 1331, - "name": "AuthPKCEGrantCodeExchangeError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1355, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1339, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1340, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1342, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1341, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1342, 1341] - } - ] - } - } - ] - }, - "defaultValue": "null" - }, - { - "id": 1353, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1354, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - }, - { - "id": 1343, - "name": "toJSON", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 119, - "character": 2 - } - ], - "signatures": [ - { - "id": 1344, - "name": "toJSON", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 1345, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1349, - "name": "details", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 1350, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1352, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 28 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1351, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 112, - "character": 13 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1352, 1351] - } - ] - } - } - ] - }, - "defaultValue": "..." - }, - { - "id": 1347, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 122, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1346, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 121, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 1348, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 123, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "defaultValue": "..." - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1349, 1347, 1346, 1348] - } - ] - } - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1332] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1355, 1339, 1353, 1354] - }, - { - "title": "Methods", - "kind": 2048, - "children": [1343] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 111, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1358, - "name": "AuthRetryableFetchError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1359, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 130, - "character": 2 - } - ], - "signatures": [ - { - "id": 1360, - "name": "new AuthRetryableFetchError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1361, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1362, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "id": 1358, - "name": "AuthRetryableFetchError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1365, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1366, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1363, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1364, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1359] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1365, 1363, 1364] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 129, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1279, - "name": "AuthSessionMissingError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1280, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 67, - "character": 2 - } - ], - "signatures": [ - { - "id": 1281, - "name": "new AuthSessionMissingError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "type": { - "type": "reference", - "id": 1279, - "name": "AuthSessionMissingError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1284, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1285, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1282, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1283, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1280] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1284, 1282, 1283] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 66, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1257, - "name": "AuthUnknownError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1258, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 48, - "character": 2 - } - ], - "signatures": [ - { - "id": 1259, - "name": "new AuthUnknownError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1260, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1261, - "name": "originalError", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 1257, - "name": "AuthUnknownError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, - { - "id": 1263, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1243, - "name": "AuthError.code" - } - }, - { - "id": 1262, - "name": "originalError", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 46, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1265, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 14, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1245, - "name": "AuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1258] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1263, 1262, 1265] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 45, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - ] - }, - { - "id": 1368, - "name": "AuthWeakPasswordError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." - }, - "children": [ - { - "id": 1369, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 150, - "character": 2 - } - ], - "signatures": [ - { - "id": 1370, - "name": "new AuthWeakPasswordError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1371, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1372, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1373, - "name": "reasons", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "type": { - "type": "reference", - "id": 1368, - "name": "AuthWeakPasswordError" - }, - "overwrites": { - "type": "reference", - "id": 1269, - "name": "CustomAuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1268, - "name": "CustomAuthError.constructor" - } - }, - { - "id": 1377, - "name": "code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 11, - "character": 2 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1378, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {} - } - } - ] - }, - { - "type": "reference", - "name": "ErrorCode" - } - ] - }, - "inheritedFrom": { - "type": "reference", - "id": 1276, - "name": "CustomAuthError.code" - } - }, - { - "id": 1375, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 56, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "id": 1274, - "name": "CustomAuthError.name" - } - }, - { - "id": 1374, - "name": "reasons", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Reasons why the password is deemed weak." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 148, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 591, - "name": "WeakPasswordReasons" - } - } - }, - { - "id": 1376, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "HTTP status code that caused the error." - }, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 57, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - }, - "inheritedFrom": { - "type": "reference", - "id": 1275, - "name": "CustomAuthError.status" - } - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [1369] - }, - { - "title": "Properties", - "kind": 1024, - "children": [1377, 1375, 1374, 1376] - } - ], - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 144, - "character": 13 - } - ], - "extendedTypes": [ - { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - } - ] - }, - { - "id": 1267, - "name": "CustomAuthError", - "kind": 128, - "kindString": "Class", - "flags": {}, - "children": [ - { - "id": 1268, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 59, - "character": 2 - } - ], - "signatures": [ - { - "id": 1269, - "name": "new CustomAuthError", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "parameters": [ - { - "id": 1270, - "name": "message", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1271, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1272, - "name": "status", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1273, - "name": "code", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 1267, - "name": "CustomAuthError" - }, - "overwrites": { - "type": "reference", - "id": 1239, - "name": "AuthError.constructor" - } - } - ], - "overwrites": { - "type": "reference", - "id": 1238, - "name": "AuthError.constructor" - } - }, { "id": 1276, "name": "code", @@ -2979,15 +332,2662 @@ "name": "ErrorCode" } ] + } + }, + { + "id": 1278, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1271] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1276, 1278] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 1280, + "name": "AuthApiError" + }, + { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1337, + "name": "AuthImplicitGrantRedirectError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1338, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 2 + } + ], + "signatures": [ + { + "id": 1339, + "name": "new AuthImplicitGrantRedirectError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1340, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1341, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1342, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1344, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1343, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 90, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1344, 1343] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1337, + "name": "AuthImplicitGrantRedirectError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1361, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] }, "inheritedFrom": { "type": "reference", - "id": 1243, + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1345, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1346, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1348, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1347, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1348, 1347] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1359, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1360, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1349, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 95, + "character": 2 + } + ], + "signatures": [ + { + "id": 1350, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1351, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1355, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1358, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1357, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 89, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1358, 1357] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1353, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 98, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1352, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1354, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1355, 1353, 1352, 1354] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1338] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1361, 1345, 1359, 1360] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1349] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 88, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1328, + "name": "AuthInvalidCredentialsError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1329, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 83, + "character": 2 + } + ], + "signatures": [ + { + "id": 1330, + "name": "new AuthInvalidCredentialsError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1331, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1328, + "name": "AuthInvalidCredentialsError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1334, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1335, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1332, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1333, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1329] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1334, 1332, 1333] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 82, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1413, + "name": "AuthInvalidJwtError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1414, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 162, + "character": 2 + } + ], + "signatures": [ + { + "id": 1415, + "name": "new AuthInvalidJwtError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1416, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1413, + "name": "AuthInvalidJwtError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1419, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1420, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1417, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1418, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1414] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1419, 1417, 1418] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 161, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1320, + "name": "AuthInvalidTokenResponseError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1321, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 77, + "character": 2 + } + ], + "signatures": [ + { + "id": 1322, + "name": "new AuthInvalidTokenResponseError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1320, + "name": "AuthInvalidTokenResponseError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1325, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1323, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1324, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1321] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1325, 1323, 1324] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 76, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1365, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 2 + } + ], + "signatures": [ + { + "id": 1366, + "name": "new AuthPKCEGrantCodeExchangeError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1367, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1368, + "name": "details", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1369, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1371, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 57 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1370, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 114, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1371, 1370] + } + ] + } + } + ] + }, + "defaultValue": "null" + } + ], + "type": { + "type": "reference", + "id": 1364, + "name": "AuthPKCEGrantCodeExchangeError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1388, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1372, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1373, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1375, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1374, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1375, 1374] + } + ] + } + } + ] + }, + "defaultValue": "null" + }, + { + "id": 1386, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1387, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + }, + { + "id": 1376, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 1377, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 1378, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1382, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 124, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 1383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1385, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1384, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 112, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1385, 1384] + } + ] + } + } + ] + }, + "defaultValue": "..." + }, + { + "id": 1380, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 122, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1379, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 1381, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 123, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1382, 1380, 1379, 1381] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1365] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1388, 1372, 1386, 1387] + }, + { + "title": "Methods", + "kind": 2048, + "children": [1376] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 111, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1391, + "name": "AuthRetryableFetchError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1392, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 130, + "character": 2 + } + ], + "signatures": [ + { + "id": 1393, + "name": "new AuthRetryableFetchError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1394, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1395, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 1391, + "name": "AuthRetryableFetchError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1398, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1399, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1396, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1397, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1392] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1398, 1396, 1397] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 129, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1312, + "name": "AuthSessionMissingError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1313, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 1314, + "name": "new AuthSessionMissingError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "type": { + "type": "reference", + "id": 1312, + "name": "AuthSessionMissingError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1317, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1315, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1316, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1313] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1317, 1315, 1316] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 66, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1290, + "name": "AuthUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1291, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 48, + "character": 2 + } + ], + "signatures": [ + { + "id": 1292, + "name": "new AuthUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1293, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1294, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 1290, + "name": "AuthUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1296, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1297, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, "name": "AuthError.code" } }, { - "id": 1274, + "id": 1295, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 46, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1298, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1278, + "name": "AuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1291] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1296, 1295, 1298] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 45, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + ] + }, + { + "id": 1401, + "name": "AuthWeakPasswordError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "This error is thrown on certain methods when the password used is deemed\nweak. Inspect the reasons to identify what password strength rules are\ninadequate." + }, + "children": [ + { + "id": 1402, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 150, + "character": 2 + } + ], + "signatures": [ + { + "id": 1403, + "name": "new AuthWeakPasswordError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1404, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1405, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1406, + "name": "reasons", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 1401, + "name": "AuthWeakPasswordError" + }, + "overwrites": { + "type": "reference", + "id": 1302, + "name": "CustomAuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1301, + "name": "CustomAuthError.constructor" + } + }, + { + "id": 1410, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1411, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1309, + "name": "CustomAuthError.code" + } + }, + { + "id": 1408, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 56, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 1307, + "name": "CustomAuthError.name" + } + }, + { + "id": 1407, + "name": "reasons", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Reasons why the password is deemed weak." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 148, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 606, + "name": "WeakPasswordReasons" + } + } + }, + { + "id": 1409, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "HTTP status code that caused the error." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 57, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "id": 1308, + "name": "CustomAuthError.status" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [1402] + }, + { + "title": "Properties", + "kind": 1024, + "children": [1410, 1408, 1407, 1409] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 144, + "character": 13 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + } + ] + }, + { + "id": 1300, + "name": "CustomAuthError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 1301, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 1302, + "name": "new CustomAuthError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 1303, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1304, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1305, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1306, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 1300, + "name": "CustomAuthError" + }, + "overwrites": { + "type": "reference", + "id": 1272, + "name": "AuthError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 1271, + "name": "AuthError.constructor" + } + }, + { + "id": 1309, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Error code associated with the error. Most errors coming from\nHTTP responses will have a code, though some errors that occur\nbefore a response is received will not have one present. In that\ncase {@link #status} will also be undefined." + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1310, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + ] + }, + { + "type": "reference", + "name": "ErrorCode" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 1276, + "name": "AuthError.code" + } + }, + { + "id": 1307, "name": "name", "kind": 1024, "kindString": "Property", @@ -3009,7 +3009,7 @@ } }, { - "id": 1275, + "id": 1308, "name": "status", "kind": 1024, "kindString": "Property", @@ -3030,7 +3030,7 @@ }, "overwrites": { "type": "reference", - "id": 1245, + "id": 1278, "name": "AuthError.status" } } @@ -3039,12 +3039,12 @@ { "title": "Constructors", "kind": 512, - "children": [1268] + "children": [1301] }, { "title": "Properties", "kind": 1024, - "children": [1276, 1274, 1275] + "children": [1309, 1307, 1308] } ], "sources": [ @@ -3057,49 +3057,49 @@ "extendedTypes": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ], "extendedBy": [ { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" }, { "type": "reference", - "id": 1287, + "id": 1320, "name": "AuthInvalidTokenResponseError" }, { "type": "reference", - "id": 1295, + "id": 1328, "name": "AuthInvalidCredentialsError" }, { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" }, { "type": "reference", - "id": 1331, + "id": 1364, "name": "AuthPKCEGrantCodeExchangeError" }, { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" }, { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" }, { "type": "reference", - "id": 1380, + "id": 1413, "name": "AuthInvalidJwtError" } ] @@ -3342,10 +3342,10 @@ ], "type": { "type": "reference", - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -3361,14 +3361,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -3388,17 +3388,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -3414,21 +3414,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -3439,7 +3439,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -3449,7 +3449,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3460,7 +3460,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -3474,13 +3474,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -3495,7 +3495,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -3507,14 +3507,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -3524,17 +3524,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -3550,21 +3550,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -3575,7 +3575,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -3589,13 +3589,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -3610,7 +3610,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -3626,13 +3626,13 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] @@ -3671,17 +3671,17 @@ "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -3695,7 +3695,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -3705,7 +3705,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -3719,7 +3719,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -3729,7 +3729,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -3742,7 +3742,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -3756,7 +3756,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -3770,7 +3770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -3780,7 +3780,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -3794,7 +3794,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -3804,7 +3804,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -3818,7 +3818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -3832,7 +3832,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -3845,7 +3845,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -3859,7 +3859,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -3873,7 +3873,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -3883,7 +3883,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -3896,7 +3896,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -3910,7 +3910,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -3924,7 +3924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -3934,7 +3934,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -3948,7 +3948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -3958,7 +3958,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -3972,7 +3972,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -3986,13 +3986,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] + "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -4002,7 +4002,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -4024,7 +4024,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -4094,7 +4094,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -4137,10 +4137,10 @@ "flags": {}, "type": { "type": "reference", - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "dereferenced": { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4148,7 +4148,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -4156,7 +4156,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4164,21 +4164,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -4186,7 +4186,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -4196,7 +4196,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -4206,7 +4206,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -4215,7 +4215,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -4238,7 +4238,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -4246,7 +4246,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -4256,7 +4256,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -4264,7 +4264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -4278,13 +4278,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -4292,7 +4292,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4300,21 +4300,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -4325,7 +4325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -4335,7 +4335,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -4345,7 +4345,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -4354,7 +4354,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -4377,7 +4377,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -4385,7 +4385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -4408,13 +4408,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -4422,7 +4422,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4430,21 +4430,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -4455,7 +4455,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -4465,7 +4465,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -4475,7 +4475,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -4484,7 +4484,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -4498,7 +4498,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -4506,7 +4506,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -4520,13 +4520,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -4534,7 +4534,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -4542,21 +4542,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -4567,7 +4567,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -4577,7 +4577,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -4588,7 +4588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -4598,7 +4598,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -4608,7 +4608,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -4617,7 +4617,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -4631,7 +4631,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -4639,7 +4639,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -4662,13 +4662,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -4686,7 +4686,7 @@ "typeArguments": [ { "type": "reference", - "id": 975, + "id": 1008, "name": "GenerateLinkResponse" } ], @@ -4741,7 +4741,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -4872,7 +4872,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -4921,10 +4921,10 @@ }, "type": { "type": "reference", - "id": 1146, + "id": 1179, "name": "PageParams", "dereferenced": { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -4932,21 +4932,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -4959,7 +4959,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -4969,7 +4969,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -4982,7 +4982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -4996,13 +4996,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -5087,7 +5087,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -5104,7 +5104,7 @@ }, { "type": "reference", - "id": 1139, + "id": 1172, "name": "Pagination" } ] @@ -5212,7 +5212,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -5355,7 +5355,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -5425,17 +5425,17 @@ }, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -5449,7 +5449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -5459,7 +5459,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -5473,7 +5473,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -5483,7 +5483,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -5496,7 +5496,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -5510,7 +5510,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -5524,7 +5524,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -5534,7 +5534,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -5548,7 +5548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -5558,7 +5558,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -5572,7 +5572,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -5586,7 +5586,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -5599,7 +5599,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -5613,7 +5613,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -5627,7 +5627,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -5637,7 +5637,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -5650,7 +5650,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -5664,7 +5664,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -5678,7 +5678,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -5688,7 +5688,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -5702,7 +5702,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -5712,7 +5712,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -5726,7 +5726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -5740,13 +5740,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] + "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -5756,7 +5756,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -5778,7 +5778,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -5831,7 +5831,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 229, + "line": 240, "character": 2 } ], @@ -5854,10 +5854,10 @@ "flags": {}, "type": { "type": "reference", - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "dereferenced": { - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -5865,21 +5865,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 578, + "id": 593, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -5889,7 +5889,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 68, + "line": 70, "character": 2 } ], @@ -5899,7 +5899,7 @@ } }, { - "id": 584, + "id": 599, "name": "debug", "kind": 1024, "kindString": "Property", @@ -5909,7 +5909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 2 } ], @@ -5923,7 +5923,7 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -5931,20 +5931,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 21 } ], "signatures": [ { - "id": 586, + "id": 601, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 587, + "id": 602, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5955,7 +5955,7 @@ } }, { - "id": 588, + "id": 603, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -5983,7 +5983,7 @@ } }, { - "id": 577, + "id": 592, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -5993,7 +5993,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 68, "character": 2 } ], @@ -6003,33 +6003,13 @@ } }, { - "id": 582, + "id": 597, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 583, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -6039,10 +6019,30 @@ ], "type": { "type": "reference", - "id": 846, + "name": "Fetch" + } + }, + { + "id": 598, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 861, "name": "AuthFlowType", "dereferenced": { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -6050,7 +6050,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -6071,7 +6071,7 @@ } }, { - "id": 590, + "id": 605, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -6090,7 +6090,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 99, "character": 2 } ], @@ -6100,7 +6100,7 @@ } }, { - "id": 572, + "id": 587, "name": "headers", "kind": 1024, "kindString": "Property", @@ -6110,14 +6110,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6125,19 +6125,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 12 } ], "indexSignature": { - "id": 574, + "id": 589, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 575, + "id": 590, "name": "key", "kind": 32768, "flags": {}, @@ -6156,7 +6156,7 @@ } }, { - "id": 589, + "id": 604, "name": "lock", "kind": 1024, "kindString": "Property", @@ -6175,16 +6175,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 94, "character": 2 } ], "type": { "type": "reference", - "id": 560, + "id": 575, "name": "LockFunc", "dereferenced": { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -6192,14 +6192,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6207,13 +6207,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6229,7 +6229,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -6238,7 +6238,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -6252,7 +6252,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -6266,7 +6266,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -6277,7 +6277,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -6285,13 +6285,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -6301,7 +6301,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -6320,7 +6320,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -6336,33 +6336,13 @@ } }, { - "id": 579, + "id": 594, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 580, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -6370,12 +6350,32 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 595, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -6383,7 +6383,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -6430,14 +6430,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -6450,7 +6450,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -6464,13 +6464,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -6482,7 +6482,7 @@ } }, { - "id": 576, + "id": 591, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -6492,7 +6492,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -6502,7 +6502,7 @@ } }, { - "id": 571, + "id": 586, "name": "url", "kind": 1024, "kindString": "Property", @@ -6512,7 +6512,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 62, "character": 2 } ], @@ -6522,7 +6522,7 @@ } }, { - "id": 581, + "id": 596, "name": "userStorage", "kind": 1024, "kindString": "Property", @@ -6542,16 +6542,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 82, "character": 2 } ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -6559,7 +6559,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -6606,14 +6606,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -6626,7 +6626,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -6640,13 +6640,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -6663,14 +6663,14 @@ "title": "Properties", "kind": 1024, "children": [ - 578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581 + 593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 34 } ] @@ -6700,7 +6700,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 156, + "line": 167, "character": 2 } ], @@ -6946,10 +6946,10 @@ ], "type": { "type": "reference", - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "dereferenced": { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -6965,14 +6965,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -6992,17 +6992,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -7018,21 +7018,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -7043,7 +7043,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -7053,7 +7053,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -7064,7 +7064,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -7078,13 +7078,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -7099,7 +7099,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -7111,14 +7111,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -7128,17 +7128,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -7154,21 +7154,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -7179,7 +7179,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -7193,13 +7193,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -7214,7 +7214,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -7230,13 +7230,13 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] @@ -7275,17 +7275,17 @@ "flags": {}, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -7299,7 +7299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -7309,7 +7309,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -7323,7 +7323,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -7333,7 +7333,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -7346,7 +7346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -7360,7 +7360,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -7374,7 +7374,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -7384,7 +7384,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -7398,7 +7398,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -7408,7 +7408,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -7422,7 +7422,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -7436,7 +7436,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -7449,7 +7449,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -7463,7 +7463,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -7477,7 +7477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -7487,7 +7487,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -7500,7 +7500,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -7514,7 +7514,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -7528,7 +7528,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -7538,7 +7538,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -7552,7 +7552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -7562,7 +7562,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -7576,7 +7576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -7591,14 +7591,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -7608,7 +7608,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -7630,7 +7630,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -7700,7 +7700,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -7743,10 +7743,10 @@ "flags": {}, "type": { "type": "reference", - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "dereferenced": { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7754,7 +7754,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -7762,7 +7762,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7770,21 +7770,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -7792,7 +7792,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -7802,7 +7802,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -7812,7 +7812,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -7821,7 +7821,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -7844,7 +7844,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -7852,7 +7852,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -7862,7 +7862,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -7870,7 +7870,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -7884,13 +7884,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -7898,7 +7898,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -7906,21 +7906,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -7931,7 +7931,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -7941,7 +7941,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -7951,7 +7951,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -7960,7 +7960,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -7983,7 +7983,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -7991,7 +7991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -8014,13 +8014,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -8028,7 +8028,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8036,21 +8036,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -8061,7 +8061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -8071,7 +8071,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -8081,7 +8081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -8090,7 +8090,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -8104,7 +8104,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -8112,7 +8112,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -8126,13 +8126,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -8140,7 +8140,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -8148,21 +8148,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -8173,7 +8173,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -8183,7 +8183,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -8194,7 +8194,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -8204,7 +8204,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -8214,7 +8214,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -8223,7 +8223,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -8237,7 +8237,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -8245,7 +8245,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -8268,13 +8268,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -8292,7 +8292,7 @@ "typeArguments": [ { "type": "reference", - "id": 975, + "id": 1008, "name": "GenerateLinkResponse" } ], @@ -8347,7 +8347,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -8478,7 +8478,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -8527,10 +8527,10 @@ }, "type": { "type": "reference", - "id": 1146, + "id": 1179, "name": "PageParams", "dereferenced": { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -8538,21 +8538,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -8565,7 +8565,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -8575,7 +8575,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -8588,7 +8588,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -8602,13 +8602,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -8693,7 +8693,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -8710,7 +8710,7 @@ }, { "type": "reference", - "id": 1139, + "id": 1172, "name": "Pagination" } ] @@ -8818,7 +8818,7 @@ ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -8961,7 +8961,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -9031,17 +9031,17 @@ }, "type": { "type": "reference", - "id": 772, + "id": 787, "name": "AdminUserAttributes", "dereferenced": { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -9055,7 +9055,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -9065,7 +9065,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -9079,7 +9079,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -9089,7 +9089,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -9102,7 +9102,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -9116,7 +9116,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -9130,7 +9130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -9140,7 +9140,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -9154,7 +9154,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -9164,7 +9164,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -9178,7 +9178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -9192,7 +9192,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -9205,7 +9205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -9219,7 +9219,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -9233,7 +9233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -9243,7 +9243,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9256,7 +9256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -9270,7 +9270,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -9284,7 +9284,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -9294,7 +9294,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -9308,7 +9308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -9318,7 +9318,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -9332,7 +9332,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -9347,14 +9347,14 @@ "title": "Properties", "kind": 1024, "children": [ - 774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773 + 789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -9364,7 +9364,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -9386,7 +9386,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -9437,16 +9437,16 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 160, + "line": 171, "character": 2 } ], "type": { "type": "reference", - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "dereferenced": { - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -9456,14 +9456,14 @@ }, "children": [ { - "id": 1078, + "id": 1111, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1079, + "id": 1112, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -9473,17 +9473,17 @@ }, "parameters": [ { - "id": 1080, + "id": 1113, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "dereferenced": { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -9491,21 +9491,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -9518,7 +9518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -9537,7 +9537,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9548,7 +9548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -9562,13 +9562,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -9583,7 +9583,7 @@ "typeArguments": [ { "type": "reference", - "id": 1036, + "id": 1069, "name": "AuthMFAChallengeResponse" } ], @@ -9595,14 +9595,14 @@ ] }, { - "id": 1087, + "id": 1120, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1088, + "id": 1121, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -9612,17 +9612,17 @@ }, "parameters": [ { - "id": 1089, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -9630,21 +9630,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -9655,7 +9655,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -9665,7 +9665,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -9676,7 +9676,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -9690,13 +9690,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -9711,7 +9711,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -9723,14 +9723,14 @@ ] }, { - "id": 1071, + "id": 1104, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1072, + "id": 1105, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -9741,17 +9741,17 @@ }, "parameters": [ { - "id": 1073, + "id": 1106, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -9759,21 +9759,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9784,7 +9784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -9794,7 +9794,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9807,7 +9807,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -9817,7 +9817,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -9830,7 +9830,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -9844,13 +9844,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -9865,7 +9865,7 @@ "typeArguments": [ { "type": "reference", - "id": 1163, + "id": 1196, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -9875,24 +9875,24 @@ } }, { - "id": 1074, + "id": 1107, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1075, + "id": 1108, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -9900,21 +9900,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -9925,7 +9925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -9935,7 +9935,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -9948,7 +9948,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -9958,7 +9958,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -9969,7 +9969,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -9983,13 +9983,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -10004,7 +10004,7 @@ "typeArguments": [ { "type": "reference", - "id": 1179, + "id": 1212, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -10014,24 +10014,24 @@ } }, { - "id": 1076, + "id": 1109, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1077, + "id": 1110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "dereferenced": { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -10039,7 +10039,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -10047,7 +10047,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -10055,21 +10055,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -10080,7 +10080,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -10090,7 +10090,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -10103,7 +10103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -10113,7 +10113,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -10126,7 +10126,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -10140,13 +10140,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -10154,7 +10154,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -10162,21 +10162,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -10187,7 +10187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -10197,7 +10197,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -10210,7 +10210,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -10220,7 +10220,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -10231,7 +10231,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -10245,13 +10245,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -10269,7 +10269,7 @@ "typeArguments": [ { "type": "reference", - "id": 1026, + "id": 1059, "name": "AuthMFAEnrollResponse" } ], @@ -10281,14 +10281,14 @@ ] }, { - "id": 1092, + "id": 1125, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1093, + "id": 1126, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -10302,7 +10302,7 @@ "typeArguments": [ { "type": "reference", - "id": 1059, + "id": 1092, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -10314,14 +10314,14 @@ ] }, { - "id": 1090, + "id": 1123, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1091, + "id": 1124, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -10348,7 +10348,7 @@ "typeArguments": [ { "type": "reference", - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse" } ], @@ -10360,14 +10360,14 @@ ] }, { - "id": 1084, + "id": 1117, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1085, + "id": 1118, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -10377,17 +10377,17 @@ }, "parameters": [ { - "id": 1086, + "id": 1119, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "dereferenced": { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -10395,21 +10395,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10420,7 +10420,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -10434,13 +10434,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -10455,7 +10455,7 @@ "typeArguments": [ { "type": "reference", - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse" } ], @@ -10467,14 +10467,14 @@ ] }, { - "id": 1081, + "id": 1114, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1082, + "id": 1115, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -10484,17 +10484,17 @@ }, "parameters": [ { - "id": 1083, + "id": 1116, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "dereferenced": { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -10502,21 +10502,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -10527,7 +10527,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -10537,7 +10537,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -10548,7 +10548,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -10558,7 +10558,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -10569,7 +10569,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -10583,13 +10583,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -10604,7 +10604,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -10620,13 +10620,13 @@ { "title": "Methods", "kind": 2048, - "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] + "children": [1111, 1120, 1104, 1125, 1123, 1117, 1114] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 998, + "line": 1039, "character": 17 } ] @@ -10642,7 +10642,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 640, + "line": 651, "character": 8 } ], @@ -10674,7 +10674,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -10686,7 +10686,7 @@ ] }, { - "id": 508, + "id": 523, "name": "getClaims", "kind": 2048, "kindString": "Method", @@ -10694,13 +10694,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3025, + "line": 3181, "character": 8 } ], "signatures": [ { - "id": 509, + "id": 524, "name": "getClaims", "kind": 4096, "kindString": "Call signature", @@ -10711,7 +10711,7 @@ }, "parameters": [ { - "id": 510, + "id": 525, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -10727,7 +10727,7 @@ } }, { - "id": 511, + "id": 526, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10738,14 +10738,14 @@ "type": { "type": "reflection", "declaration": { - "id": 512, + "id": 527, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 514, + "id": 529, "name": "allowExpired", "kind": 1024, "kindString": "Property", @@ -10758,7 +10758,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3034, + "line": 3190, "character": 6 } ], @@ -10768,7 +10768,7 @@ } }, { - "id": 515, + "id": 530, "name": "jwks", "kind": 1024, "kindString": "Property", @@ -10781,21 +10781,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 531, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 517, + "id": 532, "name": "keys", "kind": 1024, "kindString": "Property", @@ -10803,7 +10803,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3037, + "line": 3193, "character": 15 } ], @@ -10811,7 +10811,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -10821,14 +10821,14 @@ { "title": "Properties", "kind": 1024, - "children": [517] + "children": [532] } ] } } }, { - "id": 513, + "id": 528, "name": "keys", "kind": 1024, "kindString": "Property", @@ -10846,7 +10846,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3031, + "line": 3187, "character": 6 } ], @@ -10854,7 +10854,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 1210, + "id": 1243, "name": "JWK" } } @@ -10864,7 +10864,7 @@ { "title": "Properties", "kind": 1024, - "children": [514, 515, 513] + "children": [529, 530, 528] } ] } @@ -10881,14 +10881,14 @@ { "type": "reflection", "declaration": { - "id": 518, + "id": 533, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 534, "name": "data", "kind": 1024, "kindString": "Property", @@ -10896,21 +10896,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 520, + "id": 535, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 521, + "id": 536, "name": "claims", "kind": 1024, "kindString": "Property", @@ -10918,18 +10918,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 16 } ], "type": { "type": "reference", - "id": 1206, + "id": 1239, "name": "JwtPayload" } }, { - "id": 522, + "id": 537, "name": "header", "kind": 1024, "kindString": "Property", @@ -10937,18 +10937,18 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 36 } ], "type": { "type": "reference", - "id": 1191, + "id": 1224, "name": "JwtHeader" } }, { - "id": 523, + "id": 538, "name": "signature", "kind": 1024, "kindString": "Property", @@ -10956,7 +10956,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3041, + "line": 3197, "character": 55 } ], @@ -10972,14 +10972,14 @@ { "title": "Properties", "kind": 1024, - "children": [521, 522, 523] + "children": [536, 537, 538] } ] } } }, { - "id": 524, + "id": 539, "name": "error", "kind": 1024, "kindString": "Property", @@ -10987,7 +10987,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3042, + "line": 3198, "character": 8 } ], @@ -11001,7 +11001,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 524] + "children": [534, 539] } ] } @@ -11009,14 +11009,14 @@ { "type": "reflection", "declaration": { - "id": 525, + "id": 540, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 541, "name": "data", "kind": 1024, "kindString": "Property", @@ -11024,7 +11024,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 8 } ], @@ -11034,7 +11034,7 @@ } }, { - "id": 527, + "id": 542, "name": "error", "kind": 1024, "kindString": "Property", @@ -11042,13 +11042,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3044, + "line": 3200, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -11057,7 +11057,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527] + "children": [541, 542] } ] } @@ -11065,14 +11065,14 @@ { "type": "reflection", "declaration": { - "id": 528, + "id": 543, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 529, + "id": 544, "name": "data", "kind": 1024, "kindString": "Property", @@ -11080,7 +11080,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 8 } ], @@ -11090,7 +11090,7 @@ } }, { - "id": 530, + "id": 545, "name": "error", "kind": 1024, "kindString": "Property", @@ -11098,7 +11098,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 3045, + "line": 3201, "character": 20 } ], @@ -11112,7 +11112,7 @@ { "title": "Properties", "kind": 1024, - "children": [529, 530] + "children": [544, 545] } ] } @@ -11128,7 +11128,7 @@ ] }, { - "id": 217, + "id": 232, "name": "getSession", "kind": 2048, "kindString": "Method", @@ -11136,13 +11136,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1199, + "line": 1355, "character": 8 } ], "signatures": [ { - "id": 218, + "id": 233, "name": "getSession", "kind": 4096, "kindString": "Call signature", @@ -11160,14 +11160,14 @@ { "type": "reflection", "declaration": { - "id": 219, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 220, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -11175,21 +11175,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1292, + "line": 1448, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 221, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 237, "name": "session", "kind": 1024, "kindString": "Property", @@ -11197,13 +11197,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1293, + "line": 1449, "character": 14 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -11212,14 +11212,14 @@ { "title": "Properties", "kind": 1024, - "children": [222] + "children": [237] } ] } } }, { - "id": 223, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -11227,7 +11227,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1295, + "line": 1451, "character": 12 } ], @@ -11241,7 +11241,7 @@ { "title": "Properties", "kind": 1024, - "children": [220, 223] + "children": [235, 238] } ] } @@ -11249,14 +11249,14 @@ { "type": "reflection", "declaration": { - "id": 224, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 225, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -11264,21 +11264,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1298, + "line": 1454, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 226, + "id": 241, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 227, + "id": 242, "name": "session", "kind": 1024, "kindString": "Property", @@ -11286,7 +11286,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1299, + "line": 1455, "character": 14 } ], @@ -11300,14 +11300,14 @@ { "title": "Properties", "kind": 1024, - "children": [227] + "children": [242] } ] } } }, { - "id": 228, + "id": 243, "name": "error", "kind": 1024, "kindString": "Property", @@ -11315,13 +11315,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1301, + "line": 1457, "character": 12 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -11330,7 +11330,7 @@ { "title": "Properties", "kind": 1024, - "children": [225, 228] + "children": [240, 243] } ] } @@ -11338,14 +11338,14 @@ { "type": "reflection", "declaration": { - "id": 229, + "id": 244, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 245, "name": "data", "kind": 1024, "kindString": "Property", @@ -11353,21 +11353,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1304, + "line": 1460, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 231, + "id": 246, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 232, + "id": 247, "name": "session", "kind": 1024, "kindString": "Property", @@ -11375,7 +11375,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1305, + "line": 1461, "character": 14 } ], @@ -11389,14 +11389,14 @@ { "title": "Properties", "kind": 1024, - "children": [232] + "children": [247] } ] } } }, { - "id": 233, + "id": 248, "name": "error", "kind": 1024, "kindString": "Property", @@ -11404,7 +11404,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1307, + "line": 1463, "character": 12 } ], @@ -11418,7 +11418,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 233] + "children": [245, 248] } ] } @@ -11434,7 +11434,7 @@ ] }, { - "id": 280, + "id": 295, "name": "getUser", "kind": 2048, "kindString": "Method", @@ -11442,13 +11442,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1443, + "line": 1599, "character": 8 } ], "signatures": [ { - "id": 281, + "id": 296, "name": "getUser", "kind": 4096, "kindString": "Call signature", @@ -11458,7 +11458,7 @@ }, "parameters": [ { - "id": 282, + "id": 297, "name": "jwt", "kind": 32768, "kindString": "Parameter", @@ -11479,7 +11479,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -11491,7 +11491,7 @@ ] }, { - "id": 389, + "id": 404, "name": "getUserIdentities", "kind": 2048, "kindString": "Method", @@ -11499,13 +11499,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2001, + "line": 2157, "character": 8 } ], "signatures": [ { - "id": 390, + "id": 405, "name": "getUserIdentities", "kind": 4096, "kindString": "Call signature", @@ -11522,14 +11522,14 @@ { "type": "reflection", "declaration": { - "id": 391, + "id": 406, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 392, + "id": 407, "name": "data", "kind": 1024, "kindString": "Property", @@ -11537,21 +11537,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2003, + "line": 2159, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 393, + "id": 408, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 394, + "id": 409, "name": "identities", "kind": 1024, "kindString": "Property", @@ -11559,7 +11559,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2004, + "line": 2160, "character": 10 } ], @@ -11567,7 +11567,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity" } } @@ -11577,14 +11577,14 @@ { "title": "Properties", "kind": 1024, - "children": [394] + "children": [409] } ] } } }, { - "id": 395, + "id": 410, "name": "error", "kind": 1024, "kindString": "Property", @@ -11592,7 +11592,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2006, + "line": 2162, "character": 8 } ], @@ -11606,7 +11606,7 @@ { "title": "Properties", "kind": 1024, - "children": [392, 395] + "children": [407, 410] } ] } @@ -11614,14 +11614,14 @@ { "type": "reflection", "declaration": { - "id": 396, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 412, "name": "data", "kind": 1024, "kindString": "Property", @@ -11629,7 +11629,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 8 } ], @@ -11639,7 +11639,7 @@ } }, { - "id": 398, + "id": 413, "name": "error", "kind": 1024, "kindString": "Property", @@ -11647,13 +11647,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2008, + "line": 2164, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -11662,7 +11662,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 398] + "children": [412, 413] } ] } @@ -11686,7 +11686,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 342, + "line": 353, "character": 8 } ], @@ -11705,7 +11705,7 @@ "typeArguments": [ { "type": "reference", - "id": 1129, + "id": 1162, "name": "InitializeResult" } ], @@ -11717,7 +11717,7 @@ ] }, { - "id": 399, + "id": 414, "name": "linkIdentity", "kind": 2048, "kindString": "Method", @@ -11725,13 +11725,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2025, + "line": 2181, "character": 8 } ], "signatures": [ { - "id": 400, + "id": 415, "name": "linkIdentity", "kind": 4096, "kindString": "Call signature", @@ -11741,17 +11741,17 @@ }, "parameters": [ { - "id": 401, + "id": 416, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -11759,21 +11759,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -11783,21 +11783,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -11810,14 +11810,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11825,19 +11825,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -11856,7 +11856,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -11866,29 +11866,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -11902,7 +11879,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -11915,7 +11915,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -11929,13 +11929,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -11943,7 +11943,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -11954,16 +11954,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -11974,7 +11974,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -12079,13 +12079,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -12100,7 +12100,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -12112,7 +12112,7 @@ ] }, { - "id": 361, + "id": 376, "name": "onAuthStateChange", "kind": 2048, "kindString": "Method", @@ -12120,13 +12120,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1899, + "line": 2055, "character": 2 } ], "signatures": [ { - "id": 362, + "id": 377, "name": "onAuthStateChange", "kind": 4096, "kindString": "Call signature", @@ -12136,7 +12136,7 @@ }, "parameters": [ { - "id": 363, + "id": 378, "name": "callback", "kind": 32768, "kindString": "Parameter", @@ -12147,33 +12147,33 @@ "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 379, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 365, + "id": 380, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 366, + "id": 381, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent" } }, { - "id": 367, + "id": 382, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -12187,7 +12187,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -12224,14 +12224,14 @@ "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 369, + "id": 384, "name": "data", "kind": 1024, "kindString": "Property", @@ -12239,21 +12239,21 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 370, + "id": 385, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 371, + "id": 386, "name": "subscription", "kind": 1024, "kindString": "Property", @@ -12261,23 +12261,23 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1902, + "line": 2058, "character": 12 } ], "type": { "type": "reference", - "id": 785, + "id": 800, "name": "Subscription", "dereferenced": { - "id": 785, + "id": 800, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 786, + "id": 801, "name": "id", "kind": 1024, "kindString": "Property", @@ -12288,7 +12288,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 479, "character": 2 } ], @@ -12298,7 +12298,7 @@ } }, { - "id": 787, + "id": 802, "name": "callback", "kind": 2048, "kindString": "Method", @@ -12306,13 +12306,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 483, "character": 2 } ], "signatures": [ { - "id": 788, + "id": 803, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -12322,17 +12322,17 @@ }, "parameters": [ { - "id": 789, + "id": 804, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent", "dereferenced": { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -12340,7 +12340,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -12372,7 +12372,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -12380,7 +12380,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -12395,7 +12395,7 @@ } }, { - "id": 790, + "id": 805, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -12409,7 +12409,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -12424,7 +12424,7 @@ ] }, { - "id": 791, + "id": 806, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -12432,13 +12432,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 485, + "line": 487, "character": 2 } ], "signatures": [ { - "id": 792, + "id": 807, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -12458,18 +12458,18 @@ { "title": "Properties", "kind": 1024, - "children": [786] + "children": [801] }, { "title": "Methods", "kind": 2048, - "children": [787, 791] + "children": [802, 806] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 473, + "line": 475, "character": 17 } ] @@ -12481,7 +12481,7 @@ { "title": "Properties", "kind": 1024, - "children": [371] + "children": [386] } ] } @@ -12492,7 +12492,7 @@ { "title": "Properties", "kind": 1024, - "children": [369] + "children": [384] } ] } @@ -12501,7 +12501,7 @@ ] }, { - "id": 210, + "id": 225, "name": "reauthenticate", "kind": 2048, "kindString": "Method", @@ -12509,13 +12509,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1115, + "line": 1271, "character": 8 } ], "signatures": [ { - "id": 211, + "id": 226, "name": "reauthenticate", "kind": 4096, "kindString": "Call signature", @@ -12528,7 +12528,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -12540,7 +12540,7 @@ ] }, { - "id": 310, + "id": 325, "name": "refreshSession", "kind": 2048, "kindString": "Method", @@ -12548,13 +12548,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 8 } ], "signatures": [ { - "id": 311, + "id": 326, "name": "refreshSession", "kind": 4096, "kindString": "Call signature", @@ -12564,7 +12564,7 @@ }, "parameters": [ { - "id": 312, + "id": 327, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -12577,14 +12577,14 @@ "type": { "type": "reflection", "declaration": { - "id": 313, + "id": 328, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 314, + "id": 329, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -12592,7 +12592,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1648, + "line": 1804, "character": 42 } ], @@ -12606,7 +12606,7 @@ { "title": "Properties", "kind": 1024, - "children": [314] + "children": [329] } ] } @@ -12618,7 +12618,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -12630,7 +12630,7 @@ ] }, { - "id": 214, + "id": 229, "name": "resend", "kind": 2048, "kindString": "Method", @@ -12638,13 +12638,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1150, + "line": 1306, "character": 8 } ], "signatures": [ { - "id": 215, + "id": 230, "name": "resend", "kind": 4096, "kindString": "Call signature", @@ -12654,17 +12654,17 @@ }, "parameters": [ { - "id": 216, + "id": 231, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 922, + "id": 955, "name": "ResendParams", "dereferenced": { - "id": 922, + "id": 955, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -12672,7 +12672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 769, "character": 12 } ], @@ -12682,14 +12682,14 @@ { "type": "reflection", "declaration": { - "id": 923, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 925, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -12697,7 +12697,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 772, "character": 6 } ], @@ -12707,7 +12707,7 @@ } }, { - "id": 926, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -12717,21 +12717,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 962, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12744,7 +12744,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 777, "character": 8 } ], @@ -12754,7 +12754,7 @@ } }, { - "id": 928, + "id": 961, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -12767,7 +12767,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 775, "character": 8 } ], @@ -12781,13 +12781,13 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928] + "children": [962, 961] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 16 } ] @@ -12795,7 +12795,7 @@ } }, { - "id": 924, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -12803,7 +12803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 771, "character": 6 } ], @@ -12812,7 +12812,7 @@ "typeArguments": [ { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" }, { @@ -12839,13 +12839,13 @@ { "title": "Properties", "kind": 1024, - "children": [925, 926, 924] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 770, "character": 4 } ] @@ -12854,14 +12854,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 963, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 966, "name": "options", "kind": 1024, "kindString": "Property", @@ -12871,21 +12871,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 934, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 935, + "id": 968, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -12898,7 +12898,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 785, "character": 8 } ], @@ -12912,13 +12912,13 @@ { "title": "Properties", "kind": 1024, - "children": [935] + "children": [968] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 16 } ] @@ -12926,7 +12926,7 @@ } }, { - "id": 932, + "id": 965, "name": "phone", "kind": 1024, "kindString": "Property", @@ -12934,7 +12934,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 782, "character": 6 } ], @@ -12944,7 +12944,7 @@ } }, { - "id": 931, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -12952,7 +12952,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 740, + "line": 781, "character": 6 } ], @@ -12961,7 +12961,7 @@ "typeArguments": [ { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" }, { @@ -12988,13 +12988,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932, 931] + "children": [966, 965, 964] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 780, "character": 4 } ] @@ -13011,7 +13011,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -13023,7 +13023,7 @@ ] }, { - "id": 375, + "id": 390, "name": "resetPasswordForEmail", "kind": 2048, "kindString": "Method", @@ -13031,13 +13031,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1955, + "line": 2111, "character": 8 } ], "signatures": [ { - "id": 376, + "id": 391, "name": "resetPasswordForEmail", "kind": 4096, "kindString": "Call signature", @@ -13047,7 +13047,7 @@ }, "parameters": [ { - "id": 377, + "id": 392, "name": "email", "kind": 32768, "kindString": "Parameter", @@ -13061,7 +13061,7 @@ } }, { - "id": 378, + "id": 393, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13069,14 +13069,14 @@ "type": { "type": "reflection", "declaration": { - "id": 379, + "id": 394, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 381, + "id": 396, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13089,7 +13089,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1959, + "line": 2115, "character": 6 } ], @@ -13099,7 +13099,7 @@ } }, { - "id": 380, + "id": 395, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -13112,7 +13112,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1958, + "line": 2114, "character": 6 } ], @@ -13126,7 +13126,7 @@ { "title": "Properties", "kind": 1024, - "children": [381, 380] + "children": [396, 395] } ] } @@ -13143,14 +13143,14 @@ { "type": "reflection", "declaration": { - "id": 382, + "id": 397, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 398, "name": "data", "kind": 1024, "kindString": "Property", @@ -13158,14 +13158,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1963, + "line": 2119, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 384, + "id": 399, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13174,7 +13174,7 @@ } }, { - "id": 385, + "id": 400, "name": "error", "kind": 1024, "kindString": "Property", @@ -13182,7 +13182,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1964, + "line": 2120, "character": 8 } ], @@ -13196,7 +13196,7 @@ { "title": "Properties", "kind": 1024, - "children": [383, 385] + "children": [398, 400] } ] } @@ -13204,14 +13204,14 @@ { "type": "reflection", "declaration": { - "id": 386, + "id": 401, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 387, + "id": 402, "name": "data", "kind": 1024, "kindString": "Property", @@ -13219,7 +13219,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 8 } ], @@ -13229,7 +13229,7 @@ } }, { - "id": 388, + "id": 403, "name": "error", "kind": 1024, "kindString": "Property", @@ -13237,13 +13237,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1966, + "line": 2122, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -13252,7 +13252,7 @@ { "title": "Properties", "kind": 1024, - "children": [387, 388] + "children": [402, 403] } ] } @@ -13268,7 +13268,7 @@ ] }, { - "id": 298, + "id": 313, "name": "setSession", "kind": 2048, "kindString": "Method", @@ -13276,13 +13276,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1573, + "line": 1729, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 314, "name": "setSession", "kind": 4096, "kindString": "Call signature", @@ -13292,7 +13292,7 @@ }, "parameters": [ { - "id": 300, + "id": 315, "name": "currentSession", "kind": 32768, "kindString": "Parameter", @@ -13303,14 +13303,14 @@ "type": { "type": "reflection", "declaration": { - "id": 301, + "id": 316, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 317, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -13318,7 +13318,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1574, + "line": 1730, "character": 4 } ], @@ -13328,7 +13328,7 @@ } }, { - "id": 303, + "id": 318, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -13336,7 +13336,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1575, + "line": 1731, "character": 4 } ], @@ -13350,7 +13350,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [317, 318] } ] } @@ -13362,7 +13362,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -13382,7 +13382,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 445, + "line": 456, "character": 8 } ], @@ -13408,10 +13408,10 @@ }, "type": { "type": "reference", - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "dereferenced": { - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13419,21 +13419,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 794, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 810, "name": "options", "kind": 1024, "kindString": "Property", @@ -13443,21 +13443,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 796, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 813, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13470,7 +13470,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 499, "character": 4 } ], @@ -13480,7 +13480,7 @@ } }, { - "id": 797, + "id": 812, "name": "data", "kind": 1024, "kindString": "Property", @@ -13494,7 +13494,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 497, "character": 4 } ], @@ -13508,13 +13508,13 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [813, 812] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 12 } ] @@ -13526,13 +13526,13 @@ { "title": "Properties", "kind": 1024, - "children": [795] + "children": [810] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 43 } ] @@ -13547,7 +13547,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -13559,7 +13559,7 @@ ] }, { - "id": 198, + "id": 213, "name": "signInWithIdToken", "kind": 2048, "kindString": "Method", @@ -13567,13 +13567,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 908, + "line": 1064, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 214, "name": "signInWithIdToken", "kind": 4096, "kindString": "Call signature", @@ -13583,17 +13583,17 @@ }, "parameters": [ { - "id": 200, + "id": 215, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "dereferenced": { - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13601,21 +13601,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 860, + "id": 875, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 879, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -13625,29 +13625,6 @@ "comment": { "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 865, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -13661,7 +13638,30 @@ } }, { - "id": 866, + "id": 880, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 625, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, "name": "options", "kind": 1024, "kindString": "Property", @@ -13671,21 +13671,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 867, + "id": 882, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 868, + "id": 883, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -13698,7 +13698,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 628, "character": 4 } ], @@ -13712,13 +13712,13 @@ { "title": "Properties", "kind": 1024, - "children": [868] + "children": [883] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 12 } ] @@ -13726,7 +13726,7 @@ } }, { - "id": 861, + "id": 876, "name": "provider", "kind": 1024, "kindString": "Property", @@ -13737,7 +13737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 2 } ], @@ -13774,7 +13774,7 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13782,7 +13782,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 76 } ] @@ -13794,7 +13794,7 @@ } }, { - "id": 863, + "id": 878, "name": "token", "kind": 1024, "kindString": "Property", @@ -13805,7 +13805,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 621, "character": 2 } ], @@ -13819,13 +13819,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 865, 866, 861, 863] + "children": [879, 880, 881, 876, 878] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 43 } ] @@ -13840,7 +13840,7 @@ "typeArguments": [ { "type": "reference", - "id": 639, + "id": 654, "name": "AuthTokenResponse" } ], @@ -13860,7 +13860,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 628, + "line": 639, "character": 8 } ], @@ -13883,10 +13883,10 @@ "flags": {}, "type": { "type": "reference", - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "dereferenced": { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -13894,21 +13894,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -13918,21 +13918,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -13945,14 +13945,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -13960,19 +13960,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -13991,7 +13991,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -14001,29 +14001,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -14037,7 +14014,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -14050,7 +14050,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -14064,13 +14064,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -14078,7 +14078,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -14089,16 +14089,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -14109,7 +14109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -14214,13 +14214,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -14235,7 +14235,7 @@ "typeArguments": [ { "type": "reference", - "id": 667, + "id": 682, "name": "OAuthResponse" } ], @@ -14247,7 +14247,7 @@ ] }, { - "id": 201, + "id": 216, "name": "signInWithOtp", "kind": 2048, "kindString": "Method", @@ -14255,13 +14255,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 963, + "line": 1119, "character": 8 } ], "signatures": [ { - "id": 202, + "id": 217, "name": "signInWithOtp", "kind": 4096, "kindString": "Call signature", @@ -14272,17 +14272,17 @@ }, "parameters": [ { - "id": 203, + "id": 218, "name": "credentials", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 829, + "id": 844, "name": "SignInWithPasswordlessCredentials", "dereferenced": { - "id": 829, + "id": 844, "name": "SignInWithPasswordlessCredentials", "kind": 4194304, "kindString": "Type alias", @@ -14290,7 +14290,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 561, + "line": 563, "character": 12 } ], @@ -14300,14 +14300,14 @@ { "type": "reflection", "declaration": { - "id": 830, + "id": 845, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 831, + "id": 846, "name": "email", "kind": 1024, "kindString": "Property", @@ -14318,7 +14318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 564, + "line": 566, "character": 6 } ], @@ -14328,7 +14328,7 @@ } }, { - "id": 832, + "id": 847, "name": "options", "kind": 1024, "kindString": "Property", @@ -14338,21 +14338,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 567, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 833, + "id": 848, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 837, + "id": 852, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14365,7 +14365,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 577, + "line": 579, "character": 8 } ], @@ -14375,7 +14375,7 @@ } }, { - "id": 836, + "id": 851, "name": "data", "kind": 1024, "kindString": "Property", @@ -14389,7 +14389,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 575, + "line": 577, "character": 8 } ], @@ -14399,7 +14399,7 @@ } }, { - "id": 834, + "id": 849, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -14412,7 +14412,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 567, + "line": 569, "character": 8 } ], @@ -14422,7 +14422,7 @@ } }, { - "id": 835, + "id": 850, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -14435,7 +14435,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 569, + "line": 571, "character": 8 } ], @@ -14449,13 +14449,13 @@ { "title": "Properties", "kind": 1024, - "children": [837, 836, 834, 835] + "children": [852, 851, 849, 850] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 567, "character": 16 } ] @@ -14467,13 +14467,13 @@ { "title": "Properties", "kind": 1024, - "children": [831, 832] + "children": [846, 847] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 564, "character": 4 } ] @@ -14482,14 +14482,14 @@ { "type": "reflection", "declaration": { - "id": 838, + "id": 853, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 840, + "id": 855, "name": "options", "kind": 1024, "kindString": "Property", @@ -14499,21 +14499,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 841, + "id": 856, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 859, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14526,7 +14526,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 593, + "line": 595, "character": 8 } ], @@ -14536,7 +14536,7 @@ } }, { - "id": 845, + "id": 860, "name": "channel", "kind": 1024, "kindString": "Property", @@ -14549,7 +14549,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 595, + "line": 597, "character": 8 } ], @@ -14568,7 +14568,7 @@ } }, { - "id": 843, + "id": 858, "name": "data", "kind": 1024, "kindString": "Property", @@ -14582,7 +14582,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 593, "character": 8 } ], @@ -14592,7 +14592,7 @@ } }, { - "id": 842, + "id": 857, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -14605,7 +14605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 587, "character": 8 } ], @@ -14619,13 +14619,13 @@ { "title": "Properties", "kind": 1024, - "children": [844, 845, 843, 842] + "children": [859, 860, 858, 857] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 16 } ] @@ -14633,7 +14633,7 @@ } }, { - "id": 839, + "id": 854, "name": "phone", "kind": 1024, "kindString": "Property", @@ -14644,7 +14644,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 582, + "line": 584, "character": 6 } ], @@ -14658,13 +14658,13 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839] + "children": [855, 854] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 582, "character": 4 } ] @@ -14681,7 +14681,7 @@ "typeArguments": [ { "type": "reference", - "id": 624, + "id": 639, "name": "AuthOtpResponse" } ], @@ -14701,7 +14701,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 565, + "line": 576, "character": 8 } ], @@ -14725,10 +14725,10 @@ "flags": {}, "type": { "type": "reference", - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "dereferenced": { - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -14736,7 +14736,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 541, "character": 12 } ], @@ -14746,14 +14746,14 @@ { "type": "reflection", "declaration": { - "id": 817, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -14761,92 +14761,6 @@ "comment": { "shortText": "The user's email address." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 822, - "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": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 16 - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -14858,35 +14772,9 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "kind": 1024, - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 540, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 823, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 826, + "id": 835, "name": "options", "kind": 1024, "kindString": "Property", @@ -14896,21 +14784,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 827, + "id": 836, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 828, + "id": 837, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -14923,7 +14811,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 557, + "line": 549, "character": 8 } ], @@ -14937,13 +14825,13 @@ { "title": "Properties", "kind": 1024, - "children": [828] + "children": [837] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 16 } ] @@ -14951,7 +14839,7 @@ } }, { - "id": 825, + "id": 834, "name": "password", "kind": 1024, "kindString": "Property", @@ -14959,6 +14847,139 @@ "comment": { "shortText": "The user's password." }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [833, 835, 834] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 542, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 838, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 841, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 842, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 843, + "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": 559, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [843] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 16 + } + ] + } + } + }, + { + "id": 840, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 556, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, "sources": [ { "fileName": "src/lib/types.ts", @@ -14970,40 +14991,19 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 824, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [826, 825, 824] + "children": [841, 840, 839] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 550, + "line": 552, "character": 4 } ] @@ -15020,7 +15020,7 @@ "typeArguments": [ { "type": "reference", - "id": 652, + "id": 667, "name": "AuthTokenResponsePassword" } ], @@ -15032,7 +15032,7 @@ ] }, { - "id": 207, + "id": 222, "name": "signInWithSSO", "kind": 2048, "kindString": "Method", @@ -15040,13 +15040,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1077, + "line": 1233, "character": 8 } ], "signatures": [ { - "id": 208, + "id": 223, "name": "signInWithSSO", "kind": 4096, "kindString": "Call signature", @@ -15057,17 +15057,17 @@ }, "parameters": [ { - "id": 209, + "id": 224, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 936, + "id": 969, "name": "SignInWithSSO", "dereferenced": { - "id": 936, + "id": 969, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -15075,7 +15075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 789, "character": 12 } ], @@ -15085,14 +15085,14 @@ { "type": "reflection", "declaration": { - "id": 937, + "id": 970, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 939, + "id": 972, "name": "options", "kind": 1024, "kindString": "Property", @@ -15102,21 +15102,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 940, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 975, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15129,7 +15129,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 757, + "line": 798, "character": 8 } ], @@ -15139,7 +15139,7 @@ } }, { - "id": 941, + "id": 974, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15152,7 +15152,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 796, "character": 8 } ], @@ -15166,13 +15166,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 941] + "children": [975, 974] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 16 } ] @@ -15180,7 +15180,7 @@ } }, { - "id": 938, + "id": 971, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -15191,7 +15191,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 792, "character": 6 } ], @@ -15205,13 +15205,13 @@ { "title": "Properties", "kind": 1024, - "children": [939, 938] + "children": [972, 971] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 790, "character": 4 } ] @@ -15220,14 +15220,14 @@ { "type": "reflection", "declaration": { - "id": 943, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 977, "name": "domain", "kind": 1024, "kindString": "Property", @@ -15238,7 +15238,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 803, "character": 6 } ], @@ -15248,7 +15248,7 @@ } }, { - "id": 945, + "id": 978, "name": "options", "kind": 1024, "kindString": "Property", @@ -15258,21 +15258,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 946, + "id": 979, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 948, + "id": 981, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -15285,7 +15285,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 809, "character": 8 } ], @@ -15295,7 +15295,7 @@ } }, { - "id": 947, + "id": 980, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -15308,7 +15308,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 807, "character": 8 } ], @@ -15322,13 +15322,13 @@ { "title": "Properties", "kind": 1024, - "children": [948, 947] + "children": [981, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 16 } ] @@ -15340,13 +15340,13 @@ { "title": "Properties", "kind": 1024, - "children": [944, 945] + "children": [977, 978] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 801, "character": 4 } ] @@ -15363,7 +15363,7 @@ "typeArguments": [ { "type": "reference", - "id": 680, + "id": 695, "name": "SSOResponse" } ], @@ -15383,7 +15383,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 652, + "line": 666, "character": 8 } ], @@ -15395,7 +15395,13 @@ "kindString": "Call signature", "flags": {}, "comment": { - "shortText": "Signs in a user by verifying a message signed by the user's private key.\nOnly Solana supported at this time, using the Sign in with Solana standard." + "shortText": "Signs in a user by verifying a message signed by the user's private key.\nSupports Ethereum (via Sign-In-With-Ethereum) & Solana (Sign-In-With-Solana) standards,\nboth of which derive from the EIP-4361 standard\nWith slight variation on Solana's side.", + "tags": [ + { + "tag": "reference", + "text": "https://eips.ethereum.org/EIPS/eip-4361\n" + } + ] }, "parameters": [ { @@ -15406,18 +15412,18 @@ "flags": {}, "type": { "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials", + "id": 932, + "name": "Web3Credentials", "dereferenced": { - "id": 882, - "name": "SolanaWeb3Credentials", + "id": 932, + "name": "Web3Credentials", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 717, "character": 12 } ], @@ -15425,395 +15431,820 @@ "type": "union", "types": [ { - "type": "reflection", - "declaration": { - "id": 883, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "id": 897, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { - "id": 884, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 641, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 887, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 888, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 890, - "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": 654, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 898, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 899, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 643, + "character": 6 } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 902, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - { - "id": 891, - "name": "signInWithSolana", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 656, - "character": 8 - } - ], - "type": { - "type": "reference", - "typeArguments": [ + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 903, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ { - "type": "reference", - "typeArguments": [ + "id": 905, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Verification token received when the user completes the captcha on the site." + }, + "sources": [ { - "type": "reference", - "name": "SolanaSignInInput" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "version" - }, - { - "type": "literal", - "value": "chain" - }, - { - "type": "literal", - "value": "domain" - }, - { - "type": "literal", - "value": "uri" - }, - { - "type": "literal", - "value": "statement" - } - ] + "fileName": "src/lib/types.ts", + "line": 656, + "character": 8 } ], - "qualifiedName": "Omit", - "package": "typescript", - "name": "Omit" + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 906, + "name": "signInWithSolana", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 658, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "SolanaSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 904, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], - "qualifiedName": "Partial", - "package": "typescript", - "name": "Partial" + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [905, 906, 904] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 16 + } + ] } + } + }, + { + "id": 901, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, - { - "id": 889, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 651, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 900, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 646, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 884, + "name": "SolanaWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [899, 902, 901, 900] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 642, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 907, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 908, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 664, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 909, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 911, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 912, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 913, + "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": 674, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [913] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 16 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [890, 891, 889] + }, + { + "id": 910, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 649, - "character": 16 - } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [908, 909, 911, 910] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 663, + "character": 4 + } + ] } - }, - { - "id": 886, - "name": "statement", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 647, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 885, - "name": "wallet", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Wallet interface to use. If not specified will default to `window.solana`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 644, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 869, - "name": "SolanaWallet" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [884, 887, 886, 885] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 640, - "character": 4 } ] } }, { - "type": "reflection", - "declaration": { - "id": 892, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ { - "id": 893, - "name": "chain", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 662, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": "solana" - } - }, - { - "id": 894, - "name": "message", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 665, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 896, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 897, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 898, - "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": 672, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [898] + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 670, - "character": 16 + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" } - ] - } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] } }, { - "id": 895, - "name": "signature", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Ed25519 signature of the message." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 668, - "character": 6 - } - ], - "type": { - "type": "reference", - "qualifiedName": "Uint8Array", - "package": "typescript", - "name": "Uint8Array" + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] } } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [893, 894, 896, 895] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 661, - "character": 4 - } ] } } @@ -15847,7 +16278,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 8 } ], @@ -15869,13 +16300,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 16 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } }, @@ -15888,13 +16319,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 654, + "line": 668, "character": 34 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -15918,7 +16349,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 655, + "line": 669, "character": 8 } ], @@ -15955,7 +16386,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 8 } ], @@ -15977,7 +16408,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 16 } ], @@ -15995,7 +16426,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 31 } ], @@ -16024,13 +16455,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 657, + "line": 671, "character": 45 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -16055,7 +16486,7 @@ ] }, { - "id": 351, + "id": 366, "name": "signOut", "kind": 2048, "kindString": "Method", @@ -16063,13 +16494,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 8 } ], "signatures": [ { - "id": 352, + "id": 367, "name": "signOut", "kind": 4096, "kindString": "Call signature", @@ -16080,17 +16511,17 @@ }, "parameters": [ { - "id": 353, + "id": 368, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1150, + "id": 1183, "name": "SignOut", "dereferenced": { - "id": 1150, + "id": 1183, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -16098,21 +16529,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1151, + "id": 1184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1152, + "id": 1185, "name": "scope", "kind": 1024, "kindString": "Property", @@ -16125,7 +16556,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1190, + "line": 1231, "character": 2 } ], @@ -16152,13 +16583,13 @@ { "title": "Properties", "kind": 1024, - "children": [1152] + "children": [1185] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 22 } ] @@ -16175,14 +16606,14 @@ { "type": "reflection", "declaration": { - "id": 354, + "id": 369, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 355, + "id": 370, "name": "error", "kind": 1024, "kindString": "Property", @@ -16190,7 +16621,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1855, + "line": 2011, "character": 67 } ], @@ -16203,7 +16634,7 @@ }, { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } ] @@ -16214,7 +16645,7 @@ { "title": "Properties", "kind": 1024, - "children": [355] + "children": [370] } ] } @@ -16236,7 +16667,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 488, + "line": 499, "character": 8 } ], @@ -16261,10 +16692,10 @@ "flags": {}, "type": { "type": "reference", - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "dereferenced": { - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -16272,7 +16703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 503, "character": 12 } ], @@ -16282,14 +16713,14 @@ { "type": "reflection", "declaration": { - "id": 800, + "id": 815, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 816, "name": "email", "kind": 1024, "kindString": "Property", @@ -16300,7 +16731,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 506, "character": 6 } ], @@ -16310,7 +16741,7 @@ } }, { - "id": 803, + "id": 818, "name": "options", "kind": 1024, "kindString": "Property", @@ -16320,21 +16751,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 807, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16347,7 +16778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 519, "character": 8 } ], @@ -16357,7 +16788,7 @@ } }, { - "id": 806, + "id": 821, "name": "data", "kind": 1024, "kindString": "Property", @@ -16371,7 +16802,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 517, "character": 8 } ], @@ -16381,7 +16812,7 @@ } }, { - "id": 805, + "id": 820, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -16394,7 +16825,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 511, "character": 8 } ], @@ -16408,13 +16839,13 @@ { "title": "Properties", "kind": 1024, - "children": [807, 806, 805] + "children": [822, 821, 820] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 16 } ] @@ -16422,7 +16853,7 @@ } }, { - "id": 802, + "id": 817, "name": "password", "kind": 1024, "kindString": "Property", @@ -16433,7 +16864,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 508, "character": 6 } ], @@ -16447,13 +16878,13 @@ { "title": "Properties", "kind": 1024, - "children": [801, 803, 802] + "children": [816, 818, 817] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 504, "character": 4 } ] @@ -16462,14 +16893,14 @@ { "type": "reflection", "declaration": { - "id": 808, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 811, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -16479,21 +16910,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 812, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 814, + "id": 829, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -16506,7 +16937,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 535, "character": 8 } ], @@ -16516,7 +16947,7 @@ } }, { - "id": 815, + "id": 830, "name": "channel", "kind": 1024, "kindString": "Property", @@ -16529,7 +16960,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 537, "character": 8 } ], @@ -16548,7 +16979,7 @@ } }, { - "id": 813, + "id": 828, "name": "data", "kind": 1024, "kindString": "Property", @@ -16562,7 +16993,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 531, + "line": 533, "character": 8 } ], @@ -16576,13 +17007,13 @@ { "title": "Properties", "kind": 1024, - "children": [814, 815, 813] + "children": [829, 830, 828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 16 } ] @@ -16590,7 +17021,7 @@ } }, { - "id": 810, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -16601,7 +17032,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 526, "character": 6 } ], @@ -16611,7 +17042,7 @@ } }, { - "id": 809, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -16622,7 +17053,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 524, "character": 6 } ], @@ -16636,13 +17067,13 @@ { "title": "Properties", "kind": 1024, - "children": [811, 810, 809] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 522, "character": 4 } ] @@ -16659,7 +17090,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -16671,7 +17102,7 @@ ] }, { - "id": 457, + "id": 472, "name": "startAutoRefresh", "kind": 2048, "kindString": "Method", @@ -16679,13 +17110,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2542, + "line": 2698, "character": 8 } ], "signatures": [ { - "id": 458, + "id": 473, "name": "startAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -16710,7 +17141,7 @@ ] }, { - "id": 459, + "id": 474, "name": "stopAutoRefresh", "kind": 2048, "kindString": "Method", @@ -16718,13 +17149,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2555, + "line": 2711, "character": 8 } ], "signatures": [ { - "id": 460, + "id": 475, "name": "stopAutoRefresh", "kind": 4096, "kindString": "Call signature", @@ -16749,7 +17180,7 @@ ] }, { - "id": 402, + "id": 417, "name": "unlinkIdentity", "kind": 2048, "kindString": "Method", @@ -16757,13 +17188,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2061, + "line": 2217, "character": 8 } ], "signatures": [ { - "id": 403, + "id": 418, "name": "unlinkIdentity", "kind": 4096, "kindString": "Call signature", @@ -16773,173 +17204,30 @@ }, "parameters": [ { - "id": 404, + "id": 419, "name": "identity", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 713, + "id": 728, "name": "UserIdentity", "dereferenced": { - "id": 713, + "id": 728, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 722, + "id": 737, "name": "created_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 714, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 291, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 718, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 719, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 720, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 724, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -16953,7 +17241,150 @@ } }, { - "id": 715, + "id": 729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 733, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 735, + "name": "identity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 301, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 736, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 739, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 302, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 730, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -16961,7 +17392,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 292, + "line": 294, "character": 2 } ], @@ -16975,13 +17406,13 @@ { "title": "Properties", "kind": 1024, - "children": [722, 714, 716, 720, 723, 721, 724, 715] + "children": [737, 729, 731, 735, 738, 736, 739, 730] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 290, + "line": 292, "character": 17 } ] @@ -16998,14 +17429,14 @@ { "type": "reflection", "declaration": { - "id": 405, + "id": 420, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 406, + "id": 421, "name": "data", "kind": 1024, "kindString": "Property", @@ -17013,14 +17444,14 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2063, + "line": 2219, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 407, + "id": 422, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17029,7 +17460,7 @@ } }, { - "id": 408, + "id": 423, "name": "error", "kind": 1024, "kindString": "Property", @@ -17037,7 +17468,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2064, + "line": 2220, "character": 8 } ], @@ -17051,7 +17482,7 @@ { "title": "Properties", "kind": 1024, - "children": [406, 408] + "children": [421, 423] } ] } @@ -17059,14 +17490,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -17074,7 +17505,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 8 } ], @@ -17084,7 +17515,7 @@ } }, { - "id": 411, + "id": 426, "name": "error", "kind": 1024, "kindString": "Property", @@ -17092,13 +17523,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 2066, + "line": 2222, "character": 20 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -17107,7 +17538,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 411] + "children": [425, 426] } ] } @@ -17123,7 +17554,7 @@ ] }, { - "id": 286, + "id": 301, "name": "updateUser", "kind": 2048, "kindString": "Method", @@ -17131,13 +17562,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1504, + "line": 1660, "character": 8 } ], "signatures": [ { - "id": 287, + "id": 302, "name": "updateUser", "kind": 4096, "kindString": "Call signature", @@ -17147,24 +17578,24 @@ }, "parameters": [ { - "id": 288, + "id": 303, "name": "attributes", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes", "dereferenced": { - "id": 766, + "id": 781, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 771, + "id": 786, "name": "data", "kind": 1024, "kindString": "Property", @@ -17178,7 +17609,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 397, "character": 2 } ], @@ -17188,7 +17619,7 @@ } }, { - "id": 767, + "id": 782, "name": "email", "kind": 1024, "kindString": "Property", @@ -17201,7 +17632,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -17211,7 +17642,7 @@ } }, { - "id": 770, + "id": 785, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -17225,7 +17656,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -17235,7 +17666,7 @@ } }, { - "id": 769, + "id": 784, "name": "password", "kind": 1024, "kindString": "Property", @@ -17248,7 +17679,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -17258,7 +17689,7 @@ } }, { - "id": 768, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17271,7 +17702,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -17285,13 +17716,13 @@ { "title": "Properties", "kind": 1024, - "children": [771, 767, 770, 769, 768] + "children": [786, 782, 785, 784, 783] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 368, "character": 17 } ] @@ -17299,7 +17730,7 @@ } }, { - "id": 289, + "id": 304, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17307,14 +17738,14 @@ "type": { "type": "reflection", "declaration": { - "id": 290, + "id": 305, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 291, + "id": 306, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -17324,7 +17755,7 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1507, + "line": 1663, "character": 6 } ], @@ -17338,7 +17769,7 @@ { "title": "Properties", "kind": 1024, - "children": [291] + "children": [306] } ] } @@ -17351,7 +17782,7 @@ "typeArguments": [ { "type": "reference", - "id": 689, + "id": 704, "name": "UserResponse" } ], @@ -17363,7 +17794,7 @@ ] }, { - "id": 204, + "id": 219, "name": "verifyOtp", "kind": 2048, "kindString": "Method", @@ -17371,13 +17802,13 @@ "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 1016, + "line": 1172, "character": 8 } ], "signatures": [ { - "id": 205, + "id": 220, "name": "verifyOtp", "kind": 4096, "kindString": "Call signature", @@ -17387,17 +17818,17 @@ }, "parameters": [ { - "id": 206, + "id": 221, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 900, + "id": 933, "name": "VerifyOtpParams", "dereferenced": { - "id": 900, + "id": 933, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -17405,7 +17836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 719, "character": 12 } ], @@ -17413,14 +17844,14 @@ "type": "union", "types": [ { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -17430,21 +17861,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17463,7 +17894,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -17473,7 +17904,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17486,7 +17917,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -17500,14 +17931,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -17518,7 +17949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -17528,7 +17959,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -17539,7 +17970,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -17549,7 +17980,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -17560,16 +17991,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17577,7 +18008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -17602,26 +18033,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -17632,7 +18063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -17642,7 +18073,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -17652,21 +18083,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -17685,7 +18116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -17695,7 +18126,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -17708,7 +18139,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -17722,14 +18153,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -17740,7 +18171,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -17750,7 +18181,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -17761,16 +18192,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17778,7 +18209,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -17819,26 +18250,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -17849,7 +18280,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -17859,7 +18290,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -17870,16 +18301,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -17887,7 +18318,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -17928,13 +18359,13 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] @@ -17950,7 +18381,7 @@ "typeArguments": [ { "type": "reference", - "id": 597, + "id": 612, "name": "AuthResponse" } ], @@ -17977,42 +18408,42 @@ "title": "Methods", "kind": 2048, "children": [ - 157, 508, 217, 280, 389, 141, 399, 361, 210, 310, 214, 375, 298, 145, 198, 154, 201, - 151, 207, 160, 351, 148, 457, 459, 402, 286, 204 + 157, 523, 232, 295, 404, 141, 414, 376, 225, 325, 229, 390, 313, 145, 213, 154, 216, + 151, 222, 160, 366, 148, 472, 474, 417, 301, 219 ] } ], "sources": [ { "fileName": "src/GoTrueClient.ts", - "line": 147, + "line": 158, "character": 21 } ] }, { - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 542, + "id": 557, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 543, + "id": 558, "name": "new NavigatorLockAcquireTimeoutError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 544, + "id": 559, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -18025,7 +18456,7 @@ ], "type": { "type": "reference", - "id": 541, + "id": 556, "name": "NavigatorLockAcquireTimeoutError" }, "inheritedFrom": { @@ -18040,7 +18471,7 @@ } }, { - "id": 545, + "id": 560, "name": "isAcquireTimeout", "kind": 1024, "kindString": "Property", @@ -18070,12 +18501,12 @@ { "title": "Constructors", "kind": 512, - "children": [542] + "children": [557] }, { "title": "Properties", "kind": 1024, - "children": [545] + "children": [560] } ], "sources": [ @@ -18093,7 +18524,7 @@ ] }, { - "id": 709, + "id": 724, "name": "AMREntry", "kind": 256, "kindString": "Interface", @@ -18110,7 +18541,7 @@ }, "children": [ { - "id": 710, + "id": 725, "name": "method", "kind": 1024, "kindString": "Property", @@ -18121,7 +18552,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 281, + "line": 283, "character": 2 } ], @@ -18142,7 +18573,7 @@ { "type": "reflection", "declaration": { - "id": 711, + "id": 726, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18167,7 +18598,7 @@ } }, { - "id": 712, + "id": 727, "name": "timestamp", "kind": 1024, "kindString": "Property", @@ -18178,7 +18609,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 287, + "line": 289, "character": 2 } ], @@ -18192,26 +18623,26 @@ { "title": "Properties", "kind": 1024, - "children": [710, 712] + "children": [725, 727] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 279, + "line": 281, "character": 17 } ] }, { - "id": 772, + "id": 787, "name": "AdminUserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 774, + "id": 789, "name": "app_metadata", "kind": 1024, "kindString": "Property", @@ -18225,7 +18656,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 419, + "line": 421, "character": 2 } ], @@ -18235,7 +18666,7 @@ } }, { - "id": 777, + "id": 792, "name": "ban_duration", "kind": 1024, "kindString": "Property", @@ -18249,7 +18680,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 445, + "line": 447, "character": 2 } ], @@ -18259,7 +18690,7 @@ } }, { - "id": 784, + "id": 799, "name": "email", "kind": 1024, "kindString": "Property", @@ -18272,7 +18703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -18286,7 +18717,7 @@ } }, { - "id": 775, + "id": 790, "name": "email_confirm", "kind": 1024, "kindString": "Property", @@ -18300,7 +18731,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 426, + "line": 428, "character": 2 } ], @@ -18310,7 +18741,7 @@ } }, { - "id": 780, + "id": 795, "name": "id", "kind": 1024, "kindString": "Property", @@ -18324,7 +18755,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 470, + "line": 472, "character": 2 } ], @@ -18334,7 +18765,7 @@ } }, { - "id": 782, + "id": 797, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -18348,7 +18779,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -18362,7 +18793,7 @@ } }, { - "id": 781, + "id": 796, "name": "password", "kind": 1024, "kindString": "Property", @@ -18375,7 +18806,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -18389,7 +18820,7 @@ } }, { - "id": 779, + "id": 794, "name": "password_hash", "kind": 1024, "kindString": "Property", @@ -18403,7 +18834,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 463, + "line": 465, "character": 2 } ], @@ -18413,7 +18844,7 @@ } }, { - "id": 783, + "id": 798, "name": "phone", "kind": 1024, "kindString": "Property", @@ -18426,7 +18857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -18440,7 +18871,7 @@ } }, { - "id": 776, + "id": 791, "name": "phone_confirm", "kind": 1024, "kindString": "Property", @@ -18454,7 +18885,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 433, + "line": 435, "character": 2 } ], @@ -18464,7 +18895,7 @@ } }, { - "id": 778, + "id": 793, "name": "role", "kind": 1024, "kindString": "Property", @@ -18478,7 +18909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 454, + "line": 456, "character": 2 } ], @@ -18488,7 +18919,7 @@ } }, { - "id": 773, + "id": 788, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -18502,7 +18933,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 409, + "line": 411, "character": 2 } ], @@ -18516,13 +18947,13 @@ { "title": "Properties", "kind": 1024, - "children": [774, 777, 784, 775, 780, 782, 781, 779, 783, 776, 778, 773] + "children": [789, 792, 799, 790, 795, 797, 796, 794, 798, 791, 793, 788] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 398, + "line": 400, "character": 17 } ], @@ -18532,7 +18963,7 @@ "typeArguments": [ { "type": "reference", - "id": 766, + "id": 781, "name": "UserAttributes" }, { @@ -18547,7 +18978,7 @@ ] }, { - "id": 725, + "id": 740, "name": "Factor", "kind": 256, "kindString": "Interface", @@ -18571,7 +19002,7 @@ }, "children": [ { - "id": 731, + "id": 746, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -18579,7 +19010,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 325, + "line": 327, "character": 2 } ], @@ -18589,7 +19020,7 @@ } }, { - "id": 728, + "id": 743, "name": "factor_type", "kind": 1024, "kindString": "Property", @@ -18600,7 +19031,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 320, + "line": 322, "character": 2 } ], @@ -18617,7 +19048,7 @@ { "type": "reflection", "declaration": { - "id": 729, + "id": 744, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -18638,7 +19069,7 @@ } }, { - "id": 727, + "id": 742, "name": "friendly_name", "kind": 1024, "kindString": "Property", @@ -18651,7 +19082,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 315, + "line": 317, "character": 2 } ], @@ -18661,7 +19092,7 @@ } }, { - "id": 726, + "id": 741, "name": "id", "kind": 1024, "kindString": "Property", @@ -18672,7 +19103,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 312, + "line": 314, "character": 2 } ], @@ -18682,7 +19113,7 @@ } }, { - "id": 730, + "id": 745, "name": "status", "kind": 1024, "kindString": "Property", @@ -18693,7 +19124,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 323, + "line": 325, "character": 2 } ], @@ -18712,7 +19143,7 @@ } }, { - "id": 732, + "id": 747, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -18720,7 +19151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 326, + "line": 328, "character": 2 } ], @@ -18734,26 +19165,26 @@ { "title": "Properties", "kind": 1024, - "children": [731, 728, 727, 726, 730, 732] + "children": [746, 743, 742, 741, 745, 747] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 310, + "line": 312, "character": 17 } ] }, { - "id": 971, + "id": 1004, "name": "GenerateLinkOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 972, + "id": 1005, "name": "data", "kind": 1024, "kindString": "Property", @@ -18767,7 +19198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 810, + "line": 851, "character": 2 } ], @@ -18777,7 +19208,7 @@ } }, { - "id": 973, + "id": 1006, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -18790,7 +19221,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 812, + "line": 853, "character": 2 } ], @@ -18804,19 +19235,19 @@ { "title": "Properties", "kind": 1024, - "children": [972, 973] + "children": [1005, 1006] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 804, + "line": 845, "character": 17 } ] }, { - "id": 1119, + "id": 1152, "name": "GoTrueAdminMFAApi", "kind": 256, "kindString": "Interface", @@ -18832,14 +19263,14 @@ }, "children": [ { - "id": 1123, + "id": 1156, "name": "deleteFactor", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1124, + "id": 1157, "name": "deleteFactor", "kind": 4096, "kindString": "Call signature", @@ -18859,17 +19290,17 @@ }, "parameters": [ { - "id": 1125, + "id": 1158, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "dereferenced": { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -18885,21 +19316,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -18910,7 +19341,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -18920,7 +19351,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -18931,7 +19362,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -18945,13 +19376,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -18966,7 +19397,7 @@ "typeArguments": [ { "type": "reference", - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse" } ], @@ -18978,14 +19409,14 @@ ] }, { - "id": 1120, + "id": 1153, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1121, + "id": 1154, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -18995,17 +19426,17 @@ }, "parameters": [ { - "id": 1122, + "id": 1155, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "dereferenced": { - "id": 1116, + "id": 1149, "name": "AuthMFAAdminListFactorsParams", "kind": 4194304, "kindString": "Type alias", @@ -19021,21 +19452,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1117, + "id": 1150, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1118, + "id": 1151, "name": "userId", "kind": 1024, "kindString": "Property", @@ -19046,7 +19477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1105, + "line": 1146, "character": 2 } ], @@ -19060,13 +19491,13 @@ { "title": "Properties", "kind": 1024, - "children": [1118] + "children": [1151] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1103, + "line": 1144, "character": 44 } ] @@ -19081,7 +19512,7 @@ "typeArguments": [ { "type": "reference", - "id": 1107, + "id": 1140, "name": "AuthMFAAdminListFactorsResponse" } ], @@ -19097,19 +19528,19 @@ { "title": "Methods", "kind": 2048, - "children": [1123, 1120] + "children": [1156, 1153] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1113, + "line": 1154, "character": 17 } ] }, { - "id": 1070, + "id": 1103, "name": "GoTrueMFAApi", "kind": 256, "kindString": "Interface", @@ -19119,14 +19550,14 @@ }, "children": [ { - "id": 1078, + "id": 1111, "name": "challenge", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1079, + "id": 1112, "name": "challenge", "kind": 4096, "kindString": "Call signature", @@ -19136,17 +19567,17 @@ }, "parameters": [ { - "id": 1080, + "id": 1113, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "dereferenced": { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -19154,21 +19585,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -19181,7 +19612,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -19200,7 +19631,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19211,7 +19642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -19225,13 +19656,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -19246,7 +19677,7 @@ "typeArguments": [ { "type": "reference", - "id": 1036, + "id": 1069, "name": "AuthMFAChallengeResponse" } ], @@ -19258,14 +19689,14 @@ ] }, { - "id": 1087, + "id": 1120, "name": "challengeAndVerify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1088, + "id": 1121, "name": "challengeAndVerify", "kind": 4096, "kindString": "Call signature", @@ -19275,17 +19706,17 @@ }, "parameters": [ { - "id": 1089, + "id": 1122, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "dereferenced": { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -19293,21 +19724,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -19318,7 +19749,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -19328,7 +19759,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -19339,7 +19770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -19353,13 +19784,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -19374,7 +19805,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -19386,14 +19817,14 @@ ] }, { - "id": 1071, + "id": 1104, "name": "enroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1072, + "id": 1105, "name": "enroll", "kind": 4096, "kindString": "Call signature", @@ -19404,17 +19835,17 @@ }, "parameters": [ { - "id": 1073, + "id": 1106, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "dereferenced": { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -19422,21 +19853,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -19447,7 +19878,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -19457,7 +19888,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -19470,7 +19901,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -19480,7 +19911,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -19493,7 +19924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -19507,13 +19938,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -19528,7 +19959,7 @@ "typeArguments": [ { "type": "reference", - "id": 1163, + "id": 1196, "name": "AuthMFAEnrollTOTPResponse" } ], @@ -19538,24 +19969,24 @@ } }, { - "id": 1074, + "id": 1107, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1075, + "id": 1108, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "dereferenced": { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -19563,21 +19994,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -19588,7 +20019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -19598,7 +20029,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -19611,7 +20042,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -19621,7 +20052,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19632,7 +20063,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -19646,13 +20077,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -19667,7 +20098,7 @@ "typeArguments": [ { "type": "reference", - "id": 1179, + "id": 1212, "name": "AuthMFAEnrollPhoneResponse" } ], @@ -19677,24 +20108,24 @@ } }, { - "id": 1076, + "id": 1109, "name": "enroll", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1077, + "id": 1110, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "dereferenced": { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -19702,7 +20133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -19710,7 +20141,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -19718,21 +20149,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -19743,7 +20174,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -19753,7 +20184,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -19766,7 +20197,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -19776,7 +20207,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -19789,7 +20220,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -19803,13 +20234,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -19817,7 +20248,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -19825,21 +20256,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -19850,7 +20281,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -19860,7 +20291,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -19873,7 +20304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -19883,7 +20314,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -19894,7 +20325,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -19908,13 +20339,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -19932,7 +20363,7 @@ "typeArguments": [ { "type": "reference", - "id": 1026, + "id": 1059, "name": "AuthMFAEnrollResponse" } ], @@ -19944,14 +20375,14 @@ ] }, { - "id": 1092, + "id": 1125, "name": "getAuthenticatorAssuranceLevel", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1093, + "id": 1126, "name": "getAuthenticatorAssuranceLevel", "kind": 4096, "kindString": "Call signature", @@ -19965,7 +20396,7 @@ "typeArguments": [ { "type": "reference", - "id": 1059, + "id": 1092, "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse" } ], @@ -19977,14 +20408,14 @@ ] }, { - "id": 1090, + "id": 1123, "name": "listFactors", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1091, + "id": 1124, "name": "listFactors", "kind": 4096, "kindString": "Call signature", @@ -20011,7 +20442,7 @@ "typeArguments": [ { "type": "reference", - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse" } ], @@ -20023,14 +20454,14 @@ ] }, { - "id": 1084, + "id": 1117, "name": "unenroll", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1085, + "id": 1118, "name": "unenroll", "kind": 4096, "kindString": "Call signature", @@ -20040,17 +20471,17 @@ }, "parameters": [ { - "id": 1086, + "id": 1119, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "dereferenced": { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -20058,21 +20489,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20083,7 +20514,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -20097,13 +20528,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -20118,7 +20549,7 @@ "typeArguments": [ { "type": "reference", - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse" } ], @@ -20130,14 +20561,14 @@ ] }, { - "id": 1081, + "id": 1114, "name": "verify", "kind": 2048, "kindString": "Method", "flags": {}, "signatures": [ { - "id": 1082, + "id": 1115, "name": "verify", "kind": 4096, "kindString": "Call signature", @@ -20147,17 +20578,17 @@ }, "parameters": [ { - "id": 1083, + "id": 1116, "name": "params", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "dereferenced": { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -20165,21 +20596,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -20190,7 +20621,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -20200,7 +20631,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -20211,7 +20642,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -20221,7 +20652,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -20232,7 +20663,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -20246,13 +20677,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -20267,7 +20698,7 @@ "typeArguments": [ { "type": "reference", - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse" } ], @@ -20283,26 +20714,26 @@ { "title": "Methods", "kind": 2048, - "children": [1078, 1087, 1071, 1092, 1090, 1084, 1081] + "children": [1111, 1120, 1104, 1125, 1123, 1117, 1114] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 998, + "line": 1039, "character": 17 } ] }, { - "id": 1210, + "id": 1243, "name": "JWK", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 1213, + "id": 1246, "name": "alg", "kind": 1024, "kindString": "Property", @@ -20312,7 +20743,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1291, + "line": 1332, "character": 2 } ], @@ -20322,7 +20753,7 @@ } }, { - "id": 1212, + "id": 1245, "name": "key_ops", "kind": 1024, "kindString": "Property", @@ -20330,7 +20761,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1290, + "line": 1331, "character": 2 } ], @@ -20343,7 +20774,7 @@ } }, { - "id": 1214, + "id": 1247, "name": "kid", "kind": 1024, "kindString": "Property", @@ -20353,7 +20784,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1292, + "line": 1333, "character": 2 } ], @@ -20363,7 +20794,7 @@ } }, { - "id": 1211, + "id": 1244, "name": "kty", "kind": 1024, "kindString": "Property", @@ -20371,7 +20802,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1289, + "line": 1330, "character": 2 } ], @@ -20398,25 +20829,25 @@ { "title": "Properties", "kind": 1024, - "children": [1213, 1212, 1214, 1211] + "children": [1246, 1245, 1247, 1244] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1288, + "line": 1329, "character": 17 } ], "indexSignature": { - "id": 1215, + "id": 1248, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1216, + "id": 1249, "name": "key", "kind": 32768, "flags": {}, @@ -20433,14 +20864,14 @@ } }, { - "id": 700, + "id": 715, "name": "Session", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 703, + "id": 718, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -20451,7 +20882,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 250, + "line": 252, "character": 2 } ], @@ -20461,7 +20892,7 @@ } }, { - "id": 706, + "id": 721, "name": "expires_at", "kind": 1024, "kindString": "Property", @@ -20474,7 +20905,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 262, + "line": 264, "character": 2 } ], @@ -20484,7 +20915,7 @@ } }, { - "id": 705, + "id": 720, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -20495,7 +20926,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -20505,7 +20936,7 @@ } }, { - "id": 702, + "id": 717, "name": "provider_refresh_token", "kind": 1024, "kindString": "Property", @@ -20518,7 +20949,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 246, + "line": 248, "character": 2 } ], @@ -20537,7 +20968,7 @@ } }, { - "id": 701, + "id": 716, "name": "provider_token", "kind": 1024, "kindString": "Property", @@ -20550,7 +20981,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -20569,7 +21000,7 @@ } }, { - "id": 704, + "id": 719, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -20580,7 +21011,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 254, + "line": 256, "character": 2 } ], @@ -20590,7 +21021,7 @@ } }, { - "id": 707, + "id": 722, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -20598,7 +21029,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 263, + "line": 265, "character": 2 } ], @@ -20608,7 +21039,7 @@ } }, { - "id": 708, + "id": 723, "name": "user", "kind": 1024, "kindString": "Property", @@ -20619,476 +21050,29 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 268, + "line": 270, "character": 2 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User", "dereferenced": { - "id": 740, + "id": 755, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 751, + "id": 766, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 742, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 733, - "name": "UserAppMetadata", - "dereferenced": { - "id": 733, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 734, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [734] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 17 - } - ], - "indexSignature": { - "id": 735, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 736, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 744, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 765, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 747, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 761, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 713, - "name": "UserIdentity" - } - } - }, - { - "id": 750, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 763, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 758, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 748, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 753, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -21103,7 +21087,130 @@ }, { "id": 757, - "name": "phone_confirmed_at", + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 342, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 748, + "name": "UserAppMetadata", + "dereferenced": { + "id": 748, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 749, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [749] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, + "character": 17 + } + ], + "indexSignature": { + "id": 750, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 751, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 759, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 770, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21122,17 +21229,15 @@ } }, { - "id": 746, - "name": "recovery_sent_at", + "id": 769, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 354, "character": 2 } ], @@ -21142,8 +21247,8 @@ } }, { - "id": 759, - "name": "role", + "id": 780, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21152,7 +21257,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 357, + "line": 365, "character": 2 } ], @@ -21162,8 +21267,194 @@ } }, { - "id": 760, - "name": "updated_at", + "id": 767, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 771, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 356, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 779, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + }, + { + "id": 756, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 776, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 728, + "name": "UserIdentity" + } + } + }, + { + "id": 765, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 777, + "name": "is_anonymous", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 778, + "name": "is_sso_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21182,7 +21473,147 @@ } }, { - "id": 743, + "id": 763, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 348, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 764, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 349, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 768, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 359, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -21190,16 +21621,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 341, + "line": 343, "character": 2 } ], "type": { "type": "reference", - "id": 737, + "id": 752, "name": "UserMetadata", "dereferenced": { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -21207,19 +21638,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -21243,15 +21674,15 @@ "title": "Properties", "kind": 1024, "children": [ - 751, 742, 744, 745, 755, 754, 765, 752, 747, 756, 764, 741, 761, 750, 762, 763, - 758, 748, 749, 753, 757, 746, 759, 760, 743 + 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, 778, + 773, 763, 764, 768, 772, 761, 774, 775, 758 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 340, "character": 17 } ] @@ -21263,26 +21694,26 @@ { "title": "Properties", "kind": 1024, - "children": [703, 706, 705, 702, 701, 704, 707, 708] + "children": [718, 721, 720, 717, 716, 719, 722, 723] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 237, + "line": 239, "character": 17 } ] }, { - "id": 785, + "id": 800, "name": "Subscription", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 786, + "id": 801, "name": "id", "kind": 1024, "kindString": "Property", @@ -21293,7 +21724,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 477, + "line": 479, "character": 2 } ], @@ -21303,7 +21734,7 @@ } }, { - "id": 787, + "id": 802, "name": "callback", "kind": 2048, "kindString": "Method", @@ -21311,13 +21742,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 481, + "line": 483, "character": 2 } ], "signatures": [ { - "id": 788, + "id": 803, "name": "callback", "kind": 4096, "kindString": "Call signature", @@ -21327,17 +21758,17 @@ }, "parameters": [ { - "id": 789, + "id": 804, "name": "event", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 559, + "id": 574, "name": "AuthChangeEvent", "dereferenced": { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -21345,7 +21776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -21377,7 +21808,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -21385,7 +21816,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -21400,7 +21831,7 @@ } }, { - "id": 790, + "id": 805, "name": "session", "kind": 32768, "kindString": "Parameter", @@ -21414,7 +21845,7 @@ }, { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } ] @@ -21429,7 +21860,7 @@ ] }, { - "id": 791, + "id": 806, "name": "unsubscribe", "kind": 2048, "kindString": "Method", @@ -21437,13 +21868,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 485, + "line": 487, "character": 2 } ], "signatures": [ { - "id": 792, + "id": 807, "name": "unsubscribe", "kind": 4096, "kindString": "Call signature", @@ -21463,484 +21894,37 @@ { "title": "Properties", "kind": 1024, - "children": [786] + "children": [801] }, { "title": "Methods", "kind": 2048, - "children": [787, 791] + "children": [802, 806] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 473, + "line": 475, "character": 17 } ] }, { - "id": 740, + "id": 755, "name": "User", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 751, + "id": 766, "name": "action_link", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 349, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 742, - "name": "app_metadata", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 340, - "character": 2 - } - ], - "type": { - "type": "reference", - "id": 733, - "name": "UserAppMetadata", - "dereferenced": { - "id": 733, - "name": "UserAppMetadata", - "kind": 256, - "kindString": "Interface", - "flags": {}, - "children": [ - { - "id": 734, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 330, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [734] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 329, - "character": 17 - } - ], - "indexSignature": { - "id": 735, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 736, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 744, - "name": "aud", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 342, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 745, - "name": "confirmation_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 343, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 755, - "name": "confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 353, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 754, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 352, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 765, - "name": "deleted_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 363, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 752, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 350, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 747, - "name": "email_change_sent_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 345, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 756, - "name": "email_confirmed_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 354, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 764, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 362, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - }, - { - "id": 741, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 339, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 761, - "name": "identities", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 359, - "character": 2 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 713, - "name": "UserIdentity" - } - } - }, - { - "id": 750, - "name": "invited_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 348, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 762, - "name": "is_anonymous", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 360, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 763, - "name": "is_sso_user", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 361, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 758, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 356, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 748, - "name": "new_email", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 346, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 749, - "name": "new_phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 347, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 753, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -21955,7 +21939,130 @@ }, { "id": 757, - "name": "phone_confirmed_at", + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 342, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 748, + "name": "UserAppMetadata", + "dereferenced": { + "id": 748, + "name": "UserAppMetadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 749, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 332, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [749] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 331, + "character": 17 + } + ], + "indexSignature": { + "id": 750, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 751, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 759, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 344, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 760, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 345, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 770, + "name": "confirmed_at", "kind": 1024, "kindString": "Property", "flags": { @@ -21974,17 +22081,15 @@ } }, { - "id": 746, - "name": "recovery_sent_at", + "id": 769, + "name": "created_at", "kind": 1024, "kindString": "Property", - "flags": { - "isOptional": true - }, + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 344, + "line": 354, "character": 2 } ], @@ -21994,8 +22099,8 @@ } }, { - "id": 759, - "name": "role", + "id": 780, + "name": "deleted_at", "kind": 1024, "kindString": "Property", "flags": { @@ -22004,7 +22109,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 357, + "line": 365, "character": 2 } ], @@ -22014,8 +22119,194 @@ } }, { - "id": 760, - "name": "updated_at", + "id": 767, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 352, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 762, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 347, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 771, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 356, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 779, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 364, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + }, + { + "id": 756, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 341, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 776, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 361, + "character": 2 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 728, + "name": "UserIdentity" + } + } + }, + { + "id": 765, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 350, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 777, + "name": "is_anonymous", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 362, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 778, + "name": "is_sso_user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 363, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 773, + "name": "last_sign_in_at", "kind": 1024, "kindString": "Property", "flags": { @@ -22034,7 +22325,147 @@ } }, { - "id": 743, + "id": 763, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 348, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 764, + "name": "new_phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 349, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 768, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 353, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 772, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 357, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 761, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 346, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 774, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 359, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 775, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 360, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 758, "name": "user_metadata", "kind": 1024, "kindString": "Property", @@ -22042,16 +22473,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 341, + "line": 343, "character": 2 } ], "type": { "type": "reference", - "id": 737, + "id": 752, "name": "UserMetadata", "dereferenced": { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -22059,19 +22490,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -22095,28 +22526,28 @@ "title": "Properties", "kind": 1024, "children": [ - 751, 742, 744, 745, 755, 754, 765, 752, 747, 756, 764, 741, 761, 750, 762, 763, 758, - 748, 749, 753, 757, 746, 759, 760, 743 + 766, 757, 759, 760, 770, 769, 780, 767, 762, 771, 779, 756, 776, 765, 777, 778, 773, + 763, 764, 768, 772, 761, 774, 775, 758 ] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 338, + "line": 340, "character": 17 } ] }, { - "id": 733, + "id": 748, "name": "UserAppMetadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 734, + "id": 749, "name": "provider", "kind": 1024, "kindString": "Property", @@ -22126,7 +22557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 330, + "line": 332, "character": 2 } ], @@ -22140,25 +22571,25 @@ { "title": "Properties", "kind": 1024, - "children": [734] + "children": [749] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 329, + "line": 331, "character": 17 } ], "indexSignature": { - "id": 735, + "id": 750, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 736, + "id": 751, "name": "key", "kind": 32768, "flags": {}, @@ -22175,14 +22606,14 @@ } }, { - "id": 766, + "id": 781, "name": "UserAttributes", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 771, + "id": 786, "name": "data", "kind": 1024, "kindString": "Property", @@ -22196,7 +22627,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 395, + "line": 397, "character": 2 } ], @@ -22206,7 +22637,7 @@ } }, { - "id": 767, + "id": 782, "name": "email", "kind": 1024, "kindString": "Property", @@ -22219,7 +22650,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 370, + "line": 372, "character": 2 } ], @@ -22229,7 +22660,7 @@ } }, { - "id": 770, + "id": 785, "name": "nonce", "kind": 1024, "kindString": "Property", @@ -22243,7 +22674,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 387, + "line": 389, "character": 2 } ], @@ -22253,7 +22684,7 @@ } }, { - "id": 769, + "id": 784, "name": "password", "kind": 1024, "kindString": "Property", @@ -22266,7 +22697,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 380, + "line": 382, "character": 2 } ], @@ -22276,7 +22707,7 @@ } }, { - "id": 768, + "id": 783, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22289,7 +22720,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 375, + "line": 377, "character": 2 } ], @@ -22303,175 +22734,32 @@ { "title": "Properties", "kind": 1024, - "children": [771, 767, 770, 769, 768] + "children": [786, 782, 785, 784, 783] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 366, + "line": 368, "character": 17 } ] }, { - "id": 713, + "id": 728, "name": "UserIdentity", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 722, + "id": 737, "name": "created_at", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 298, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 714, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 291, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 716, - "name": "identity_data", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 293, - "character": 2 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 717, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "indexSignature": { - "id": 718, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": {}, - "parameters": [ - { - "id": 719, - "name": "key", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - } - } - } - }, - { - "id": 720, - "name": "identity_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 296, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 723, - "name": "last_sign_in_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 299, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 721, - "name": "provider", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 297, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 724, - "name": "updated_at", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -22485,7 +22773,150 @@ } }, { - "id": 715, + "id": 729, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 731, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 733, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 735, + "name": "identity_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 738, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 301, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 736, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 739, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 302, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 730, "name": "user_id", "kind": 1024, "kindString": "Property", @@ -22493,7 +22924,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 292, + "line": 294, "character": 2 } ], @@ -22507,19 +22938,19 @@ { "title": "Properties", "kind": 1024, - "children": [722, 714, 716, 720, 723, 721, 724, 715] + "children": [737, 729, 731, 735, 738, 736, 739, 730] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 290, + "line": 292, "character": 17 } ] }, { - "id": 737, + "id": 752, "name": "UserMetadata", "kind": 256, "kindString": "Interface", @@ -22527,19 +22958,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 334, + "line": 336, "character": 17 } ], "indexSignature": { - "id": 738, + "id": 753, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 739, + "id": 754, "name": "key", "kind": 32768, "flags": {}, @@ -22556,14 +22987,14 @@ } }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -22574,7 +23005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -22584,7 +23015,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -22594,21 +23025,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22627,7 +23058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -22637,7 +23068,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22650,7 +23081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -22664,14 +23095,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -22682,7 +23113,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -22692,7 +23123,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -22703,16 +23134,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -22720,7 +23151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -22761,26 +23192,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -22790,21 +23221,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -22823,7 +23254,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -22833,7 +23264,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -22846,7 +23277,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -22860,14 +23291,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -22878,7 +23309,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -22888,7 +23319,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -22899,7 +23330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -22909,7 +23340,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -22920,16 +23351,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -22937,7 +23368,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -22962,26 +23393,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -22992,7 +23423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -23002,7 +23433,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -23013,16 +23444,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -23030,7 +23461,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -23071,19 +23502,19 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] }, { - "id": 559, + "id": 574, "name": "AuthChangeEvent", "kind": 4194304, "kindString": "Type alias", @@ -23091,7 +23522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 32, + "line": 34, "character": 12 } ], @@ -23123,7 +23554,7 @@ "value": "USER_UPDATED" }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -23131,7 +23562,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -23144,7 +23575,7 @@ } }, { - "id": 558, + "id": 573, "name": "AuthChangeEventMFA", "kind": 4194304, "kindString": "Type alias", @@ -23152,7 +23583,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 30, + "line": 32, "character": 12 } ], @@ -23162,7 +23593,7 @@ } }, { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -23170,7 +23601,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -23189,7 +23620,7 @@ } }, { - "id": 1103, + "id": 1136, "name": "AuthMFAAdminDeleteFactorParams", "kind": 4194304, "kindString": "Type alias", @@ -23205,21 +23636,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1104, + "id": 1137, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1105, + "id": 1138, "name": "id", "kind": 1024, "kindString": "Property", @@ -23230,7 +23661,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1081, + "line": 1122, "character": 2 } ], @@ -23240,7 +23671,7 @@ } }, { - "id": 1106, + "id": 1139, "name": "userId", "kind": 1024, "kindString": "Property", @@ -23251,7 +23682,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1084, + "line": 1125, "character": 2 } ], @@ -23265,13 +23696,13 @@ { "title": "Properties", "kind": 1024, - "children": [1105, 1106] + "children": [1138, 1139] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1079, + "line": 1120, "character": 45 } ] @@ -23279,7 +23710,7 @@ } }, { - "id": 1094, + "id": 1127, "name": "AuthMFAAdminDeleteFactorResponse", "kind": 4194304, "kindString": "Type alias", @@ -23295,7 +23726,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1066, + "line": 1107, "character": 12 } ], @@ -23305,14 +23736,14 @@ { "type": "reflection", "declaration": { - "id": 1095, + "id": 1128, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1096, + "id": 1129, "name": "data", "kind": 1024, "kindString": "Property", @@ -23320,21 +23751,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1097, + "id": 1130, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1098, + "id": 1131, "name": "id", "kind": 1024, "kindString": "Property", @@ -23345,7 +23776,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1070, + "line": 1111, "character": 8 } ], @@ -23359,13 +23790,1975 @@ { "title": "Properties", "kind": 1024, - "children": [1098] + "children": [1131] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1068, + "line": 1109, + "character": 12 + } + ] + } + } + }, + { + "id": 1132, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1113, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1129, 1132] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1108, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1133, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1134, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1135, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1134, 1135] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1115, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1149, + "name": "AuthMFAAdminListFactorsParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1150, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1151, + "name": "userId", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1146, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1151] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1144, + "character": 44 + } + ] + } + } + }, + { + "id": 1140, + "name": "AuthMFAAdminListFactorsResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "tags": [ + { + "tag": "expermental", + "text": "\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1131, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1143, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1144, + "name": "factors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "All factors attached to the user." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1135, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 740, + "name": "Factor" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1144] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1133, + "character": 12 + } + ] + } + } + }, + { + "id": 1145, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1137, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1142, 1145] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1132, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1146, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1147, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1148, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1147, 1148] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1139, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1069, + "name": "AuthMFAChallengeResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 977, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1070, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1071, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1072, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1075, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 987, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1073, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the newly created challenge." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 981, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1074, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Factor Type which generated the challenge" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 984, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "totp" + }, + { + "type": "literal", + "value": "phone" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1075, 1073, 1074] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 979, + "character": 12 + } + ] + } + } + }, + { + "id": 1076, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 989, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1071, 1076] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 978, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1077, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1078, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1079, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1078, 1079] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 991, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1286, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1218, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1219, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1299, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1293, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1218, 1216, 1219, 1217] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 12 + } + ] + } + } + }, + { + "id": 1220, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1301, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1214, 1220] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1287, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1222, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1304, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1223, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1305, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1222, 1223] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1303, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1059, + "name": "AuthMFAEnrollResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 965, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1207, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1277, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1200, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1255, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1204, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1265, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1205, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1270, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1274, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1204, 1205, 1206] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 14 + } + ] + } + } + }, + { + "id": 1201, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1258, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1207, 1200, 1202, 1201] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 12 + } + ] + } + } + }, + { + "id": 1208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1279, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1198, 1208] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1252, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1282, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1283, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1210, 1211] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1281, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1212, + "name": "AuthMFAEnrollPhoneResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1286, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1218, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1296, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1216, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1290, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1219, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1299, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1217, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1293, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "phone" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1218, 1216, 1219, 1217] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1288, + "character": 12 + } + ] + } + } + }, + { + "id": 1220, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1301, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1214, 1220] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1287, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1221, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1222, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1304, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1223, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1305, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1222, 1223] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1303, + "character": 4 + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 1196, + "name": "AuthMFAEnrollTOTPResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1251, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1207, + "name": "friendly_name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Friendly name of the factor, useful for distinguishing between factors" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1277, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1200, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "ID of the factor that was just enrolled (in an unverified state)." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1255, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1202, + "name": "totp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "TOTP enrollment information." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1203, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1204, + "name": "qr_code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1265, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1205, + "name": "secret", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1270, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1206, + "name": "uri", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1274, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1204, 1205, 1206] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1261, + "character": 14 + } + ] + } + } + }, + { + "id": 1201, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Type of MFA factor." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1258, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": "totp" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1207, 1200, 1202, 1201] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1253, + "character": 12 + } + ] + } + } + }, + { + "id": 1208, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1279, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1198, 1208] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1252, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 1209, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1210, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1282, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1211, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1283, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1210, 1211] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1281, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1092, + "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1010, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 1093, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1094, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1095, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 1098, + "name": "currentAuthenticationMethods", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1029, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 724, + "name": "AMREntry" + } + } + }, + { + "id": 1096, + "name": "currentLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Current AAL level of the session." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1014, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1097, + "name": "nextLevel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", + "tags": [ + { + "tag": "see", + "text": "{@link GoTrueMFAApi#challenge}\n" + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1022, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 1091, + "name": "AuthenticatorAssuranceLevels" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [1098, 1096, 1097] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1012, "character": 12 } ] @@ -23381,7 +25774,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1072, + "line": 1031, "character": 6 } ], @@ -23395,13 +25788,13 @@ { "title": "Properties", "kind": 1024, - "children": [1096, 1099] + "children": [1094, 1099] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1067, + "line": 1011, "character": 4 } ] @@ -23425,7 +25818,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 6 } ], @@ -23443,13 +25836,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -23464,7 +25857,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1074, + "line": 1033, "character": 4 } ] @@ -23474,1969 +25867,7 @@ } }, { - "id": 1116, - "name": "AuthMFAAdminListFactorsParams", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1117, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1118, - "name": "userId", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1105, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1118] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1103, - "character": 44 - } - ] - } - } - }, - { - "id": 1107, - "name": "AuthMFAAdminListFactorsResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "comment": { - "tags": [ - { - "tag": "expermental", - "text": "\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1090, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1108, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1109, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1110, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1111, - "name": "factors", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "All factors attached to the user." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1094, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 725, - "name": "Factor" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1111] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1092, - "character": 12 - } - ] - } - } - }, - { - "id": 1112, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1096, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1109, 1112] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1091, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1114, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1115, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1114, 1115] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1098, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1036, - "name": "AuthMFAChallengeResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 936, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1037, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1038, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1039, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1042, - "name": "expires_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Timestamp in UNIX seconds when this challenge will no longer be usable." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 946, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1040, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the newly created challenge." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 940, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1041, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Factor Type which generated the challenge" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 943, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "totp" - }, - { - "type": "literal", - "value": "phone" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1042, 1040, 1041] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 938, - "character": 12 - } - ] - } - } - }, - { - "id": 1043, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 948, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1038, 1043] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 937, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1044, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1045, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1046, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1045, 1046] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 950, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1245, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1183, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1249, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1186, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1183, 1186, 1184] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 12 - } - ] - } - } - }, - { - "id": 1187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1260, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1181, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1263, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1190, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1264, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1262, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1026, - "name": "AuthMFAEnrollResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 924, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1210, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1174, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1214, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1169, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1171, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1224, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1229, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1173, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1233, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1171, 1172, 1173] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 14 - } - ] - } - } - }, - { - "id": 1168, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1174, 1167, 1169, 1168] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 12 - } - ] - } - } - }, - { - "id": 1175, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1165, 1175] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1211, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1241, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1177, 1178] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1179, - "name": "AuthMFAEnrollPhoneResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1245, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1180, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1181, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1182, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1185, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1255, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1183, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1249, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1186, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Phone number of the MFA factor in E.164 format. Used to send messages" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1258, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1184, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1252, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "phone" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1185, 1183, 1186, 1184] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1247, - "character": 12 - } - ] - } - } - }, - { - "id": 1187, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1260, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1181, 1187] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1246, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1188, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1189, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1263, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1190, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1264, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1189, 1190] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1262, - "character": 4 - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 1163, - "name": "AuthMFAEnrollTOTPResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1210, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1164, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1165, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1166, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1174, - "name": "friendly_name", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Friendly name of the factor, useful for distinguishing between factors" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1236, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1167, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "ID of the factor that was just enrolled (in an unverified state)." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1214, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1169, - "name": "totp", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "TOTP enrollment information." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 8 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1171, - "name": "qr_code", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Contains a QR code encoding the authenticator URI. You can\nconvert it to a URL by prepending `data:image/svg+xml;utf-8,` to\nthe value. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1224, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1172, - "name": "secret", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The TOTP secret (also encoded in the QR code). Show this secret\nin a password-style field to the user, in case they are unable to\nscan the QR code. Avoid logging this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1229, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1173, - "name": "uri", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The authenticator URI encoded within the QR code, should you need\nto use it. Avoid loggin this value to the console." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1233, - "character": 10 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1171, 1172, 1173] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1220, - "character": 14 - } - ] - } - } - }, - { - "id": 1168, - "name": "type", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Type of MFA factor." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1217, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": "totp" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1174, 1167, 1169, 1168] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1212, - "character": 12 - } - ] - } - } - }, - { - "id": 1175, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1238, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1165, 1175] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1211, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1176, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1241, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1178, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1242, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1177, 1178] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 1240, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1059, - "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 969, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 1060, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1061, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1062, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1065, - "name": "currentAuthenticationMethods", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "A list of all authentication methods attached to this session. Use\nthe information here to detect the last time a user verified a\nfactor, for example if implementing a step-up scenario." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 988, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 709, - "name": "AMREntry" - } - } - }, - { - "id": 1063, - "name": "currentLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Current AAL level of the session." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 973, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1064, - "name": "nextLevel", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "Next possible AAL level for the session. If the next level is higher\nthan the current one, the user should go through MFA.", - "tags": [ - { - "tag": "see", - "text": "{@link GoTrueMFAApi#challenge}\n" - } - ] - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 981, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 1058, - "name": "AuthenticatorAssuranceLevels" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1065, 1063, 1064] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 971, - "character": 12 - } - ] - } - } - }, - { - "id": 1066, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 990, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1061, 1066] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 970, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 1067, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 1068, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1069, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 18 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [1068, 1069] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 992, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 1047, + "id": 1080, "name": "AuthMFAListFactorsResponse", "kind": 4194304, "kindString": "Type alias", @@ -25444,7 +25875,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 952, + "line": 993, "character": 12 } ], @@ -25454,14 +25885,14 @@ { "type": "reflection", "declaration": { - "id": 1048, + "id": 1081, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1049, + "id": 1082, "name": "data", "kind": 1024, "kindString": "Property", @@ -25469,21 +25900,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1050, + "id": 1083, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1051, + "id": 1084, "name": "all", "kind": 1024, "kindString": "Property", @@ -25494,7 +25925,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 956, + "line": 997, "character": 8 } ], @@ -25502,13 +25933,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1053, + "id": 1086, "name": "phone", "kind": 1024, "kindString": "Property", @@ -25519,7 +25950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 961, + "line": 1002, "character": 8 } ], @@ -25527,13 +25958,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } }, { - "id": 1052, + "id": 1085, "name": "totp", "kind": 1024, "kindString": "Property", @@ -25544,7 +25975,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 959, + "line": 1000, "character": 8 } ], @@ -25552,7 +25983,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 725, + "id": 740, "name": "Factor" } } @@ -25562,13 +25993,13 @@ { "title": "Properties", "kind": 1024, - "children": [1051, 1053, 1052] + "children": [1084, 1086, 1085] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 954, + "line": 995, "character": 12 } ] @@ -25576,7 +26007,7 @@ } }, { - "id": 1054, + "id": 1087, "name": "error", "kind": 1024, "kindString": "Property", @@ -25584,7 +26015,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 963, + "line": 1004, "character": 6 } ], @@ -25598,13 +26029,13 @@ { "title": "Properties", "kind": 1024, - "children": [1049, 1054] + "children": [1082, 1087] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 953, + "line": 994, "character": 4 } ] @@ -25613,14 +26044,14 @@ { "type": "reflection", "declaration": { - "id": 1055, + "id": 1088, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1056, + "id": 1089, "name": "data", "kind": 1024, "kindString": "Property", @@ -25628,7 +26059,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 6 } ], @@ -25638,7 +26069,7 @@ } }, { - "id": 1057, + "id": 1090, "name": "error", "kind": 1024, "kindString": "Property", @@ -25646,13 +26077,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -25661,13 +26092,13 @@ { "title": "Properties", "kind": 1024, - "children": [1056, 1057] + "children": [1089, 1090] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 965, + "line": 1006, "character": 4 } ] @@ -25677,7 +26108,7 @@ } }, { - "id": 1027, + "id": 1060, "name": "AuthMFAUnenrollResponse", "kind": 4194304, "kindString": "Type alias", @@ -25685,7 +26116,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 926, + "line": 967, "character": 12 } ], @@ -25695,14 +26126,14 @@ { "type": "reflection", "declaration": { - "id": 1028, + "id": 1061, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1029, + "id": 1062, "name": "data", "kind": 1024, "kindString": "Property", @@ -25710,21 +26141,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1030, + "id": 1063, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1031, + "id": 1064, "name": "id", "kind": 1024, "kindString": "Property", @@ -25735,7 +26166,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 930, + "line": 971, "character": 8 } ], @@ -25749,13 +26180,13 @@ { "title": "Properties", "kind": 1024, - "children": [1031] + "children": [1064] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 928, + "line": 969, "character": 12 } ] @@ -25763,7 +26194,7 @@ } }, { - "id": 1032, + "id": 1065, "name": "error", "kind": 1024, "kindString": "Property", @@ -25771,7 +26202,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 932, + "line": 973, "character": 6 } ], @@ -25785,13 +26216,13 @@ { "title": "Properties", "kind": 1024, - "children": [1029, 1032] + "children": [1062, 1065] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 927, + "line": 968, "character": 4 } ] @@ -25800,14 +26231,14 @@ { "type": "reflection", "declaration": { - "id": 1033, + "id": 1066, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1034, + "id": 1067, "name": "data", "kind": 1024, "kindString": "Property", @@ -25815,7 +26246,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 6 } ], @@ -25825,7 +26256,7 @@ } }, { - "id": 1035, + "id": 1068, "name": "error", "kind": 1024, "kindString": "Property", @@ -25833,13 +26264,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 18 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -25848,13 +26279,13 @@ { "title": "Properties", "kind": 1024, - "children": [1034, 1035] + "children": [1067, 1068] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 934, + "line": 975, "character": 4 } ] @@ -25864,7 +26295,7 @@ } }, { - "id": 1013, + "id": 1046, "name": "AuthMFAVerifyResponse", "kind": 4194304, "kindString": "Type alias", @@ -25872,7 +26303,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 899, + "line": 940, "character": 12 } ], @@ -25882,14 +26313,14 @@ { "type": "reflection", "declaration": { - "id": 1014, + "id": 1047, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1015, + "id": 1048, "name": "data", "kind": 1024, "kindString": "Property", @@ -25897,21 +26328,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 1016, + "id": 1049, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1017, + "id": 1050, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -25922,7 +26353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 903, + "line": 944, "character": 8 } ], @@ -25932,7 +26363,7 @@ } }, { - "id": 1019, + "id": 1052, "name": "expires_in", "kind": 1024, "kindString": "Property", @@ -25943,7 +26374,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 909, + "line": 950, "character": 8 } ], @@ -25953,7 +26384,7 @@ } }, { - "id": 1020, + "id": 1053, "name": "refresh_token", "kind": 1024, "kindString": "Property", @@ -25964,7 +26395,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 912, + "line": 953, "character": 8 } ], @@ -25974,7 +26405,7 @@ } }, { - "id": 1018, + "id": 1051, "name": "token_type", "kind": 1024, "kindString": "Property", @@ -25985,7 +26416,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 906, + "line": 947, "character": 8 } ], @@ -25995,7 +26426,7 @@ } }, { - "id": 1021, + "id": 1054, "name": "user", "kind": 1024, "kindString": "Property", @@ -26006,13 +26437,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 915, + "line": 956, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -26021,13 +26452,13 @@ { "title": "Properties", "kind": 1024, - "children": [1017, 1019, 1020, 1018, 1021] + "children": [1050, 1052, 1053, 1051, 1054] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 901, + "line": 942, "character": 12 } ] @@ -26035,7 +26466,7 @@ } }, { - "id": 1022, + "id": 1055, "name": "error", "kind": 1024, "kindString": "Property", @@ -26043,7 +26474,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 917, + "line": 958, "character": 6 } ], @@ -26057,13 +26488,13 @@ { "title": "Properties", "kind": 1024, - "children": [1015, 1022] + "children": [1048, 1055] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 900, + "line": 941, "character": 4 } ] @@ -26072,14 +26503,14 @@ { "type": "reflection", "declaration": { - "id": 1023, + "id": 1056, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1024, + "id": 1057, "name": "data", "kind": 1024, "kindString": "Property", @@ -26087,7 +26518,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 920, + "line": 961, "character": 6 } ], @@ -26097,7 +26528,7 @@ } }, { - "id": 1025, + "id": 1058, "name": "error", "kind": 1024, "kindString": "Property", @@ -26105,13 +26536,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 921, + "line": 962, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -26120,13 +26551,13 @@ { "title": "Properties", "kind": 1024, - "children": [1024, 1025] + "children": [1057, 1058] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 919, + "line": 960, "character": 4 } ] @@ -26136,7 +26567,7 @@ } }, { - "id": 624, + "id": 639, "name": "AuthOtpResponse", "kind": 4194304, "kindString": "Type alias", @@ -26148,915 +26579,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 144, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 625, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 626, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 627, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 630, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 629, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 628, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [630, 629, 628] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 146, - "character": 12 - } - ] - } - } - }, - { - "id": 631, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 147, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [626, 631] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 145, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 632, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 633, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 634, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 637, - "name": "messageId", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 41 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 636, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 26 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 635, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 14 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [637, 636, 635] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 150, - "character": 12 - } - ] - } - } - }, - { - "id": 638, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 151, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [633, 638] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 149, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 597, - "name": "AuthResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 106, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 598, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 599, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 600, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 602, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 110, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 601, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 109, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [602, 601] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 108, - "character": 12 - } - ] - } - } - }, - { - "id": 603, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 112, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [599, 603] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 107, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 604, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 605, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 606, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 608, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 117, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 607, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 116, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [608, 607] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 115, - "character": 12 - } - ] - } - } - }, - { - "id": 609, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 119, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [605, 609] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 114, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 610, - "name": "AuthResponsePassword", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 122, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 611, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 612, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 613, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 615, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 126, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 700, - "name": "Session" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 614, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 125, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 740, - "name": "User" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 616, - "name": "weak_password", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 127, - "character": 8 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 593, - "name": "WeakPassword" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [615, 614, 616] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 124, - "character": 12 - } - ] - } - } - }, - { - "id": 617, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 129, - "character": 6 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [612, 617] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 123, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 618, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 619, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 620, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 622, - "name": "session", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 134, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 621, - "name": "user", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 133, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [622, 621] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 132, - "character": 12 - } - ] - } - } - }, - { - "id": 623, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 136, - "character": 6 - } - ], - "type": { - "type": "reference", - "id": 1237, - "name": "AuthError" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [619, 623] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 131, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 639, - "name": "AuthTokenResponse", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 154, + "line": 146, "character": 12 } ], @@ -27081,7 +26604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 6 } ], @@ -27094,6 +26617,35 @@ "kindString": "Type literal", "flags": {}, "children": [ + { + "id": 645, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 148, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, { "id": 644, "name": "session", @@ -27103,14 +26655,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 158, - "character": 8 + "line": 148, + "character": 26 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "literal", + "value": null } }, { @@ -27122,14 +26673,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 157, - "character": 8 + "line": 148, + "character": 14 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" + "type": "literal", + "value": null } } ], @@ -27137,13 +26687,13 @@ { "title": "Properties", "kind": 1024, - "children": [644, 643] + "children": [645, 644, 643] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 156, + "line": 148, "character": 12 } ] @@ -27151,7 +26701,7 @@ } }, { - "id": 645, + "id": 646, "name": "error", "kind": 1024, "kindString": "Property", @@ -27159,7 +26709,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 160, + "line": 149, "character": 6 } ], @@ -27173,13 +26723,13 @@ { "title": "Properties", "kind": 1024, - "children": [641, 645] + "children": [641, 646] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 155, + "line": 147, "character": 4 } ] @@ -27188,14 +26738,14 @@ { "type": "reflection", "declaration": { - "id": 646, + "id": 647, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 647, + "id": 648, "name": "data", "kind": 1024, "kindString": "Property", @@ -27203,21 +26753,50 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 648, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 650, + "id": 652, + "name": "messageId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 152, + "character": 41 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 651, "name": "session", "kind": 1024, "kindString": "Property", @@ -27225,8 +26804,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 165, - "character": 8 + "line": 152, + "character": 26 } ], "type": { @@ -27235,7 +26814,7 @@ } }, { - "id": 649, + "id": 650, "name": "user", "kind": 1024, "kindString": "Property", @@ -27243,8 +26822,8 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 164, - "character": 8 + "line": 152, + "character": 14 } ], "type": { @@ -27257,13 +26836,13 @@ { "title": "Properties", "kind": 1024, - "children": [650, 649] + "children": [652, 651, 650] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 163, + "line": 152, "character": 12 } ] @@ -27271,7 +26850,7 @@ } }, { - "id": 651, + "id": 653, "name": "error", "kind": 1024, "kindString": "Property", @@ -27279,13 +26858,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 167, + "line": 153, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -27294,13 +26873,13 @@ { "title": "Properties", "kind": 1024, - "children": [647, 651] + "children": [648, 653] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 162, + "line": 151, "character": 4 } ] @@ -27310,15 +26889,15 @@ } }, { - "id": 652, - "name": "AuthTokenResponsePassword", + "id": 612, + "name": "AuthResponse", "kind": 4194304, "kindString": "Type alias", "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", - "line": 170, + "line": 108, "character": 12 } ], @@ -27328,14 +26907,14 @@ { "type": "reflection", "declaration": { - "id": 653, + "id": 613, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 654, + "id": 614, "name": "data", "kind": 1024, "kindString": "Property", @@ -27343,21 +26922,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 655, + "id": 615, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 657, + "id": 617, "name": "session", "kind": 1024, "kindString": "Property", @@ -27365,18 +26944,27 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 174, + "line": 112, "character": 8 } ], "type": { - "type": "reference", - "id": 700, - "name": "Session" + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] } }, { - "id": 656, + "id": 616, "name": "user", "kind": 1024, "kindString": "Property", @@ -27384,35 +26972,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 173, + "line": 111, "character": 8 } ], "type": { - "type": "reference", - "id": 740, - "name": "User" - } - }, - { - "id": 658, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 175, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 593, - "name": "WeakPassword" + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] } } ], @@ -27420,13 +26996,13 @@ { "title": "Properties", "kind": 1024, - "children": [657, 656, 658] + "children": [617, 616] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 172, + "line": 110, "character": 12 } ] @@ -27434,7 +27010,7 @@ } }, { - "id": 659, + "id": 618, "name": "error", "kind": 1024, "kindString": "Property", @@ -27442,7 +27018,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 177, + "line": 114, "character": 6 } ], @@ -27456,13 +27032,13 @@ { "title": "Properties", "kind": 1024, - "children": [654, 659] + "children": [614, 618] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 171, + "line": 109, "character": 4 } ] @@ -27471,14 +27047,14 @@ { "type": "reflection", "declaration": { - "id": 660, + "id": 619, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 661, + "id": 620, "name": "data", "kind": 1024, "kindString": "Property", @@ -27486,21 +27062,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 662, + "id": 621, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 664, + "id": 623, "name": "session", "kind": 1024, "kindString": "Property", @@ -27508,7 +27084,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 182, + "line": 119, "character": 8 } ], @@ -27518,7 +27094,7 @@ } }, { - "id": 663, + "id": 622, "name": "user", "kind": 1024, "kindString": "Property", @@ -27526,27 +27102,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 181, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 665, - "name": "weakPassword", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 183, + "line": 118, "character": 8 } ], @@ -27560,13 +27116,585 @@ { "title": "Properties", "kind": 1024, - "children": [664, 663, 665] + "children": [623, 622] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 180, + "line": 117, + "character": 12 + } + ] + } + } + }, + { + "id": 624, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 121, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [620, 624] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 116, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 625, + "name": "AuthResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 124, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 626, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 627, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 628, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 630, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 128, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 715, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 629, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 127, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 755, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 631, + "name": "weak_password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 608, + "name": "WeakPassword" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [630, 629, 631] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 126, + "character": 12 + } + ] + } + } + }, + { + "id": 632, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 131, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [627, 632] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 633, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 634, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 635, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 637, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 636, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 135, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [637, 636] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 134, + "character": 12 + } + ] + } + } + }, + { + "id": 638, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 138, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [634, 638] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 133, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 654, + "name": "AuthTokenResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 156, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 656, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 657, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 659, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 160, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 658, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 159, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [659, 658] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 158, + "character": 12 + } + ] + } + } + }, + { + "id": 660, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 162, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [656, 660] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 157, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 663, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 665, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 167, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 664, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 166, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [665, 664] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, "character": 12 } ] @@ -27582,13 +27710,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 185, + "line": 169, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -27597,13 +27725,13 @@ { "title": "Properties", "kind": 1024, - "children": [661, 666] + "children": [662, 666] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 179, + "line": 164, "character": 4 } ] @@ -27613,7 +27741,310 @@ } }, { - "id": 1058, + "id": 667, + "name": "AuthTokenResponsePassword", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 669, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 670, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 672, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 715, + "name": "Session" + } + }, + { + "id": 671, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 175, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 755, + "name": "User" + } + }, + { + "id": 673, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 177, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 608, + "name": "WeakPassword" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [672, 671, 673] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 174, + "character": 12 + } + ] + } + } + }, + { + "id": 674, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [669, 674] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 173, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 675, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 676, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 677, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 679, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 184, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 678, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 183, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 680, + "name": "weakPassword", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 185, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [679, 678, 680] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 12 + } + ] + } + } + }, + { + "id": 681, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 187, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 1270, + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [676, 681] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 181, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 1091, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -27621,7 +28052,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 967, + "line": 1008, "character": 12 } ], @@ -27640,7 +28071,7 @@ } }, { - "id": 1132, + "id": 1165, "name": "CallRefreshTokenResult", "kind": 4194304, "kindString": "Type alias", @@ -27648,7 +28079,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1155, + "line": 1196, "character": 12 } ], @@ -27658,14 +28089,14 @@ { "type": "reflection", "declaration": { - "id": 1133, + "id": 1166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1135, + "id": 1168, "name": "error", "kind": 1024, "kindString": "Property", @@ -27673,7 +28104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1158, + "line": 1199, "character": 6 } ], @@ -27683,7 +28114,7 @@ } }, { - "id": 1134, + "id": 1167, "name": "session", "kind": 1024, "kindString": "Property", @@ -27691,13 +28122,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1157, + "line": 1198, "character": 6 } ], "type": { "type": "reference", - "id": 700, + "id": 715, "name": "Session" } } @@ -27706,13 +28137,13 @@ { "title": "Properties", "kind": 1024, - "children": [1135, 1134] + "children": [1168, 1167] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1156, + "line": 1197, "character": 4 } ] @@ -27721,14 +28152,14 @@ { "type": "reflection", "declaration": { - "id": 1136, + "id": 1169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1138, + "id": 1171, "name": "error", "kind": 1024, "kindString": "Property", @@ -27736,18 +28167,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1162, + "line": 1203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } }, { - "id": 1137, + "id": 1170, "name": "session", "kind": 1024, "kindString": "Property", @@ -27755,7 +28186,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1161, + "line": 1202, "character": 6 } ], @@ -27769,13 +28200,13 @@ { "title": "Properties", "kind": 1024, - "children": [1138, 1137] + "children": [1171, 1170] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1160, + "line": 1201, "character": 4 } ] @@ -27785,7 +28216,7 @@ } }, { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -27793,7 +28224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -27828,7 +28259,431 @@ } }, { - "id": 965, + "id": 914, + "name": "EthereumWallet", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 678, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "EIP1193Provider" + } + }, + { + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] + } + } + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27836,21 +28691,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -27861,7 +28716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -27871,7 +28726,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -27882,7 +28737,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -27892,7 +28747,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -27902,7 +28757,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -27911,7 +28766,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -27925,7 +28780,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -27933,7 +28788,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -27956,13 +28811,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -27970,7 +28825,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -27978,21 +28833,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -28003,7 +28858,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -28013,7 +28868,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -28023,7 +28878,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -28032,7 +28887,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -28055,7 +28910,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -28063,7 +28918,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -28086,13 +28941,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -28100,7 +28955,7 @@ } }, { - "id": 974, + "id": 1007, "name": "GenerateLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28108,7 +28963,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 815, + "line": 856, "character": 12 } ], @@ -28116,7 +28971,7 @@ "type": "union", "types": [ { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28124,21 +28979,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -28146,7 +29001,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -28156,7 +29011,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -28166,7 +29021,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -28175,7 +29030,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -28198,7 +29053,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -28206,7 +29061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -28216,7 +29071,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -28224,7 +29079,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -28238,13 +29093,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -28252,7 +29107,7 @@ } }, { - "id": 955, + "id": 988, "name": "GenerateInviteOrMagiclinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28260,21 +29115,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 956, + "id": 989, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 958, + "id": 991, "name": "email", "kind": 1024, "kindString": "Property", @@ -28285,7 +29140,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 782, + "line": 823, "character": 2 } ], @@ -28295,7 +29150,7 @@ } }, { - "id": 959, + "id": 992, "name": "options", "kind": 1024, "kindString": "Property", @@ -28305,7 +29160,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 783, + "line": 824, "character": 2 } ], @@ -28314,7 +29169,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -28337,7 +29192,7 @@ } }, { - "id": 957, + "id": 990, "name": "type", "kind": 1024, "kindString": "Property", @@ -28345,7 +29200,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 780, + "line": 821, "character": 2 } ], @@ -28368,13 +29223,13 @@ { "title": "Properties", "kind": 1024, - "children": [958, 959, 957] + "children": [991, 992, 990] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 779, + "line": 820, "character": 46 } ] @@ -28382,7 +29237,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28390,21 +29245,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -28415,7 +29270,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -28425,7 +29280,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -28435,7 +29290,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -28444,7 +29299,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -28458,7 +29313,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -28466,7 +29321,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -28480,13 +29335,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -28494,7 +29349,7 @@ } }, { - "id": 965, + "id": 998, "name": "GenerateEmailChangeLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -28502,21 +29357,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 966, + "id": 999, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 968, + "id": 1001, "name": "email", "kind": 1024, "kindString": "Property", @@ -28527,7 +29382,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 796, + "line": 837, "character": 2 } ], @@ -28537,7 +29392,7 @@ } }, { - "id": 969, + "id": 1002, "name": "newEmail", "kind": 1024, "kindString": "Property", @@ -28548,7 +29403,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 800, + "line": 841, "character": 2 } ], @@ -28558,7 +29413,7 @@ } }, { - "id": 970, + "id": 1003, "name": "options", "kind": 1024, "kindString": "Property", @@ -28568,7 +29423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 801, + "line": 842, "character": 2 } ], @@ -28577,7 +29432,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -28591,7 +29446,7 @@ } }, { - "id": 967, + "id": 1000, "name": "type", "kind": 1024, "kindString": "Property", @@ -28599,7 +29454,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 794, + "line": 835, "character": 2 } ], @@ -28622,13 +29477,13 @@ { "title": "Properties", "kind": 1024, - "children": [968, 969, 970, 967] + "children": [1001, 1002, 1003, 1000] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 793, + "line": 834, "character": 44 } ] @@ -28639,7 +29494,7 @@ } }, { - "id": 988, + "id": 1021, "name": "GenerateLinkProperties", "kind": 4194304, "kindString": "Type alias", @@ -28650,21 +29505,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 989, + "id": 1022, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 990, + "id": 1023, "name": "action_link", "kind": 1024, "kindString": "Property", @@ -28675,7 +29530,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 843, + "line": 884, "character": 2 } ], @@ -28685,7 +29540,7 @@ } }, { - "id": 991, + "id": 1024, "name": "email_otp", "kind": 1024, "kindString": "Property", @@ -28696,7 +29551,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 848, + "line": 889, "character": 2 } ], @@ -28706,7 +29561,7 @@ } }, { - "id": 992, + "id": 1025, "name": "hashed_token", "kind": 1024, "kindString": "Property", @@ -28717,7 +29572,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 852, + "line": 893, "character": 2 } ], @@ -28727,7 +29582,7 @@ } }, { - "id": 993, + "id": 1026, "name": "redirect_to", "kind": 1024, "kindString": "Property", @@ -28738,7 +29593,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 854, + "line": 895, "character": 2 } ], @@ -28748,7 +29603,7 @@ } }, { - "id": 994, + "id": 1027, "name": "verification_type", "kind": 1024, "kindString": "Property", @@ -28759,16 +29614,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 856, + "line": 897, "character": 2 } ], "type": { "type": "reference", - "id": 995, + "id": 1028, "name": "GenerateLinkType", "dereferenced": { - "id": 995, + "id": 1028, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -28776,7 +29631,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 859, + "line": 900, "character": 12 } ], @@ -28817,13 +29672,13 @@ { "title": "Properties", "kind": 1024, - "children": [990, 991, 992, 993, 994] + "children": [1023, 1024, 1025, 1026, 1027] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 838, + "line": 879, "character": 37 } ] @@ -28831,7 +29686,7 @@ } }, { - "id": 975, + "id": 1008, "name": "GenerateLinkResponse", "kind": 4194304, "kindString": "Type alias", @@ -28839,7 +29694,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 821, + "line": 862, "character": 12 } ], @@ -28849,14 +29704,14 @@ { "type": "reflection", "declaration": { - "id": 976, + "id": 1009, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 977, + "id": 1010, "name": "data", "kind": 1024, "kindString": "Property", @@ -28864,21 +29719,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 978, + "id": 1011, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 979, + "id": 1012, "name": "properties", "kind": 1024, "kindString": "Property", @@ -28886,18 +29741,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 824, + "line": 865, "character": 8 } ], "type": { "type": "reference", - "id": 988, + "id": 1021, "name": "GenerateLinkProperties" } }, { - "id": 980, + "id": 1013, "name": "user", "kind": 1024, "kindString": "Property", @@ -28905,13 +29760,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 825, + "line": 866, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -28920,13 +29775,13 @@ { "title": "Properties", "kind": 1024, - "children": [979, 980] + "children": [1012, 1013] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 823, + "line": 864, "character": 12 } ] @@ -28934,7 +29789,7 @@ } }, { - "id": 981, + "id": 1014, "name": "error", "kind": 1024, "kindString": "Property", @@ -28942,7 +29797,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 827, + "line": 868, "character": 6 } ], @@ -28956,13 +29811,13 @@ { "title": "Properties", "kind": 1024, - "children": [977, 981] + "children": [1010, 1014] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 822, + "line": 863, "character": 4 } ] @@ -28971,14 +29826,14 @@ { "type": "reflection", "declaration": { - "id": 982, + "id": 1015, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 983, + "id": 1016, "name": "data", "kind": 1024, "kindString": "Property", @@ -28986,21 +29841,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 984, + "id": 1017, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 985, + "id": 1018, "name": "properties", "kind": 1024, "kindString": "Property", @@ -29008,7 +29863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 831, + "line": 872, "character": 8 } ], @@ -29018,7 +29873,7 @@ } }, { - "id": 986, + "id": 1019, "name": "user", "kind": 1024, "kindString": "Property", @@ -29026,7 +29881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 832, + "line": 873, "character": 8 } ], @@ -29040,13 +29895,13 @@ { "title": "Properties", "kind": 1024, - "children": [985, 986] + "children": [1018, 1019] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 830, + "line": 871, "character": 12 } ] @@ -29054,7 +29909,7 @@ } }, { - "id": 987, + "id": 1020, "name": "error", "kind": 1024, "kindString": "Property", @@ -29062,13 +29917,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 834, + "line": 875, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -29077,13 +29932,13 @@ { "title": "Properties", "kind": 1024, - "children": [983, 987] + "children": [1016, 1020] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 829, + "line": 870, "character": 4 } ] @@ -29093,7 +29948,7 @@ } }, { - "id": 995, + "id": 1028, "name": "GenerateLinkType", "kind": 4194304, "kindString": "Type alias", @@ -29101,7 +29956,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 859, + "line": 900, "character": 12 } ], @@ -29136,7 +29991,7 @@ } }, { - "id": 960, + "id": 993, "name": "GenerateRecoveryLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -29144,21 +29999,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 961, + "id": 994, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 963, + "id": 996, "name": "email", "kind": 1024, "kindString": "Property", @@ -29169,7 +30024,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 789, + "line": 830, "character": 2 } ], @@ -29179,7 +30034,7 @@ } }, { - "id": 964, + "id": 997, "name": "options", "kind": 1024, "kindString": "Property", @@ -29189,7 +30044,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 790, + "line": 831, "character": 2 } ], @@ -29198,7 +30053,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -29212,7 +30067,7 @@ } }, { - "id": 962, + "id": 995, "name": "type", "kind": 1024, "kindString": "Property", @@ -29220,7 +30075,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 787, + "line": 828, "character": 2 } ], @@ -29234,13 +30089,13 @@ { "title": "Properties", "kind": 1024, - "children": [963, 964, 962] + "children": [996, 997, 995] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 786, + "line": 827, "character": 41 } ] @@ -29248,7 +30103,7 @@ } }, { - "id": 949, + "id": 982, "name": "GenerateSignupLinkParams", "kind": 4194304, "kindString": "Type alias", @@ -29256,21 +30111,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 950, + "id": 983, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 952, + "id": 985, "name": "email", "kind": 1024, "kindString": "Property", @@ -29278,7 +30133,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 774, + "line": 815, "character": 2 } ], @@ -29288,7 +30143,7 @@ } }, { - "id": 954, + "id": 987, "name": "options", "kind": 1024, "kindString": "Property", @@ -29298,7 +30153,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 776, + "line": 817, "character": 2 } ], @@ -29307,7 +30162,7 @@ "typeArguments": [ { "type": "reference", - "id": 971, + "id": 1004, "name": "GenerateLinkOptions" }, { @@ -29330,7 +30185,7 @@ } }, { - "id": 953, + "id": 986, "name": "password", "kind": 1024, "kindString": "Property", @@ -29338,7 +30193,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 775, + "line": 816, "character": 2 } ], @@ -29348,7 +30203,7 @@ } }, { - "id": 951, + "id": 984, "name": "type", "kind": 1024, "kindString": "Property", @@ -29356,7 +30211,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 773, + "line": 814, "character": 2 } ], @@ -29370,13 +30225,13 @@ { "title": "Properties", "kind": 1024, - "children": [952, 954, 953, 951] + "children": [985, 987, 986, 984] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 772, + "line": 813, "character": 39 } ] @@ -29384,7 +30239,7 @@ } }, { - "id": 569, + "id": 584, "name": "GoTrueClientOptions", "kind": 4194304, "kindString": "Type alias", @@ -29392,21 +30247,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 570, + "id": 585, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 578, + "id": 593, "name": "autoRefreshToken", "kind": 1024, "kindString": "Property", @@ -29416,7 +30271,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 68, + "line": 70, "character": 2 } ], @@ -29426,7 +30281,7 @@ } }, { - "id": 584, + "id": 599, "name": "debug", "kind": 1024, "kindString": "Property", @@ -29436,7 +30291,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 2 } ], @@ -29450,7 +30305,7 @@ { "type": "reflection", "declaration": { - "id": 585, + "id": 600, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29458,20 +30313,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 86, + "line": 88, "character": 21 } ], "signatures": [ { - "id": 586, + "id": 601, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 587, + "id": 602, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -29482,7 +30337,7 @@ } }, { - "id": 588, + "id": 603, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -29510,7 +30365,7 @@ } }, { - "id": 577, + "id": 592, "name": "detectSessionInUrl", "kind": 1024, "kindString": "Property", @@ -29520,7 +30375,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 68, "character": 2 } ], @@ -29530,33 +30385,13 @@ } }, { - "id": 582, + "id": 597, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 82, - "character": 2 - } - ], - "type": { - "type": "reference", - "name": "Fetch" - } - }, - { - "id": 583, - "name": "flowType", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -29566,10 +30401,30 @@ ], "type": { "type": "reference", - "id": 846, + "name": "Fetch" + } + }, + { + "id": 598, + "name": "flowType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 86, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 861, "name": "AuthFlowType", "dereferenced": { - "id": 846, + "id": 861, "name": "AuthFlowType", "kind": 4194304, "kindString": "Type alias", @@ -29577,7 +30432,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 599, + "line": 601, "character": 12 } ], @@ -29598,7 +30453,7 @@ } }, { - "id": 590, + "id": 605, "name": "hasCustomAuthorizationHeader", "kind": 1024, "kindString": "Property", @@ -29617,7 +30472,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 99, "character": 2 } ], @@ -29627,7 +30482,7 @@ } }, { - "id": 572, + "id": 587, "name": "headers", "kind": 1024, "kindString": "Property", @@ -29637,14 +30492,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 573, + "id": 588, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29652,19 +30507,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 62, + "line": 64, "character": 12 } ], "indexSignature": { - "id": 574, + "id": 589, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 575, + "id": 590, "name": "key", "kind": 32768, "flags": {}, @@ -29683,7 +30538,7 @@ } }, { - "id": 589, + "id": 604, "name": "lock", "kind": 1024, "kindString": "Property", @@ -29702,16 +30557,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 94, "character": 2 } ], "type": { "type": "reference", - "id": 560, + "id": 575, "name": "LockFunc", "dereferenced": { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -29719,14 +30574,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29734,13 +30589,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -29756,7 +30611,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -29765,7 +30620,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -29779,7 +30634,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -29793,7 +30648,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -29804,7 +30659,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -29812,13 +30667,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -29828,7 +30683,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -29847,7 +30702,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -29863,33 +30718,13 @@ } }, { - "id": 579, + "id": 594, "name": "persistSession", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 70, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 580, - "name": "storage", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -29897,12 +30732,32 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 595, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 74, + "character": 2 + } + ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -29910,7 +30765,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -29957,14 +30812,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -29977,7 +30832,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -29991,13 +30846,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -30009,7 +30864,7 @@ } }, { - "id": 576, + "id": 591, "name": "storageKey", "kind": 1024, "kindString": "Property", @@ -30019,7 +30874,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 64, + "line": 66, "character": 2 } ], @@ -30029,7 +30884,7 @@ } }, { - "id": 571, + "id": 586, "name": "url", "kind": 1024, "kindString": "Property", @@ -30039,7 +30894,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 60, + "line": 62, "character": 2 } ], @@ -30049,7 +30904,7 @@ } }, { - "id": 581, + "id": 596, "name": "userStorage", "kind": 1024, "kindString": "Property", @@ -30069,16 +30924,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 80, + "line": 82, "character": 2 } ], "type": { "type": "reference", - "id": 1126, + "id": 1159, "name": "SupportedStorage", "dereferenced": { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -30086,7 +30941,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -30133,14 +30988,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -30153,7 +31008,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -30167,13 +31022,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -30189,13 +31044,13 @@ { "title": "Properties", "kind": 1024, - "children": [578, 584, 577, 582, 583, 590, 572, 589, 579, 580, 576, 571, 581] + "children": [593, 599, 592, 597, 598, 605, 587, 604, 594, 595, 591, 586, 596] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 58, + "line": 60, "character": 34 } ] @@ -30203,7 +31058,7 @@ } }, { - "id": 1129, + "id": 1162, "name": "InitializeResult", "kind": 4194304, "kindString": "Type alias", @@ -30211,21 +31066,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1130, + "id": 1163, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1131, + "id": 1164, "name": "error", "kind": 1024, "kindString": "Property", @@ -30233,7 +31088,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 33 } ], @@ -30242,7 +31097,7 @@ "types": [ { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" }, { @@ -30257,13 +31112,13 @@ { "title": "Properties", "kind": 1024, - "children": [1131] + "children": [1164] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1153, + "line": 1194, "character": 31 } ] @@ -30271,7 +31126,7 @@ } }, { - "id": 1191, + "id": 1224, "name": "JwtHeader", "kind": 4194304, "kindString": "Type alias", @@ -30279,21 +31134,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1192, + "id": 1225, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1193, + "id": 1226, "name": "alg", "kind": 1024, "kindString": "Property", @@ -30301,7 +31156,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1268, + "line": 1309, "character": 2 } ], @@ -30324,7 +31179,7 @@ } }, { - "id": 1194, + "id": 1227, "name": "kid", "kind": 1024, "kindString": "Property", @@ -30332,7 +31187,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1269, + "line": 1310, "character": 2 } ], @@ -30342,7 +31197,7 @@ } }, { - "id": 1195, + "id": 1228, "name": "typ", "kind": 1024, "kindString": "Property", @@ -30350,7 +31205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1270, + "line": 1311, "character": 2 } ], @@ -30364,13 +31219,13 @@ { "title": "Properties", "kind": 1024, - "children": [1193, 1194, 1195] + "children": [1226, 1227, 1228] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1267, + "line": 1308, "character": 24 } ] @@ -30378,7 +31233,7 @@ } }, { - "id": 1206, + "id": 1239, "name": "JwtPayload", "kind": 4194304, "kindString": "Type alias", @@ -30386,7 +31241,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 12 } ], @@ -30395,13 +31250,13 @@ "types": [ { "type": "reference", - "id": 1196, + "id": 1229, "name": "RequiredClaims" }, { "type": "reflection", "declaration": { - "id": 1207, + "id": 1240, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30409,19 +31264,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1284, + "line": 1325, "character": 42 } ], "indexSignature": { - "id": 1208, + "id": 1241, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1209, + "id": 1242, "name": "key", "kind": 32768, "flags": {}, @@ -30442,7 +31297,7 @@ } }, { - "id": 560, + "id": 575, "name": "LockFunc", "kind": 4194304, "kindString": "Type alias", @@ -30450,14 +31305,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 561, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30465,13 +31320,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 23 } ], "signatures": [ { - "id": 562, + "id": 577, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -30487,7 +31342,7 @@ }, "typeParameter": [ { - "id": 568, + "id": 583, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -30496,7 +31351,7 @@ ], "parameters": [ { - "id": 563, + "id": 578, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -30510,7 +31365,7 @@ } }, { - "id": 564, + "id": 579, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -30524,7 +31379,7 @@ } }, { - "id": 565, + "id": 580, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -30535,7 +31390,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 581, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -30543,13 +31398,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 56, + "line": 58, "character": 69 } ], "signatures": [ { - "id": 567, + "id": 582, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -30559,7 +31414,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -30578,7 +31433,7 @@ "typeArguments": [ { "type": "reference", - "id": 568, + "id": 583, "name": "R" } ], @@ -30592,7 +31447,7 @@ } }, { - "id": 1009, + "id": 1042, "name": "MFAChallengeAndVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -30600,21 +31455,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1010, + "id": 1043, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1012, + "id": 1045, "name": "code", "kind": 1024, "kindString": "Property", @@ -30625,7 +31480,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 896, + "line": 937, "character": 2 } ], @@ -30635,7 +31490,7 @@ } }, { - "id": 1011, + "id": 1044, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -30646,7 +31501,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 894, + "line": 935, "character": 2 } ], @@ -30660,13 +31515,13 @@ { "title": "Properties", "kind": 1024, - "children": [1012, 1011] + "children": [1045, 1044] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 892, + "line": 933, "character": 42 } ] @@ -30674,7 +31529,7 @@ } }, { - "id": 1005, + "id": 1038, "name": "MFAChallengeParams", "kind": 4194304, "kindString": "Type alias", @@ -30682,21 +31537,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1006, + "id": 1039, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1008, + "id": 1041, "name": "channel", "kind": 1024, "kindString": "Property", @@ -30709,7 +31564,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 889, + "line": 930, "character": 2 } ], @@ -30728,7 +31583,7 @@ } }, { - "id": 1007, + "id": 1040, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -30739,7 +31594,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 887, + "line": 928, "character": 2 } ], @@ -30753,13 +31608,13 @@ { "title": "Properties", "kind": 1024, - "children": [1008, 1007] + "children": [1041, 1040] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 885, + "line": 926, "character": 33 } ] @@ -30767,7 +31622,7 @@ } }, { - "id": 996, + "id": 1029, "name": "MFAEnrollParams", "kind": 4194304, "kindString": "Type alias", @@ -30775,7 +31630,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 867, + "line": 908, "character": 12 } ], @@ -30783,7 +31638,7 @@ "type": "union", "types": [ { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -30791,21 +31646,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -30816,7 +31671,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -30826,7 +31681,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -30839,7 +31694,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -30849,7 +31704,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -30862,7 +31717,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -30876,13 +31731,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -30890,7 +31745,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -30898,21 +31753,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -30923,7 +31778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -30933,7 +31788,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -30946,7 +31801,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -30956,7 +31811,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -30967,7 +31822,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -30981,13 +31836,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -30998,7 +31853,7 @@ } }, { - "id": 1158, + "id": 1191, "name": "MFAEnrollPhoneParams", "kind": 4194304, "kindString": "Type alias", @@ -31006,21 +31861,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1159, + "id": 1192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1160, + "id": 1193, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -31031,7 +31886,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1203, + "line": 1244, "character": 2 } ], @@ -31041,7 +31896,7 @@ } }, { - "id": 1161, + "id": 1194, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -31054,7 +31909,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1205, + "line": 1246, "character": 2 } ], @@ -31064,7 +31919,7 @@ } }, { - "id": 1162, + "id": 1195, "name": "phone", "kind": 1024, "kindString": "Property", @@ -31075,7 +31930,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1207, + "line": 1248, "character": 2 } ], @@ -31089,13 +31944,13 @@ { "title": "Properties", "kind": 1024, - "children": [1160, 1161, 1162] + "children": [1193, 1194, 1195] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1201, + "line": 1242, "character": 35 } ] @@ -31103,7 +31958,7 @@ } }, { - "id": 1153, + "id": 1186, "name": "MFAEnrollTOTPParams", "kind": 4194304, "kindString": "Type alias", @@ -31111,21 +31966,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1154, + "id": 1187, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1155, + "id": 1188, "name": "factorType", "kind": 1024, "kindString": "Property", @@ -31136,7 +31991,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1195, + "line": 1236, "character": 2 } ], @@ -31146,7 +32001,7 @@ } }, { - "id": 1157, + "id": 1190, "name": "friendlyName", "kind": 1024, "kindString": "Property", @@ -31159,7 +32014,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1199, + "line": 1240, "character": 2 } ], @@ -31169,7 +32024,7 @@ } }, { - "id": 1156, + "id": 1189, "name": "issuer", "kind": 1024, "kindString": "Property", @@ -31182,7 +32037,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1197, + "line": 1238, "character": 2 } ], @@ -31196,13 +32051,13 @@ { "title": "Properties", "kind": 1024, - "children": [1155, 1157, 1156] + "children": [1188, 1190, 1189] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1193, + "line": 1234, "character": 34 } ] @@ -31210,7 +32065,7 @@ } }, { - "id": 997, + "id": 1030, "name": "MFAUnenrollParams", "kind": 4194304, "kindString": "Type alias", @@ -31218,21 +32073,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 998, + "id": 1031, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 999, + "id": 1032, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -31243,7 +32098,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 871, + "line": 912, "character": 2 } ], @@ -31257,13 +32112,13 @@ { "title": "Properties", "kind": 1024, - "children": [999] + "children": [1032] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 869, + "line": 910, "character": 32 } ] @@ -31271,7 +32126,7 @@ } }, { - "id": 1000, + "id": 1033, "name": "MFAVerifyParams", "kind": 4194304, "kindString": "Type alias", @@ -31279,21 +32134,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1001, + "id": 1034, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1003, + "id": 1036, "name": "challengeId", "kind": 1024, "kindString": "Property", @@ -31304,7 +32159,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 879, + "line": 920, "character": 2 } ], @@ -31314,7 +32169,7 @@ } }, { - "id": 1004, + "id": 1037, "name": "code", "kind": 1024, "kindString": "Property", @@ -31325,7 +32180,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 882, + "line": 923, "character": 2 } ], @@ -31335,7 +32190,7 @@ } }, { - "id": 1002, + "id": 1035, "name": "factorId", "kind": 1024, "kindString": "Property", @@ -31346,7 +32201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 876, + "line": 917, "character": 2 } ], @@ -31360,13 +32215,13 @@ { "title": "Properties", "kind": 1024, - "children": [1003, 1004, 1002] + "children": [1036, 1037, 1035] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 874, + "line": 915, "character": 30 } ] @@ -31374,7 +32229,7 @@ } }, { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -31382,7 +32237,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -31401,7 +32256,7 @@ } }, { - "id": 667, + "id": 682, "name": "OAuthResponse", "kind": 4194304, "kindString": "Type alias", @@ -31409,7 +32264,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 188, + "line": 190, "character": 12 } ], @@ -31419,14 +32274,14 @@ { "type": "reflection", "declaration": { - "id": 668, + "id": 683, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 669, + "id": 684, "name": "data", "kind": 1024, "kindString": "Property", @@ -31434,21 +32289,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 670, + "id": 685, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 671, + "id": 686, "name": "provider", "kind": 1024, "kindString": "Property", @@ -31456,18 +32311,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 191, + "line": 193, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 672, + "id": 687, "name": "url", "kind": 1024, "kindString": "Property", @@ -31475,7 +32330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 192, + "line": 194, "character": 8 } ], @@ -31489,13 +32344,13 @@ { "title": "Properties", "kind": 1024, - "children": [671, 672] + "children": [686, 687] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 190, + "line": 192, "character": 12 } ] @@ -31503,7 +32358,7 @@ } }, { - "id": 673, + "id": 688, "name": "error", "kind": 1024, "kindString": "Property", @@ -31511,7 +32366,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 194, + "line": 196, "character": 6 } ], @@ -31525,13 +32380,13 @@ { "title": "Properties", "kind": 1024, - "children": [669, 673] + "children": [684, 688] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 189, + "line": 191, "character": 4 } ] @@ -31540,14 +32395,14 @@ { "type": "reflection", "declaration": { - "id": 674, + "id": 689, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, + "id": 690, "name": "data", "kind": 1024, "kindString": "Property", @@ -31555,21 +32410,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 676, + "id": 691, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 677, + "id": 692, "name": "provider", "kind": 1024, "kindString": "Property", @@ -31577,18 +32432,18 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 198, + "line": 200, "character": 8 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider" } }, { - "id": 678, + "id": 693, "name": "url", "kind": 1024, "kindString": "Property", @@ -31596,7 +32451,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 199, + "line": 201, "character": 8 } ], @@ -31610,13 +32465,13 @@ { "title": "Properties", "kind": 1024, - "children": [677, 678] + "children": [692, 693] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 197, + "line": 199, "character": 12 } ] @@ -31624,7 +32479,7 @@ } }, { - "id": 679, + "id": 694, "name": "error", "kind": 1024, "kindString": "Property", @@ -31632,13 +32487,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 201, + "line": 203, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -31647,13 +32502,13 @@ { "title": "Properties", "kind": 1024, - "children": [675, 679] + "children": [690, 694] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 196, + "line": 198, "character": 4 } ] @@ -31663,7 +32518,7 @@ } }, { - "id": 1146, + "id": 1179, "name": "PageParams", "kind": 4194304, "kindString": "Type alias", @@ -31671,21 +32526,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1147, + "id": 1180, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1148, + "id": 1181, "name": "page", "kind": 1024, "kindString": "Property", @@ -31698,7 +32553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1174, + "line": 1215, "character": 2 } ], @@ -31708,7 +32563,7 @@ } }, { - "id": 1149, + "id": 1182, "name": "perPage", "kind": 1024, "kindString": "Property", @@ -31721,7 +32576,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1176, + "line": 1217, "character": 2 } ], @@ -31735,13 +32590,13 @@ { "title": "Properties", "kind": 1024, - "children": [1148, 1149] + "children": [1181, 1182] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1172, + "line": 1213, "character": 25 } ] @@ -31749,7 +32604,7 @@ } }, { - "id": 1139, + "id": 1172, "name": "Pagination", "kind": 4194304, "kindString": "Type alias", @@ -31757,21 +32612,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1140, + "id": 1173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1142, + "id": 1175, "name": "lastPage", "kind": 1024, "kindString": "Property", @@ -31779,7 +32634,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1168, + "line": 1209, "character": 2 } ], @@ -31789,7 +32644,7 @@ } }, { - "id": 1141, + "id": 1174, "name": "nextPage", "kind": 1024, "kindString": "Property", @@ -31797,7 +32652,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1167, + "line": 1208, "character": 2 } ], @@ -31816,7 +32671,7 @@ } }, { - "id": 1143, + "id": 1176, "name": "total", "kind": 1024, "kindString": "Property", @@ -31824,7 +32679,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1169, + "line": 1210, "character": 2 } ], @@ -31838,25 +32693,25 @@ { "title": "Properties", "kind": 1024, - "children": [1142, 1141, 1143] + "children": [1175, 1174, 1176] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1165, + "line": 1206, "character": 25 } ], "indexSignature": { - "id": 1144, + "id": 1177, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 1145, + "id": 1178, "name": "key", "kind": 32768, "flags": {}, @@ -31875,7 +32730,7 @@ } }, { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -31886,7 +32741,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -31985,7 +32840,7 @@ } }, { - "id": 1196, + "id": 1229, "name": "RequiredClaims", "kind": 4194304, "kindString": "Type alias", @@ -31993,21 +32848,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1197, + "id": 1230, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1204, + "id": 1237, "name": "aal", "kind": 1024, "kindString": "Property", @@ -32015,16 +32870,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1280, + "line": 1321, "character": 2 } ], "type": { "type": "reference", - "id": 1058, + "id": 1091, "name": "AuthenticatorAssuranceLevels", "dereferenced": { - "id": 1058, + "id": 1091, "name": "AuthenticatorAssuranceLevels", "kind": 4194304, "kindString": "Type alias", @@ -32032,7 +32887,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 967, + "line": 1008, "character": 12 } ], @@ -32053,7 +32908,7 @@ } }, { - "id": 1200, + "id": 1233, "name": "aud", "kind": 1024, "kindString": "Property", @@ -32061,7 +32916,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1276, + "line": 1317, "character": 2 } ], @@ -32083,7 +32938,7 @@ } }, { - "id": 1201, + "id": 1234, "name": "exp", "kind": 1024, "kindString": "Property", @@ -32091,7 +32946,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1277, + "line": 1318, "character": 2 } ], @@ -32101,7 +32956,7 @@ } }, { - "id": 1202, + "id": 1235, "name": "iat", "kind": 1024, "kindString": "Property", @@ -32109,7 +32964,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1278, + "line": 1319, "character": 2 } ], @@ -32119,7 +32974,7 @@ } }, { - "id": 1198, + "id": 1231, "name": "iss", "kind": 1024, "kindString": "Property", @@ -32127,7 +32982,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1274, + "line": 1315, "character": 2 } ], @@ -32137,7 +32992,7 @@ } }, { - "id": 1203, + "id": 1236, "name": "role", "kind": 1024, "kindString": "Property", @@ -32145,7 +33000,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1279, + "line": 1320, "character": 2 } ], @@ -32155,7 +33010,7 @@ } }, { - "id": 1205, + "id": 1238, "name": "session_id", "kind": 1024, "kindString": "Property", @@ -32163,7 +33018,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1281, + "line": 1322, "character": 2 } ], @@ -32173,7 +33028,7 @@ } }, { - "id": 1199, + "id": 1232, "name": "sub", "kind": 1024, "kindString": "Property", @@ -32181,7 +33036,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1275, + "line": 1316, "character": 2 } ], @@ -32195,13 +33050,13 @@ { "title": "Properties", "kind": 1024, - "children": [1204, 1200, 1201, 1202, 1198, 1203, 1205, 1199] + "children": [1237, 1233, 1234, 1235, 1231, 1236, 1238, 1232] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1273, + "line": 1314, "character": 29 } ] @@ -32209,7 +33064,7 @@ } }, { - "id": 922, + "id": 955, "name": "ResendParams", "kind": 4194304, "kindString": "Type alias", @@ -32217,7 +33072,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 728, + "line": 769, "character": 12 } ], @@ -32227,14 +33082,14 @@ { "type": "reflection", "declaration": { - "id": 923, + "id": 956, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 925, + "id": 958, "name": "email", "kind": 1024, "kindString": "Property", @@ -32242,7 +33097,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 731, + "line": 772, "character": 6 } ], @@ -32252,7 +33107,7 @@ } }, { - "id": 926, + "id": 959, "name": "options", "kind": 1024, "kindString": "Property", @@ -32262,21 +33117,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 927, + "id": 960, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 929, + "id": 962, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32289,7 +33144,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 736, + "line": 777, "character": 8 } ], @@ -32299,7 +33154,7 @@ } }, { - "id": 928, + "id": 961, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -32312,7 +33167,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 734, + "line": 775, "character": 8 } ], @@ -32326,13 +33181,13 @@ { "title": "Properties", "kind": 1024, - "children": [929, 928] + "children": [962, 961] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 732, + "line": 773, "character": 16 } ] @@ -32340,7 +33195,7 @@ } }, { - "id": 924, + "id": 957, "name": "type", "kind": 1024, "kindString": "Property", @@ -32348,7 +33203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 730, + "line": 771, "character": 6 } ], @@ -32357,7 +33212,7 @@ "typeArguments": [ { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType" }, { @@ -32384,13 +33239,13 @@ { "title": "Properties", "kind": 1024, - "children": [925, 926, 924] + "children": [958, 959, 957] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 729, + "line": 770, "character": 4 } ] @@ -32399,14 +33254,14 @@ { "type": "reflection", "declaration": { - "id": 930, + "id": 963, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 933, + "id": 966, "name": "options", "kind": 1024, "kindString": "Property", @@ -32416,21 +33271,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 934, + "id": 967, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 935, + "id": 968, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32443,7 +33298,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 744, + "line": 785, "character": 8 } ], @@ -32457,13 +33312,13 @@ { "title": "Properties", "kind": 1024, - "children": [935] + "children": [968] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 742, + "line": 783, "character": 16 } ] @@ -32471,7 +33326,7 @@ } }, { - "id": 932, + "id": 965, "name": "phone", "kind": 1024, "kindString": "Property", @@ -32479,7 +33334,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 741, + "line": 782, "character": 6 } ], @@ -32489,7 +33344,7 @@ } }, { - "id": 931, + "id": 964, "name": "type", "kind": 1024, "kindString": "Property", @@ -32497,7 +33352,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 740, + "line": 781, "character": 6 } ], @@ -32506,7 +33361,7 @@ "typeArguments": [ { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType" }, { @@ -32533,13 +33388,13 @@ { "title": "Properties", "kind": 1024, - "children": [933, 932, 931] + "children": [966, 965, 964] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 739, + "line": 780, "character": 4 } ] @@ -32549,7 +33404,7 @@ } }, { - "id": 680, + "id": 695, "name": "SSOResponse", "kind": 4194304, "kindString": "Type alias", @@ -32557,7 +33412,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 204, + "line": 206, "character": 12 } ], @@ -32567,14 +33422,14 @@ { "type": "reflection", "declaration": { - "id": 681, + "id": 696, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 682, + "id": 697, "name": "data", "kind": 1024, "kindString": "Property", @@ -32582,21 +33437,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 683, + "id": 698, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 684, + "id": 699, "name": "url", "kind": 1024, "kindString": "Property", @@ -32608,7 +33463,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 214, + "line": 216, "character": 8 } ], @@ -32622,13 +33477,13 @@ { "title": "Properties", "kind": 1024, - "children": [684] + "children": [699] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 206, + "line": 208, "character": 12 } ] @@ -32636,7 +33491,7 @@ } }, { - "id": 685, + "id": 700, "name": "error", "kind": 1024, "kindString": "Property", @@ -32644,7 +33499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -32658,13 +33513,13 @@ { "title": "Properties", "kind": 1024, - "children": [682, 685] + "children": [697, 700] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 205, + "line": 207, "character": 4 } ] @@ -32673,14 +33528,14 @@ { "type": "reflection", "declaration": { - "id": 686, + "id": 701, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 687, + "id": 702, "name": "data", "kind": 1024, "kindString": "Property", @@ -32688,7 +33543,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 219, + "line": 221, "character": 6 } ], @@ -32698,7 +33553,7 @@ } }, { - "id": 688, + "id": 703, "name": "error", "kind": 1024, "kindString": "Property", @@ -32706,13 +33561,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 220, + "line": 222, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -32721,13 +33576,13 @@ { "title": "Properties", "kind": 1024, - "children": [687, 688] + "children": [702, 703] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 218, + "line": 220, "character": 4 } ] @@ -32737,7 +33592,7 @@ } }, { - "id": 793, + "id": 808, "name": "SignInAnonymouslyCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32745,21 +33600,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 794, + "id": 809, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 795, + "id": 810, "name": "options", "kind": 1024, "kindString": "Property", @@ -32769,21 +33624,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 796, + "id": 811, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 798, + "id": 813, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32796,7 +33651,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 497, + "line": 499, "character": 4 } ], @@ -32806,7 +33661,7 @@ } }, { - "id": 797, + "id": 812, "name": "data", "kind": 1024, "kindString": "Property", @@ -32820,7 +33675,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 495, + "line": 497, "character": 4 } ], @@ -32834,13 +33689,13 @@ { "title": "Properties", "kind": 1024, - "children": [798, 797] + "children": [813, 812] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 489, + "line": 491, "character": 12 } ] @@ -32852,13 +33707,13 @@ { "title": "Properties", "kind": 1024, - "children": [795] + "children": [810] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 488, + "line": 490, "character": 43 } ] @@ -32866,7 +33721,7 @@ } }, { - "id": 859, + "id": 874, "name": "SignInWithIdTokenCredentials", "kind": 4194304, "kindString": "Type alias", @@ -32874,21 +33729,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 860, + "id": 875, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 864, + "id": 879, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -32898,29 +33753,6 @@ "comment": { "shortText": "If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 621, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 865, - "name": "nonce", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -32934,7 +33766,30 @@ } }, { - "id": 866, + "id": 880, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If the ID token contains a `nonce` claim, then the hash of this value is compared to the value in the ID token." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 625, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 881, "name": "options", "kind": 1024, "kindString": "Property", @@ -32944,21 +33799,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 867, + "id": 882, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 868, + "id": 883, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -32971,7 +33826,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 626, + "line": 628, "character": 4 } ], @@ -32985,13 +33840,13 @@ { "title": "Properties", "kind": 1024, - "children": [868] + "children": [883] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 624, + "line": 626, "character": 12 } ] @@ -32999,7 +33854,7 @@ } }, { - "id": 861, + "id": 876, "name": "provider", "kind": 1024, "kindString": "Property", @@ -33010,7 +33865,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 2 } ], @@ -33047,7 +33902,7 @@ { "type": "reflection", "declaration": { - "id": 862, + "id": 877, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33055,7 +33910,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 617, + "line": 619, "character": 76 } ] @@ -33067,7 +33922,7 @@ } }, { - "id": 863, + "id": 878, "name": "token", "kind": 1024, "kindString": "Property", @@ -33078,7 +33933,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 619, + "line": 621, "character": 2 } ], @@ -33092,13 +33947,13 @@ { "title": "Properties", "kind": 1024, - "children": [864, 865, 866, 861, 863] + "children": [879, 880, 881, 876, 878] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 615, + "line": 617, "character": 43 } ] @@ -33106,7 +33961,7 @@ } }, { - "id": 847, + "id": 862, "name": "SignInWithOAuthCredentials", "kind": 4194304, "kindString": "Type alias", @@ -33114,21 +33969,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 848, + "id": 863, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 850, + "id": 865, "name": "options", "kind": 1024, "kindString": "Property", @@ -33138,21 +33993,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 851, + "id": 866, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 854, + "id": 869, "name": "queryParams", "kind": 1024, "kindString": "Property", @@ -33165,14 +34020,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 855, + "id": 870, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33180,19 +34035,19 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 609, + "line": 611, "character": 18 } ], "indexSignature": { - "id": 856, + "id": 871, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 857, + "id": 872, "name": "key", "kind": 32768, "flags": {}, @@ -33211,7 +34066,7 @@ } }, { - "id": 852, + "id": 867, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -33221,29 +34076,6 @@ "comment": { "shortText": "A URL to send the user to after they are confirmed." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 605, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 853, - "name": "scopes", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "A space-separated list of scopes granted to the OAuth application." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -33257,7 +34089,30 @@ } }, { - "id": 858, + "id": 868, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A space-separated list of scopes granted to the OAuth application." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 609, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 873, "name": "skipBrowserRedirect", "kind": 1024, "kindString": "Property", @@ -33270,7 +34125,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 611, + "line": 613, "character": 4 } ], @@ -33284,13 +34139,13 @@ { "title": "Properties", "kind": 1024, - "children": [854, 852, 853, 858] + "children": [869, 867, 868, 873] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 603, + "line": 605, "character": 12 } ] @@ -33298,7 +34153,7 @@ } }, { - "id": 849, + "id": 864, "name": "provider", "kind": 1024, "kindString": "Property", @@ -33309,16 +34164,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 602, + "line": 604, "character": 2 } ], "type": { "type": "reference", - "id": 557, + "id": 572, "name": "Provider", "dereferenced": { - "id": 557, + "id": 572, "name": "Provider", "kind": 4194304, "kindString": "Type alias", @@ -33329,7 +34184,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 8, "character": 12 } ], @@ -33434,13 +34289,13 @@ { "title": "Properties", "kind": 1024, - "children": [850, 849] + "children": [865, 864] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 600, + "line": 602, "character": 41 } ] @@ -33448,7 +34303,7 @@ } }, { - "id": 816, + "id": 831, "name": "SignInWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -33456,7 +34311,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 539, + "line": 541, "character": 12 } ], @@ -33466,14 +34321,14 @@ { "type": "reflection", "declaration": { - "id": 817, + "id": 832, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 818, + "id": 833, "name": "email", "kind": 1024, "kindString": "Property", @@ -33481,92 +34336,6 @@ "comment": { "shortText": "The user's email address." }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 542, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 820, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 821, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 822, - "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": 547, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [822] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 545, - "character": 16 - } - ] - } - } - }, - { - "id": 819, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, "sources": [ { "fileName": "src/lib/types.ts", @@ -33578,35 +34347,9 @@ "type": "intrinsic", "name": "string" } - } - ], - "groups": [ + }, { - "title": "Properties", - "kind": 1024, - "children": [818, 820, 819] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 540, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 823, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 826, + "id": 835, "name": "options", "kind": 1024, "kindString": "Property", @@ -33616,187 +34359,14 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 555, + "line": 547, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 827, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 828, - "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": 557, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [828] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 555, - "character": 16 - } - ] - } - } - }, - { - "id": 825, - "name": "password", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's password." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 554, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 824, - "name": "phone", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's phone number." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 552, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [826, 825, 824] - } - ], - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 550, - "character": 4 - } - ] - } - } - ] - } - }, - { - "id": 829, - "name": "SignInWithPasswordlessCredentials", - "kind": 4194304, - "kindString": "Type alias", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 561, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 830, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 831, - "name": "email", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "comment": { - "shortText": "The user's email address." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 564, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 832, - "name": "options", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 565, - "character": 6 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 833, + "id": 836, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -33816,7 +34386,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 577, + "line": 549, "character": 8 } ], @@ -33824,107 +34394,58 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 836, - "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.raw_user_meta_data` 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": 575, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "object" - } - }, - { - "id": 834, - "name": "emailRedirectTo", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "The redirect url embedded in the email link" - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 567, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 835, - "name": "shouldCreateUser", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If set to false, this method will not create a new user. Defaults to true." - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 569, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [837, 836, 834, 835] + "children": [837] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 565, + "line": 547, "character": 16 } ] } } + }, + { + "id": 834, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 546, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [831, 832] + "children": [833, 835, 834] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 562, + "line": 542, "character": 4 } ] @@ -33940,7 +34461,7 @@ "flags": {}, "children": [ { - "id": 840, + "id": 841, "name": "options", "kind": 1024, "kindString": "Property", @@ -33950,21 +34471,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 557, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 841, + "id": 842, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 844, + "id": 843, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -33977,7 +34498,180 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 593, + "line": 559, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [843] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 557, + "character": 16 + } + ] + } + } + }, + { + "id": 840, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's password." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 556, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's phone number." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 554, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [841, 840, 839] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 552, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 844, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 563, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 845, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 846, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "The user's email address." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 566, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 847, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 848, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 852, + "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": 579, "character": 8 } ], @@ -33987,7 +34681,168 @@ } }, { - "id": 845, + "id": 851, + "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.raw_user_meta_data` 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": 577, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 849, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The redirect url embedded in the email link" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 569, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 850, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If set to false, this method will not create a new user. Defaults to true." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 571, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [852, 851, 849, 850] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 567, + "character": 16 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [846, 847] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 564, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 853, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 855, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 585, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 856, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 859, + "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": 595, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 860, "name": "channel", "kind": 1024, "kindString": "Property", @@ -34000,7 +34855,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 595, + "line": 597, "character": 8 } ], @@ -34019,7 +34874,7 @@ } }, { - "id": 843, + "id": 858, "name": "data", "kind": 1024, "kindString": "Property", @@ -34033,7 +34888,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 591, + "line": 593, "character": 8 } ], @@ -34043,7 +34898,7 @@ } }, { - "id": 842, + "id": 857, "name": "shouldCreateUser", "kind": 1024, "kindString": "Property", @@ -34056,7 +34911,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 585, + "line": 587, "character": 8 } ], @@ -34070,13 +34925,13 @@ { "title": "Properties", "kind": 1024, - "children": [844, 845, 843, 842] + "children": [859, 860, 858, 857] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 583, + "line": 585, "character": 16 } ] @@ -34084,7 +34939,7 @@ } }, { - "id": 839, + "id": 854, "name": "phone", "kind": 1024, "kindString": "Property", @@ -34095,7 +34950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 582, + "line": 584, "character": 6 } ], @@ -34109,13 +34964,13 @@ { "title": "Properties", "kind": 1024, - "children": [840, 839] + "children": [855, 854] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 580, + "line": 582, "character": 4 } ] @@ -34125,7 +34980,7 @@ } }, { - "id": 936, + "id": 969, "name": "SignInWithSSO", "kind": 4194304, "kindString": "Type alias", @@ -34133,7 +34988,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 748, + "line": 789, "character": 12 } ], @@ -34143,14 +34998,14 @@ { "type": "reflection", "declaration": { - "id": 937, + "id": 970, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 939, + "id": 972, "name": "options", "kind": 1024, "kindString": "Property", @@ -34160,21 +35015,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 940, + "id": 973, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 942, + "id": 975, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34187,7 +35042,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 757, + "line": 798, "character": 8 } ], @@ -34197,7 +35052,7 @@ } }, { - "id": 941, + "id": 974, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -34210,7 +35065,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 755, + "line": 796, "character": 8 } ], @@ -34224,13 +35079,13 @@ { "title": "Properties", "kind": 1024, - "children": [942, 941] + "children": [975, 974] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 753, + "line": 794, "character": 16 } ] @@ -34238,7 +35093,7 @@ } }, { - "id": 938, + "id": 971, "name": "providerId", "kind": 1024, "kindString": "Property", @@ -34249,7 +35104,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 751, + "line": 792, "character": 6 } ], @@ -34263,13 +35118,13 @@ { "title": "Properties", "kind": 1024, - "children": [939, 938] + "children": [972, 971] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 749, + "line": 790, "character": 4 } ] @@ -34278,14 +35133,14 @@ { "type": "reflection", "declaration": { - "id": 943, + "id": 976, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 944, + "id": 977, "name": "domain", "kind": 1024, "kindString": "Property", @@ -34296,7 +35151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 762, + "line": 803, "character": 6 } ], @@ -34306,7 +35161,7 @@ } }, { - "id": 945, + "id": 978, "name": "options", "kind": 1024, "kindString": "Property", @@ -34316,21 +35171,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 946, + "id": 979, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 948, + "id": 981, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34343,7 +35198,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 768, + "line": 809, "character": 8 } ], @@ -34353,7 +35208,7 @@ } }, { - "id": 947, + "id": 980, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -34366,7 +35221,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 766, + "line": 807, "character": 8 } ], @@ -34380,13 +35235,13 @@ { "title": "Properties", "kind": 1024, - "children": [948, 947] + "children": [981, 980] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 764, + "line": 805, "character": 16 } ] @@ -34398,13 +35253,13 @@ { "title": "Properties", "kind": 1024, - "children": [944, 945] + "children": [977, 978] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 760, + "line": 801, "character": 4 } ] @@ -34414,7 +35269,7 @@ } }, { - "id": 1150, + "id": 1183, "name": "SignOut", "kind": 4194304, "kindString": "Type alias", @@ -34422,21 +35277,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 1151, + "id": 1184, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1152, + "id": 1185, "name": "scope", "kind": 1024, "kindString": "Property", @@ -34449,7 +35304,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1190, + "line": 1231, "character": 2 } ], @@ -34476,13 +35331,13 @@ { "title": "Properties", "kind": 1024, - "children": [1152] + "children": [1185] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1179, + "line": 1220, "character": 22 } ] @@ -34490,7 +35345,7 @@ } }, { - "id": 1218, + "id": 1251, "name": "SignOutScope", "kind": 4194304, "kindString": "Type alias", @@ -34498,7 +35353,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1297, + "line": 1338, "character": 12 } ], @@ -34512,14 +35367,14 @@ "type": "query", "queryType": { "type": "reference", - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES" } } } }, { - "id": 799, + "id": 814, "name": "SignUpWithPasswordCredentials", "kind": 4194304, "kindString": "Type alias", @@ -34527,7 +35382,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 501, + "line": 503, "character": 12 } ], @@ -34537,14 +35392,14 @@ { "type": "reflection", "declaration": { - "id": 800, + "id": 815, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 801, + "id": 816, "name": "email", "kind": 1024, "kindString": "Property", @@ -34555,7 +35410,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 504, + "line": 506, "character": 6 } ], @@ -34565,7 +35420,7 @@ } }, { - "id": 803, + "id": 818, "name": "options", "kind": 1024, "kindString": "Property", @@ -34575,21 +35430,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 804, + "id": 819, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 807, + "id": 822, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34602,7 +35457,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 517, + "line": 519, "character": 8 } ], @@ -34612,7 +35467,7 @@ } }, { - "id": 806, + "id": 821, "name": "data", "kind": 1024, "kindString": "Property", @@ -34626,7 +35481,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 515, + "line": 517, "character": 8 } ], @@ -34636,7 +35491,7 @@ } }, { - "id": 805, + "id": 820, "name": "emailRedirectTo", "kind": 1024, "kindString": "Property", @@ -34649,7 +35504,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 509, + "line": 511, "character": 8 } ], @@ -34663,13 +35518,13 @@ { "title": "Properties", "kind": 1024, - "children": [807, 806, 805] + "children": [822, 821, 820] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 507, + "line": 509, "character": 16 } ] @@ -34677,7 +35532,7 @@ } }, { - "id": 802, + "id": 817, "name": "password", "kind": 1024, "kindString": "Property", @@ -34688,7 +35543,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 506, + "line": 508, "character": 6 } ], @@ -34702,13 +35557,13 @@ { "title": "Properties", "kind": 1024, - "children": [801, 803, 802] + "children": [816, 818, 817] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 502, + "line": 504, "character": 4 } ] @@ -34717,14 +35572,14 @@ { "type": "reflection", "declaration": { - "id": 808, + "id": 823, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 811, + "id": 826, "name": "options", "kind": 1024, "kindString": "Property", @@ -34734,21 +35589,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 812, + "id": 827, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 814, + "id": 829, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -34761,7 +35616,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 533, + "line": 535, "character": 8 } ], @@ -34771,7 +35626,7 @@ } }, { - "id": 815, + "id": 830, "name": "channel", "kind": 1024, "kindString": "Property", @@ -34784,7 +35639,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 535, + "line": 537, "character": 8 } ], @@ -34803,7 +35658,7 @@ } }, { - "id": 813, + "id": 828, "name": "data", "kind": 1024, "kindString": "Property", @@ -34817,7 +35672,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 531, + "line": 533, "character": 8 } ], @@ -34831,13 +35686,13 @@ { "title": "Properties", "kind": 1024, - "children": [814, 815, 813] + "children": [829, 830, 828] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 525, + "line": 527, "character": 16 } ] @@ -34845,7 +35700,7 @@ } }, { - "id": 810, + "id": 825, "name": "password", "kind": 1024, "kindString": "Property", @@ -34856,7 +35711,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 524, + "line": 526, "character": 6 } ], @@ -34866,7 +35721,7 @@ } }, { - "id": 809, + "id": 824, "name": "phone", "kind": 1024, "kindString": "Property", @@ -34877,7 +35732,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 522, + "line": 524, "character": 6 } ], @@ -34891,13 +35746,13 @@ { "title": "Properties", "kind": 1024, - "children": [811, 810, 809] + "children": [826, 825, 824] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 520, + "line": 522, "character": 4 } ] @@ -34907,7 +35762,7 @@ } }, { - "id": 869, + "id": 884, "name": "SolanaWallet", "kind": 4194304, "kindString": "Type alias", @@ -34915,21 +35770,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 870, + "id": 885, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 874, + "id": 889, "name": "publicKey", "kind": 1024, "kindString": "Property", @@ -34939,7 +35794,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 2 } ], @@ -34949,14 +35804,14 @@ { "type": "reflection", "declaration": { - "id": 875, + "id": 890, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 876, + "id": 891, "name": "toBase58", "kind": 2048, "kindString": "Method", @@ -34964,13 +35819,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 633, + "line": 635, "character": 4 } ], "signatures": [ { - "id": 877, + "id": 892, "name": "toBase58", "kind": 4096, "kindString": "Call signature", @@ -34987,13 +35842,13 @@ { "title": "Methods", "kind": 2048, - "children": [876] + "children": [891] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 632, + "line": 634, "character": 14 } ] @@ -35007,7 +35862,7 @@ } }, { - "id": 871, + "id": 886, "name": "signIn", "kind": 2048, "kindString": "Method", @@ -35017,20 +35872,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 631, + "line": 633, "character": 2 } ], "signatures": [ { - "id": 872, + "id": 887, "name": "signIn", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 873, + "id": 888, "name": "inputs", "kind": 32768, "kindString": "Parameter", @@ -35074,7 +35929,7 @@ ] }, { - "id": 878, + "id": 893, "name": "signMessage", "kind": 2048, "kindString": "Method", @@ -35084,20 +35939,20 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 636, + "line": 638, "character": 2 } ], "signatures": [ { - "id": 879, + "id": 894, "name": "signMessage", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 880, + "id": 895, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -35110,7 +35965,7 @@ } }, { - "id": 881, + "id": 896, "name": "encoding", "kind": 32768, "kindString": "Parameter", @@ -35154,18 +36009,18 @@ { "title": "Properties", "kind": 1024, - "children": [874] + "children": [889] }, { "title": "Methods", "kind": 2048, - "children": [871, 878] + "children": [886, 893] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 630, + "line": 632, "character": 27 } ] @@ -35173,7 +36028,7 @@ } }, { - "id": 882, + "id": 897, "name": "SolanaWeb3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -35181,7 +36036,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 639, + "line": 641, "character": 12 } ], @@ -35191,14 +36046,14 @@ { "type": "reflection", "declaration": { - "id": 883, + "id": 898, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 884, + "id": 899, "name": "chain", "kind": 1024, "kindString": "Property", @@ -35206,7 +36061,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 641, + "line": 643, "character": 6 } ], @@ -35216,7 +36071,7 @@ } }, { - "id": 887, + "id": 902, "name": "options", "kind": 1024, "kindString": "Property", @@ -35226,21 +36081,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 888, + "id": 903, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 890, + "id": 905, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -35253,7 +36108,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 654, + "line": 656, "character": 8 } ], @@ -35263,7 +36118,7 @@ } }, { - "id": 891, + "id": 906, "name": "signInWithSolana", "kind": 1024, "kindString": "Property", @@ -35273,7 +36128,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 656, + "line": 658, "character": 8 } ], @@ -35324,7 +36179,7 @@ } }, { - "id": 889, + "id": 904, "name": "url", "kind": 1024, "kindString": "Property", @@ -35337,7 +36192,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 651, + "line": 653, "character": 8 } ], @@ -35351,13 +36206,13 @@ { "title": "Properties", "kind": 1024, - "children": [890, 891, 889] + "children": [905, 906, 904] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 649, + "line": 651, "character": 16 } ] @@ -35365,7 +36220,7 @@ } }, { - "id": 886, + "id": 901, "name": "statement", "kind": 1024, "kindString": "Property", @@ -35378,7 +36233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 647, + "line": 649, "character": 6 } ], @@ -35388,7 +36243,7 @@ } }, { - "id": 885, + "id": 900, "name": "wallet", "kind": 1024, "kindString": "Property", @@ -35401,13 +36256,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 644, + "line": 646, "character": 6 } ], "type": { "type": "reference", - "id": 869, + "id": 884, "name": "SolanaWallet" } } @@ -35416,13 +36271,13 @@ { "title": "Properties", "kind": 1024, - "children": [884, 887, 886, 885] + "children": [899, 902, 901, 900] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 640, + "line": 642, "character": 4 } ] @@ -35431,14 +36286,14 @@ { "type": "reflection", "declaration": { - "id": 892, + "id": 907, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 893, + "id": 908, "name": "chain", "kind": 1024, "kindString": "Property", @@ -35446,7 +36301,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 662, + "line": 664, "character": 6 } ], @@ -35456,7 +36311,7 @@ } }, { - "id": 894, + "id": 909, "name": "message", "kind": 1024, "kindString": "Property", @@ -35467,7 +36322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 665, + "line": 667, "character": 6 } ], @@ -35477,7 +36332,7 @@ } }, { - "id": 896, + "id": 911, "name": "options", "kind": 1024, "kindString": "Property", @@ -35487,21 +36342,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 897, + "id": 912, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 898, + "id": 913, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -35514,7 +36369,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 672, + "line": 674, "character": 8 } ], @@ -35528,13 +36383,13 @@ { "title": "Properties", "kind": 1024, - "children": [898] + "children": [913] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 670, + "line": 672, "character": 16 } ] @@ -35542,7 +36397,7 @@ } }, { - "id": 895, + "id": 910, "name": "signature", "kind": 1024, "kindString": "Property", @@ -35553,7 +36408,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 668, + "line": 670, "character": 6 } ], @@ -35569,13 +36424,13 @@ { "title": "Properties", "kind": 1024, - "children": [893, 894, 896, 895] + "children": [908, 909, 911, 910] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 661, + "line": 663, "character": 4 } ] @@ -35585,7 +36440,7 @@ } }, { - "id": 1126, + "id": 1159, "name": "SupportedStorage", "kind": 4194304, "kindString": "Type alias", @@ -35593,7 +36448,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1140, + "line": 1181, "character": 12 } ], @@ -35640,14 +36495,14 @@ { "type": "reflection", "declaration": { - "id": 1127, + "id": 1160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 1128, + "id": 1161, "name": "isServer", "kind": 1024, "kindString": "Property", @@ -35660,7 +36515,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1150, + "line": 1191, "character": 2 } ], @@ -35674,13 +36529,13 @@ { "title": "Properties", "kind": 1024, - "children": [1128] + "children": [1161] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1142, + "line": 1183, "character": 4 } ] @@ -35690,7 +36545,7 @@ } }, { - "id": 689, + "id": 704, "name": "UserResponse", "kind": 4194304, "kindString": "Type alias", @@ -35698,7 +36553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 223, + "line": 225, "character": 12 } ], @@ -35708,14 +36563,14 @@ { "type": "reflection", "declaration": { - "id": 690, + "id": 705, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 691, + "id": 706, "name": "data", "kind": 1024, "kindString": "Property", @@ -35723,21 +36578,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 692, + "id": 707, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 693, + "id": 708, "name": "user", "kind": 1024, "kindString": "Property", @@ -35745,13 +36600,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 226, + "line": 228, "character": 8 } ], "type": { "type": "reference", - "id": 740, + "id": 755, "name": "User" } } @@ -35760,13 +36615,13 @@ { "title": "Properties", "kind": 1024, - "children": [693] + "children": [708] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 225, + "line": 227, "character": 12 } ] @@ -35774,7 +36629,7 @@ } }, { - "id": 694, + "id": 709, "name": "error", "kind": 1024, "kindString": "Property", @@ -35782,7 +36637,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 228, + "line": 230, "character": 6 } ], @@ -35796,13 +36651,13 @@ { "title": "Properties", "kind": 1024, - "children": [691, 694] + "children": [706, 709] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 224, + "line": 226, "character": 4 } ] @@ -35811,14 +36666,14 @@ { "type": "reflection", "declaration": { - "id": 695, + "id": 710, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 696, + "id": 711, "name": "data", "kind": 1024, "kindString": "Property", @@ -35826,21 +36681,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 6 } ], "type": { "type": "reflection", "declaration": { - "id": 697, + "id": 712, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 698, + "id": 713, "name": "user", "kind": 1024, "kindString": "Property", @@ -35848,7 +36703,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 232, + "line": 234, "character": 8 } ], @@ -35862,13 +36717,13 @@ { "title": "Properties", "kind": 1024, - "children": [698] + "children": [713] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 231, + "line": 233, "character": 12 } ] @@ -35876,7 +36731,7 @@ } }, { - "id": 699, + "id": 714, "name": "error", "kind": 1024, "kindString": "Property", @@ -35884,13 +36739,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 234, + "line": 236, "character": 6 } ], "type": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -35899,13 +36754,13 @@ { "title": "Properties", "kind": 1024, - "children": [696, 699] + "children": [711, 714] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 230, + "line": 232, "character": 4 } ] @@ -35915,7 +36770,7 @@ } }, { - "id": 900, + "id": 933, "name": "VerifyOtpParams", "kind": 4194304, "kindString": "Type alias", @@ -35923,7 +36778,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 678, + "line": 719, "character": 12 } ], @@ -35931,14 +36786,14 @@ "type": "union", "types": [ { - "id": 901, + "id": 934, "name": "VerifyMobileOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 905, + "id": 938, "name": "options", "kind": 1024, "kindString": "Property", @@ -35948,21 +36803,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 686, + "line": 727, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 906, + "id": 939, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 908, + "id": 941, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -35981,7 +36836,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 695, + "line": 736, "character": 4 } ], @@ -35991,7 +36846,7 @@ } }, { - "id": 907, + "id": 940, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -36004,7 +36859,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 688, + "line": 729, "character": 4 } ], @@ -36018,14 +36873,14 @@ { "title": "Properties", "kind": 1024, - "children": [908, 907] + "children": [941, 940] } ] } } }, { - "id": 902, + "id": 935, "name": "phone", "kind": 1024, "kindString": "Property", @@ -36036,7 +36891,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 681, + "line": 722, "character": 2 } ], @@ -36046,7 +36901,7 @@ } }, { - "id": 903, + "id": 936, "name": "token", "kind": 1024, "kindString": "Property", @@ -36057,7 +36912,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 683, + "line": 724, "character": 2 } ], @@ -36067,7 +36922,7 @@ } }, { - "id": 904, + "id": 937, "name": "type", "kind": 1024, "kindString": "Property", @@ -36078,16 +36933,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 685, + "line": 726, "character": 2 } ], "type": { "type": "reference", - "id": 920, + "id": 953, "name": "MobileOtpType", "dereferenced": { - "id": 920, + "id": 953, "name": "MobileOtpType", "kind": 4194304, "kindString": "Type alias", @@ -36095,7 +36950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 725, + "line": 766, "character": 12 } ], @@ -36120,26 +36975,26 @@ { "title": "Properties", "kind": 1024, - "children": [905, 902, 903, 904] + "children": [938, 935, 936, 937] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 679, + "line": 720, "character": 17 } ] }, { - "id": 909, + "id": 942, "name": "VerifyEmailOtpParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 910, + "id": 943, "name": "email", "kind": 1024, "kindString": "Property", @@ -36150,7 +37005,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 700, + "line": 741, "character": 2 } ], @@ -36160,7 +37015,7 @@ } }, { - "id": 913, + "id": 946, "name": "options", "kind": 1024, "kindString": "Property", @@ -36170,21 +37025,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 705, + "line": 746, "character": 2 } ], "type": { "type": "reflection", "declaration": { - "id": 914, + "id": 947, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 916, + "id": 949, "name": "captchaToken", "kind": 1024, "kindString": "Property", @@ -36203,7 +37058,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 713, + "line": 754, "character": 4 } ], @@ -36213,7 +37068,7 @@ } }, { - "id": 915, + "id": 948, "name": "redirectTo", "kind": 1024, "kindString": "Property", @@ -36226,7 +37081,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 707, + "line": 748, "character": 4 } ], @@ -36240,14 +37095,14 @@ { "title": "Properties", "kind": 1024, - "children": [916, 915] + "children": [949, 948] } ] } } }, { - "id": 911, + "id": 944, "name": "token", "kind": 1024, "kindString": "Property", @@ -36258,7 +37113,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 702, + "line": 743, "character": 2 } ], @@ -36268,7 +37123,7 @@ } }, { - "id": 912, + "id": 945, "name": "type", "kind": 1024, "kindString": "Property", @@ -36279,16 +37134,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 704, + "line": 745, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -36296,7 +37151,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -36337,26 +37192,26 @@ { "title": "Properties", "kind": 1024, - "children": [910, 913, 911, 912] + "children": [943, 946, 944, 945] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 698, + "line": 739, "character": 17 } ] }, { - "id": 917, + "id": 950, "name": "VerifyTokenHashParams", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 918, + "id": 951, "name": "token_hash", "kind": 1024, "kindString": "Property", @@ -36367,7 +37222,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 719, + "line": 760, "character": 2 } ], @@ -36377,7 +37232,7 @@ } }, { - "id": 919, + "id": 952, "name": "type", "kind": 1024, "kindString": "Property", @@ -36388,16 +37243,16 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 722, + "line": 763, "character": 2 } ], "type": { "type": "reference", - "id": 921, + "id": 954, "name": "EmailOtpType", "dereferenced": { - "id": 921, + "id": 954, "name": "EmailOtpType", "kind": 4194304, "kindString": "Type alias", @@ -36405,7 +37260,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 726, + "line": 767, "character": 12 } ], @@ -36446,13 +37301,13 @@ { "title": "Properties", "kind": 1024, - "children": [918, 919] + "children": [951, 952] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 717, + "line": 758, "character": 17 } ] @@ -36461,7 +37316,7 @@ } }, { - "id": 593, + "id": 608, "name": "WeakPassword", "kind": 4194304, "kindString": "Type alias", @@ -36469,21 +37324,21 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 594, + "id": 609, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 596, + "id": 611, "name": "message", "kind": 1024, "kindString": "Property", @@ -36491,7 +37346,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 103, + "line": 105, "character": 2 } ], @@ -36501,7 +37356,7 @@ } }, { - "id": 595, + "id": 610, "name": "reasons", "kind": 1024, "kindString": "Property", @@ -36509,7 +37364,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 102, + "line": 104, "character": 2 } ], @@ -36517,7 +37372,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 591, + "id": 606, "name": "WeakPasswordReasons" } } @@ -36527,13 +37382,13 @@ { "title": "Properties", "kind": 1024, - "children": [596, 595] + "children": [611, 610] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 101, + "line": 103, "character": 27 } ] @@ -36541,7 +37396,7 @@ } }, { - "id": 591, + "id": 606, "name": "WeakPasswordReasons", "kind": 4194304, "kindString": "Type alias", @@ -36549,7 +37404,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 12 } ], @@ -36578,7 +37433,7 @@ { "type": "reflection", "declaration": { - "id": 592, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -36586,7 +37441,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 102, "character": 80 } ] @@ -36598,7 +37453,7 @@ } }, { - "id": 899, + "id": 932, "name": "Web3Credentials", "kind": 4194304, "kindString": "Type alias", @@ -36606,18 +37461,836 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 676, + "line": 717, "character": 12 } ], "type": { - "type": "reference", - "id": 882, - "name": "SolanaWeb3Credentials" + "type": "union", + "types": [ + { + "id": 897, + "name": "SolanaWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 641, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 898, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 899, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 643, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 902, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 903, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 905, + "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": 656, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 906, + "name": "signInWithSolana", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 658, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "SolanaSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "chain" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 904, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 653, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [905, 906, 904] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 651, + "character": 16 + } + ] + } + } + }, + { + "id": 901, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 649, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 900, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 646, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 884, + "name": "SolanaWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [899, 902, 901, 900] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 642, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 907, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 908, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 664, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "solana" + } + }, + { + "id": 909, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Solana compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 667, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 911, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 912, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 913, + "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": 674, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [913] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 672, + "character": 16 + } + ] + } + } + }, + { + "id": 910, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 670, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Uint8Array", + "package": "typescript", + "name": "Uint8Array" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [908, 909, 911, 910] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 663, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 915, + "name": "EthereumWeb3Credentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 680, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 916, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 917, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 682, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 920, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 921, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 923, + "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": 695, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "name": "signInWithEthereum", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 697, + "character": 8 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "EthereumSignInInput" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "version" + }, + { + "type": "literal", + "value": "domain" + }, + { + "type": "literal", + "value": "uri" + }, + { + "type": "literal", + "value": "statement" + } + ] + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + } + ], + "qualifiedName": "Partial", + "package": "typescript", + "name": "Partial" + } + }, + { + "id": 922, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "URL to use with the wallet interface. Some wallets do not allow signing a message for URLs different from the current page." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 692, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [923, 924, 922] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 690, + "character": 16 + } + ] + } + } + }, + { + "id": 919, + "name": "statement", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!**" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 688, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 918, + "name": "wallet", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Wallet interface to use. If not specified will default to `window.solana`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 685, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 914, + "name": "EthereumWallet" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [917, 920, 919, 918] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 681, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 925, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 926, + "name": "chain", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 703, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "ethereum" + } + }, + { + "id": 927, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 706, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 929, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 931, + "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": 713, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [931] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 711, + "character": 16 + } + ] + } + } + }, + { + "id": 928, + "name": "signature", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "shortText": "Ed25519 signature of the message." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 709, + "character": 6 + } + ], + "type": { + "type": "reference", + "name": "Hex" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [926, 927, 929, 928] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 702, + "character": 4 + } + ] + } + } + ] + } + } + ] } }, { - "id": 531, + "id": 546, "name": "AuthAdminApi", "kind": 32, "kindString": "Variable", @@ -36642,7 +38315,7 @@ "defaultValue": "GoTrueAdminApi" }, { - "id": 532, + "id": 547, "name": "AuthClient", "kind": 32, "kindString": "Variable", @@ -36667,7 +38340,7 @@ "defaultValue": "GoTrueClient" }, { - "id": 1217, + "id": 1250, "name": "SIGN_OUT_SCOPES", "kind": 32, "kindString": "Variable", @@ -36677,7 +38350,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 1296, + "line": 1337, "character": 13 } ], @@ -36705,7 +38378,7 @@ "defaultValue": "..." }, { - "id": 546, + "id": 561, "name": "lockInternals", "kind": 32, "kindString": "Variable", @@ -36730,14 +38403,14 @@ "type": { "type": "reflection", "declaration": { - "id": 547, + "id": 562, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 548, + "id": 563, "name": "debug", "kind": 1024, "kindString": "Property", @@ -36768,7 +38441,7 @@ { "title": "Properties", "kind": 1024, - "children": [548] + "children": [563] } ] } @@ -36776,7 +38449,7 @@ "defaultValue": "..." }, { - "id": 1222, + "id": 1255, "name": "isAuthApiError", "kind": 64, "kindString": "Function", @@ -36790,14 +38463,14 @@ ], "signatures": [ { - "id": 1223, + "id": 1256, "name": "isAuthApiError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1224, + "id": 1257, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -36814,7 +38487,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1247, + "id": 1280, "name": "AuthApiError" } } @@ -36822,7 +38495,7 @@ ] }, { - "id": 1219, + "id": 1252, "name": "isAuthError", "kind": 64, "kindString": "Function", @@ -36836,14 +38509,14 @@ ], "signatures": [ { - "id": 1220, + "id": 1253, "name": "isAuthError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1221, + "id": 1254, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -36860,7 +38533,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1237, + "id": 1270, "name": "AuthError" } } @@ -36868,7 +38541,7 @@ ] }, { - "id": 1228, + "id": 1261, "name": "isAuthImplicitGrantRedirectError", "kind": 64, "kindString": "Function", @@ -36882,14 +38555,14 @@ ], "signatures": [ { - "id": 1229, + "id": 1262, "name": "isAuthImplicitGrantRedirectError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1230, + "id": 1263, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -36906,7 +38579,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1304, + "id": 1337, "name": "AuthImplicitGrantRedirectError" } } @@ -36914,7 +38587,7 @@ ] }, { - "id": 1231, + "id": 1264, "name": "isAuthRetryableFetchError", "kind": 64, "kindString": "Function", @@ -36928,14 +38601,14 @@ ], "signatures": [ { - "id": 1232, + "id": 1265, "name": "isAuthRetryableFetchError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1233, + "id": 1266, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -36952,7 +38625,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1358, + "id": 1391, "name": "AuthRetryableFetchError" } } @@ -36960,7 +38633,7 @@ ] }, { - "id": 1225, + "id": 1258, "name": "isAuthSessionMissingError", "kind": 64, "kindString": "Function", @@ -36974,14 +38647,14 @@ ], "signatures": [ { - "id": 1226, + "id": 1259, "name": "isAuthSessionMissingError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1227, + "id": 1260, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -36998,7 +38671,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1279, + "id": 1312, "name": "AuthSessionMissingError" } } @@ -37006,7 +38679,7 @@ ] }, { - "id": 1234, + "id": 1267, "name": "isAuthWeakPasswordError", "kind": 64, "kindString": "Function", @@ -37020,14 +38693,14 @@ ], "signatures": [ { - "id": 1235, + "id": 1268, "name": "isAuthWeakPasswordError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 1236, + "id": 1269, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -37044,7 +38717,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 1368, + "id": 1401, "name": "AuthWeakPasswordError" } } @@ -37052,7 +38725,7 @@ ] }, { - "id": 533, + "id": 548, "name": "navigatorLock", "kind": 64, "kindString": "Function", @@ -37066,7 +38739,7 @@ ], "signatures": [ { - "id": 534, + "id": 549, "name": "navigatorLock", "kind": 4096, "kindString": "Call signature", @@ -37077,7 +38750,7 @@ }, "typeParameter": [ { - "id": 535, + "id": 550, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -37086,7 +38759,7 @@ ], "parameters": [ { - "id": 536, + "id": 551, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -37100,7 +38773,7 @@ } }, { - "id": 537, + "id": 552, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -37114,7 +38787,7 @@ } }, { - "id": 538, + "id": 553, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -37125,14 +38798,14 @@ "type": { "type": "reflection", "declaration": { - "id": 539, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 540, + "id": 555, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37142,7 +38815,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -37161,7 +38834,7 @@ "typeArguments": [ { "type": "reference", - "id": 535, + "id": 550, "name": "R" } ], @@ -37173,7 +38846,7 @@ ] }, { - "id": 549, + "id": 564, "name": "processLock", "kind": 64, "kindString": "Function", @@ -37187,7 +38860,7 @@ ], "signatures": [ { - "id": 550, + "id": 565, "name": "processLock", "kind": 4096, "kindString": "Call signature", @@ -37198,7 +38871,7 @@ }, "typeParameter": [ { - "id": 551, + "id": 566, "name": "R", "kind": 131072, "kindString": "Type parameter", @@ -37207,7 +38880,7 @@ ], "parameters": [ { - "id": 552, + "id": 567, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -37221,7 +38894,7 @@ } }, { - "id": 553, + "id": 568, "name": "acquireTimeout", "kind": 32768, "kindString": "Parameter", @@ -37235,7 +38908,7 @@ } }, { - "id": 554, + "id": 569, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -37246,14 +38919,14 @@ "type": { "type": "reflection", "declaration": { - "id": 555, + "id": 570, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 556, + "id": 571, "name": "__type", "kind": 4096, "kindString": "Call signature", @@ -37263,7 +38936,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -37282,7 +38955,7 @@ "typeArguments": [ { "type": "reference", - "id": 551, + "id": 566, "name": "R" } ], @@ -37299,36 +38972,36 @@ "title": "Classes", "kind": 128, "children": [ - 1247, 1237, 1304, 1295, 1380, 1287, 1331, 1358, 1279, 1257, 1368, 1267, 1, 78, 541 + 1280, 1270, 1337, 1328, 1413, 1320, 1364, 1391, 1312, 1290, 1401, 1300, 1, 78, 556 ] }, { "title": "Interfaces", "kind": 256, "children": [ - 709, 772, 725, 971, 1119, 1070, 1210, 700, 785, 740, 733, 766, 713, 737, 909, 901, 917 + 724, 787, 740, 1004, 1152, 1103, 1243, 715, 800, 755, 748, 781, 728, 752, 942, 934, 950 ] }, { "title": "Type Aliases", "kind": 4194304, "children": [ - 559, 558, 846, 1103, 1094, 1116, 1107, 1036, 1179, 1026, 1163, 1059, 1047, 1027, 1013, 624, - 597, 610, 639, 652, 1058, 1132, 921, 965, 955, 974, 988, 975, 995, 960, 949, 569, 1129, - 1191, 1206, 560, 1009, 1005, 996, 1158, 1153, 997, 1000, 920, 667, 1146, 1139, 557, 1196, - 922, 680, 793, 859, 847, 816, 829, 936, 1150, 1218, 799, 869, 882, 1126, 689, 900, 593, 591, - 899 + 574, 573, 861, 1136, 1127, 1149, 1140, 1069, 1212, 1059, 1196, 1092, 1080, 1060, 1046, 639, + 612, 625, 654, 667, 1091, 1165, 954, 914, 915, 998, 988, 1007, 1021, 1008, 1028, 993, 982, + 584, 1162, 1224, 1239, 575, 1042, 1038, 1029, 1191, 1186, 1030, 1033, 953, 682, 1179, 1172, + 572, 1229, 955, 695, 808, 874, 862, 831, 844, 969, 1183, 1251, 814, 884, 897, 1159, 704, + 933, 608, 606, 932 ] }, { "title": "Variables", "kind": 32, - "children": [531, 532, 1217, 546] + "children": [546, 547, 1250, 561] }, { "title": "Functions", "kind": 64, - "children": [1222, 1219, 1228, 1231, 1225, 1234, 533, 549] + "children": [1255, 1252, 1261, 1264, 1258, 1267, 548, 564] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json index ccad9fc904f..ee5fdca66da 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 631, + "id": 687, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 632, + "id": 688, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -24,27 +24,39 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 31, + "line": 35, "character": 2 } ], "signatures": [ { - "id": 633, + "id": 689, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 634, + "id": 690, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 691, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 635, + "id": 692, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -61,402 +73,23 @@ ], "parameters": [ { - "id": 636, + "id": 693, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 644, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 646, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 647, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 648, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 639, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 649, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 637, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - }, - { - "id": 640, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 642, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 638, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 694, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, - "name": "merge", + "id": 699, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { @@ -465,977 +98,17 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 + "line": 40, + "character": 4 } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "unknown" } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" }, { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, - { - "title": "Properties", - "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - }, - { - "id": 9, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "PostgREST client." - }, - "children": [ - { - "id": 10, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 41, - "character": 2 - } - ], - "signatures": [ - { - "id": 11, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "typeParameter": [ - { - "id": 12, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 13, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 14, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 13, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 15, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "URL of the PostgREST endpoint" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 16, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 17, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 20, + "id": 702, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -1444,32 +117,29 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 50, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 21, + "id": 703, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 22, + "id": 704, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, - "comment": { - "shortText": "Custom fetch\n" - }, "parameters": [ { - "id": 23, + "id": 705, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -1493,7 +163,7 @@ } }, { - "id": 24, + "id": 706, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -1528,62 +198,164 @@ } }, { - "id": 18, + "id": 697, "name": "headers", "kind": 1024, "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 707, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Custom headers" - }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 48, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 44, + "character": 4 } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "boolean" } }, { - "id": 19, + "id": 695, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 698, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Postgres schema to switch to" + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 700, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 49, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 701, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { "type": "reference", - "id": 13, - "name": "SchemaName" + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 696, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } } ], @@ -1591,32 +363,31 @@ { "title": "Properties", "kind": 1024, - "children": [20, 18, 19] + "children": [699, 702, 697, 707, 695, 698, 700, 701, 696] } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 9, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "id": 690, + "name": "ClientOptions" }, { "type": "reference", - "id": 13, - "name": "SchemaName" + "id": 691, + "name": "Result" }, { "type": "reference", - "id": 14, - "name": "Schema" + "id": 692, + "name": "ThrowOnError" } ], "name": "default" @@ -1625,38 +396,59 @@ ] }, { - "id": 28, - "name": "fetch", + "id": 712, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { + "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "src/PostgrestBuilder.ts", "line": 29, - "character": 2 + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 715, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 32, + "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 29, + "id": 716, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 30, + "id": 717, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 31, + "id": 718, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -1680,7 +472,7 @@ } }, { - "id": 32, + "id": 719, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -1715,7 +507,1749 @@ } }, { - "id": 26, + "id": 710, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Headers", + "package": "typescript", + "name": "Headers" + } + }, + { + "id": 720, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 708, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 711, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 713, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 714, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 709, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 742, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 276, + "character": 2 + } + ], + "signatures": [ + { + "id": 743, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 744, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 749, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 745, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 746, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [746] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 748, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [748] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 739, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 241, + "character": 2 + } + ], + "signatures": [ + { + "id": 740, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 741, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 741, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 723, + "name": "setHeader", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 724, + "name": "setHeader", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set an HTTP header for the request." + }, + "parameters": [ + { + "id": 725, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 726, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 727, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 84, + "character": 2 + } + ], + "signatures": [ + { + "id": 728, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 729, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + }, + { + "id": 730, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 731, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 733, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 735, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 736, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 737, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 738, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 721, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 722, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + }, + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "literal", + "value": true + } + ], + "name": "default" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [688] + }, + { + "title": "Properties", + "kind": 1024, + "children": [712, 715, 710, 720, 708, 711, 713, 714, 709] + }, + { + "title": "Methods", + "kind": 2048, + "children": [742, 739, 723, 727, 721] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 750, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 751, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 752, + "name": "ThrowOnError", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "default": { + "type": "literal", + "value": false + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 9, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 10, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 44, + "character": 2 + } + ], + "signatures": [ + { + "id": 11, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "typeParameter": [ + { + "id": 12, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 15, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 14, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [14] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 20, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 17, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [17] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 19, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [19] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + } + ] + } + } + }, + { + "id": 23, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 22, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [22] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 24, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 26, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 30, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 31, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 32, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 33, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 27, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 51, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 28, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 20, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [29, 27, 28] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 9, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reference", + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 23, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 37, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 39, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 40, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 41, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 35, "name": "headers", "kind": 1024, "kindString": "Property", @@ -1723,29 +2257,19 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 27, + "line": 30, "character": 2 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 27, + "id": 36, "name": "schemaName", "kind": 1024, "kindString": "Property", @@ -1755,18 +2279,18 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 28, + "line": 31, "character": 2 } ], "type": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" } }, { - "id": 25, + "id": 34, "name": "url", "kind": 1024, "kindString": "Property", @@ -1774,7 +2298,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 26, + "line": 29, "character": 2 } ], @@ -1784,7 +2308,7 @@ } }, { - "id": 33, + "id": 42, "name": "from", "kind": 2048, "kindString": "Method", @@ -1792,13 +2316,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 59, + "line": 61, "character": 2 } ], "signatures": [ { - "id": 34, + "id": 43, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1808,7 +2332,7 @@ }, "typeParameter": [ { - "id": 35, + "id": 44, "name": "TableName", "kind": 131072, "kindString": "Type parameter", @@ -1819,7 +2343,7 @@ } }, { - "id": 36, + "id": 45, "name": "Table", "kind": 131072, "kindString": "Type parameter", @@ -1832,7 +2356,7 @@ ], "parameters": [ { - "id": 37, + "id": 46, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -1842,48 +2366,53 @@ }, "type": { "type": "reference", - "id": 35, + "id": 44, "name": "TableName" } } ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, { "type": "reference", - "id": 35, + "id": 44, "name": "TableName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, "extendsType": { "type": "reflection", "declaration": { - "id": 38, + "id": 47, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 39, + "id": 48, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -1905,7 +2434,7 @@ { "title": "Properties", "kind": 1024, - "children": [39] + "children": [48] } ] } @@ -1924,7 +2453,7 @@ } }, { - "id": 40, + "id": 49, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1934,7 +2463,7 @@ }, "typeParameter": [ { - "id": 41, + "id": 50, "name": "ViewName", "kind": 131072, "kindString": "Type parameter", @@ -1945,7 +2474,7 @@ } }, { - "id": 42, + "id": 51, "name": "View", "kind": 131072, "kindString": "Type parameter", @@ -1958,7 +2487,7 @@ ], "parameters": [ { - "id": 43, + "id": 52, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -1968,48 +2497,53 @@ }, "type": { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName" } } ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, "extendsType": { "type": "reflection", "declaration": { - "id": 44, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 45, + "id": 54, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -2031,7 +2565,7 @@ { "title": "Properties", "kind": 1024, - "children": [45] + "children": [54] } ] } @@ -2052,7 +2586,7 @@ ] }, { - "id": 50, + "id": 59, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -2060,13 +2594,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 124, + "line": 127, "character": 2 } ], "signatures": [ { - "id": 51, + "id": 60, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -2076,7 +2610,7 @@ }, "typeParameter": [ { - "id": 52, + "id": 61, "name": "FnName", "kind": 131072, "kindString": "Type parameter", @@ -2087,7 +2621,7 @@ } }, { - "id": 53, + "id": 62, "name": "Fn", "kind": 131072, "kindString": "Type parameter", @@ -2100,7 +2634,7 @@ ], "parameters": [ { - "id": 54, + "id": 63, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -2110,12 +2644,12 @@ }, "type": { "type": "reference", - "id": 52, + "id": 61, "name": "FnName" } }, { - "id": 55, + "id": 64, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -2131,14 +2665,14 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, "defaultValue": "{}" }, { - "id": 56, + "id": 65, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2150,14 +2684,14 @@ "type": { "type": "reflection", "declaration": { - "id": 57, + "id": 66, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 60, + "id": 69, "name": "count", "kind": 1024, "kindString": "Property", @@ -2170,7 +2704,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 134, + "line": 137, "character": 6 } ], @@ -2193,7 +2727,7 @@ } }, { - "id": 59, + "id": 68, "name": "get", "kind": 1024, "kindString": "Property", @@ -2206,7 +2740,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 133, + "line": 136, "character": 6 } ], @@ -2216,7 +2750,7 @@ } }, { - "id": 58, + "id": 67, "name": "head", "kind": 1024, "kindString": "Property", @@ -2229,7 +2763,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 132, + "line": 135, "character": 6 } ], @@ -2243,7 +2777,7 @@ { "title": "Properties", "kind": 1024, - "children": [60, 59, 58] + "children": [69, 68, 67] } ] } @@ -2253,11 +2787,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { @@ -2270,7 +2809,7 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, @@ -2346,18 +2885,22 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, { "type": "reference", - "id": 52, + "id": 61, "name": "FnName" }, { "type": "literal", "value": null + }, + { + "type": "literal", + "value": "RPC" } ], "name": "default" @@ -2366,7 +2909,7 @@ ] }, { - "id": 46, + "id": 55, "name": "schema", "kind": 2048, "kindString": "Method", @@ -2374,13 +2917,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 87, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 47, + "id": 56, "name": "schema", "kind": 4096, "kindString": "Call signature", @@ -2391,7 +2934,7 @@ }, "typeParameter": [ { - "id": 48, + "id": 57, "name": "DynamicSchema", "kind": 131072, "kindString": "Type parameter", @@ -2404,7 +2947,7 @@ ], "parameters": [ { - "id": 49, + "id": 58, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -2414,7 +2957,7 @@ }, "type": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema" } } @@ -2430,7 +2973,12 @@ }, { "type": "reference", - "id": 48, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 57, "name": "DynamicSchema" }, { @@ -2439,7 +2987,7 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema" }, "objectType": { @@ -2484,24 +3032,24 @@ { "title": "Properties", "kind": 1024, - "children": [28, 26, 27, 25] + "children": [37, 35, 36, 34] }, { "title": "Methods", "kind": 2048, - "children": [33, 50, 46] + "children": [42, 59, 55] } ], "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 17, + "line": 15, "character": 21 } ], "typeParameter": [ { - "id": 61, + "id": 70, "name": "Database", "kind": 131072, "kindString": "Type parameter", @@ -2515,7 +3063,82 @@ } }, { - "id": 62, + "id": 73, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 71, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 72, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [72] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 4 + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 74, "name": "SchemaName", "kind": 131072, "kindString": "Type parameter", @@ -2534,9 +3157,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -2551,9 +3188,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "trueType": { @@ -2571,9 +3222,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -2581,7 +3246,7 @@ } }, { - "id": 63, + "id": 75, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -2596,13 +3261,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "extendsType": { @@ -2613,13 +3292,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "falseType": { @@ -2631,7 +3324,7 @@ ] }, { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -2642,7 +3335,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2656,14 +3349,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -2671,14 +3364,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -2696,7 +3389,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -2714,7 +3407,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2732,7 +3425,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -2754,7 +3447,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -2763,7 +3456,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -2778,7 +3471,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -2796,7 +3489,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -2814,7 +3507,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2836,12 +3529,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -2861,28 +3554,40 @@ ] }, { - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 152, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 153, + "id": 167, "name": "new PostgrestFilterBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 154, + "id": 168, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 169, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -2893,7 +3598,7 @@ } }, { - "id": 155, + "id": 170, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -2916,14 +3621,14 @@ } }, { - "id": 156, + "id": 171, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 157, + "id": 172, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -2934,7 +3639,7 @@ } }, { - "id": 158, + "id": 173, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -2943,80 +3648,375 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 174, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 159, + "id": 175, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 181, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 184, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 186, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 187, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 188, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 179, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 189, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 177, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 180, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 182, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 183, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 178, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [181, 184, 179, 189, 177, 180, 182, 183, 178] + } + ] + } } } ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 536, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 535, "name": "default.constructor" } }, { - "id": 459, + "id": 492, "name": "body", "kind": 1024, "kindString": "Property", @@ -3027,7 +4027,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -3037,12 +4037,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 645, "name": "default.body" } }, { - "id": 462, + "id": 495, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -3052,28 +4052,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 463, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 464, + "id": 497, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 465, + "id": 498, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -3097,7 +4097,7 @@ } }, { - "id": 466, + "id": 499, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -3132,12 +4132,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 594, + "id": 648, "name": "default.fetch" } }, { - "id": 457, + "id": 490, "name": "headers", "kind": 1024, "kindString": "Property", @@ -3147,34 +4147,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 589, + "id": 643, "name": "default.headers" } }, { - "id": 467, + "id": 500, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -3184,7 +4174,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -3194,12 +4184,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 653, "name": "default.isMaybeSingle" } }, { - "id": 455, + "id": 488, "name": "method", "kind": 1024, "kindString": "Property", @@ -3209,7 +4199,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -3240,12 +4230,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 587, + "id": 641, "name": "default.method" } }, { - "id": 458, + "id": 491, "name": "schema", "kind": 1024, "kindString": "Property", @@ -3256,7 +4246,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -3266,18 +4256,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 590, + "id": 644, "name": "default.schema" } }, { - "id": 460, + "id": 493, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 646, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 494, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 647, + "name": "default.signal" + } + }, + { + "id": 489, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -3285,60 +4329,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 592, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 461, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 593, - "name": "default.signal" - } - }, - { - "id": 456, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -3347,12 +4337,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 588, + "id": 642, "name": "default.url" } }, { - "id": 427, + "id": 457, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -3360,13 +4350,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -3376,7 +4366,7 @@ }, "parameters": [ { - "id": 429, + "id": 459, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -3394,51 +4384,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 560, + "id": 611, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 559, + "id": 610, "name": "default.abortSignal" } }, { - "id": 271, + "id": 301, "name": "containedBy", "kind": 2048, "kindString": "Method", @@ -3446,13 +4446,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 342, + "line": 354, "character": 2 } ], "signatures": [ { - "id": 272, + "id": 302, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -3462,7 +4462,7 @@ }, "typeParameter": [ { - "id": 273, + "id": 303, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -3475,7 +4475,7 @@ ], "parameters": [ { - "id": 274, + "id": 304, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3485,12 +4485,12 @@ }, "type": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName" } }, { - "id": 275, + "id": 305, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3530,12 +4530,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -3547,39 +4547,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 276, + "id": 306, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -3589,7 +4599,7 @@ }, "parameters": [ { - "id": 277, + "id": 307, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3603,7 +4613,7 @@ } }, { - "id": 278, + "id": 308, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3651,32 +4661,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -3685,7 +4705,7 @@ ] }, { - "id": 263, + "id": 293, "name": "contains", "kind": 2048, "kindString": "Method", @@ -3693,13 +4713,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 315, + "line": 327, "character": 2 } ], "signatures": [ { - "id": 264, + "id": 294, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -3709,7 +4729,7 @@ }, "typeParameter": [ { - "id": 265, + "id": 295, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -3722,7 +4742,7 @@ ], "parameters": [ { - "id": 266, + "id": 296, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3732,12 +4752,12 @@ }, "type": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName" } }, { - "id": 267, + "id": 297, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3777,12 +4797,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -3794,39 +4814,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 268, + "id": 298, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -3836,7 +4866,7 @@ }, "parameters": [ { - "id": 269, + "id": 299, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -3850,7 +4880,7 @@ } }, { - "id": 270, + "id": 300, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -3898,32 +4928,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -3932,7 +4972,7 @@ ] }, { - "id": 436, + "id": 466, "name": "csv", "kind": 2048, "kindString": "Method", @@ -3940,13 +4980,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 437, + "id": 467, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -3956,8 +4996,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -3971,19 +5016,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 569, + "id": 620, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 568, + "id": 619, "name": "default.csv" } }, { - "id": 160, + "id": 190, "name": "eq", "kind": 2048, "kindString": "Method", @@ -3991,13 +5036,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 87, + "line": 99, "character": 2 } ], "signatures": [ { - "id": 161, + "id": 191, "name": "eq", "kind": 4096, "kindString": "Call signature", @@ -4008,7 +5053,7 @@ }, "typeParameter": [ { - "id": 162, + "id": 192, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -4021,7 +5066,7 @@ ], "parameters": [ { - "id": 163, + "id": 193, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4031,12 +5076,12 @@ }, "type": { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } }, { - "id": 164, + "id": 194, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4051,17 +5096,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -4082,17 +5127,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -4124,32 +5169,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -4158,7 +5213,7 @@ ] }, { - "id": 440, + "id": 470, "name": "explain", "kind": 2048, "kindString": "Method", @@ -4166,13 +5221,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 441, + "id": 471, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -4183,7 +5238,7 @@ }, "parameters": [ { - "id": 442, + "id": 472, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4195,14 +5250,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 444, + "id": 474, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -4215,7 +5270,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -4225,7 +5280,7 @@ } }, { - "id": 447, + "id": 477, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -4238,7 +5293,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -4248,7 +5303,7 @@ } }, { - "id": 449, + "id": 479, "name": "format", "kind": 1024, "kindString": "Property", @@ -4261,7 +5316,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -4280,7 +5335,7 @@ } }, { - "id": 446, + "id": 476, "name": "settings", "kind": 1024, "kindString": "Property", @@ -4293,7 +5348,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -4303,7 +5358,7 @@ } }, { - "id": 445, + "id": 475, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -4316,7 +5371,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -4326,7 +5381,7 @@ } }, { - "id": 448, + "id": 478, "name": "wal", "kind": 1024, "kindString": "Property", @@ -4339,7 +5394,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -4353,7 +5408,7 @@ { "title": "Properties", "kind": 1024, - "children": [444, 447, 449, 446, 445, 448] + "children": [474, 477, 479, 476, 475, 478] } ] } @@ -4366,8 +5421,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -4381,8 +5441,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -4413,19 +5478,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 573, + "id": 624, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 572, + "id": 623, "name": "default.explain" } }, { - "id": 366, + "id": 396, "name": "filter", "kind": 2048, "kindString": "Method", @@ -4433,13 +5498,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 569, + "line": 581, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 397, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -4450,7 +5515,7 @@ }, "typeParameter": [ { - "id": 368, + "id": 398, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -4463,7 +5528,7 @@ ], "parameters": [ { - "id": 369, + "id": 399, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4473,12 +5538,12 @@ }, "type": { "type": "reference", - "id": 368, + "id": 398, "name": "ColumnName" } }, { - "id": 370, + "id": 400, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -4585,7 +5650,7 @@ } }, { - "id": 371, + "id": 401, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4601,39 +5666,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 372, + "id": 402, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -4644,7 +5719,7 @@ }, "parameters": [ { - "id": 373, + "id": 403, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4658,7 +5733,7 @@ } }, { - "id": 374, + "id": 404, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -4672,7 +5747,7 @@ } }, { - "id": 375, + "id": 405, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4688,32 +5763,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -4722,7 +5807,7 @@ ] }, { - "id": 438, + "id": 468, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -4730,13 +5815,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 439, + "id": 469, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -4746,8 +5831,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -4773,19 +5863,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 571, + "id": 622, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 570, + "id": 621, "name": "default.geojson" } }, { - "id": 170, + "id": 200, "name": "gt", "kind": 2048, "kindString": "Method", @@ -4793,13 +5883,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 120, + "line": 132, "character": 2 } ], "signatures": [ { - "id": 171, + "id": 201, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -4809,7 +5899,7 @@ }, "typeParameter": [ { - "id": 172, + "id": 202, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -4822,7 +5912,7 @@ ], "parameters": [ { - "id": 173, + "id": 203, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4832,12 +5922,12 @@ }, "type": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName" } }, { - "id": 174, + "id": 204, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4849,12 +5939,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -4862,39 +5952,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 175, + "id": 205, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -4904,7 +6004,7 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4918,7 +6018,7 @@ } }, { - "id": 177, + "id": 207, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4934,32 +6034,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -4968,7 +6078,7 @@ ] }, { - "id": 178, + "id": 208, "name": "gte", "kind": 2048, "kindString": "Method", @@ -4976,13 +6086,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 133, + "line": 145, "character": 2 } ], "signatures": [ { - "id": 179, + "id": 209, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -4992,7 +6102,7 @@ }, "typeParameter": [ { - "id": 180, + "id": 210, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5005,7 +6115,7 @@ ], "parameters": [ { - "id": 181, + "id": 211, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5015,12 +6125,12 @@ }, "type": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName" } }, { - "id": 182, + "id": 212, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5032,12 +6142,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -5045,39 +6155,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 183, + "id": 213, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -5087,7 +6207,7 @@ }, "parameters": [ { - "id": 184, + "id": 214, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5101,7 +6221,7 @@ } }, { - "id": 185, + "id": 215, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5117,32 +6237,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5151,7 +6281,7 @@ ] }, { - "id": 226, + "id": 256, "name": "ilike", "kind": 2048, "kindString": "Method", @@ -5159,13 +6289,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 217, + "line": 229, "character": 2 } ], "signatures": [ { - "id": 227, + "id": 257, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -5175,7 +6305,7 @@ }, "typeParameter": [ { - "id": 228, + "id": 258, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5188,7 +6318,7 @@ ], "parameters": [ { - "id": 229, + "id": 259, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5198,12 +6328,12 @@ }, "type": { "type": "reference", - "id": 228, + "id": 258, "name": "ColumnName" } }, { - "id": 230, + "id": 260, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -5219,39 +6349,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 231, + "id": 261, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -5261,7 +6401,7 @@ }, "parameters": [ { - "id": 232, + "id": 262, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5275,7 +6415,7 @@ } }, { - "id": 233, + "id": 263, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -5291,32 +6431,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5325,7 +6475,7 @@ ] }, { - "id": 234, + "id": 264, "name": "ilikeAllOf", "kind": 2048, "kindString": "Method", @@ -5333,13 +6483,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 230, + "line": 242, "character": 2 } ], "signatures": [ { - "id": 235, + "id": 265, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -5349,7 +6499,7 @@ }, "typeParameter": [ { - "id": 236, + "id": 266, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5362,7 +6512,7 @@ ], "parameters": [ { - "id": 237, + "id": 267, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5372,12 +6522,12 @@ }, "type": { "type": "reference", - "id": 236, + "id": 266, "name": "ColumnName" } }, { - "id": 238, + "id": 268, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -5400,39 +6550,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 239, + "id": 269, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -5442,7 +6602,7 @@ }, "parameters": [ { - "id": 240, + "id": 270, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5456,7 +6616,7 @@ } }, { - "id": 241, + "id": 271, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -5479,32 +6639,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5513,7 +6683,7 @@ ] }, { - "id": 242, + "id": 272, "name": "ilikeAnyOf", "kind": 2048, "kindString": "Method", @@ -5521,13 +6691,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 246, + "line": 258, "character": 2 } ], "signatures": [ { - "id": 243, + "id": 273, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -5537,7 +6707,7 @@ }, "typeParameter": [ { - "id": 244, + "id": 274, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5550,7 +6720,7 @@ ], "parameters": [ { - "id": 245, + "id": 275, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5560,12 +6730,12 @@ }, "type": { "type": "reference", - "id": 244, + "id": 274, "name": "ColumnName" } }, { - "id": 246, + "id": 276, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -5588,39 +6758,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 247, + "id": 277, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -5630,7 +6810,7 @@ }, "parameters": [ { - "id": 248, + "id": 278, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5644,7 +6824,7 @@ } }, { - "id": 249, + "id": 279, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -5667,32 +6847,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5701,7 +6891,7 @@ ] }, { - "id": 258, + "id": 288, "name": "in", "kind": 2048, "kindString": "Method", @@ -5709,13 +6899,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 290, + "line": 302, "character": 2 } ], "signatures": [ { - "id": 259, + "id": 289, "name": "in", "kind": 4096, "kindString": "Call signature", @@ -5725,7 +6915,7 @@ }, "typeParameter": [ { - "id": 260, + "id": 290, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5738,7 +6928,7 @@ ], "parameters": [ { - "id": 261, + "id": 291, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5748,12 +6938,12 @@ }, "type": { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } }, { - "id": 262, + "id": 292, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -5773,17 +6963,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -5804,17 +6994,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -5840,32 +7030,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5874,7 +7074,7 @@ ] }, { - "id": 250, + "id": 280, "name": "is", "kind": 2048, "kindString": "Method", @@ -5882,13 +7082,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 262, + "line": 274, "character": 2 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -5899,7 +7099,7 @@ }, "typeParameter": [ { - "id": 252, + "id": 282, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5912,7 +7112,7 @@ ], "parameters": [ { - "id": 253, + "id": 283, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5922,12 +7122,12 @@ }, "type": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" } }, { - "id": 254, + "id": 284, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5945,12 +7145,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -5967,12 +7167,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -5989,12 +7189,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -6010,39 +7210,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 255, + "id": 285, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -6053,7 +7263,7 @@ }, "parameters": [ { - "id": 256, + "id": 286, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6067,7 +7277,7 @@ } }, { - "id": 257, + "id": 287, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6092,32 +7302,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6126,7 +7346,7 @@ ] }, { - "id": 202, + "id": 232, "name": "like", "kind": 2048, "kindString": "Method", @@ -6134,13 +7354,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 172, + "line": 184, "character": 2 } ], "signatures": [ { - "id": 203, + "id": 233, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -6150,7 +7370,7 @@ }, "typeParameter": [ { - "id": 204, + "id": 234, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6163,7 +7383,7 @@ ], "parameters": [ { - "id": 205, + "id": 235, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6173,12 +7393,12 @@ }, "type": { "type": "reference", - "id": 204, + "id": 234, "name": "ColumnName" } }, { - "id": 206, + "id": 236, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -6194,39 +7414,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 207, + "id": 237, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -6236,7 +7466,7 @@ }, "parameters": [ { - "id": 208, + "id": 238, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6250,7 +7480,7 @@ } }, { - "id": 209, + "id": 239, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -6266,32 +7496,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6300,7 +7540,7 @@ ] }, { - "id": 210, + "id": 240, "name": "likeAllOf", "kind": 2048, "kindString": "Method", @@ -6308,13 +7548,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 185, + "line": 197, "character": 2 } ], "signatures": [ { - "id": 211, + "id": 241, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -6324,7 +7564,7 @@ }, "typeParameter": [ { - "id": 212, + "id": 242, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6337,7 +7577,7 @@ ], "parameters": [ { - "id": 213, + "id": 243, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6347,12 +7587,12 @@ }, "type": { "type": "reference", - "id": 212, + "id": 242, "name": "ColumnName" } }, { - "id": 214, + "id": 244, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6375,39 +7615,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 215, + "id": 245, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -6417,7 +7667,7 @@ }, "parameters": [ { - "id": 216, + "id": 246, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6431,7 +7681,7 @@ } }, { - "id": 217, + "id": 247, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6454,32 +7704,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6488,7 +7748,7 @@ ] }, { - "id": 218, + "id": 248, "name": "likeAnyOf", "kind": 2048, "kindString": "Method", @@ -6496,13 +7756,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 201, + "line": 213, "character": 2 } ], "signatures": [ { - "id": 219, + "id": 249, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -6512,7 +7772,7 @@ }, "typeParameter": [ { - "id": 220, + "id": 250, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6525,7 +7785,7 @@ ], "parameters": [ { - "id": 221, + "id": 251, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6535,12 +7795,12 @@ }, "type": { "type": "reference", - "id": 220, + "id": 250, "name": "ColumnName" } }, { - "id": 222, + "id": 252, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6563,39 +7823,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 223, + "id": 253, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -6605,7 +7875,7 @@ }, "parameters": [ { - "id": 224, + "id": 254, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6619,7 +7889,7 @@ } }, { - "id": 225, + "id": 255, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6642,32 +7912,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6676,7 +7956,7 @@ ] }, { - "id": 412, + "id": 442, "name": "limit", "kind": 2048, "kindString": "Method", @@ -6684,13 +7964,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 413, + "id": 443, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -6700,7 +7980,7 @@ }, "parameters": [ { - "id": 414, + "id": 444, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -6714,7 +7994,7 @@ } }, { - "id": 415, + "id": 445, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6726,14 +8006,14 @@ "type": { "type": "reflection", "declaration": { - "id": 416, + "id": 446, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 417, + "id": 447, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -6746,7 +8026,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -6756,7 +8036,7 @@ } }, { - "id": 418, + "id": 448, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -6769,7 +8049,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -6783,7 +8063,7 @@ { "title": "Properties", "kind": 1024, - "children": [417, 418] + "children": [447, 448] } ] } @@ -6793,51 +8073,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 545, + "id": 596, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 544, + "id": 595, "name": "default.limit" } }, { - "id": 186, + "id": 216, "name": "lt", "kind": 2048, "kindString": "Method", @@ -6845,13 +8135,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 146, + "line": 158, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 217, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -6861,7 +8151,7 @@ }, "typeParameter": [ { - "id": 188, + "id": 218, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6874,7 +8164,7 @@ ], "parameters": [ { - "id": 189, + "id": 219, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6884,12 +8174,12 @@ }, "type": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName" } }, { - "id": 190, + "id": 220, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6901,12 +8191,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -6914,39 +8204,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 191, + "id": 221, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -6956,7 +8256,7 @@ }, "parameters": [ { - "id": 192, + "id": 222, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6970,7 +8270,7 @@ } }, { - "id": 193, + "id": 223, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6986,32 +8286,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7020,7 +8330,7 @@ ] }, { - "id": 194, + "id": 224, "name": "lte", "kind": 2048, "kindString": "Method", @@ -7028,13 +8338,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 159, + "line": 171, "character": 2 } ], "signatures": [ { - "id": 195, + "id": 225, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -7044,7 +8354,7 @@ }, "typeParameter": [ { - "id": 196, + "id": 226, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7057,7 +8367,7 @@ ], "parameters": [ { - "id": 197, + "id": 227, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7067,12 +8377,12 @@ }, "type": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName" } }, { - "id": 198, + "id": 228, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7084,12 +8394,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -7097,39 +8407,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 199, + "id": 229, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -7139,7 +8459,7 @@ }, "parameters": [ { - "id": 200, + "id": 230, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7153,7 +8473,7 @@ } }, { - "id": 201, + "id": 231, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7169,32 +8489,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7203,7 +8533,7 @@ ] }, { - "id": 343, + "id": 373, "name": "match", "kind": 2048, "kindString": "Method", @@ -7211,13 +8541,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 502, + "line": 514, "character": 2 } ], "signatures": [ { - "id": 344, + "id": 374, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -7227,7 +8557,7 @@ }, "typeParameter": [ { - "id": 345, + "id": 375, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7240,7 +8570,7 @@ ], "parameters": [ { - "id": 346, + "id": 376, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -7253,19 +8583,19 @@ "typeArguments": [ { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -7278,39 +8608,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 347, + "id": 377, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -7320,7 +8660,7 @@ }, "parameters": [ { - "id": 348, + "id": 378, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -7348,32 +8688,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7382,7 +8732,171 @@ ] }, { - "id": 433, + "id": 485, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 486, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 487, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 168, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 174, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 639, + "name": "default.maxAffected" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 638, + "name": "default.maxAffected" + } + }, + { + "id": 463, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -7390,13 +8904,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 434, + "id": 464, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -7407,7 +8921,7 @@ }, "typeParameter": [ { - "id": 435, + "id": 465, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -7416,7 +8930,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -7439,8 +8953,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -7450,7 +8969,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -7464,19 +8983,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 566, + "id": 617, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 565, + "id": 616, "name": "default.maybeSingle" } }, { - "id": 165, + "id": 195, "name": "neq", "kind": 2048, "kindString": "Method", @@ -7484,13 +9003,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 108, + "line": 120, "character": 2 } ], "signatures": [ { - "id": 166, + "id": 196, "name": "neq", "kind": 4096, "kindString": "Call signature", @@ -7500,7 +9019,7 @@ }, "typeParameter": [ { - "id": 167, + "id": 197, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7513,7 +9032,7 @@ ], "parameters": [ { - "id": 168, + "id": 198, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7523,12 +9042,12 @@ }, "type": { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } }, { - "id": 169, + "id": 199, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7543,17 +9062,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -7574,17 +9093,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -7608,32 +9127,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7642,7 +9171,7 @@ ] }, { - "id": 349, + "id": 379, "name": "not", "kind": 2048, "kindString": "Method", @@ -7650,13 +9179,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 518, + "line": 530, "character": 2 } ], "signatures": [ { - "id": 350, + "id": 380, "name": "not", "kind": 4096, "kindString": "Call signature", @@ -7665,6 +9194,1139 @@ "shortText": "Match only rows which doesn't satisfy the filter.", "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" }, + "typeParameter": [ + { + "id": 381, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 382, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 381, + "name": "ColumnName" + } + }, + { + "id": 383, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 384, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 381, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 170, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + }, + { + "id": 385, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "parameters": [ + { + "id": 386, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 387, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 389, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 569, + "character": 2 + } + ], + "signatures": [ + { + "id": 390, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 391, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 394, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `referencedTable` instead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to filter on referenced tables\ninstead of the parent table" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [394, 395] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 411, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 412, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 413, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 414, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 413, + "name": "ColumnName" + } + }, + { + "id": 415, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 417, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 418, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 419, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [417, 418, 419] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 565, + "name": "default.order" + } + }, + { + "id": 420, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 421, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 423, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 424, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 425, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 426, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [424, 425, 426] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 573, + "name": "default.order" + } + }, + { + "id": 427, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 428, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 429, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 428, + "name": "ColumnName" + } + }, + { + "id": 430, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 431, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 432, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 434, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 433, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [432, 434, 433] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 580, + "name": "default.order" + } + }, + { + "id": 435, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 436, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 438, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 439, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 441, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [439, 441, 440] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 588, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 564, + "name": "default.order" + } + }, + { + "id": 349, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 453, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, "typeParameter": [ { "id": 351, @@ -7686,7 +10348,7 @@ "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The column to filter on" + "shortText": "The array or range column to filter on" }, "type": { "type": "reference", @@ -7696,1069 +10358,6 @@ }, { "id": 353, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "reference", - "name": "FilterOperator" - } - }, - { - "id": 354, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 351, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 155, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 355, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "parameters": [ - { - "id": 356, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 357, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 358, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 359, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 557, - "character": 2 - } - ], - "signatures": [ - { - "id": 360, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy at least one of the filters.", - "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" - }, - "parameters": [ - { - "id": 361, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The filters to use, following PostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 364, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `referencedTable` instead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 365, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to filter on referenced tables\ninstead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [364, 365] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 381, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 382, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 383, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 384, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName" - } - }, - { - "id": 385, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 386, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 387, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 388, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 389, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [387, 388, 389] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 514, - "name": "default.order" - } - }, - { - "id": 390, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 391, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 394, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 395, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 396, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [394, 395, 396] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 522, - "name": "default.order" - } - }, - { - "id": 397, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 398, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 399, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName" - } - }, - { - "id": 400, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 401, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 402, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 404, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 403, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [402, 404, 403] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 529, - "name": "default.order" - } - }, - { - "id": 405, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 406, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 411, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [409, 411, 410] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "default.order" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 513, - "name": "default.order" - } - }, - { - "id": 319, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 441, - "character": 2 - } - ], - "signatures": [ - { - "id": 320, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." - }, - "typeParameter": [ - { - "id": 321, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 322, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range column to filter on" - }, - "type": { - "type": "reference", - "id": 321, - "name": "ColumnName" - } - }, - { - "id": 323, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8782,12 +10381,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 321, + "id": 351, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -8799,39 +10398,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 324, + "id": 354, "name": "overlaps", "kind": 4096, "kindString": "Call signature", @@ -8841,7 +10450,7 @@ }, "parameters": [ { - "id": 325, + "id": 355, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8855,7 +10464,7 @@ } }, { - "id": 326, + "id": 356, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8887,32 +10496,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -8921,7 +10540,7 @@ ] }, { - "id": 486, + "id": 519, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -8929,13 +10548,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 487, + "id": 520, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -8952,7 +10571,7 @@ }, "typeParameter": [ { - "id": 488, + "id": 521, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -8962,7 +10581,7 @@ } }, { - "id": 493, + "id": 526, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -8973,14 +10592,14 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 522, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 490, + "id": 523, "name": "merge", "kind": 1024, "kindString": "Property", @@ -8990,7 +10609,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -9004,7 +10623,7 @@ { "title": "Properties", "kind": 1024, - "children": [490] + "children": [523] } ] } @@ -9012,14 +10631,14 @@ "default": { "type": "reflection", "declaration": { - "id": 491, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 525, "name": "merge", "kind": 1024, "kindString": "Property", @@ -9027,7 +10646,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -9041,7 +10660,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [525] } ] } @@ -9050,8 +10669,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -9059,12 +10683,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -9089,7 +10713,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -9111,7 +10735,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -9119,7 +10743,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -9129,7 +10753,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -9142,17 +10766,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -9164,12 +10788,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -9185,19 +10809,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 619, + "id": 673, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 618, + "id": 672, "name": "default.overrideTypes" } }, { - "id": 419, + "id": 449, "name": "range", "kind": 2048, "kindString": "Method", @@ -9205,13 +10829,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 420, + "id": 450, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -9221,7 +10845,7 @@ }, "parameters": [ { - "id": 421, + "id": 451, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -9235,7 +10859,7 @@ } }, { - "id": 422, + "id": 452, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -9249,7 +10873,7 @@ } }, { - "id": 423, + "id": 453, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -9261,14 +10885,14 @@ "type": { "type": "reflection", "declaration": { - "id": 424, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 425, + "id": 455, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -9281,7 +10905,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -9291,7 +10915,7 @@ } }, { - "id": 426, + "id": 456, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -9304,7 +10928,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -9318,7 +10942,7 @@ { "title": "Properties", "kind": 1024, - "children": [425, 426] + "children": [455, 456] } ] } @@ -9328,51 +10952,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 603, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 602, "name": "default.range" } }, { - "id": 311, + "id": 341, "name": "rangeAdjacent", "kind": 2048, "kindString": "Method", @@ -9380,13 +11014,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 426, + "line": 438, "character": 2 } ], "signatures": [ { - "id": 312, + "id": 342, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -9396,7 +11030,7 @@ }, "typeParameter": [ { - "id": 313, + "id": 343, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -9409,7 +11043,7 @@ ], "parameters": [ { - "id": 314, + "id": 344, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9419,12 +11053,12 @@ }, "type": { "type": "reference", - "id": 313, + "id": 343, "name": "ColumnName" } }, { - "id": 315, + "id": 345, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9440,39 +11074,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 316, + "id": 346, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -9482,7 +11126,7 @@ }, "parameters": [ { - "id": 317, + "id": 347, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9496,7 +11140,7 @@ } }, { - "id": 318, + "id": 348, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9512,32 +11156,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -9546,7 +11200,7 @@ ] }, { - "id": 279, + "id": 309, "name": "rangeGt", "kind": 2048, "kindString": "Method", @@ -9554,13 +11208,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 368, + "line": 380, "character": 2 } ], "signatures": [ { - "id": 280, + "id": 310, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -9570,7 +11224,7 @@ }, "typeParameter": [ { - "id": 281, + "id": 311, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -9583,7 +11237,7 @@ ], "parameters": [ { - "id": 282, + "id": 312, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9593,12 +11247,12 @@ }, "type": { "type": "reference", - "id": 281, + "id": 311, "name": "ColumnName" } }, { - "id": 283, + "id": 313, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9614,39 +11268,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 284, + "id": 314, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -9656,7 +11320,7 @@ }, "parameters": [ { - "id": 285, + "id": 315, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9670,7 +11334,7 @@ } }, { - "id": 286, + "id": 316, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9686,32 +11350,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -9720,7 +11394,7 @@ ] }, { - "id": 287, + "id": 317, "name": "rangeGte", "kind": 2048, "kindString": "Method", @@ -9728,13 +11402,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 382, + "line": 394, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 318, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -9744,7 +11418,7 @@ }, "typeParameter": [ { - "id": 289, + "id": 319, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -9757,7 +11431,7 @@ ], "parameters": [ { - "id": 290, + "id": 320, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9767,12 +11441,12 @@ }, "type": { "type": "reference", - "id": 289, + "id": 319, "name": "ColumnName" } }, { - "id": 291, + "id": 321, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9788,39 +11462,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 292, + "id": 322, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -9830,7 +11514,7 @@ }, "parameters": [ { - "id": 293, + "id": 323, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9844,7 +11528,7 @@ } }, { - "id": 294, + "id": 324, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9860,32 +11544,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -9894,7 +11588,7 @@ ] }, { - "id": 295, + "id": 325, "name": "rangeLt", "kind": 2048, "kindString": "Method", @@ -9902,13 +11596,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 397, + "line": 409, "character": 2 } ], "signatures": [ { - "id": 296, + "id": 326, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -9918,7 +11612,7 @@ }, "typeParameter": [ { - "id": 297, + "id": 327, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -9931,7 +11625,7 @@ ], "parameters": [ { - "id": 298, + "id": 328, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -9941,12 +11635,12 @@ }, "type": { "type": "reference", - "id": 297, + "id": 327, "name": "ColumnName" } }, { - "id": 299, + "id": 329, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -9962,39 +11656,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 300, + "id": 330, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -10004,7 +11708,7 @@ }, "parameters": [ { - "id": 301, + "id": 331, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10018,7 +11722,7 @@ } }, { - "id": 302, + "id": 332, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -10034,32 +11738,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -10068,7 +11782,7 @@ ] }, { - "id": 303, + "id": 333, "name": "rangeLte", "kind": 2048, "kindString": "Method", @@ -10076,13 +11790,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 411, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 304, + "id": 334, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -10092,7 +11806,7 @@ }, "typeParameter": [ { - "id": 305, + "id": 335, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -10105,7 +11819,7 @@ ], "parameters": [ { - "id": 306, + "id": 336, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10115,12 +11829,12 @@ }, "type": { "type": "reference", - "id": 305, + "id": 335, "name": "ColumnName" } }, { - "id": 307, + "id": 337, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -10136,39 +11850,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 308, + "id": 338, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -10178,7 +11902,7 @@ }, "parameters": [ { - "id": 309, + "id": 339, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10192,7 +11916,7 @@ } }, { - "id": 310, + "id": 340, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -10208,32 +11932,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -10242,7 +11976,7 @@ ] }, { - "id": 452, + "id": 482, "name": "returns", "kind": 2048, "kindString": "Method", @@ -10250,13 +11984,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 453, + "id": 483, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -10272,7 +12006,7 @@ }, "typeParameter": [ { - "id": 454, + "id": 484, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -10284,16 +12018,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { @@ -10301,12 +12040,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -10314,32 +12053,37 @@ }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 636, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 584, + "id": 635, "name": "default.returns" } }, { - "id": 450, + "id": 480, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -10347,13 +12091,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 451, + "id": 481, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -10364,51 +12108,61 @@ }, "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 634, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 582, + "id": 633, "name": "default.rollback" } }, { - "id": 376, + "id": 406, "name": "select", "kind": 2048, "kindString": "Method", @@ -10416,13 +12170,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 377, + "id": 407, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -10433,7 +12187,7 @@ }, "typeParameter": [ { - "id": 378, + "id": 408, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -10448,39 +12202,44 @@ } }, { - "id": 379, + "id": 409, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 168, + "name": "ClientOptions" } ], "name": "GetResult" @@ -10489,7 +12248,7 @@ ], "parameters": [ { - "id": 380, + "id": 410, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -10501,61 +12260,71 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query" } } ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 560, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 508, + "id": 559, "name": "default.select" } }, { - "id": 470, + "id": 503, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -10563,13 +12332,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 471, + "id": 504, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -10579,7 +12348,7 @@ }, "parameters": [ { - "id": 472, + "id": 505, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -10590,7 +12359,7 @@ } }, { - "id": 473, + "id": 506, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -10603,51 +12372,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 603, + "id": 657, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 602, + "id": 656, "name": "default.setHeader" } }, { - "id": 430, + "id": 460, "name": "single", "kind": 2048, "kindString": "Method", @@ -10655,13 +12434,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 431, + "id": 461, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -10672,7 +12451,7 @@ }, "typeParameter": [ { - "id": 432, + "id": 462, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -10681,7 +12460,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -10704,11 +12483,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -10720,19 +12504,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 614, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 613, "name": "default.single" } }, { - "id": 327, + "id": 357, "name": "textSearch", "kind": 2048, "kindString": "Method", @@ -10740,13 +12524,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 464, + "line": 476, "character": 2 } ], "signatures": [ { - "id": 328, + "id": 358, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -10756,7 +12540,7 @@ }, "typeParameter": [ { - "id": 329, + "id": 359, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -10769,7 +12553,7 @@ ], "parameters": [ { - "id": 330, + "id": 360, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10779,12 +12563,12 @@ }, "type": { "type": "reference", - "id": 329, + "id": 359, "name": "ColumnName" } }, { - "id": 331, + "id": 361, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -10798,7 +12582,7 @@ } }, { - "id": 332, + "id": 362, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10811,14 +12595,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 364, "name": "config", "kind": 1024, "kindString": "Property", @@ -10831,7 +12615,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 16 } ], @@ -10841,7 +12625,7 @@ } }, { - "id": 335, + "id": 365, "name": "type", "kind": 1024, "kindString": "Property", @@ -10854,7 +12638,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 33 } ], @@ -10881,7 +12665,7 @@ { "title": "Properties", "kind": 1024, - "children": [334, 335] + "children": [364, 365] } ] } @@ -10890,39 +12674,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 336, + "id": 366, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -10932,7 +12726,7 @@ }, "parameters": [ { - "id": 337, + "id": 367, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10946,7 +12740,7 @@ } }, { - "id": 338, + "id": 368, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -10960,7 +12754,7 @@ } }, { - "id": 339, + "id": 369, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10973,14 +12767,14 @@ "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "config", "kind": 1024, "kindString": "Property", @@ -10993,7 +12787,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 16 } ], @@ -11003,7 +12797,7 @@ } }, { - "id": 342, + "id": 372, "name": "type", "kind": 1024, "kindString": "Property", @@ -11016,7 +12810,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 33 } ], @@ -11043,7 +12837,7 @@ { "title": "Properties", "kind": 1024, - "children": [341, 342] + "children": [371, 372] } ] } @@ -11052,32 +12846,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11086,7 +12890,7 @@ ] }, { - "id": 474, + "id": 507, "name": "then", "kind": 2048, "kindString": "Method", @@ -11094,31 +12898,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 475, + "id": 508, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 476, + "id": 509, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -11126,7 +12930,7 @@ } }, { - "id": 477, + "id": 510, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -11139,7 +12943,7 @@ ], "parameters": [ { - "id": 478, + "id": 511, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -11156,32 +12960,32 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 480, + "id": 513, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 481, + "id": 514, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -11194,7 +12998,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -11202,7 +13006,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -11220,7 +13024,7 @@ } }, { - "id": 482, + "id": 515, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -11237,21 +13041,21 @@ { "type": "reflection", "declaration": { - "id": 483, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 517, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 485, + "id": 518, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -11267,7 +13071,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -11275,7 +13079,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -11301,12 +13105,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -11318,19 +13122,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 607, + "id": 661, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 606, + "id": 660, "name": "default.then" } }, { - "id": 468, + "id": 501, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -11338,13 +13142,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 469, + "id": 502, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -11358,43 +13162,58 @@ "types": [ { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 171, "name": "Result" }, { @@ -11408,14 +13227,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 601, + "id": 655, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 600, + "id": 654, "name": "default.throwOnError" } } @@ -11424,33 +13243,45 @@ { "title": "Constructors", "kind": 512, - "children": [152] + "children": [166] }, { "title": "Properties", "kind": 1024, - "children": [459, 462, 457, 467, 455, 458, 460, 461, 456] + "children": [492, 495, 490, 500, 488, 491, 493, 494, 489] }, { "title": "Methods", "kind": 2048, "children": [ - 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, - 303, 452, 450, 376, 470, 430, 327, 474, 468 + 457, 301, 293, 466, 190, 470, 396, 468, 200, 208, 256, 264, 272, 288, 280, 232, 240, + 248, 442, 216, 224, 373, 485, 463, 195, 379, 389, 411, 349, 519, 449, 341, 309, 317, + 325, 333, 482, 480, 406, 503, 460, 357, 507, 501 ] } ], "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 72, + "line": 74, "character": 21 } ], "typeParameter": [ { - "id": 494, + "id": 527, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 528, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -11461,7 +13292,7 @@ } }, { - "id": 495, + "id": 529, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -11484,14 +13315,14 @@ } }, { - "id": 496, + "id": 530, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 531, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -11502,7 +13333,7 @@ } }, { - "id": 498, + "id": 532, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -11511,37 +13342,58 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 533, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11549,14 +13401,14 @@ ] }, { - "id": 64, + "id": 76, "name": "PostgrestQueryBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 65, + "id": 77, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -11570,14 +13422,26 @@ ], "signatures": [ { - "id": 66, + "id": 78, "name": "new PostgrestQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 67, + "id": 79, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 80, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -11588,7 +13452,7 @@ } }, { - "id": 68, + "id": 81, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -11608,7 +13472,7 @@ } }, { - "id": 69, + "id": 82, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -11619,7 +13483,7 @@ } }, { - "id": 72, + "id": 85, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -11628,20 +13492,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 70, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 84, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -11663,7 +13527,7 @@ { "title": "Properties", "kind": 1024, - "children": [71] + "children": [84] } ] } @@ -11681,7 +13545,7 @@ ], "parameters": [ { - "id": 73, + "id": 86, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -11694,7 +13558,7 @@ } }, { - "id": 74, + "id": 87, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -11702,14 +13566,14 @@ "type": { "type": "reflection", "declaration": { - "id": 75, + "id": 88, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 78, + "id": 91, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -11726,21 +13590,21 @@ "type": { "type": "reflection", "declaration": { - "id": 79, + "id": 92, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 80, + "id": 93, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 81, + "id": 94, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -11764,7 +13628,7 @@ } }, { - "id": 82, + "id": 95, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -11799,7 +13663,7 @@ } }, { - "id": 76, + "id": 89, "name": "headers", "kind": 1024, "kindString": "Property", @@ -11815,23 +13679,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 77, + "id": 90, "name": "schema", "kind": 1024, "kindString": "Property", @@ -11855,7 +13709,7 @@ { "title": "Properties", "kind": 1024, - "children": [78, 76, 77] + "children": [91, 89, 90] } ] } @@ -11864,26 +13718,31 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" } ], @@ -11893,7 +13752,7 @@ ] }, { - "id": 87, + "id": 100, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -11910,21 +13769,21 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 101, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 89, + "id": 102, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 90, + "id": 103, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -11948,7 +13807,7 @@ } }, { - "id": 91, + "id": 104, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -11983,7 +13842,7 @@ } }, { - "id": 84, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -11997,23 +13856,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 85, + "id": 98, "name": "schema", "kind": 1024, "kindString": "Property", @@ -12033,7 +13882,7 @@ } }, { - "id": 86, + "id": 99, "name": "signal", "kind": 1024, "kindString": "Property", @@ -12055,7 +13904,7 @@ } }, { - "id": 83, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -12075,7 +13924,7 @@ } }, { - "id": 140, + "id": 153, "name": "delete", "kind": 2048, "kindString": "Method", @@ -12083,13 +13932,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 357, + "line": 411, "character": 2 } ], "signatures": [ { - "id": 141, + "id": 154, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -12100,7 +13949,7 @@ }, "parameters": [ { - "id": 142, + "id": 155, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12112,14 +13961,14 @@ "type": { "type": "reflection", "declaration": { - "id": 143, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 157, "name": "count", "kind": 1024, "kindString": "Property", @@ -12132,7 +13981,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 360, + "line": 414, "character": 4 } ], @@ -12159,7 +14008,7 @@ { "title": "Properties", "kind": 1024, - "children": [144] + "children": [157] } ] } @@ -12169,11 +14018,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -12184,7 +14038,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -12194,13 +14048,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "DELETE" } ], "name": "default" @@ -12209,7 +14067,7 @@ ] }, { - "id": 101, + "id": 114, "name": "insert", "kind": 2048, "kindString": "Method", @@ -12217,13 +14075,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 101, + "line": 116, "character": 2 } ], "signatures": [ { - "id": 102, + "id": 115, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -12234,7 +14092,7 @@ }, "typeParameter": [ { - "id": 103, + "id": 116, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -12259,7 +14117,7 @@ ], "parameters": [ { - "id": 104, + "id": 117, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -12269,12 +14127,12 @@ }, "type": { "type": "reference", - "id": 103, + "id": 116, "name": "Row" } }, { - "id": 105, + "id": 118, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12287,14 +14145,14 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 119, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 107, + "id": 120, "name": "count", "kind": 1024, "kindString": "Property", @@ -12307,7 +14165,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 104, + "line": 119, "character": 6 } ], @@ -12334,7 +14192,7 @@ { "title": "Properties", "kind": 1024, - "children": [107] + "children": [120] } ] } @@ -12343,11 +14201,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -12358,7 +14221,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -12368,20 +14231,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 108, + "id": 121, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -12392,7 +14259,7 @@ }, "typeParameter": [ { - "id": 109, + "id": 122, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -12417,7 +14284,7 @@ ], "parameters": [ { - "id": 110, + "id": 123, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -12429,13 +14296,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 109, + "id": 122, "name": "Row" } } }, { - "id": 111, + "id": 124, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12448,14 +14315,14 @@ "type": { "type": "reflection", "declaration": { - "id": 112, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 113, + "id": 126, "name": "count", "kind": 1024, "kindString": "Property", @@ -12468,7 +14335,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 110, + "line": 133, "character": 6 } ], @@ -12491,7 +14358,7 @@ } }, { - "id": 114, + "id": 127, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -12504,7 +14371,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 111, + "line": 134, "character": 6 } ], @@ -12518,7 +14385,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 114] + "children": [126, 127] } ] } @@ -12527,11 +14394,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -12542,7 +14414,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -12552,13 +14424,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -12567,7 +14443,7 @@ ] }, { - "id": 92, + "id": 105, "name": "select", "kind": 2048, "kindString": "Method", @@ -12581,7 +14457,7 @@ ], "signatures": [ { - "id": 93, + "id": 106, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -12591,7 +14467,7 @@ }, "typeParameter": [ { - "id": 94, + "id": 107, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -12606,18 +14482,18 @@ } }, { - "id": 95, + "id": 108, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 80, "name": "Schema" }, { @@ -12628,24 +14504,29 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" }, { "type": "reference", - "id": 94, + "id": 107, "name": "Query" + }, + { + "type": "reference", + "id": 79, + "name": "ClientOptions" } ], "name": "GetResult" @@ -12654,7 +14535,7 @@ ], "parameters": [ { - "id": 96, + "id": 109, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -12666,12 +14547,12 @@ }, "type": { "type": "reference", - "id": 94, + "id": 107, "name": "Query" } }, { - "id": 97, + "id": 110, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12683,14 +14564,14 @@ "type": { "type": "reflection", "declaration": { - "id": 98, + "id": 111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 100, + "id": 113, "name": "count", "kind": 1024, "kindString": "Property", @@ -12703,7 +14584,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 67, + "line": 74, "character": 6 } ], @@ -12726,7 +14607,7 @@ } }, { - "id": 99, + "id": 112, "name": "head", "kind": 1024, "kindString": "Property", @@ -12739,7 +14620,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 66, + "line": 73, "character": 6 } ], @@ -12753,7 +14634,7 @@ { "title": "Properties", "kind": 1024, - "children": [100, 99] + "children": [113, 112] } ] } @@ -12763,11 +14644,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -12778,7 +14664,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -12786,19 +14672,23 @@ "type": "array", "elementType": { "type": "reference", - "id": 95, + "id": 108, "name": "ResultOne" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "GET" } ], "name": "default" @@ -12807,7 +14697,7 @@ ] }, { - "id": 133, + "id": 146, "name": "update", "kind": 2048, "kindString": "Method", @@ -12815,13 +14705,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 309, + "line": 361, "character": 2 } ], "signatures": [ { - "id": 134, + "id": 147, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -12832,7 +14722,7 @@ }, "typeParameter": [ { - "id": 135, + "id": 148, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -12857,7 +14747,7 @@ ], "parameters": [ { - "id": 136, + "id": 149, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -12867,12 +14757,12 @@ }, "type": { "type": "reference", - "id": 135, + "id": 148, "name": "Row" } }, { - "id": 137, + "id": 150, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12884,14 +14774,14 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 139, + "id": 152, "name": "count", "kind": 1024, "kindString": "Property", @@ -12904,7 +14794,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 314, + "line": 366, "character": 6 } ], @@ -12931,7 +14821,7 @@ { "title": "Properties", "kind": 1024, - "children": [139] + "children": [152] } ] } @@ -12941,11 +14831,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -12956,7 +14851,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -12966,13 +14861,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "PATCH" } ], "name": "default" @@ -12981,7 +14880,7 @@ ] }, { - "id": 115, + "id": 128, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -12989,13 +14888,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 184, + "line": 217, "character": 2 } ], "signatures": [ { - "id": 116, + "id": 129, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -13006,7 +14905,7 @@ }, "typeParameter": [ { - "id": 117, + "id": 130, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13031,7 +14930,7 @@ ], "parameters": [ { - "id": 118, + "id": 131, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -13041,12 +14940,12 @@ }, "type": { "type": "reference", - "id": 117, + "id": 130, "name": "Row" } }, { - "id": 119, + "id": 132, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13059,14 +14958,14 @@ "type": { "type": "reflection", "declaration": { - "id": 120, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 123, + "id": 136, "name": "count", "kind": 1024, "kindString": "Property", @@ -13079,7 +14978,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 189, + "line": 222, "character": 6 } ], @@ -13102,7 +15001,7 @@ } }, { - "id": 122, + "id": 135, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -13115,7 +15014,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 188, + "line": 221, "character": 6 } ], @@ -13125,7 +15024,7 @@ } }, { - "id": 121, + "id": 134, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -13138,7 +15037,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 187, + "line": 220, "character": 6 } ], @@ -13152,7 +15051,7 @@ { "title": "Properties", "kind": 1024, - "children": [123, 122, 121] + "children": [136, 135, 134] } ] } @@ -13161,11 +15060,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -13176,7 +15080,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -13186,20 +15090,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 124, + "id": 137, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -13210,7 +15118,7 @@ }, "typeParameter": [ { - "id": 125, + "id": 138, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13235,7 +15143,7 @@ ], "parameters": [ { - "id": 126, + "id": 139, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -13247,13 +15155,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 125, + "id": 138, "name": "Row" } } }, { - "id": 127, + "id": 140, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13266,14 +15174,14 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 144, "name": "count", "kind": 1024, "kindString": "Property", @@ -13286,7 +15194,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 197, + "line": 238, "character": 6 } ], @@ -13309,7 +15217,7 @@ } }, { - "id": 132, + "id": 145, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -13322,7 +15230,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 198, + "line": 239, "character": 6 } ], @@ -13332,7 +15240,7 @@ } }, { - "id": 130, + "id": 143, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -13345,7 +15253,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 196, + "line": 237, "character": 6 } ], @@ -13355,7 +15263,7 @@ } }, { - "id": 129, + "id": 142, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -13368,7 +15276,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 195, + "line": 236, "character": 6 } ], @@ -13382,7 +15290,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 132, 130, 129] + "children": [144, 145, 143, 142] } ] } @@ -13391,11 +15299,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -13406,7 +15319,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -13416,13 +15329,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -13435,29 +15352,41 @@ { "title": "Constructors", "kind": 512, - "children": [65] + "children": [77] }, { "title": "Properties", "kind": 1024, - "children": [87, 84, 85, 86, 83] + "children": [100, 97, 98, 99, 96] }, { "title": "Methods", "kind": 2048, - "children": [140, 101, 92, 133, 115] + "children": [153, 114, 105, 146, 128] } ], "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 145, + "id": 158, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 159, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -13468,7 +15397,7 @@ } }, { - "id": 146, + "id": 160, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -13488,7 +15417,7 @@ } }, { - "id": 147, + "id": 161, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -13499,7 +15428,7 @@ } }, { - "id": 150, + "id": 164, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -13508,20 +15437,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -13543,7 +15472,7 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ], "sources": [ @@ -13568,28 +15497,40 @@ ] }, { - "id": 499, + "id": 534, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 500, + "id": 535, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 501, + "id": 536, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 502, + "id": 537, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 538, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -13600,7 +15541,7 @@ } }, { - "id": 503, + "id": 539, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13623,14 +15564,14 @@ } }, { - "id": 504, + "id": 540, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 505, + "id": 541, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -13641,7 +15582,7 @@ } }, { - "id": 506, + "id": 542, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -13650,80 +15591,375 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 543, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 507, + "id": 544, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 504, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default" + "type": "reflection", + "declaration": { + "id": 545, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 550, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 553, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 554, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 555, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 556, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 557, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 548, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 558, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 546, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 549, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 551, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 552, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 547, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [550, 553, 548, 558, 546, 549, 551, 552, 547] + } + ] + } } } ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 689, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 632, + "id": 688, "name": "default.constructor" } }, { - "id": 591, + "id": 645, "name": "body", "kind": 1024, "kindString": "Property", @@ -13734,7 +15970,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -13744,12 +15980,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 712, "name": "default.body" } }, { - "id": 594, + "id": 648, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13759,28 +15995,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 596, + "id": 650, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 597, + "id": 651, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -13804,7 +16040,7 @@ } }, { - "id": 598, + "id": 652, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -13839,12 +16075,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 644, + "id": 715, "name": "default.fetch" } }, { - "id": 589, + "id": 643, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13854,34 +16090,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 639, + "id": 710, "name": "default.headers" } }, { - "id": 599, + "id": 653, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -13891,7 +16117,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -13901,12 +16127,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 649, + "id": 720, "name": "default.isMaybeSingle" } }, { - "id": 587, + "id": 641, "name": "method", "kind": 1024, "kindString": "Property", @@ -13916,7 +16142,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -13947,12 +16173,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 708, "name": "default.method" } }, { - "id": 590, + "id": 644, "name": "schema", "kind": 1024, "kindString": "Property", @@ -13963,7 +16189,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -13973,18 +16199,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 640, + "id": 711, "name": "default.schema" } }, { - "id": 592, + "id": 646, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 713, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 647, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 714, + "name": "default.signal" + } + }, + { + "id": 642, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -13992,60 +16272,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 642, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 593, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 643, - "name": "default.signal" - } - }, - { - "id": 588, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -14054,12 +16280,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 638, + "id": 709, "name": "default.url" } }, { - "id": 559, + "id": 610, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -14067,13 +16293,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 560, + "id": 611, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -14083,7 +16309,7 @@ }, "parameters": [ { - "id": 561, + "id": 612, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -14101,32 +16327,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -14135,7 +16371,7 @@ ] }, { - "id": 568, + "id": 619, "name": "csv", "kind": 2048, "kindString": "Method", @@ -14143,13 +16379,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 569, + "id": 620, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -14159,8 +16395,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -14176,7 +16417,7 @@ ] }, { - "id": 572, + "id": 623, "name": "explain", "kind": 2048, "kindString": "Method", @@ -14184,13 +16425,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 573, + "id": 624, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -14201,7 +16442,7 @@ }, "parameters": [ { - "id": 574, + "id": 625, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14213,14 +16454,14 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 627, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -14233,7 +16474,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -14243,7 +16484,7 @@ } }, { - "id": 579, + "id": 630, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -14256,7 +16497,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -14266,7 +16507,7 @@ } }, { - "id": 581, + "id": 632, "name": "format", "kind": 1024, "kindString": "Property", @@ -14279,7 +16520,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -14298,7 +16539,7 @@ } }, { - "id": 578, + "id": 629, "name": "settings", "kind": 1024, "kindString": "Property", @@ -14311,7 +16552,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -14321,7 +16562,7 @@ } }, { - "id": 577, + "id": 628, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -14334,7 +16575,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -14344,7 +16585,7 @@ } }, { - "id": 580, + "id": 631, "name": "wal", "kind": 1024, "kindString": "Property", @@ -14357,7 +16598,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -14371,7 +16612,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 579, 581, 578, 577, 580] + "children": [627, 630, 632, 629, 628, 631] } ] } @@ -14384,8 +16625,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -14399,8 +16645,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -14433,7 +16684,7 @@ ] }, { - "id": 570, + "id": 621, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -14441,13 +16692,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 571, + "id": 622, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -14457,8 +16708,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -14486,7 +16742,7 @@ ] }, { - "id": 544, + "id": 595, "name": "limit", "kind": 2048, "kindString": "Method", @@ -14494,13 +16750,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 545, + "id": 596, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -14510,7 +16766,7 @@ }, "parameters": [ { - "id": 546, + "id": 597, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -14524,7 +16780,7 @@ } }, { - "id": 547, + "id": 598, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14536,14 +16792,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 549, + "id": 600, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -14556,7 +16812,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -14566,7 +16822,7 @@ } }, { - "id": 550, + "id": 601, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -14579,7 +16835,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -14593,7 +16849,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [600, 601] } ] } @@ -14603,32 +16859,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -14637,7 +16903,161 @@ ] }, { - "id": 565, + "id": 638, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 639, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 640, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 537, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 543, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 534, + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, + "name": "Schema" + }, + { + "type": "reference", + "id": 539, + "name": "Row" + }, + { + "type": "reference", + "id": 540, + "name": "Result" + }, + { + "type": "reference", + "id": 541, + "name": "RelationName" + }, + { + "type": "reference", + "id": 542, + "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + } + } + ] + }, + { + "id": 616, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -14645,13 +17065,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 566, + "id": 617, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -14662,7 +17082,7 @@ }, "typeParameter": [ { - "id": 567, + "id": 618, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -14671,7 +17091,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -14694,8 +17114,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -14705,7 +17130,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -14721,7 +17146,7 @@ ] }, { - "id": 513, + "id": 564, "name": "order", "kind": 2048, "kindString": "Method", @@ -14729,13 +17154,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 514, + "id": 565, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -14746,7 +17171,7 @@ }, "typeParameter": [ { - "id": 515, + "id": 566, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -14759,7 +17184,7 @@ ], "parameters": [ { - "id": 516, + "id": 567, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -14769,12 +17194,12 @@ }, "type": { "type": "reference", - "id": 383, + "id": 413, "name": "ColumnName" } }, { - "id": 517, + "id": 568, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14787,14 +17212,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 570, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -14807,7 +17232,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 16 } ], @@ -14817,7 +17242,7 @@ } }, { - "id": 520, + "id": 571, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -14830,7 +17255,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 37 } ], @@ -14840,7 +17265,7 @@ } }, { - "id": 521, + "id": 572, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -14853,7 +17278,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 59 } ], @@ -14867,7 +17292,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 520, 521] + "children": [570, 571, 572] } ] } @@ -14876,39 +17301,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 522, + "id": 573, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -14919,7 +17354,7 @@ }, "parameters": [ { - "id": 523, + "id": 574, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -14933,7 +17368,7 @@ } }, { - "id": 524, + "id": 575, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14946,14 +17381,14 @@ "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 577, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -14966,7 +17401,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 16 } ], @@ -14976,7 +17411,7 @@ } }, { - "id": 527, + "id": 578, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -14989,7 +17424,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 37 } ], @@ -14999,7 +17434,7 @@ } }, { - "id": 528, + "id": 579, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -15012,7 +17447,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 59 } ], @@ -15026,7 +17461,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 528] + "children": [577, 578, 579] } ] } @@ -15035,39 +17470,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 529, + "id": 580, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -15084,7 +17529,7 @@ }, "typeParameter": [ { - "id": 530, + "id": 581, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -15097,7 +17542,7 @@ ], "parameters": [ { - "id": 531, + "id": 582, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -15107,12 +17552,12 @@ }, "type": { "type": "reference", - "id": 398, + "id": 428, "name": "ColumnName" } }, { - "id": 532, + "id": 583, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15125,14 +17570,14 @@ "type": { "type": "reflection", "declaration": { - "id": 533, + "id": 584, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 585, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -15142,7 +17587,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 16 } ], @@ -15152,7 +17597,7 @@ } }, { - "id": 536, + "id": 587, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -15162,7 +17607,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 59 } ], @@ -15172,7 +17617,7 @@ } }, { - "id": 535, + "id": 586, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -15182,7 +17627,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 37 } ], @@ -15196,7 +17641,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 536, 535] + "children": [585, 587, 586] } ] } @@ -15205,39 +17650,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 537, + "id": 588, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -15254,7 +17709,7 @@ }, "parameters": [ { - "id": 538, + "id": 589, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -15268,7 +17723,7 @@ } }, { - "id": 539, + "id": 590, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15281,14 +17736,14 @@ "type": { "type": "reflection", "declaration": { - "id": 540, + "id": 591, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 592, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -15298,7 +17753,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 16 } ], @@ -15308,7 +17763,7 @@ } }, { - "id": 543, + "id": 594, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -15318,7 +17773,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 59 } ], @@ -15328,7 +17783,7 @@ } }, { - "id": 542, + "id": 593, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -15338,7 +17793,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 37 } ], @@ -15352,7 +17807,7 @@ { "title": "Properties", "kind": 1024, - "children": [541, 543, 542] + "children": [592, 594, 593] } ] } @@ -15361,32 +17816,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -15395,7 +17860,7 @@ ] }, { - "id": 618, + "id": 672, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -15403,13 +17868,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 619, + "id": 673, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -15426,7 +17891,7 @@ }, "typeParameter": [ { - "id": 620, + "id": 674, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -15436,7 +17901,7 @@ } }, { - "id": 625, + "id": 679, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -15447,14 +17912,14 @@ "type": { "type": "reflection", "declaration": { - "id": 621, + "id": 675, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 676, "name": "merge", "kind": 1024, "kindString": "Property", @@ -15464,7 +17929,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -15478,7 +17943,7 @@ { "title": "Properties", "kind": 1024, - "children": [622] + "children": [676] } ] } @@ -15486,14 +17951,14 @@ "default": { "type": "reflection", "declaration": { - "id": 623, + "id": 677, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 624, + "id": 678, "name": "merge", "kind": 1024, "kindString": "Property", @@ -15501,7 +17966,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -15515,7 +17980,7 @@ { "title": "Properties", "kind": 1024, - "children": [624] + "children": [678] } ] } @@ -15524,8 +17989,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -15533,12 +18003,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -15563,7 +18033,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -15585,7 +18055,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -15593,7 +18063,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -15603,7 +18073,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -15616,17 +18086,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -15638,12 +18108,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -15659,19 +18129,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 672, + "id": 743, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 671, + "id": 742, "name": "default.overrideTypes" } }, { - "id": 551, + "id": 602, "name": "range", "kind": 2048, "kindString": "Method", @@ -15679,13 +18149,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 552, + "id": 603, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -15695,7 +18165,7 @@ }, "parameters": [ { - "id": 553, + "id": 604, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -15709,7 +18179,7 @@ } }, { - "id": 554, + "id": 605, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -15723,7 +18193,7 @@ } }, { - "id": 555, + "id": 606, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -15735,14 +18205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 608, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -15755,7 +18225,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -15765,7 +18235,7 @@ } }, { - "id": 558, + "id": 609, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -15778,7 +18248,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -15792,7 +18262,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [608, 609] } ] } @@ -15802,32 +18272,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -15836,7 +18316,7 @@ ] }, { - "id": 584, + "id": 635, "name": "returns", "kind": 2048, "kindString": "Method", @@ -15844,13 +18324,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 585, + "id": 636, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -15866,7 +18346,7 @@ }, "typeParameter": [ { - "id": 586, + "id": 637, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -15878,16 +18358,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { @@ -15895,12 +18380,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -15908,32 +18393,37 @@ }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "overwrites": { "type": "reference", - "id": 669, + "id": 740, "name": "default.returns" } } ], "overwrites": { "type": "reference", - "id": 668, + "id": 739, "name": "default.returns" } }, { - "id": 582, + "id": 633, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -15941,13 +18431,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 583, + "id": 634, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -15958,32 +18448,42 @@ }, "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -15992,7 +18492,7 @@ ] }, { - "id": 508, + "id": 559, "name": "select", "kind": 2048, "kindString": "Method", @@ -16000,13 +18500,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 509, + "id": 560, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -16017,7 +18517,7 @@ }, "typeParameter": [ { - "id": 510, + "id": 561, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -16032,39 +18532,44 @@ } }, { - "id": 511, + "id": 562, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 537, + "name": "ClientOptions" } ], "name": "GetResult" @@ -16073,7 +18578,7 @@ ], "parameters": [ { - "id": 512, + "id": 563, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -16085,42 +18590,52 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query" } } ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -16129,7 +18644,7 @@ ] }, { - "id": 602, + "id": 656, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -16137,13 +18652,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 603, + "id": 657, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -16153,7 +18668,7 @@ }, "parameters": [ { - "id": 604, + "id": 658, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -16164,7 +18679,7 @@ } }, { - "id": 605, + "id": 659, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -16177,51 +18692,61 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 653, + "id": 724, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 652, + "id": 723, "name": "default.setHeader" } }, { - "id": 562, + "id": 613, "name": "single", "kind": 2048, "kindString": "Method", @@ -16229,13 +18754,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 563, + "id": 614, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -16246,7 +18771,7 @@ }, "typeParameter": [ { - "id": 564, + "id": 615, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -16255,7 +18780,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -16278,11 +18803,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -16296,7 +18826,7 @@ ] }, { - "id": 606, + "id": 660, "name": "then", "kind": 2048, "kindString": "Method", @@ -16304,31 +18834,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 607, + "id": 661, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 608, + "id": 662, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -16336,7 +18866,7 @@ } }, { - "id": 609, + "id": 663, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -16349,7 +18879,7 @@ ], "parameters": [ { - "id": 610, + "id": 664, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -16366,32 +18896,32 @@ { "type": "reflection", "declaration": { - "id": 611, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 612, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 613, + "id": 667, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -16404,7 +18934,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -16412,7 +18942,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -16430,7 +18960,7 @@ } }, { - "id": 614, + "id": 668, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -16447,21 +18977,21 @@ { "type": "reflection", "declaration": { - "id": 615, + "id": 669, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 616, + "id": 670, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 617, + "id": 671, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -16477,7 +19007,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -16485,7 +19015,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -16511,12 +19041,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -16528,19 +19058,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 657, + "id": 728, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 656, + "id": 727, "name": "default.then" } }, { - "id": 600, + "id": 654, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -16548,13 +19078,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 601, + "id": 655, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -16568,43 +19098,58 @@ "types": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" }, { @@ -16618,14 +19163,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 651, + "id": 722, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 650, + "id": 721, "name": "default.throwOnError" } } @@ -16634,31 +19179,43 @@ { "title": "Constructors", "kind": 512, - "children": [500] + "children": [535] }, { "title": "Properties", "kind": 1024, - "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] + "children": [645, 648, 643, 653, 641, 644, 646, 647, 642] }, { "title": "Methods", "kind": 2048, "children": [ - 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 + 610, 619, 623, 621, 595, 638, 616, 564, 672, 602, 635, 633, 559, 656, 613, 660, 654 ] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 5, + "line": 11, "character": 21 } ], "typeParameter": [ { - "id": 626, + "id": 680, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 681, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -16669,7 +19226,7 @@ } }, { - "id": 627, + "id": 682, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -16692,14 +19249,14 @@ } }, { - "id": 628, + "id": 683, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 629, + "id": 684, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -16710,7 +19267,7 @@ } }, { - "id": 630, + "id": 685, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -16719,16 +19276,32 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 686, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" } ], @@ -16738,20 +19311,20 @@ "extendedBy": [ { "type": "reference", - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder" } ] }, { - "id": 695, + "id": 767, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 698, + "id": 770, "name": "count", "kind": 1024, "kindString": "Property", @@ -16769,7 +19342,7 @@ } }, { - "id": 697, + "id": 769, "name": "data", "kind": 1024, "kindString": "Property", @@ -16787,7 +19360,7 @@ } }, { - "id": 696, + "id": 768, "name": "error", "kind": 1024, "kindString": "Property", @@ -16801,12 +19374,12 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" } }, { - "id": 699, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -16828,7 +19401,7 @@ } }, { - "id": 700, + "id": 772, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -16854,7 +19427,7 @@ { "title": "Properties", "kind": 1024, - "children": [698, 697, 696, 699, 700] + "children": [770, 769, 768, 771, 772] } ], "sources": [ @@ -16872,14 +19445,14 @@ ] }, { - "id": 701, + "id": 773, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 776, "name": "count", "kind": 1024, "kindString": "Property", @@ -16906,7 +19479,7 @@ } }, { - "id": 703, + "id": 775, "name": "data", "kind": 1024, "kindString": "Property", @@ -16920,12 +19493,12 @@ ], "type": { "type": "reference", - "id": 707, + "id": 779, "name": "T" } }, { - "id": 702, + "id": 774, "name": "error", "kind": 1024, "kindString": "Property", @@ -16943,7 +19516,7 @@ } }, { - "id": 705, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -16965,7 +19538,7 @@ } }, { - "id": 706, + "id": 778, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -16991,7 +19564,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 703, 702, 705, 706] + "children": [776, 775, 774, 777, 778] } ], "sources": [ @@ -17003,7 +19576,7 @@ ], "typeParameter": [ { - "id": 707, + "id": 779, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17018,7 +19591,310 @@ ] }, { - "id": 710, + "id": 784, + "name": "ClientServerOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 785, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 786, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 75, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [786] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 34 + } + ] + } + } + }, + { + "id": 787, + "name": "GetGenericDatabaseWithOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 85, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 788, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 791, + "name": "Opts", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "reflection", + "declaration": { + "id": 789, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 790, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [790] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 37 + } + ] + } + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + } + ], + "name": "IsAny" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + } + } + }, + { + "id": 782, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -17032,7 +19908,7 @@ ], "typeParameter": [ { - "id": 711, + "id": 783, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17041,14 +19917,14 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 711, + "id": 783, "name": "T" }, { @@ -17062,7 +19938,7 @@ } }, { - "id": 693, + "id": 765, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", @@ -17076,7 +19952,7 @@ ], "typeParameter": [ { - "id": 694, + "id": 766, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17085,13 +19961,13 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "id": 694, + "id": 766, "name": "T" } } @@ -17100,7 +19976,7 @@ } }, { - "id": 708, + "id": 780, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -17114,7 +19990,7 @@ ], "typeParameter": [ { - "id": 709, + "id": 781, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -17126,11 +20002,11 @@ "types": [ { "type": "reference", - "id": 701, + "id": 773, "typeArguments": [ { "type": "reference", - "id": 709, + "id": 781, "name": "T" } ], @@ -17138,14 +20014,14 @@ }, { "type": "reference", - "id": 695, + "id": 767, "name": "PostgrestResponseFailure" } ] } }, { - "id": 712, + "id": 792, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -17156,13 +20032,13 @@ "sources": [ { "fileName": "src/select-query-parser/result.ts", - "line": 33, + "line": 37, "character": 12 } ], "typeParameter": [ { - "id": 713, + "id": 793, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -17176,7 +20052,7 @@ } }, { - "id": 714, + "id": 794, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -17202,7 +20078,7 @@ } }, { - "id": 715, + "id": 795, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -17212,7 +20088,7 @@ } }, { - "id": 716, + "id": 796, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -17222,7 +20098,7 @@ } }, { - "id": 717, + "id": 797, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -17234,6 +20110,18 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 798, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } } ], "type": { @@ -17243,7 +20131,7 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 793, "name": "Schema" } ], @@ -17260,7 +20148,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -17287,7 +20175,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -17323,7 +20211,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -17337,7 +20225,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -17371,7 +20259,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -17380,7 +20268,7 @@ }, "trueType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "falseType": { @@ -17390,7 +20278,7 @@ }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } ], @@ -17403,7 +20291,7 @@ }, "falseType": { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } }, @@ -17414,7 +20302,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -17441,7 +20329,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -17452,7 +20340,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -17467,22 +20355,27 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 798, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 793, "name": "Schema" }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" }, { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, { @@ -17559,7 +20452,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 631, + "id": 687, "name": "default" } } @@ -17589,7 +20482,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 681, + "id": 753, "name": "default" } } @@ -17604,7 +20497,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 151, + "id": 165, "name": "default" } } @@ -17619,7 +20512,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 64, + "id": 76, "name": "default" } } @@ -17634,7 +20527,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 499, + "id": 534, "name": "default" } } @@ -17655,17 +20548,17 @@ { "title": "Classes", "kind": 128, - "children": [631, 9, 681, 151, 64, 499] + "children": [687, 9, 753, 165, 76, 534] }, { "title": "Interfaces", "kind": 256, - "children": [695, 701] + "children": [767, 773] }, { "title": "Type Aliases", "kind": 4194304, - "children": [710, 693, 708, 712] + "children": [784, 787, 782, 765, 780, 792] }, { "title": "Variables", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json index b5bebe13e51..f9995092592 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json @@ -7,7 +7,7 @@ "originalName": "", "children": [ { - "id": 631, + "id": 687, "name": "PostgrestBuilder", "kind": 128, "kindString": "Class", @@ -16,7 +16,7 @@ }, "children": [ { - "id": 632, + "id": 688, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -24,27 +24,39 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 31, + "line": 35, "character": 2 } ], "signatures": [ { - "id": 633, + "id": 689, "name": "new PostgrestBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 634, + "id": 690, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 691, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 635, + "id": 692, "name": "ThrowOnError", "kind": 131072, "kindString": "Type parameter", @@ -61,513 +73,23 @@ ], "parameters": [ { - "id": 636, + "id": 693, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, - "children": "[Circular ~.children.0.children]", - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, - { - "title": "Properties", - "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, - "name": "body", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 644, - "name": "fetch", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 645, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 646, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 647, - "name": "input", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "qualifiedName": "RequestInfo", - "package": "typescript", - "name": "RequestInfo" - }, - { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - ] - } - }, - { - "id": 648, - "name": "init", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "qualifiedName": "RequestInit", - "package": "typescript", - "name": "RequestInit" - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "qualifiedName": "Response", - "package": "typescript", - "name": "Response" - } - ], - "qualifiedName": "Promise", - "package": "typescript", - "name": "Promise" - } - } - ] - } - } - }, - { - "id": 639, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" - } - }, - { - "id": 649, - "name": "isMaybeSingle", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 637, - "name": "method", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "GET" - }, - { - "type": "literal", - "value": "HEAD" - }, - { - "type": "literal", - "value": "POST" - }, - { - "type": "literal", - "value": "PATCH" - }, - { - "type": "literal", - "value": "DELETE" - } - ] - } - }, - { - "id": 640, - "name": "schema", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 642, - "name": "shouldThrowOnError", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - } - }, - { - "id": 638, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "URL", - "package": "typescript", - "name": "URL" - } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, "type": { "type": "reflection", "declaration": { - "id": 674, + "id": 694, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 675, - "name": "merge", + "id": 699, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { @@ -576,977 +98,17 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 + "line": 40, + "character": 4 } ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "unknown" } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" }, { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, - { - "title": "Properties", - "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - }, - { - "id": 9, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": {}, - "comment": { - "shortText": "PostgREST client." - }, - "children": [ - { - "id": 10, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestClient.ts", - "line": 41, - "character": 2 - } - ], - "signatures": [ - { - "id": 11, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "typeParameter": [ - { - "id": 12, - "name": "Database", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 13, - "name": "SchemaName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "literal", - "value": "public" - }, - "extendsType": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "trueType": { - "type": "literal", - "value": "public" - }, - "falseType": { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "id": 12, - "name": "Database" - } - } - ] - } - } - }, - { - "id": 14, - "name": "Schema", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "reference", - "name": "GenericSchema" - }, - "default": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 13, - "name": "SchemaName" - }, - "objectType": { - "type": "reference", - "id": 12, - "name": "Database" - } - }, - "extendsType": { - "type": "reference", - "name": "GenericSchema" - }, - "trueType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "any" - }, - "objectType": { - "type": "intrinsic", - "name": "any" - } - }, - "falseType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 15, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "URL of the PostgREST endpoint" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 16, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 17, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 20, + "id": 702, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -1555,32 +117,29 @@ }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 50, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 21, + "id": 703, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 22, + "id": 704, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, - "comment": { - "shortText": "Custom fetch\n" - }, "parameters": [ { - "id": 23, + "id": 705, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -1604,7 +163,7 @@ } }, { - "id": 24, + "id": 706, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -1639,63 +198,164 @@ } }, { - "id": 18, + "id": 697, "name": "headers", "kind": 1024, "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 707, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Custom headers" - }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 48, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 44, + "character": 4 } ], "type": { - "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", - "package": "typescript", - "name": "Record" + "type": "intrinsic", + "name": "boolean" } }, { - "id": 19, + "id": 695, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 36, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 698, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { "isOptional": true }, - "comment": { - "shortText": "Postgres schema to switch to" + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 700, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", - "line": 49, - "character": 6 + "fileName": "src/PostgrestBuilder.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 701, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { "type": "reference", - "id": 13, - "name": "SchemaName", - "dereferenced": {} + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 696, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } } ], @@ -1703,32 +363,31 @@ { "title": "Properties", "kind": 1024, - "children": [20, 18, 19] + "children": [699, 702, 697, 707, 695, 698, 700, 701, 696] } ] } - }, - "defaultValue": "{}" + } } ], "type": { "type": "reference", - "id": 9, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 12, - "name": "Database" + "id": 690, + "name": "ClientOptions" }, { "type": "reference", - "id": 13, - "name": "SchemaName" + "id": 691, + "name": "Result" }, { "type": "reference", - "id": 14, - "name": "Schema" + "id": 692, + "name": "ThrowOnError" } ], "name": "default" @@ -1737,38 +396,59 @@ ] }, { - "id": 28, - "name": "fetch", + "id": 712, + "name": "body", "kind": 1024, "kindString": "Property", "flags": { + "isProtected": true, "isOptional": true }, "sources": [ { - "fileName": "src/PostgrestClient.ts", + "fileName": "src/PostgrestBuilder.ts", "line": 29, - "character": 2 + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 715, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 32, + "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 29, + "id": 716, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 30, + "id": 717, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 31, + "id": 718, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -1792,7 +472,7 @@ } }, { - "id": 32, + "id": 719, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -1827,7 +507,1750 @@ } }, { - "id": 26, + "id": 710, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 27, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Headers", + "package": "typescript", + "name": "Headers" + } + }, + { + "id": 720, + "name": "isMaybeSingle", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 33, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 708, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 25, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 711, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 713, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 714, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 709, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 26, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 742, + "name": "overrideTypes", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 276, + "character": 2 + } + ], + "signatures": [ + { + "id": 743, + "name": "overrideTypes", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data` field in the response.", + "returns": "A PostgrestBuilder instance with the new type\n", + "tags": [ + { + "tag": "example", + "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" + } + ] + }, + "typeParameter": [ + { + "id": 744, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new type to cast the response data to" + } + }, + { + "id": 749, + "name": "Options", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "Optional type configuration (defaults to { merge: true })" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 745, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 746, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [746] + } + ] + } + }, + "default": { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 748, + "name": "merge", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 278, + "character": 44 + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [748] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "literal", + "value": false + }, + { + "type": "literal", + "value": false + } + ], + "name": "IsValidResultOverride" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "ContainsNull" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "qualifiedName": "NonNullable", + "package": "typescript", + "name": "NonNullable" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + ] + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "name": "NewResult" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 526, + "name": "Options" + } + ], + "name": "MergePartialResult" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 521, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + } + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 739, + "name": "returns", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 241, + "character": 2 + } + ], + "signatures": [ + { + "id": 740, + "name": "returns", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Override the type of the returned `data`.", + "tags": [ + { + "tag": "deprecated", + "text": "Use overrideTypes() method at the end of your call chain instead\n" + } + ] + }, + "typeParameter": [ + { + "id": 741, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "comment": { + "shortText": "The new result type to override with" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 741, + "name": "NewResult" + } + ], + "name": "CheckMatchingArrayTypes" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 723, + "name": "setHeader", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 724, + "name": "setHeader", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set an HTTP header for the request." + }, + "parameters": [ + { + "id": 725, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 726, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 727, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 84, + "character": 2 + } + ], + "signatures": [ + { + "id": 728, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 729, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + }, + { + "id": 730, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 731, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 733, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 734, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 735, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 736, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 737, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 738, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 509, + "name": "TResult1" + }, + { + "type": "reference", + "id": 510, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 721, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 722, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", + "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + } + ], + "name": "default" + }, + { + "type": "reference", + "id": 687, + "typeArguments": [ + { + "type": "reference", + "id": 690, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 691, + "name": "Result" + }, + { + "type": "literal", + "value": true + } + ], + "name": "default" + } + ] + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [688] + }, + { + "title": "Properties", + "kind": 1024, + "children": [712, 715, 710, 720, 708, 711, 713, 714, 709] + }, + { + "title": "Methods", + "kind": 2048, + "children": [742, 739, 723, 727, 721] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 750, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 751, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 752, + "name": "ThrowOnError", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "default": { + "type": "literal", + "value": false + } + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 534, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 692, + "name": "ThrowOnError" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "id": 773, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestResponseSuccess" + }, + "falseType": { + "type": "reference", + "id": 780, + "typeArguments": [ + { + "type": "reference", + "id": 691, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 9, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "PostgREST client." + }, + "children": [ + { + "id": 10, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 44, + "character": 2 + } + ], + "signatures": [ + { + "id": 11, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "typeParameter": [ + { + "id": 12, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 15, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 14, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [14] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 20, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 17, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [17] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 19, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [19] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + } + ] + } + } + }, + { + "id": 23, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 21, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 22, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [22] + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 24, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 26, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 53, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 30, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 31, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Custom fetch\n" + }, + "parameters": [ + { + "id": 32, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 33, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 27, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Custom headers" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 51, + "character": 6 + } + ], + "type": { + "type": "reference", + "qualifiedName": "HeadersInit", + "package": "typescript", + "name": "HeadersInit" + } + }, + { + "id": 28, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Postgres schema to switch to" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 20, + "name": "SchemaName", + "dereferenced": {} + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [29, 27, 28] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 9, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reference", + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 20, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 23, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 37, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 32, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 39, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 40, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + }, + { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + ] + } + }, + { + "id": 41, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 35, "name": "headers", "kind": 1024, "kindString": "Property", @@ -1835,29 +2258,19 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 27, + "line": 30, "character": 2 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 27, + "id": 36, "name": "schemaName", "kind": 1024, "kindString": "Property", @@ -1867,19 +2280,19 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 28, + "line": 31, "character": 2 } ], "type": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName", "dereferenced": {} } }, { - "id": 25, + "id": 34, "name": "url", "kind": 1024, "kindString": "Property", @@ -1887,7 +2300,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 26, + "line": 29, "character": 2 } ], @@ -1897,7 +2310,7 @@ } }, { - "id": 33, + "id": 42, "name": "from", "kind": 2048, "kindString": "Method", @@ -1905,13 +2318,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 59, + "line": 61, "character": 2 } ], "signatures": [ { - "id": 34, + "id": 43, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1921,7 +2334,7 @@ }, "typeParameter": [ { - "id": 35, + "id": 44, "name": "TableName", "kind": 131072, "kindString": "Type parameter", @@ -1932,7 +2345,7 @@ } }, { - "id": 36, + "id": 45, "name": "Table", "kind": 131072, "kindString": "Type parameter", @@ -1945,7 +2358,7 @@ ], "parameters": [ { - "id": 37, + "id": 46, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -1955,7 +2368,7 @@ }, "type": { "type": "reference", - "id": 35, + "id": 44, "name": "TableName", "dereferenced": {} } @@ -1963,41 +2376,46 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, { "type": "reference", - "id": 35, + "id": 44, "name": "TableName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 36, + "id": 45, "name": "Table" }, "extendsType": { "type": "reflection", "declaration": { - "id": 38, + "id": 47, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 39, + "id": 48, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -2019,7 +2437,7 @@ { "title": "Properties", "kind": 1024, - "children": [39] + "children": [48] } ] } @@ -2038,7 +2456,7 @@ } }, { - "id": 40, + "id": 49, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -2048,7 +2466,7 @@ }, "typeParameter": [ { - "id": 41, + "id": 50, "name": "ViewName", "kind": 131072, "kindString": "Type parameter", @@ -2059,7 +2477,7 @@ } }, { - "id": 42, + "id": 51, "name": "View", "kind": 131072, "kindString": "Type parameter", @@ -2072,7 +2490,7 @@ ], "parameters": [ { - "id": 43, + "id": 52, "name": "relation", "kind": 32768, "kindString": "Parameter", @@ -2082,7 +2500,7 @@ }, "type": { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName", "dereferenced": {} } @@ -2090,41 +2508,46 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, { "type": "reference", - "id": 41, + "id": 50, "name": "ViewName" }, { "type": "conditional", "checkType": { "type": "reference", - "id": 42, + "id": 51, "name": "View" }, "extendsType": { "type": "reflection", "declaration": { - "id": 44, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 45, + "id": 54, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -2146,7 +2569,7 @@ { "title": "Properties", "kind": 1024, - "children": [45] + "children": [54] } ] } @@ -2167,7 +2590,7 @@ ] }, { - "id": 50, + "id": 59, "name": "rpc", "kind": 2048, "kindString": "Method", @@ -2175,13 +2598,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 124, + "line": 127, "character": 2 } ], "signatures": [ { - "id": 51, + "id": 60, "name": "rpc", "kind": 4096, "kindString": "Call signature", @@ -2191,7 +2614,7 @@ }, "typeParameter": [ { - "id": 52, + "id": 61, "name": "FnName", "kind": 131072, "kindString": "Type parameter", @@ -2202,7 +2625,7 @@ } }, { - "id": 53, + "id": 62, "name": "Fn", "kind": 131072, "kindString": "Type parameter", @@ -2215,7 +2638,7 @@ ], "parameters": [ { - "id": 54, + "id": 63, "name": "fn", "kind": 32768, "kindString": "Parameter", @@ -2225,13 +2648,13 @@ }, "type": { "type": "reference", - "id": 52, + "id": 61, "name": "FnName", "dereferenced": {} } }, { - "id": 55, + "id": 64, "name": "args", "kind": 32768, "kindString": "Parameter", @@ -2247,14 +2670,14 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, "defaultValue": "{}" }, { - "id": 56, + "id": 65, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -2266,14 +2689,14 @@ "type": { "type": "reflection", "declaration": { - "id": 57, + "id": 66, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 60, + "id": 69, "name": "count", "kind": 1024, "kindString": "Property", @@ -2286,7 +2709,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 134, + "line": 137, "character": 6 } ], @@ -2309,7 +2732,7 @@ } }, { - "id": 59, + "id": 68, "name": "get", "kind": 1024, "kindString": "Property", @@ -2322,7 +2745,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 133, + "line": 136, "character": 6 } ], @@ -2332,7 +2755,7 @@ } }, { - "id": 58, + "id": 67, "name": "head", "kind": 1024, "kindString": "Property", @@ -2345,7 +2768,7 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 132, + "line": 135, "character": 6 } ], @@ -2359,7 +2782,7 @@ { "title": "Properties", "kind": 1024, - "children": [60, 59, 58] + "children": [69, 68, 67] } ] } @@ -2369,11 +2792,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 14, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 23, "name": "Schema" }, { @@ -2386,7 +2814,7 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, @@ -2462,18 +2890,22 @@ }, "objectType": { "type": "reference", - "id": 53, + "id": 62, "name": "Fn" } }, { "type": "reference", - "id": 52, + "id": 61, "name": "FnName" }, { "type": "literal", "value": null + }, + { + "type": "literal", + "value": "RPC" } ], "name": "default" @@ -2482,7 +2914,7 @@ ] }, { - "id": 46, + "id": 55, "name": "schema", "kind": 2048, "kindString": "Method", @@ -2490,13 +2922,13 @@ "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 87, + "line": 89, "character": 2 } ], "signatures": [ { - "id": 47, + "id": 56, "name": "schema", "kind": 4096, "kindString": "Call signature", @@ -2507,7 +2939,7 @@ }, "typeParameter": [ { - "id": 48, + "id": 57, "name": "DynamicSchema", "kind": 131072, "kindString": "Type parameter", @@ -2520,7 +2952,7 @@ ], "parameters": [ { - "id": 49, + "id": 58, "name": "schema", "kind": 32768, "kindString": "Parameter", @@ -2530,7 +2962,7 @@ }, "type": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema", "dereferenced": {} } @@ -2547,7 +2979,12 @@ }, { "type": "reference", - "id": 48, + "id": 15, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 57, "name": "DynamicSchema" }, { @@ -2556,7 +2993,7 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 48, + "id": 57, "name": "DynamicSchema" }, "objectType": { @@ -2601,24 +3038,24 @@ { "title": "Properties", "kind": 1024, - "children": [28, 26, 27, 25] + "children": [37, 35, 36, 34] }, { "title": "Methods", "kind": 2048, - "children": [33, 50, 46] + "children": [42, 59, 55] } ], "sources": [ { "fileName": "src/PostgrestClient.ts", - "line": 17, + "line": 15, "character": 21 } ], "typeParameter": [ { - "id": 61, + "id": 70, "name": "Database", "kind": 131072, "kindString": "Type parameter", @@ -2632,7 +3069,82 @@ } }, { - "id": 62, + "id": 73, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "options" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + }, + { + "type": "reflection", + "declaration": { + "id": 71, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 72, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 6 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [72] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 4 + } + ] + } + } + ], + "name": "GetGenericDatabaseWithOptions" + } + } + }, + { + "id": 74, "name": "SchemaName", "kind": 131072, "kindString": "Type parameter", @@ -2651,9 +3163,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -2668,9 +3194,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "trueType": { @@ -2688,9 +3228,23 @@ "type": "typeOperator", "operator": "keyof", "target": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } } ] @@ -2698,7 +3252,7 @@ } }, { - "id": 63, + "id": 75, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -2713,13 +3267,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "extendsType": { @@ -2730,13 +3298,27 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 13, + "id": 20, "name": "SchemaName" }, "objectType": { - "type": "reference", - "id": 12, - "name": "Database" + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "db" + }, + "objectType": { + "type": "reference", + "id": 787, + "typeArguments": [ + { + "type": "reference", + "id": 12, + "name": "Database" + } + ], + "name": "GetGenericDatabaseWithOptions" + } } }, "falseType": { @@ -2748,7 +3330,7 @@ ] }, { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -2759,7 +3341,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -2773,14 +3355,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -2788,14 +3370,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -2813,7 +3395,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -2831,7 +3413,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2849,7 +3431,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -2871,7 +3453,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -2880,7 +3462,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -2895,7 +3477,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -2913,7 +3495,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -2931,7 +3513,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -2953,12 +3535,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -2978,28 +3560,40 @@ ] }, { - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 152, + "id": 166, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 153, + "id": 167, "name": "new PostgrestFilterBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 154, + "id": 168, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 169, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -3010,7 +3604,7 @@ } }, { - "id": 155, + "id": 170, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -3033,14 +3627,14 @@ } }, { - "id": 156, + "id": 171, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 157, + "id": 172, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -3051,7 +3645,7 @@ } }, { - "id": 158, + "id": 173, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -3060,143 +3654,48 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 174, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 159, + "id": 175, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, + "type": "reflection", + "declaration": { + "id": 176, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "children": [ { - "id": 632, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 31, - "character": 2 - } - ], - "signatures": [ - { - "id": 633, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 634, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 635, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "parameters": [ - { - "id": 636, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": "[Circular ~.children.3.children.0.signatures.0.parameters.0.type.dereferenced]" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, + "id": 181, "name": "body", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 + "line": 40, + "character": 4 } ], "type": { @@ -3205,38 +3704,38 @@ } }, { - "id": 644, + "id": 184, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 185, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 186, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 187, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -3260,7 +3759,7 @@ } }, { - "id": 648, + "id": 188, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -3295,50 +3794,38 @@ } }, { - "id": 639, + "id": 179, "name": "headers", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 + "line": 38, + "character": 4 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 649, + "id": 189, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 + "line": 44, + "character": 4 } ], "type": { @@ -3347,18 +3834,16 @@ } }, { - "id": 637, + "id": 177, "name": "method", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 + "line": 36, + "character": 4 } ], "type": { @@ -3388,19 +3873,18 @@ } }, { - "id": 640, + "id": 180, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 + "line": 39, + "character": 4 } ], "type": { @@ -3409,40 +3893,38 @@ } }, { - "id": 642, + "id": 182, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 183, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { @@ -3453,18 +3935,16 @@ } }, { - "id": 638, + "id": 178, "name": "url", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 + "line": 37, + "character": 4 } ], "type": { @@ -3473,868 +3953,13 @@ "package": "typescript", "name": "URL" } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 675, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] } ], "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, { "title": "Properties", "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "children": [181, 184, 179, 189, 177, 180, 182, 183, 178] } ] } @@ -4343,51 +3968,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 501, + "id": 536, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 500, + "id": 535, "name": "default.constructor" } }, { - "id": 459, + "id": 492, "name": "body", "kind": 1024, "kindString": "Property", @@ -4398,7 +4033,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -4408,12 +4043,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 591, + "id": 645, "name": "default.body" } }, { - "id": 462, + "id": 495, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -4423,28 +4058,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 463, + "id": 496, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 464, + "id": 497, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 465, + "id": 498, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -4468,7 +4103,7 @@ } }, { - "id": 466, + "id": 499, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -4503,12 +4138,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 594, + "id": 648, "name": "default.fetch" } }, { - "id": 457, + "id": 490, "name": "headers", "kind": 1024, "kindString": "Property", @@ -4518,34 +4153,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 589, + "id": 643, "name": "default.headers" } }, { - "id": 467, + "id": 500, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -4555,7 +4180,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -4565,12 +4190,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 599, + "id": 653, "name": "default.isMaybeSingle" } }, { - "id": 455, + "id": 488, "name": "method", "kind": 1024, "kindString": "Property", @@ -4580,7 +4205,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -4611,12 +4236,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 587, + "id": 641, "name": "default.method" } }, { - "id": 458, + "id": 491, "name": "schema", "kind": 1024, "kindString": "Property", @@ -4627,7 +4252,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -4637,18 +4262,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 590, + "id": 644, "name": "default.schema" } }, { - "id": 460, + "id": 493, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 646, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 494, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 647, + "name": "default.signal" + } + }, + { + "id": 489, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -4656,60 +4335,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 592, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 461, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 593, - "name": "default.signal" - } - }, - { - "id": 456, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -4718,12 +4343,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 588, + "id": 642, "name": "default.url" } }, { - "id": 427, + "id": 457, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -4731,13 +4356,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 428, + "id": 458, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -4747,7 +4372,7 @@ }, "parameters": [ { - "id": 429, + "id": 459, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -4765,51 +4390,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 560, + "id": 611, "name": "default.abortSignal" } } ], "inheritedFrom": { "type": "reference", - "id": 559, + "id": 610, "name": "default.abortSignal" } }, { - "id": 271, + "id": 301, "name": "containedBy", "kind": 2048, "kindString": "Method", @@ -4817,13 +4452,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 342, + "line": 354, "character": 2 } ], "signatures": [ { - "id": 272, + "id": 302, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -4833,7 +4468,7 @@ }, "typeParameter": [ { - "id": 273, + "id": 303, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -4846,7 +4481,7 @@ ], "parameters": [ { - "id": 274, + "id": 304, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4856,13 +4491,13 @@ }, "type": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName", "dereferenced": {} } }, { - "id": 275, + "id": 305, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -4902,12 +4537,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 273, + "id": 303, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -4919,39 +4554,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 276, + "id": 306, "name": "containedBy", "kind": 4096, "kindString": "Call signature", @@ -4961,7 +4606,7 @@ }, "parameters": [ { - "id": 277, + "id": 307, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -4975,7 +4620,7 @@ } }, { - "id": 278, + "id": 308, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5023,32 +4668,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5057,7 +4712,7 @@ ] }, { - "id": 263, + "id": 293, "name": "contains", "kind": 2048, "kindString": "Method", @@ -5065,13 +4720,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 315, + "line": 327, "character": 2 } ], "signatures": [ { - "id": 264, + "id": 294, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -5081,7 +4736,7 @@ }, "typeParameter": [ { - "id": 265, + "id": 295, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5094,7 +4749,7 @@ ], "parameters": [ { - "id": 266, + "id": 296, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5104,13 +4759,13 @@ }, "type": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName", "dereferenced": {} } }, { - "id": 267, + "id": 297, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5150,12 +4805,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 265, + "id": 295, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -5167,39 +4822,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 268, + "id": 298, "name": "contains", "kind": 4096, "kindString": "Call signature", @@ -5209,7 +4874,7 @@ }, "parameters": [ { - "id": 269, + "id": 299, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5223,7 +4888,7 @@ } }, { - "id": 270, + "id": 300, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5271,32 +4936,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5305,7 +4980,7 @@ ] }, { - "id": 436, + "id": 466, "name": "csv", "kind": 2048, "kindString": "Method", @@ -5313,13 +4988,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 437, + "id": 467, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -5329,8 +5004,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -5344,19 +5024,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 569, + "id": 620, "name": "default.csv" } } ], "inheritedFrom": { "type": "reference", - "id": 568, + "id": 619, "name": "default.csv" } }, { - "id": 160, + "id": 190, "name": "eq", "kind": 2048, "kindString": "Method", @@ -5364,13 +5044,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 87, + "line": 99, "character": 2 } ], "signatures": [ { - "id": 161, + "id": 191, "name": "eq", "kind": 4096, "kindString": "Call signature", @@ -5381,7 +5061,7 @@ }, "typeParameter": [ { - "id": 162, + "id": 192, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5394,7 +5074,7 @@ ], "parameters": [ { - "id": 163, + "id": 193, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5404,13 +5084,13 @@ }, "type": { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName", "dereferenced": {} } }, { - "id": 164, + "id": 194, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5425,17 +5105,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -5456,17 +5136,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 162, + "id": 192, "name": "ColumnName" } ], @@ -5498,32 +5178,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -5532,7 +5222,7 @@ ] }, { - "id": 440, + "id": 470, "name": "explain", "kind": 2048, "kindString": "Method", @@ -5540,13 +5230,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 441, + "id": 471, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -5557,7 +5247,7 @@ }, "parameters": [ { - "id": 442, + "id": 472, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5569,14 +5259,14 @@ "type": { "type": "reflection", "declaration": { - "id": 443, + "id": 473, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 444, + "id": 474, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -5589,7 +5279,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -5599,7 +5289,7 @@ } }, { - "id": 447, + "id": 477, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -5612,7 +5302,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -5622,7 +5312,7 @@ } }, { - "id": 449, + "id": 479, "name": "format", "kind": 1024, "kindString": "Property", @@ -5635,7 +5325,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -5654,7 +5344,7 @@ } }, { - "id": 446, + "id": 476, "name": "settings", "kind": 1024, "kindString": "Property", @@ -5667,7 +5357,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -5677,7 +5367,7 @@ } }, { - "id": 445, + "id": 475, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -5690,7 +5380,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -5700,7 +5390,7 @@ } }, { - "id": 448, + "id": 478, "name": "wal", "kind": 1024, "kindString": "Property", @@ -5713,7 +5403,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -5727,7 +5417,7 @@ { "title": "Properties", "kind": 1024, - "children": [444, 447, 449, 446, 445, 448] + "children": [474, 477, 479, 476, 475, 478] } ] } @@ -5740,8 +5430,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -5755,8 +5450,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -5787,19 +5487,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 573, + "id": 624, "name": "default.explain" } } ], "inheritedFrom": { "type": "reference", - "id": 572, + "id": 623, "name": "default.explain" } }, { - "id": 366, + "id": 396, "name": "filter", "kind": 2048, "kindString": "Method", @@ -5807,13 +5507,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 569, + "line": 581, "character": 2 } ], "signatures": [ { - "id": 367, + "id": 397, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -5824,7 +5524,7 @@ }, "typeParameter": [ { - "id": 368, + "id": 398, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -5837,7 +5537,7 @@ ], "parameters": [ { - "id": 369, + "id": 399, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -5847,13 +5547,13 @@ }, "type": { "type": "reference", - "id": 368, + "id": 398, "name": "ColumnName", "dereferenced": {} } }, { - "id": 370, + "id": 400, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -5960,7 +5660,7 @@ } }, { - "id": 371, + "id": 401, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -5976,39 +5676,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 372, + "id": 402, "name": "filter", "kind": 4096, "kindString": "Call signature", @@ -6019,7 +5729,7 @@ }, "parameters": [ { - "id": 373, + "id": 403, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6033,7 +5743,7 @@ } }, { - "id": 374, + "id": 404, "name": "operator", "kind": 32768, "kindString": "Parameter", @@ -6047,7 +5757,7 @@ } }, { - "id": 375, + "id": 405, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6063,32 +5773,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6097,7 +5817,7 @@ ] }, { - "id": 438, + "id": 468, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -6105,13 +5825,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 439, + "id": 469, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -6121,8 +5841,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -6148,19 +5873,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 571, + "id": 622, "name": "default.geojson" } } ], "inheritedFrom": { "type": "reference", - "id": 570, + "id": 621, "name": "default.geojson" } }, { - "id": 170, + "id": 200, "name": "gt", "kind": 2048, "kindString": "Method", @@ -6168,13 +5893,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 120, + "line": 132, "character": 2 } ], "signatures": [ { - "id": 171, + "id": 201, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -6184,7 +5909,7 @@ }, "typeParameter": [ { - "id": 172, + "id": 202, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6197,7 +5922,7 @@ ], "parameters": [ { - "id": 173, + "id": 203, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6207,13 +5932,13 @@ }, "type": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName", "dereferenced": {} } }, { - "id": 174, + "id": 204, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6225,12 +5950,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 172, + "id": 202, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -6238,39 +5963,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 175, + "id": 205, "name": "gt", "kind": 4096, "kindString": "Call signature", @@ -6280,7 +6015,7 @@ }, "parameters": [ { - "id": 176, + "id": 206, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6294,7 +6029,7 @@ } }, { - "id": 177, + "id": 207, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6310,32 +6045,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6344,7 +6089,7 @@ ] }, { - "id": 178, + "id": 208, "name": "gte", "kind": 2048, "kindString": "Method", @@ -6352,13 +6097,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 133, + "line": 145, "character": 2 } ], "signatures": [ { - "id": 179, + "id": 209, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -6368,7 +6113,7 @@ }, "typeParameter": [ { - "id": 180, + "id": 210, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6381,7 +6126,7 @@ ], "parameters": [ { - "id": 181, + "id": 211, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6391,13 +6136,13 @@ }, "type": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName", "dereferenced": {} } }, { - "id": 182, + "id": 212, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6409,12 +6154,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 180, + "id": 210, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -6422,39 +6167,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 183, + "id": 213, "name": "gte", "kind": 4096, "kindString": "Call signature", @@ -6464,7 +6219,7 @@ }, "parameters": [ { - "id": 184, + "id": 214, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6478,7 +6233,7 @@ } }, { - "id": 185, + "id": 215, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -6494,32 +6249,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6528,7 +6293,7 @@ ] }, { - "id": 226, + "id": 256, "name": "ilike", "kind": 2048, "kindString": "Method", @@ -6536,13 +6301,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 217, + "line": 229, "character": 2 } ], "signatures": [ { - "id": 227, + "id": 257, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -6552,7 +6317,7 @@ }, "typeParameter": [ { - "id": 228, + "id": 258, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6565,7 +6330,7 @@ ], "parameters": [ { - "id": 229, + "id": 259, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6575,13 +6340,13 @@ }, "type": { "type": "reference", - "id": 228, + "id": 258, "name": "ColumnName", "dereferenced": {} } }, { - "id": 230, + "id": 260, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -6597,39 +6362,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 231, + "id": 261, "name": "ilike", "kind": 4096, "kindString": "Call signature", @@ -6639,7 +6414,7 @@ }, "parameters": [ { - "id": 232, + "id": 262, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6653,7 +6428,7 @@ } }, { - "id": 233, + "id": 263, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -6669,32 +6444,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6703,7 +6488,7 @@ ] }, { - "id": 234, + "id": 264, "name": "ilikeAllOf", "kind": 2048, "kindString": "Method", @@ -6711,13 +6496,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 230, + "line": 242, "character": 2 } ], "signatures": [ { - "id": 235, + "id": 265, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -6727,7 +6512,7 @@ }, "typeParameter": [ { - "id": 236, + "id": 266, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6740,7 +6525,7 @@ ], "parameters": [ { - "id": 237, + "id": 267, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6750,13 +6535,13 @@ }, "type": { "type": "reference", - "id": 236, + "id": 266, "name": "ColumnName", "dereferenced": {} } }, { - "id": 238, + "id": 268, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6779,39 +6564,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 239, + "id": 269, "name": "ilikeAllOf", "kind": 4096, "kindString": "Call signature", @@ -6821,7 +6616,7 @@ }, "parameters": [ { - "id": 240, + "id": 270, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6835,7 +6630,7 @@ } }, { - "id": 241, + "id": 271, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6858,32 +6653,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -6892,7 +6697,7 @@ ] }, { - "id": 242, + "id": 272, "name": "ilikeAnyOf", "kind": 2048, "kindString": "Method", @@ -6900,13 +6705,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 246, + "line": 258, "character": 2 } ], "signatures": [ { - "id": 243, + "id": 273, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -6916,7 +6721,7 @@ }, "typeParameter": [ { - "id": 244, + "id": 274, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -6929,7 +6734,7 @@ ], "parameters": [ { - "id": 245, + "id": 275, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -6939,13 +6744,13 @@ }, "type": { "type": "reference", - "id": 244, + "id": 274, "name": "ColumnName", "dereferenced": {} } }, { - "id": 246, + "id": 276, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -6968,39 +6773,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 247, + "id": 277, "name": "ilikeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -7010,7 +6825,7 @@ }, "parameters": [ { - "id": 248, + "id": 278, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7024,7 +6839,7 @@ } }, { - "id": 249, + "id": 279, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -7047,32 +6862,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7081,7 +6906,7 @@ ] }, { - "id": 258, + "id": 288, "name": "in", "kind": 2048, "kindString": "Method", @@ -7089,13 +6914,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 290, + "line": 302, "character": 2 } ], "signatures": [ { - "id": 259, + "id": 289, "name": "in", "kind": 4096, "kindString": "Call signature", @@ -7105,7 +6930,7 @@ }, "typeParameter": [ { - "id": 260, + "id": 290, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7118,7 +6943,7 @@ ], "parameters": [ { - "id": 261, + "id": 291, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7128,13 +6953,13 @@ }, "type": { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName", "dereferenced": {} } }, { - "id": 262, + "id": 292, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -7154,17 +6979,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -7185,17 +7010,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 260, + "id": 290, "name": "ColumnName" } ], @@ -7221,32 +7046,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7255,7 +7090,7 @@ ] }, { - "id": 250, + "id": 280, "name": "is", "kind": 2048, "kindString": "Method", @@ -7263,13 +7098,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 262, + "line": 274, "character": 2 } ], "signatures": [ { - "id": 251, + "id": 281, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -7280,7 +7115,7 @@ }, "typeParameter": [ { - "id": 252, + "id": 282, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7293,7 +7128,7 @@ ], "parameters": [ { - "id": 253, + "id": 283, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7303,13 +7138,13 @@ }, "type": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName", "dereferenced": {} } }, { - "id": 254, + "id": 284, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7327,12 +7162,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -7349,12 +7184,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -7371,12 +7206,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 252, + "id": 282, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } }, @@ -7392,39 +7227,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 255, + "id": 285, "name": "is", "kind": 4096, "kindString": "Call signature", @@ -7435,7 +7280,7 @@ }, "parameters": [ { - "id": 256, + "id": 286, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7449,7 +7294,7 @@ } }, { - "id": 257, + "id": 287, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -7474,32 +7319,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7508,7 +7363,7 @@ ] }, { - "id": 202, + "id": 232, "name": "like", "kind": 2048, "kindString": "Method", @@ -7516,13 +7371,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 172, + "line": 184, "character": 2 } ], "signatures": [ { - "id": 203, + "id": 233, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -7532,7 +7387,7 @@ }, "typeParameter": [ { - "id": 204, + "id": 234, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7545,7 +7400,7 @@ ], "parameters": [ { - "id": 205, + "id": 235, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7555,13 +7410,13 @@ }, "type": { "type": "reference", - "id": 204, + "id": 234, "name": "ColumnName", "dereferenced": {} } }, { - "id": 206, + "id": 236, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -7577,39 +7432,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 207, + "id": 237, "name": "like", "kind": 4096, "kindString": "Call signature", @@ -7619,7 +7484,7 @@ }, "parameters": [ { - "id": 208, + "id": 238, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7633,7 +7498,7 @@ } }, { - "id": 209, + "id": 239, "name": "pattern", "kind": 32768, "kindString": "Parameter", @@ -7649,32 +7514,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7683,7 +7558,7 @@ ] }, { - "id": 210, + "id": 240, "name": "likeAllOf", "kind": 2048, "kindString": "Method", @@ -7691,13 +7566,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 185, + "line": 197, "character": 2 } ], "signatures": [ { - "id": 211, + "id": 241, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -7707,7 +7582,7 @@ }, "typeParameter": [ { - "id": 212, + "id": 242, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7720,7 +7595,7 @@ ], "parameters": [ { - "id": 213, + "id": 243, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7730,13 +7605,13 @@ }, "type": { "type": "reference", - "id": 212, + "id": 242, "name": "ColumnName", "dereferenced": {} } }, { - "id": 214, + "id": 244, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -7759,39 +7634,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 215, + "id": 245, "name": "likeAllOf", "kind": 4096, "kindString": "Call signature", @@ -7801,7 +7686,7 @@ }, "parameters": [ { - "id": 216, + "id": 246, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7815,7 +7700,7 @@ } }, { - "id": 217, + "id": 247, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -7838,32 +7723,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -7872,7 +7767,7 @@ ] }, { - "id": 218, + "id": 248, "name": "likeAnyOf", "kind": 2048, "kindString": "Method", @@ -7880,13 +7775,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 201, + "line": 213, "character": 2 } ], "signatures": [ { - "id": 219, + "id": 249, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -7896,7 +7791,7 @@ }, "typeParameter": [ { - "id": 220, + "id": 250, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -7909,7 +7804,7 @@ ], "parameters": [ { - "id": 221, + "id": 251, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -7919,13 +7814,13 @@ }, "type": { "type": "reference", - "id": 220, + "id": 250, "name": "ColumnName", "dereferenced": {} } }, { - "id": 222, + "id": 252, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -7948,39 +7843,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 223, + "id": 253, "name": "likeAnyOf", "kind": 4096, "kindString": "Call signature", @@ -7990,7 +7895,7 @@ }, "parameters": [ { - "id": 224, + "id": 254, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8004,7 +7909,7 @@ } }, { - "id": 225, + "id": 255, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -8027,32 +7932,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -8061,7 +7976,7 @@ ] }, { - "id": 412, + "id": 442, "name": "limit", "kind": 2048, "kindString": "Method", @@ -8069,13 +7984,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 413, + "id": 443, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -8085,7 +8000,7 @@ }, "parameters": [ { - "id": 414, + "id": 444, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -8099,7 +8014,7 @@ } }, { - "id": 415, + "id": 445, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8111,14 +8026,14 @@ "type": { "type": "reflection", "declaration": { - "id": 416, + "id": 446, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 417, + "id": 447, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -8131,7 +8046,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -8141,7 +8056,7 @@ } }, { - "id": 418, + "id": 448, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -8154,7 +8069,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -8168,7 +8083,7 @@ { "title": "Properties", "kind": 1024, - "children": [417, 418] + "children": [447, 448] } ] } @@ -8178,51 +8093,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 545, + "id": 596, "name": "default.limit" } } ], "inheritedFrom": { "type": "reference", - "id": 544, + "id": 595, "name": "default.limit" } }, { - "id": 186, + "id": 216, "name": "lt", "kind": 2048, "kindString": "Method", @@ -8230,13 +8155,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 146, + "line": 158, "character": 2 } ], "signatures": [ { - "id": 187, + "id": 217, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -8246,7 +8171,7 @@ }, "typeParameter": [ { - "id": 188, + "id": 218, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -8259,7 +8184,7 @@ ], "parameters": [ { - "id": 189, + "id": 219, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8269,13 +8194,13 @@ }, "type": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName", "dereferenced": {} } }, { - "id": 190, + "id": 220, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8287,12 +8212,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 188, + "id": 218, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -8300,39 +8225,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 191, + "id": 221, "name": "lt", "kind": 4096, "kindString": "Call signature", @@ -8342,7 +8277,7 @@ }, "parameters": [ { - "id": 192, + "id": 222, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8356,7 +8291,7 @@ } }, { - "id": 193, + "id": 223, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8372,32 +8307,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -8406,7 +8351,7 @@ ] }, { - "id": 194, + "id": 224, "name": "lte", "kind": 2048, "kindString": "Method", @@ -8414,13 +8359,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 159, + "line": 171, "character": 2 } ], "signatures": [ { - "id": 195, + "id": 225, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -8430,7 +8375,7 @@ }, "typeParameter": [ { - "id": 196, + "id": 226, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -8443,7 +8388,7 @@ ], "parameters": [ { - "id": 197, + "id": 227, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8453,13 +8398,13 @@ }, "type": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName", "dereferenced": {} } }, { - "id": 198, + "id": 228, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8471,12 +8416,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 196, + "id": 226, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -8484,39 +8429,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 199, + "id": 229, "name": "lte", "kind": 4096, "kindString": "Call signature", @@ -8526,7 +8481,7 @@ }, "parameters": [ { - "id": 200, + "id": 230, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8540,7 +8495,7 @@ } }, { - "id": 201, + "id": 231, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8556,32 +8511,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -8590,7 +8555,7 @@ ] }, { - "id": 343, + "id": 373, "name": "match", "kind": 2048, "kindString": "Method", @@ -8598,13 +8563,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 502, + "line": 514, "character": 2 } ], "signatures": [ { - "id": 344, + "id": 374, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -8614,7 +8579,7 @@ }, "typeParameter": [ { - "id": 345, + "id": 375, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -8627,7 +8592,7 @@ ], "parameters": [ { - "id": 346, + "id": 376, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -8640,19 +8605,19 @@ "typeArguments": [ { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, { "type": "indexedAccess", "indexType": { "type": "reference", - "id": 345, + "id": 375, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -8665,39 +8630,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 347, + "id": 377, "name": "match", "kind": 4096, "kindString": "Call signature", @@ -8707,7 +8682,7 @@ }, "parameters": [ { - "id": 348, + "id": 378, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -8735,32 +8710,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -8769,7 +8754,171 @@ ] }, { - "id": 433, + "id": 485, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 486, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 487, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 168, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 174, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + }, + "inheritedFrom": { + "type": "reference", + "id": 639, + "name": "default.maxAffected" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 638, + "name": "default.maxAffected" + } + }, + { + "id": 463, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -8777,13 +8926,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 434, + "id": 464, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -8794,7 +8943,7 @@ }, "typeParameter": [ { - "id": 435, + "id": 465, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -8803,7 +8952,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -8826,8 +8975,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -8837,7 +8991,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -8851,19 +9005,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 566, + "id": 617, "name": "default.maybeSingle" } } ], "inheritedFrom": { "type": "reference", - "id": 565, + "id": 616, "name": "default.maybeSingle" } }, { - "id": 165, + "id": 195, "name": "neq", "kind": 2048, "kindString": "Method", @@ -8871,13 +9025,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 108, + "line": 120, "character": 2 } ], "signatures": [ { - "id": 166, + "id": 196, "name": "neq", "kind": 4096, "kindString": "Call signature", @@ -8887,7 +9041,7 @@ }, "typeParameter": [ { - "id": 167, + "id": 197, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -8900,7 +9054,7 @@ ], "parameters": [ { - "id": 168, + "id": 198, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -8910,13 +9064,13 @@ }, "type": { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName", "dereferenced": {} } }, { - "id": 169, + "id": 199, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -8931,17 +9085,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -8962,17 +9116,17 @@ "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 167, + "id": 197, "name": "ColumnName" } ], @@ -8996,32 +9150,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -9030,7 +9194,7 @@ ] }, { - "id": 349, + "id": 379, "name": "not", "kind": 2048, "kindString": "Method", @@ -9038,13 +9202,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 518, + "line": 530, "character": 2 } ], "signatures": [ { - "id": 350, + "id": 380, "name": "not", "kind": 4096, "kindString": "Call signature", @@ -9053,6 +9217,1142 @@ "shortText": "Match only rows which doesn't satisfy the filter.", "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" }, + "typeParameter": [ + { + "id": 381, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 382, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "reference", + "id": 381, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 383, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 384, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 381, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 170, + "name": "Row" + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + }, + { + "id": 385, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which doesn't satisfy the filter.", + "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" + }, + "parameters": [ + { + "id": 386, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 387, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 388, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with, following PostgREST syntax\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 389, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 569, + "character": 2 + } + ], + "signatures": [ + { + "id": 390, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Match only rows which satisfy at least one of the filters.", + "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" + }, + "parameters": [ + { + "id": 391, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, following PostgREST syntax" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 394, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Deprecated, use `referencedTable` instead\n" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 395, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to filter on referenced tables\ninstead of the parent table" + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 574, + "character": 32 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [394, 395] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 411, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 412, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "typeParameter": [ + { + "id": 413, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 414, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 413, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 415, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 417, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 418, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 419, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 72, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [417, 418, 419] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 565, + "name": "default.order" + } + }, + { + "id": 420, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" + }, + "parameters": [ + { + "id": 421, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 422, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 423, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 424, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, the result will be in ascending order" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 425, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 426, + "name": "referencedTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Set this to order a referenced table by\nits columns" + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 76, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [424, 425, 426] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 573, + "name": "default.order" + } + }, + { + "id": 427, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "typeParameter": [ + { + "id": 428, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 429, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "reference", + "id": 428, + "name": "ColumnName", + "dereferenced": {} + } + }, + { + "id": 430, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 431, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 432, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 434, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 433, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 83, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [432, 434, 433] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 580, + "name": "default.order" + } + }, + { + "id": 435, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Order the query result by `column`.", + "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", + "tags": [ + { + "tag": "deprecated", + "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" + } + ] + }, + "parameters": [ + { + "id": 436, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order by" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Named parameters" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 438, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 439, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 441, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 440, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 90, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [439, 441, 440] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 165, + "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, + "name": "Schema" + }, + { + "type": "reference", + "id": 170, + "name": "Row" + }, + { + "type": "reference", + "id": 171, + "name": "Result" + }, + { + "type": "reference", + "id": 172, + "name": "RelationName" + }, + { + "type": "reference", + "id": 173, + "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 588, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 564, + "name": "default.order" + } + }, + { + "id": 349, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 453, + "character": 2 + } + ], + "signatures": [ + { + "id": 350, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." + }, "typeParameter": [ { "id": 351, @@ -9074,7 +10374,7 @@ "kindString": "Parameter", "flags": {}, "comment": { - "shortText": "The column to filter on" + "shortText": "The array or range column to filter on" }, "type": { "type": "reference", @@ -9085,1072 +10385,6 @@ }, { "id": 353, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "reference", - "name": "FilterOperator" - } - }, - { - "id": 354, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "id": 351, - "name": "ColumnName" - }, - "objectType": { - "type": "reference", - "id": 155, - "name": "Row" - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - }, - { - "id": 355, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which doesn't satisfy the filter.", - "text": "Unlike most filters, `opearator` and `value` are used as-is and need to\nfollow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure they are properly sanitized.\n" - }, - "parameters": [ - { - "id": 356, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to filter on" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 357, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The operator to be negated to filter with, following\nPostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 358, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The value to filter with, following PostgREST syntax\n" - }, - "type": { - "type": "intrinsic", - "name": "unknown" - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 359, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 557, - "character": 2 - } - ], - "signatures": [ - { - "id": 360, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Match only rows which satisfy at least one of the filters.", - "text": "Unlike most filters, `filters` is used as-is and needs to follow [PostgREST\nsyntax](https://postgrest.org/en/stable/api.html#operators). You also need\nto make sure it's properly sanitized.\n\nIt's currently not possible to do an `.or()` filter across multiple tables.\n" - }, - "parameters": [ - { - "id": 361, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The filters to use, following PostgREST syntax" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 362, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "Named parameters" - }, - "originalName": "__namedParameters", - "type": { - "type": "reflection", - "declaration": { - "id": 363, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 364, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Deprecated, use `referencedTable` instead\n" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 9 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 365, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to filter on referenced tables\ninstead of the parent table" - }, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 562, - "character": 32 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [364, 365] - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 381, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, - "character": 2 - } - ], - "signatures": [ - { - "id": 382, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "typeParameter": [ - { - "id": 383, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 384, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 383, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 385, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 386, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 387, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 388, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 389, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [387, 388, 389] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 514, - "name": "default.order" - } - }, - { - "id": 390, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n" - }, - "parameters": [ - { - "id": 391, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 392, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 393, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 394, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, the result will be in ascending order" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 395, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "If `true`, `null`s appear first. If `false`,\n`null`s appear last." - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 396, - "name": "referencedTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Set this to order a referenced table by\nits columns" - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [394, 395, 396] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 522, - "name": "default.order" - } - }, - { - "id": 397, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "typeParameter": [ - { - "id": 398, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 399, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "reference", - "id": 398, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 400, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 401, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 402, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 404, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "undefined" - } - }, - { - "id": 403, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [402, 404, 403] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 529, - "name": "default.order" - } - }, - { - "id": 405, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Order the query result by `column`.", - "text": "You can call this method multiple times to order by multiple columns.\n\nYou can order referenced tables, but it only affects the ordering of the\nparent table if you use `!inner` in the query.\n", - "tags": [ - { - "tag": "deprecated", - "text": "Use `options.referencedTable` instead of `options.foreignTable`\n" - } - ] - }, - "parameters": [ - { - "id": 406, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The column to order by" - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 407, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "comment": { - "shortText": "Named parameters" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 408, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 409, - "name": "ascending", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 16 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 411, - "name": "foreignTable", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 59 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 410, - "name": "nullsFirst", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, - "character": 37 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [409, 411, 410] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 151, - "typeArguments": [ - { - "type": "reference", - "id": 154, - "name": "Schema" - }, - { - "type": "reference", - "id": 155, - "name": "Row" - }, - { - "type": "reference", - "id": 156, - "name": "Result" - }, - { - "type": "reference", - "id": 157, - "name": "RelationName" - }, - { - "type": "reference", - "id": 158, - "name": "Relationships" - } - ], - "name": "default" - }, - "inheritedFrom": { - "type": "reference", - "id": 537, - "name": "default.order" - } - } - ], - "inheritedFrom": { - "type": "reference", - "id": 513, - "name": "default.order" - } - }, - { - "id": 319, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestFilterBuilder.ts", - "line": 441, - "character": 2 - } - ], - "signatures": [ - { - "id": 320, - "name": "overlaps", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Only relevant for array and range columns. Match only rows where\n`column` and `value` have an element in common." - }, - "typeParameter": [ - { - "id": 321, - "name": "ColumnName", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 322, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "comment": { - "shortText": "The array or range column to filter on" - }, - "type": { - "type": "reference", - "id": 321, - "name": "ColumnName", - "dereferenced": {} - } - }, - { - "id": 323, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -10174,12 +10408,12 @@ "type": "indexedAccess", "indexType": { "type": "reference", - "id": 321, + "id": 351, "name": "ColumnName" }, "objectType": { "type": "reference", - "id": 155, + "id": 170, "name": "Row" } } @@ -10191,39 +10425,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 324, + "id": 354, "name": "overlaps", "kind": 4096, "kindString": "Call signature", @@ -10233,7 +10477,7 @@ }, "parameters": [ { - "id": 325, + "id": 355, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10247,7 +10491,7 @@ } }, { - "id": 326, + "id": 356, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -10279,32 +10523,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -10313,7 +10567,7 @@ ] }, { - "id": 486, + "id": 519, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -10321,13 +10575,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 487, + "id": 520, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -10344,7 +10598,7 @@ }, "typeParameter": [ { - "id": 488, + "id": 521, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -10354,7 +10608,7 @@ } }, { - "id": 493, + "id": 526, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -10365,14 +10619,14 @@ "type": { "type": "reflection", "declaration": { - "id": 489, + "id": 522, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 490, + "id": 523, "name": "merge", "kind": 1024, "kindString": "Property", @@ -10382,7 +10636,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -10396,7 +10650,7 @@ { "title": "Properties", "kind": 1024, - "children": [490] + "children": [523] } ] } @@ -10404,14 +10658,14 @@ "default": { "type": "reflection", "declaration": { - "id": 491, + "id": 524, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 492, + "id": 525, "name": "merge", "kind": 1024, "kindString": "Property", @@ -10419,7 +10673,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -10433,7 +10687,7 @@ { "title": "Properties", "kind": 1024, - "children": [492] + "children": [525] } ] } @@ -10442,8 +10696,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 168, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -10451,12 +10710,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -10481,7 +10740,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -10503,7 +10762,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -10511,7 +10770,7 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -10521,7 +10780,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -10534,17 +10793,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -10556,12 +10815,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -10577,19 +10836,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 619, + "id": 673, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 618, + "id": 672, "name": "default.overrideTypes" } }, { - "id": 419, + "id": 449, "name": "range", "kind": 2048, "kindString": "Method", @@ -10597,13 +10856,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 420, + "id": 450, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -10613,7 +10872,7 @@ }, "parameters": [ { - "id": 421, + "id": 451, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -10627,7 +10886,7 @@ } }, { - "id": 422, + "id": 452, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -10641,7 +10900,7 @@ } }, { - "id": 423, + "id": 453, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -10653,14 +10912,14 @@ "type": { "type": "reflection", "declaration": { - "id": 424, + "id": 454, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 425, + "id": 455, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -10673,7 +10932,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -10683,7 +10942,7 @@ } }, { - "id": 426, + "id": 456, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -10696,7 +10955,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -10710,7 +10969,7 @@ { "title": "Properties", "kind": 1024, - "children": [425, 426] + "children": [455, 456] } ] } @@ -10720,51 +10979,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 552, + "id": 603, "name": "default.range" } } ], "inheritedFrom": { "type": "reference", - "id": 551, + "id": 602, "name": "default.range" } }, { - "id": 311, + "id": 341, "name": "rangeAdjacent", "kind": 2048, "kindString": "Method", @@ -10772,13 +11041,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 426, + "line": 438, "character": 2 } ], "signatures": [ { - "id": 312, + "id": 342, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -10788,7 +11057,7 @@ }, "typeParameter": [ { - "id": 313, + "id": 343, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -10801,7 +11070,7 @@ ], "parameters": [ { - "id": 314, + "id": 344, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10811,13 +11080,13 @@ }, "type": { "type": "reference", - "id": 313, + "id": 343, "name": "ColumnName", "dereferenced": {} } }, { - "id": 315, + "id": 345, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -10833,39 +11102,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 316, + "id": 346, "name": "rangeAdjacent", "kind": 4096, "kindString": "Call signature", @@ -10875,7 +11154,7 @@ }, "parameters": [ { - "id": 317, + "id": 347, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10889,7 +11168,7 @@ } }, { - "id": 318, + "id": 348, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -10905,32 +11184,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -10939,7 +11228,7 @@ ] }, { - "id": 279, + "id": 309, "name": "rangeGt", "kind": 2048, "kindString": "Method", @@ -10947,13 +11236,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 368, + "line": 380, "character": 2 } ], "signatures": [ { - "id": 280, + "id": 310, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -10963,7 +11252,7 @@ }, "typeParameter": [ { - "id": 281, + "id": 311, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -10976,7 +11265,7 @@ ], "parameters": [ { - "id": 282, + "id": 312, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -10986,13 +11275,13 @@ }, "type": { "type": "reference", - "id": 281, + "id": 311, "name": "ColumnName", "dereferenced": {} } }, { - "id": 283, + "id": 313, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11008,39 +11297,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 284, + "id": 314, "name": "rangeGt", "kind": 4096, "kindString": "Call signature", @@ -11050,7 +11349,7 @@ }, "parameters": [ { - "id": 285, + "id": 315, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11064,7 +11363,7 @@ } }, { - "id": 286, + "id": 316, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11080,32 +11379,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11114,7 +11423,7 @@ ] }, { - "id": 287, + "id": 317, "name": "rangeGte", "kind": 2048, "kindString": "Method", @@ -11122,13 +11431,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 382, + "line": 394, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 318, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -11138,7 +11447,7 @@ }, "typeParameter": [ { - "id": 289, + "id": 319, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -11151,7 +11460,7 @@ ], "parameters": [ { - "id": 290, + "id": 320, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11161,13 +11470,13 @@ }, "type": { "type": "reference", - "id": 289, + "id": 319, "name": "ColumnName", "dereferenced": {} } }, { - "id": 291, + "id": 321, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11183,39 +11492,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 292, + "id": 322, "name": "rangeGte", "kind": 4096, "kindString": "Call signature", @@ -11225,7 +11544,7 @@ }, "parameters": [ { - "id": 293, + "id": 323, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11239,7 +11558,7 @@ } }, { - "id": 294, + "id": 324, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11255,32 +11574,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11289,7 +11618,7 @@ ] }, { - "id": 295, + "id": 325, "name": "rangeLt", "kind": 2048, "kindString": "Method", @@ -11297,13 +11626,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 397, + "line": 409, "character": 2 } ], "signatures": [ { - "id": 296, + "id": 326, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -11313,7 +11642,7 @@ }, "typeParameter": [ { - "id": 297, + "id": 327, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -11326,7 +11655,7 @@ ], "parameters": [ { - "id": 298, + "id": 328, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11336,13 +11665,13 @@ }, "type": { "type": "reference", - "id": 297, + "id": 327, "name": "ColumnName", "dereferenced": {} } }, { - "id": 299, + "id": 329, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11358,39 +11687,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 300, + "id": 330, "name": "rangeLt", "kind": 4096, "kindString": "Call signature", @@ -11400,7 +11739,7 @@ }, "parameters": [ { - "id": 301, + "id": 331, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11414,7 +11753,7 @@ } }, { - "id": 302, + "id": 332, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11430,32 +11769,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11464,7 +11813,7 @@ ] }, { - "id": 303, + "id": 333, "name": "rangeLte", "kind": 2048, "kindString": "Method", @@ -11472,13 +11821,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 411, + "line": 423, "character": 2 } ], "signatures": [ { - "id": 304, + "id": 334, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -11488,7 +11837,7 @@ }, "typeParameter": [ { - "id": 305, + "id": 335, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -11501,7 +11850,7 @@ ], "parameters": [ { - "id": 306, + "id": 336, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11511,13 +11860,13 @@ }, "type": { "type": "reference", - "id": 305, + "id": 335, "name": "ColumnName", "dereferenced": {} } }, { - "id": 307, + "id": 337, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11533,39 +11882,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 308, + "id": 338, "name": "rangeLte", "kind": 4096, "kindString": "Call signature", @@ -11575,7 +11934,7 @@ }, "parameters": [ { - "id": 309, + "id": 339, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -11589,7 +11948,7 @@ } }, { - "id": 310, + "id": 340, "name": "range", "kind": 32768, "kindString": "Parameter", @@ -11605,32 +11964,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -11639,7 +12008,7 @@ ] }, { - "id": 452, + "id": 482, "name": "returns", "kind": 2048, "kindString": "Method", @@ -11647,13 +12016,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 453, + "id": 483, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -11669,7 +12038,7 @@ }, "typeParameter": [ { - "id": 454, + "id": 484, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -11681,16 +12050,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { @@ -11698,12 +12072,12 @@ "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -11711,32 +12085,37 @@ }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 585, + "id": 636, "name": "default.returns" } } ], "inheritedFrom": { "type": "reference", - "id": 584, + "id": 635, "name": "default.returns" } }, { - "id": 450, + "id": 480, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -11744,13 +12123,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 451, + "id": 481, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -11761,51 +12140,61 @@ }, "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 583, + "id": 634, "name": "default.rollback" } } ], "inheritedFrom": { "type": "reference", - "id": 582, + "id": 633, "name": "default.rollback" } }, { - "id": 376, + "id": 406, "name": "select", "kind": 2048, "kindString": "Method", @@ -11813,13 +12202,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 377, + "id": 407, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -11830,7 +12219,7 @@ }, "typeParameter": [ { - "id": 378, + "id": 408, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -11845,39 +12234,44 @@ } }, { - "id": 379, + "id": 409, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 168, + "name": "ClientOptions" } ], "name": "GetResult" @@ -11886,7 +12280,7 @@ ], "parameters": [ { - "id": 380, + "id": 410, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -11898,7 +12292,7 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query", "dereferenced": {} } @@ -11906,54 +12300,64 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 509, + "id": 560, "name": "default.select" } } ], "inheritedFrom": { "type": "reference", - "id": 508, + "id": 559, "name": "default.select" } }, { - "id": 470, + "id": 503, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -11961,13 +12365,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 471, + "id": 504, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -11977,7 +12381,7 @@ }, "parameters": [ { - "id": 472, + "id": 505, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -11988,7 +12392,7 @@ } }, { - "id": 473, + "id": 506, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -12001,51 +12405,61 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 603, + "id": 657, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 602, + "id": 656, "name": "default.setHeader" } }, { - "id": 430, + "id": 460, "name": "single", "kind": 2048, "kindString": "Method", @@ -12053,13 +12467,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 431, + "id": 461, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -12070,7 +12484,7 @@ }, "typeParameter": [ { - "id": 432, + "id": 462, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -12079,7 +12493,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, "extendsType": { @@ -12102,11 +12516,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -12118,19 +12537,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 563, + "id": 614, "name": "default.single" } } ], "inheritedFrom": { "type": "reference", - "id": 562, + "id": 613, "name": "default.single" } }, { - "id": 327, + "id": 357, "name": "textSearch", "kind": 2048, "kindString": "Method", @@ -12138,13 +12557,13 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 464, + "line": 476, "character": 2 } ], "signatures": [ { - "id": 328, + "id": 358, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -12154,7 +12573,7 @@ }, "typeParameter": [ { - "id": 329, + "id": 359, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -12167,7 +12586,7 @@ ], "parameters": [ { - "id": 330, + "id": 360, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -12177,13 +12596,13 @@ }, "type": { "type": "reference", - "id": 329, + "id": 359, "name": "ColumnName", "dereferenced": {} } }, { - "id": 331, + "id": 361, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -12197,7 +12616,7 @@ } }, { - "id": 332, + "id": 362, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12210,14 +12629,14 @@ "type": { "type": "reflection", "declaration": { - "id": 333, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 334, + "id": 364, "name": "config", "kind": 1024, "kindString": "Property", @@ -12230,7 +12649,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 16 } ], @@ -12240,7 +12659,7 @@ } }, { - "id": 335, + "id": 365, "name": "type", "kind": 1024, "kindString": "Property", @@ -12253,7 +12672,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 467, + "line": 479, "character": 33 } ], @@ -12280,7 +12699,7 @@ { "title": "Properties", "kind": 1024, - "children": [334, 335] + "children": [364, 365] } ] } @@ -12289,39 +12708,49 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" } }, { - "id": 336, + "id": 366, "name": "textSearch", "kind": 4096, "kindString": "Call signature", @@ -12331,7 +12760,7 @@ }, "parameters": [ { - "id": 337, + "id": 367, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -12345,7 +12774,7 @@ } }, { - "id": 338, + "id": 368, "name": "query", "kind": 32768, "kindString": "Parameter", @@ -12359,7 +12788,7 @@ } }, { - "id": 339, + "id": 369, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -12372,14 +12801,14 @@ "type": { "type": "reflection", "declaration": { - "id": 340, + "id": 370, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 341, + "id": 371, "name": "config", "kind": 1024, "kindString": "Property", @@ -12392,7 +12821,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 16 } ], @@ -12402,7 +12831,7 @@ } }, { - "id": 342, + "id": 372, "name": "type", "kind": 1024, "kindString": "Property", @@ -12415,7 +12844,7 @@ "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 472, + "line": 484, "character": 33 } ], @@ -12442,7 +12871,7 @@ { "title": "Properties", "kind": 1024, - "children": [341, 342] + "children": [371, 372] } ] } @@ -12451,32 +12880,42 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -12485,7 +12924,7 @@ ] }, { - "id": 474, + "id": 507, "name": "then", "kind": 2048, "kindString": "Method", @@ -12493,31 +12932,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 475, + "id": 508, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 476, + "id": 509, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -12525,7 +12964,7 @@ } }, { - "id": 477, + "id": 510, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -12538,7 +12977,7 @@ ], "parameters": [ { - "id": 478, + "id": 511, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -12555,32 +12994,32 @@ { "type": "reflection", "declaration": { - "id": 479, + "id": 512, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 480, + "id": 513, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 481, + "id": 514, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 171, "name": "Result" } ], @@ -12593,7 +13032,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -12601,7 +13040,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -12619,7 +13058,7 @@ } }, { - "id": 482, + "id": 515, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -12636,21 +13075,21 @@ { "type": "reflection", "declaration": { - "id": 483, + "id": 516, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 484, + "id": 517, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 485, + "id": 518, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -12666,7 +13105,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -12674,7 +13113,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -12700,12 +13139,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -12717,19 +13156,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 607, + "id": 661, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 606, + "id": 660, "name": "default.then" } }, { - "id": 468, + "id": 501, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -12737,13 +13176,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 469, + "id": 502, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -12757,43 +13196,58 @@ "types": [ { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 156, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 171, "name": "Result" }, { @@ -12807,14 +13261,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 601, + "id": 655, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 600, + "id": 654, "name": "default.throwOnError" } } @@ -12823,33 +13277,45 @@ { "title": "Constructors", "kind": 512, - "children": [152] + "children": [166] }, { "title": "Properties", "kind": 1024, - "children": [459, 462, 457, 467, 455, 458, 460, 461, 456] + "children": [492, 495, 490, 500, 488, 491, 493, 494, 489] }, { "title": "Methods", "kind": 2048, "children": [ - 427, 271, 263, 436, 160, 440, 366, 438, 170, 178, 226, 234, 242, 258, 250, 202, 210, - 218, 412, 186, 194, 343, 433, 165, 349, 359, 381, 319, 486, 419, 311, 279, 287, 295, - 303, 452, 450, 376, 470, 430, 327, 474, 468 + 457, 301, 293, 466, 190, 470, 396, 468, 200, 208, 256, 264, 272, 288, 280, 232, 240, + 248, 442, 216, 224, 373, 485, 463, 195, 379, 389, 411, 349, 519, 449, 341, 309, 317, + 325, 333, 482, 480, 406, 503, 460, 357, 507, 501 ] } ], "sources": [ { "fileName": "src/PostgrestFilterBuilder.ts", - "line": 72, + "line": 74, "character": 21 } ], "typeParameter": [ { - "id": 494, + "id": 527, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 528, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -12860,7 +13326,7 @@ } }, { - "id": 495, + "id": 529, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -12883,14 +13349,14 @@ } }, { - "id": 496, + "id": 530, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 497, + "id": 531, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -12901,7 +13367,7 @@ } }, { - "id": 498, + "id": 532, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -12910,37 +13376,58 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 533, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 154, + "id": 168, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 169, "name": "Schema" }, { "type": "reference", - "id": 155, + "id": 170, "name": "Row" }, { "type": "reference", - "id": 156, + "id": 171, "name": "Result" }, { "type": "reference", - "id": 157, + "id": 172, "name": "RelationName" }, { "type": "reference", - "id": 158, + "id": 173, "name": "Relationships" + }, + { + "type": "reference", + "id": 174, + "name": "Method" } ], "name": "default" @@ -12948,14 +13435,14 @@ ] }, { - "id": 64, + "id": 76, "name": "PostgrestQueryBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 65, + "id": 77, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -12969,14 +13456,26 @@ ], "signatures": [ { - "id": 66, + "id": 78, "name": "new PostgrestQueryBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 67, + "id": 79, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 80, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -12987,7 +13486,7 @@ } }, { - "id": 68, + "id": 81, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -13007,7 +13506,7 @@ } }, { - "id": 69, + "id": 82, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -13018,7 +13517,7 @@ } }, { - "id": 72, + "id": 85, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -13027,20 +13526,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 70, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 84, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -13062,7 +13561,7 @@ { "title": "Properties", "kind": 1024, - "children": [71] + "children": [84] } ] } @@ -13080,7 +13579,7 @@ ], "parameters": [ { - "id": 73, + "id": 86, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -13093,7 +13592,7 @@ } }, { - "id": 74, + "id": 87, "name": "__namedParameters", "kind": 32768, "kindString": "Parameter", @@ -13101,14 +13600,14 @@ "type": { "type": "reflection", "declaration": { - "id": 75, + "id": 88, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 78, + "id": 91, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13125,21 +13624,21 @@ "type": { "type": "reflection", "declaration": { - "id": 79, + "id": 92, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 80, + "id": 93, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 81, + "id": 94, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -13163,7 +13662,7 @@ } }, { - "id": 82, + "id": 95, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -13198,7 +13697,7 @@ } }, { - "id": 76, + "id": 89, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13214,23 +13713,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 77, + "id": 90, "name": "schema", "kind": 1024, "kindString": "Property", @@ -13254,7 +13743,7 @@ { "title": "Properties", "kind": 1024, - "children": [78, 76, 77] + "children": [91, 89, 90] } ] } @@ -13263,26 +13752,31 @@ ], "type": { "type": "reference", - "id": 64, + "id": 76, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" } ], @@ -13292,7 +13786,7 @@ ] }, { - "id": 87, + "id": 100, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -13309,21 +13803,21 @@ "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 101, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 89, + "id": 102, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 90, + "id": 103, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -13347,7 +13841,7 @@ } }, { - "id": 91, + "id": 104, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -13382,7 +13876,7 @@ } }, { - "id": 84, + "id": 97, "name": "headers", "kind": 1024, "kindString": "Property", @@ -13396,23 +13890,13 @@ ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" } }, { - "id": 85, + "id": 98, "name": "schema", "kind": 1024, "kindString": "Property", @@ -13432,7 +13916,7 @@ } }, { - "id": 86, + "id": 99, "name": "signal", "kind": 1024, "kindString": "Property", @@ -13454,7 +13938,7 @@ } }, { - "id": 83, + "id": 96, "name": "url", "kind": 1024, "kindString": "Property", @@ -13474,7 +13958,7 @@ } }, { - "id": 140, + "id": 153, "name": "delete", "kind": 2048, "kindString": "Method", @@ -13482,13 +13966,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 357, + "line": 411, "character": 2 } ], "signatures": [ { - "id": 141, + "id": 154, "name": "delete", "kind": 4096, "kindString": "Call signature", @@ -13499,7 +13983,7 @@ }, "parameters": [ { - "id": 142, + "id": 155, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13511,14 +13995,14 @@ "type": { "type": "reflection", "declaration": { - "id": 143, + "id": 156, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 144, + "id": 157, "name": "count", "kind": 1024, "kindString": "Property", @@ -13531,7 +14015,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 360, + "line": 414, "character": 4 } ], @@ -13558,7 +14042,7 @@ { "title": "Properties", "kind": 1024, - "children": [144] + "children": [157] } ] } @@ -13568,11 +14052,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -13583,7 +14072,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -13593,13 +14082,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "DELETE" } ], "name": "default" @@ -13608,7 +14101,7 @@ ] }, { - "id": 101, + "id": 114, "name": "insert", "kind": 2048, "kindString": "Method", @@ -13616,13 +14109,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 101, + "line": 116, "character": 2 } ], "signatures": [ { - "id": 102, + "id": 115, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -13633,7 +14126,7 @@ }, "typeParameter": [ { - "id": 103, + "id": 116, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13658,7 +14151,7 @@ ], "parameters": [ { - "id": 104, + "id": 117, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -13668,13 +14161,13 @@ }, "type": { "type": "reference", - "id": 103, + "id": 116, "name": "Row", "dereferenced": {} } }, { - "id": 105, + "id": 118, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13687,14 +14180,14 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 119, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 107, + "id": 120, "name": "count", "kind": 1024, "kindString": "Property", @@ -13707,7 +14200,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 104, + "line": 119, "character": 6 } ], @@ -13734,7 +14227,7 @@ { "title": "Properties", "kind": 1024, - "children": [107] + "children": [120] } ] } @@ -13743,11 +14236,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -13758,7 +14256,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -13768,20 +14266,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 108, + "id": 121, "name": "insert", "kind": 4096, "kindString": "Call signature", @@ -13792,7 +14294,7 @@ }, "typeParameter": [ { - "id": 109, + "id": 122, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -13817,7 +14319,7 @@ ], "parameters": [ { - "id": 110, + "id": 123, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -13829,13 +14331,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 109, + "id": 122, "name": "Row" } } }, { - "id": 111, + "id": 124, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -13848,14 +14350,14 @@ "type": { "type": "reflection", "declaration": { - "id": 112, + "id": 125, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 113, + "id": 126, "name": "count", "kind": 1024, "kindString": "Property", @@ -13868,7 +14370,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 110, + "line": 133, "character": 6 } ], @@ -13891,7 +14393,7 @@ } }, { - "id": 114, + "id": 127, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -13904,7 +14406,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 111, + "line": 134, "character": 6 } ], @@ -13918,7 +14420,7 @@ { "title": "Properties", "kind": 1024, - "children": [113, 114] + "children": [126, 127] } ] } @@ -13927,11 +14429,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -13942,7 +14449,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -13952,13 +14459,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -13967,7 +14478,7 @@ ] }, { - "id": 92, + "id": 105, "name": "select", "kind": 2048, "kindString": "Method", @@ -13981,7 +14492,7 @@ ], "signatures": [ { - "id": 93, + "id": 106, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -13991,7 +14502,7 @@ }, "typeParameter": [ { - "id": 94, + "id": 107, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -14006,18 +14517,18 @@ } }, { - "id": 95, + "id": 108, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 80, "name": "Schema" }, { @@ -14028,24 +14539,29 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" }, { "type": "reference", - "id": 94, + "id": 107, "name": "Query" + }, + { + "type": "reference", + "id": 79, + "name": "ClientOptions" } ], "name": "GetResult" @@ -14054,7 +14570,7 @@ ], "parameters": [ { - "id": 96, + "id": 109, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -14066,13 +14582,13 @@ }, "type": { "type": "reference", - "id": 94, + "id": 107, "name": "Query", "dereferenced": {} } }, { - "id": 97, + "id": 110, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14084,14 +14600,14 @@ "type": { "type": "reflection", "declaration": { - "id": 98, + "id": 111, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 100, + "id": 113, "name": "count", "kind": 1024, "kindString": "Property", @@ -14104,7 +14620,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 67, + "line": 74, "character": 6 } ], @@ -14127,7 +14643,7 @@ } }, { - "id": 99, + "id": 112, "name": "head", "kind": 1024, "kindString": "Property", @@ -14140,7 +14656,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 66, + "line": 73, "character": 6 } ], @@ -14154,7 +14670,7 @@ { "title": "Properties", "kind": 1024, - "children": [100, 99] + "children": [113, 112] } ] } @@ -14164,11 +14680,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -14179,7 +14700,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -14187,19 +14708,23 @@ "type": "array", "elementType": { "type": "reference", - "id": 95, + "id": 108, "name": "ResultOne" } }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "GET" } ], "name": "default" @@ -14208,7 +14733,7 @@ ] }, { - "id": 133, + "id": 146, "name": "update", "kind": 2048, "kindString": "Method", @@ -14216,13 +14741,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 309, + "line": 361, "character": 2 } ], "signatures": [ { - "id": 134, + "id": 147, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -14233,7 +14758,7 @@ }, "typeParameter": [ { - "id": 135, + "id": 148, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -14258,7 +14783,7 @@ ], "parameters": [ { - "id": 136, + "id": 149, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -14268,13 +14793,13 @@ }, "type": { "type": "reference", - "id": 135, + "id": 148, "name": "Row", "dereferenced": {} } }, { - "id": 137, + "id": 150, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14286,14 +14811,14 @@ "type": { "type": "reflection", "declaration": { - "id": 138, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 139, + "id": 152, "name": "count", "kind": 1024, "kindString": "Property", @@ -14306,7 +14831,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 314, + "line": 366, "character": 6 } ], @@ -14333,7 +14858,7 @@ { "title": "Properties", "kind": 1024, - "children": [139] + "children": [152] } ] } @@ -14343,11 +14868,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -14358,7 +14888,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -14368,13 +14898,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "PATCH" } ], "name": "default" @@ -14383,7 +14917,7 @@ ] }, { - "id": 115, + "id": 128, "name": "upsert", "kind": 2048, "kindString": "Method", @@ -14391,13 +14925,13 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 184, + "line": 217, "character": 2 } ], "signatures": [ { - "id": 116, + "id": 129, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -14408,7 +14942,7 @@ }, "typeParameter": [ { - "id": 117, + "id": 130, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -14433,7 +14967,7 @@ ], "parameters": [ { - "id": 118, + "id": 131, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -14443,13 +14977,13 @@ }, "type": { "type": "reference", - "id": 117, + "id": 130, "name": "Row", "dereferenced": {} } }, { - "id": 119, + "id": 132, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14462,14 +14996,14 @@ "type": { "type": "reflection", "declaration": { - "id": 120, + "id": 133, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 123, + "id": 136, "name": "count", "kind": 1024, "kindString": "Property", @@ -14482,7 +15016,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 189, + "line": 222, "character": 6 } ], @@ -14505,7 +15039,7 @@ } }, { - "id": 122, + "id": 135, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -14518,7 +15052,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 188, + "line": 221, "character": 6 } ], @@ -14528,7 +15062,7 @@ } }, { - "id": 121, + "id": 134, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -14541,7 +15075,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 187, + "line": 220, "character": 6 } ], @@ -14555,7 +15089,7 @@ { "title": "Properties", "kind": 1024, - "children": [123, 122, 121] + "children": [136, 135, 134] } ] } @@ -14564,11 +15098,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -14579,7 +15118,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -14589,20 +15128,24 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" } }, { - "id": 124, + "id": 137, "name": "upsert", "kind": 4096, "kindString": "Call signature", @@ -14613,7 +15156,7 @@ }, "typeParameter": [ { - "id": 125, + "id": 138, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -14638,7 +15181,7 @@ ], "parameters": [ { - "id": 126, + "id": 139, "name": "values", "kind": 32768, "kindString": "Parameter", @@ -14650,13 +15193,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 125, + "id": 138, "name": "Row" } } }, { - "id": 127, + "id": 140, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -14669,14 +15212,14 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 141, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 131, + "id": 144, "name": "count", "kind": 1024, "kindString": "Property", @@ -14689,7 +15232,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 197, + "line": 238, "character": 6 } ], @@ -14712,7 +15255,7 @@ } }, { - "id": 132, + "id": 145, "name": "defaultToNull", "kind": 1024, "kindString": "Property", @@ -14725,7 +15268,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 198, + "line": 239, "character": 6 } ], @@ -14735,7 +15278,7 @@ } }, { - "id": 130, + "id": 143, "name": "ignoreDuplicates", "kind": 1024, "kindString": "Property", @@ -14748,7 +15291,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 196, + "line": 237, "character": 6 } ], @@ -14758,7 +15301,7 @@ } }, { - "id": 129, + "id": 142, "name": "onConflict", "kind": 1024, "kindString": "Property", @@ -14771,7 +15314,7 @@ "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 195, + "line": 236, "character": 6 } ], @@ -14785,7 +15328,7 @@ { "title": "Properties", "kind": 1024, - "children": [131, 132, 130, 129] + "children": [144, 145, 143, 142] } ] } @@ -14794,11 +15337,16 @@ ], "type": { "type": "reference", - "id": 151, + "id": 165, "typeArguments": [ { "type": "reference", - "id": 67, + "id": 79, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 80, "name": "Schema" }, { @@ -14809,7 +15357,7 @@ }, "objectType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" } }, @@ -14819,13 +15367,17 @@ }, { "type": "reference", - "id": 69, + "id": 82, "name": "RelationName" }, { "type": "reference", - "id": 72, + "id": 85, "name": "Relationships" + }, + { + "type": "literal", + "value": "POST" } ], "name": "default" @@ -14838,29 +15390,41 @@ { "title": "Constructors", "kind": 512, - "children": [65] + "children": [77] }, { "title": "Properties", "kind": 1024, - "children": [87, 84, 85, 86, 83] + "children": [100, 97, 98, 99, 96] }, { "title": "Methods", "kind": 2048, - "children": [140, 101, 92, 133, 115] + "children": [153, 114, 105, 146, 128] } ], "sources": [ { "fileName": "src/PostgrestQueryBuilder.ts", - "line": 6, + "line": 5, "character": 21 } ], "typeParameter": [ { - "id": 145, + "id": 158, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 159, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -14871,7 +15435,7 @@ } }, { - "id": 146, + "id": 160, "name": "Relation", "kind": 131072, "kindString": "Type parameter", @@ -14891,7 +15455,7 @@ } }, { - "id": 147, + "id": 161, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -14902,7 +15466,7 @@ } }, { - "id": 150, + "id": 164, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -14911,20 +15475,20 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 68, + "id": 81, "name": "Relation" }, "extendsType": { "type": "reflection", "declaration": { - "id": 148, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 149, + "id": 163, "name": "Relationships", "kind": 1024, "kindString": "Property", @@ -14946,7 +15510,7 @@ { "title": "Properties", "kind": 1024, - "children": [149] + "children": [163] } ], "sources": [ @@ -14971,28 +15535,40 @@ ] }, { - "id": 499, + "id": 534, "name": "PostgrestTransformBuilder", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 500, + "id": 535, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": {}, "signatures": [ { - "id": 501, + "id": 536, "name": "new PostgrestTransformBuilder", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "typeParameter": [ { - "id": 502, + "id": 537, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 538, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -15003,7 +15579,7 @@ } }, { - "id": 503, + "id": 539, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -15026,14 +15602,14 @@ } }, { - "id": 504, + "id": 540, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 505, + "id": 541, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -15044,7 +15620,7 @@ } }, { - "id": 506, + "id": 542, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -15053,143 +15629,48 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 543, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "parameters": [ { - "id": 507, + "id": 544, "name": "builder", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 504, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": { - "id": 631, - "name": "PostgrestBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isAbstract": true - }, + "type": "reflection", + "declaration": { + "id": 545, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, "children": [ { - "id": 632, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 31, - "character": 2 - } - ], - "signatures": [ - { - "id": 633, - "name": "new PostgrestBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": {}, - "typeParameter": [ - { - "id": 634, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 635, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "parameters": [ - { - "id": 636, - "name": "builder", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": false - } - ], - "name": "default", - "dereferenced": "[Circular ~.children.5.children.0.signatures.0.parameters.0.type.dereferenced]" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 641, + "id": 550, "name": "body", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, - "character": 12 + "line": 40, + "character": 4 } ], "type": { @@ -15198,38 +15679,38 @@ } }, { - "id": 644, + "id": 553, "name": "fetch", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, - "character": 12 + "line": 43, + "character": 4 } ], "type": { "type": "reflection", "declaration": { - "id": 645, + "id": 554, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 646, + "id": 555, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 647, + "id": 556, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -15253,7 +15734,7 @@ } }, { - "id": 648, + "id": 557, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -15288,50 +15769,38 @@ } }, { - "id": 639, + "id": 548, "name": "headers", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, - "character": 12 + "line": 38, + "character": 4 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "HeadersInit", "package": "typescript", - "name": "Record" + "name": "HeadersInit" } }, { - "id": 649, + "id": 558, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true + "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, - "character": 12 + "line": 44, + "character": 4 } ], "type": { @@ -15340,18 +15809,16 @@ } }, { - "id": 637, + "id": 546, "name": "method", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, - "character": 12 + "line": 36, + "character": 4 } ], "type": { @@ -15381,19 +15848,18 @@ } }, { - "id": 640, + "id": 549, "name": "schema", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, - "character": 12 + "line": 39, + "character": 4 } ], "type": { @@ -15402,40 +15868,38 @@ } }, { - "id": 642, + "id": 551, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 26, - "character": 12 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false" - }, - { - "id": 643, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, "isOptional": true }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 552, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 42, + "character": 4 } ], "type": { @@ -15446,18 +15910,16 @@ } }, { - "id": 638, + "id": 547, "name": "url", "kind": 1024, "kindString": "Property", - "flags": { - "isProtected": true - }, + "flags": {}, "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 + "line": 37, + "character": 4 } ], "type": { @@ -15466,868 +15928,13 @@ "package": "typescript", "name": "URL" } - }, - { - "id": 671, - "name": "overrideTypes", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 257, - "character": 2 - } - ], - "signatures": [ - { - "id": 672, - "name": "overrideTypes", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data` field in the response.", - "returns": "A PostgrestBuilder instance with the new type\n", - "tags": [ - { - "tag": "example", - "text": "\n```typescript\n// Merge with existing types (default behavior)\nconst query = supabase\n .from('users')\n .select()\n .overrideTypes<{ custom_field: string }>()\n\n// Replace existing types completely\nconst replaceQuery = supabase\n .from('users')\n .select()\n .overrideTypes<{ id: number; name: string }, { merge: false }>()\n```" - } - ] - }, - "typeParameter": [ - { - "id": 673, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new type to cast the response data to" - } - }, - { - "id": 678, - "name": "Options", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "Optional type configuration (defaults to { merge: true })" - }, - "type": { - "type": "reflection", - "declaration": { - "id": 674, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 675, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 22 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [675] - } - ] - } - }, - "default": { - "type": "reflection", - "declaration": { - "id": 676, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 677, - "name": "merge", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 259, - "character": 44 - } - ], - "type": { - "type": "literal", - "value": true - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [677] - } - ] - } - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "literal", - "value": false - }, - { - "type": "literal", - "value": false - } - ], - "name": "IsValidResultOverride" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "ContainsNull" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "qualifiedName": "NonNullable", - "package": "typescript", - "name": "NonNullable" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - ] - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 488, - "name": "NewResult" - }, - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 493, - "name": "Options" - } - ], - "name": "MergePartialResult" - } - }, - "falseType": { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 488, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - } - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 668, - "name": "returns", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 227, - "character": 2 - } - ], - "signatures": [ - { - "id": 669, - "name": "returns", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Override the type of the returned `data`.", - "tags": [ - { - "tag": "deprecated", - "text": "Use overrideTypes() method at the end of your call chain instead\n" - } - ] - }, - "typeParameter": [ - { - "id": 670, - "name": "NewResult", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "comment": { - "shortText": "The new result type to override with" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 670, - "name": "NewResult" - } - ], - "name": "CheckMatchingArrayTypes" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 652, - "name": "setHeader", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 64, - "character": 2 - } - ], - "signatures": [ - { - "id": 653, - "name": "setHeader", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "Set an HTTP header for the request." - }, - "parameters": [ - { - "id": 654, - "name": "name", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 655, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - } - } - ] - }, - { - "id": 656, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 70, - "character": 2 - } - ], - "signatures": [ - { - "id": 657, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "typeParameter": [ - { - "id": 658, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - }, - { - "id": 659, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "default": { - "type": "intrinsic", - "name": "never" - } - } - ], - "parameters": [ - { - "id": 660, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 661, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 662, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 663, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - }, - { - "id": 664, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reflection", - "declaration": { - "id": 665, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "signatures": [ - { - "id": 666, - "name": "__type", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 667, - "name": "reason", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - }, - { - "type": "reference", - "typeArguments": [ - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - } - ] - } - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "id": 476, - "name": "TResult1" - }, - { - "type": "reference", - "id": 477, - "name": "TResult2" - } - ] - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" - }, - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - } - ], - "implementationOf": { - "type": "reference", - "name": "PromiseLike.then" - } - }, - { - "id": 650, - "name": "throwOnError", - "kind": 2048, - "kindString": "Method", - "flags": {}, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 56, - "character": 2 - } - ], - "signatures": [ - { - "id": 651, - "name": "throwOnError", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "comment": { - "shortText": "If there's an error with the query, throwOnError will reject the promise by\nthrowing the error instead of returning it as part of a successful response.", - "text": "{@link https://github.com/supabase/supabase-js/issues/92}\n" - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - } - ], - "name": "default" - }, - { - "type": "reference", - "id": 631, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - }, - { - "type": "literal", - "value": true - } - ], - "name": "default" - } - ] - } - } - ] } ], "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [632] - }, { "title": "Properties", "kind": 1024, - "children": [641, 644, 639, 649, 637, 640, 642, 643, 638] - }, - { - "title": "Methods", - "kind": 2048, - "children": [671, 668, 652, 656, 650] - } - ], - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 15, - "character": 30 - } - ], - "typeParameter": [ - { - "id": 679, - "name": "Result", - "kind": 131072, - "kindString": "Type parameter", - "flags": {} - }, - { - "id": 680, - "name": "ThrowOnError", - "kind": 131072, - "kindString": "Type parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "default": { - "type": "literal", - "value": false - } - } - ], - "extendedBy": [ - { - "type": "reference", - "id": 499, - "name": "PostgrestTransformBuilder" - } - ], - "implementedTypes": [ - { - "type": "reference", - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "id": 635, - "name": "ThrowOnError" - }, - "extendsType": { - "type": "literal", - "value": true - }, - "trueType": { - "type": "reference", - "id": 701, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestResponseSuccess" - }, - "falseType": { - "type": "reference", - "id": 708, - "typeArguments": [ - { - "type": "reference", - "id": 634, - "name": "Result" - } - ], - "name": "PostgrestSingleResponse" - } - } - ], - "qualifiedName": "PromiseLike", - "package": "typescript", - "name": "PromiseLike" + "children": [550, 553, 548, 558, 546, 549, 551, 552, 547] } ] } @@ -16336,51 +15943,61 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 633, + "id": 689, "name": "default.constructor" } } ], "inheritedFrom": { "type": "reference", - "id": 632, + "id": 688, "name": "default.constructor" } }, { - "id": 591, + "id": 645, "name": "body", "kind": 1024, "kindString": "Property", @@ -16391,7 +16008,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 25, + "line": 29, "character": 12 } ], @@ -16401,12 +16018,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 641, + "id": 712, "name": "default.body" } }, { - "id": 594, + "id": 648, "name": "fetch", "kind": 1024, "kindString": "Property", @@ -16416,28 +16033,28 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 28, + "line": 32, "character": 12 } ], "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 649, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 596, + "id": 650, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 597, + "id": 651, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -16461,7 +16078,7 @@ } }, { - "id": 598, + "id": 652, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -16496,12 +16113,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 644, + "id": 715, "name": "default.fetch" } }, { - "id": 589, + "id": 643, "name": "headers", "kind": 1024, "kindString": "Property", @@ -16511,34 +16128,24 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 23, + "line": 27, "character": 12 } ], "type": { "type": "reference", - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "qualifiedName": "Record", + "qualifiedName": "Headers", "package": "typescript", - "name": "Record" + "name": "Headers" }, "inheritedFrom": { "type": "reference", - "id": 639, + "id": 710, "name": "default.headers" } }, { - "id": 599, + "id": 653, "name": "isMaybeSingle", "kind": 1024, "kindString": "Property", @@ -16548,7 +16155,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 29, + "line": 33, "character": 12 } ], @@ -16558,12 +16165,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 649, + "id": 720, "name": "default.isMaybeSingle" } }, { - "id": 587, + "id": 641, "name": "method", "kind": 1024, "kindString": "Property", @@ -16573,7 +16180,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 21, + "line": 25, "character": 12 } ], @@ -16604,12 +16211,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 637, + "id": 708, "name": "default.method" } }, { - "id": 590, + "id": 644, "name": "schema", "kind": 1024, "kindString": "Property", @@ -16620,7 +16227,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 24, + "line": 28, "character": 12 } ], @@ -16630,18 +16237,72 @@ }, "inheritedFrom": { "type": "reference", - "id": 640, + "id": 711, "name": "default.schema" } }, { - "id": 592, + "id": 646, "name": "shouldThrowOnError", "kind": 1024, "kindString": "Property", "flags": { "isProtected": true }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 30, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "id": 713, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 647, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 31, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 714, + "name": "default.signal" + } + }, + { + "id": 642, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, "sources": [ { "fileName": "src/PostgrestBuilder.ts", @@ -16649,60 +16310,6 @@ "character": 12 } ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "false", - "inheritedFrom": { - "type": "reference", - "id": 642, - "name": "default.shouldThrowOnError" - } - }, - { - "id": 593, - "name": "signal", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true, - "isOptional": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 27, - "character": 12 - } - ], - "type": { - "type": "reference", - "qualifiedName": "AbortSignal", - "package": "typescript", - "name": "AbortSignal" - }, - "inheritedFrom": { - "type": "reference", - "id": 643, - "name": "default.signal" - } - }, - { - "id": 588, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isProtected": true - }, - "sources": [ - { - "fileName": "src/PostgrestBuilder.ts", - "line": 22, - "character": 12 - } - ], "type": { "type": "reference", "qualifiedName": "URL", @@ -16711,12 +16318,12 @@ }, "inheritedFrom": { "type": "reference", - "id": 638, + "id": 709, "name": "default.url" } }, { - "id": 559, + "id": 610, "name": "abortSignal", "kind": 2048, "kindString": "Method", @@ -16724,13 +16331,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 180, + "line": 195, "character": 2 } ], "signatures": [ { - "id": 560, + "id": 611, "name": "abortSignal", "kind": 4096, "kindString": "Call signature", @@ -16740,7 +16347,7 @@ }, "parameters": [ { - "id": 561, + "id": 612, "name": "signal", "kind": 32768, "kindString": "Parameter", @@ -16758,32 +16365,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -16792,7 +16409,7 @@ ] }, { - "id": 568, + "id": 619, "name": "csv", "kind": 2048, "kindString": "Method", @@ -16800,13 +16417,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 221, + "line": 237, "character": 2 } ], "signatures": [ { - "id": 569, + "id": 620, "name": "csv", "kind": 4096, "kindString": "Call signature", @@ -16816,8 +16433,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -16833,7 +16455,7 @@ ] }, { - "id": 572, + "id": 623, "name": "explain", "kind": 2048, "kindString": "Method", @@ -16841,13 +16463,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 259, + "line": 275, "character": 2 } ], "signatures": [ { - "id": 573, + "id": 624, "name": "explain", "kind": 4096, "kindString": "Call signature", @@ -16858,7 +16480,7 @@ }, "parameters": [ { - "id": 574, + "id": 625, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -16870,14 +16492,14 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 626, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 576, + "id": 627, "name": "analyze", "kind": 1024, "kindString": "Property", @@ -16890,7 +16512,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 267, + "line": 283, "character": 4 } ], @@ -16900,7 +16522,7 @@ } }, { - "id": 579, + "id": 630, "name": "buffers", "kind": 1024, "kindString": "Property", @@ -16913,7 +16535,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 270, + "line": 286, "character": 4 } ], @@ -16923,7 +16545,7 @@ } }, { - "id": 581, + "id": 632, "name": "format", "kind": 1024, "kindString": "Property", @@ -16936,7 +16558,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 272, + "line": 288, "character": 4 } ], @@ -16955,7 +16577,7 @@ } }, { - "id": 578, + "id": 629, "name": "settings", "kind": 1024, "kindString": "Property", @@ -16968,7 +16590,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 269, + "line": 285, "character": 4 } ], @@ -16978,7 +16600,7 @@ } }, { - "id": 577, + "id": 628, "name": "verbose", "kind": 1024, "kindString": "Property", @@ -16991,7 +16613,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 268, + "line": 284, "character": 4 } ], @@ -17001,7 +16623,7 @@ } }, { - "id": 580, + "id": 631, "name": "wal", "kind": 1024, "kindString": "Property", @@ -17014,7 +16636,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 271, + "line": 287, "character": 4 } ], @@ -17028,7 +16650,7 @@ { "title": "Properties", "kind": 1024, - "children": [576, 579, 581, 578, 577, 580] + "children": [627, 630, 632, 629, 628, 631] } ] } @@ -17041,8 +16663,13 @@ "types": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "intrinsic", "name": "string" @@ -17056,8 +16683,13 @@ }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "array", "elementType": { @@ -17090,7 +16722,7 @@ ] }, { - "id": 570, + "id": 621, "name": "geojson", "kind": 2048, "kindString": "Method", @@ -17098,13 +16730,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 229, + "line": 245, "character": 2 } ], "signatures": [ { - "id": 571, + "id": 622, "name": "geojson", "kind": 4096, "kindString": "Call signature", @@ -17114,8 +16746,13 @@ }, "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "reference", "typeArguments": [ @@ -17143,7 +16780,7 @@ ] }, { - "id": 544, + "id": 595, "name": "limit", "kind": 2048, "kindString": "Method", @@ -17151,13 +16788,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 131, + "line": 146, "character": 2 } ], "signatures": [ { - "id": 545, + "id": 596, "name": "limit", "kind": 4096, "kindString": "Call signature", @@ -17167,7 +16804,7 @@ }, "parameters": [ { - "id": 546, + "id": 597, "name": "count", "kind": 32768, "kindString": "Parameter", @@ -17181,7 +16818,7 @@ } }, { - "id": 547, + "id": 598, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17193,14 +16830,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 599, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 549, + "id": 600, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -17213,7 +16850,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 9 } ], @@ -17223,7 +16860,7 @@ } }, { - "id": 550, + "id": 601, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -17236,7 +16873,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 136, + "line": 151, "character": 32 } ], @@ -17250,7 +16887,7 @@ { "title": "Properties", "kind": 1024, - "children": [549, 550] + "children": [600, 601] } ] } @@ -17260,32 +16897,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -17294,7 +16941,161 @@ ] }, { - "id": 565, + "id": 638, + "name": "maxAffected", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 354, + "character": 2 + } + ], + "signatures": [ + { + "id": 639, + "name": "maxAffected", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the maximum number of rows that can be affected by the query.\nOnly available in PostgREST v13+ and only works with PATCH and DELETE methods." + }, + "parameters": [ + { + "id": 640, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum number of rows that can be affected\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "PostgrestVersion" + }, + "objectType": { + "type": "reference", + "id": 537, + "name": "ClientOptions" + } + } + ], + "name": "MaxAffectedEnabled" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 543, + "name": "Method" + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + }, + { + "type": "literal", + "value": "RPC" + } + ] + }, + "trueType": { + "type": "reference", + "id": 534, + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, + "name": "Schema" + }, + { + "type": "reference", + "id": 539, + "name": "Row" + }, + { + "type": "reference", + "id": 540, + "name": "Result" + }, + { + "type": "reference", + "id": 541, + "name": "RelationName" + }, + { + "type": "reference", + "id": 542, + "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" + } + ], + "name": "default" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on update or delete" + } + ], + "name": "InvalidMethodError" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "literal", + "value": "maxAffected method only available on postgrest 13+" + } + ], + "name": "InvalidMethodError" + } + } + } + ] + }, + { + "id": 616, "name": "maybeSingle", "kind": 2048, "kindString": "Method", @@ -17302,13 +17103,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 204, + "line": 220, "character": 2 } ], "signatures": [ { - "id": 566, + "id": 617, "name": "maybeSingle", "kind": 4096, "kindString": "Call signature", @@ -17319,7 +17120,7 @@ }, "typeParameter": [ { - "id": 567, + "id": 618, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -17328,7 +17129,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -17351,8 +17152,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "union", "types": [ @@ -17362,7 +17168,7 @@ }, { "type": "reference", - "id": 435, + "id": 465, "name": "ResultOne" } ] @@ -17378,7 +17184,7 @@ ] }, { - "id": 513, + "id": 564, "name": "order", "kind": 2048, "kindString": "Method", @@ -17386,13 +17192,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 55, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 514, + "id": 565, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -17403,7 +17209,7 @@ }, "typeParameter": [ { - "id": 515, + "id": 566, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -17416,7 +17222,7 @@ ], "parameters": [ { - "id": 516, + "id": 567, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -17426,13 +17232,13 @@ }, "type": { "type": "reference", - "id": 383, + "id": 413, "name": "ColumnName", "dereferenced": {} } }, { - "id": 517, + "id": 568, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17445,14 +17251,14 @@ "type": { "type": "reflection", "declaration": { - "id": 518, + "id": 569, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 519, + "id": 570, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -17465,7 +17271,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 16 } ], @@ -17475,7 +17281,7 @@ } }, { - "id": 520, + "id": 571, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -17488,7 +17294,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 37 } ], @@ -17498,7 +17304,7 @@ } }, { - "id": 521, + "id": 572, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -17511,7 +17317,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 57, + "line": 72, "character": 59 } ], @@ -17525,7 +17331,7 @@ { "title": "Properties", "kind": 1024, - "children": [519, 520, 521] + "children": [570, 571, 572] } ] } @@ -17534,39 +17340,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 522, + "id": 573, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -17577,7 +17393,7 @@ }, "parameters": [ { - "id": 523, + "id": 574, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -17591,7 +17407,7 @@ } }, { - "id": 524, + "id": 575, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17604,14 +17420,14 @@ "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 576, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 526, + "id": 577, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -17624,7 +17440,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 16 } ], @@ -17634,7 +17450,7 @@ } }, { - "id": 527, + "id": 578, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -17647,7 +17463,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 37 } ], @@ -17657,7 +17473,7 @@ } }, { - "id": 528, + "id": 579, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -17670,7 +17486,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 61, + "line": 76, "character": 59 } ], @@ -17684,7 +17500,7 @@ { "title": "Properties", "kind": 1024, - "children": [526, 527, 528] + "children": [577, 578, 579] } ] } @@ -17693,39 +17509,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 529, + "id": 580, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -17742,7 +17568,7 @@ }, "typeParameter": [ { - "id": 530, + "id": 581, "name": "ColumnName", "kind": 131072, "kindString": "Type parameter", @@ -17755,7 +17581,7 @@ ], "parameters": [ { - "id": 531, + "id": 582, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -17765,13 +17591,13 @@ }, "type": { "type": "reference", - "id": 398, + "id": 428, "name": "ColumnName", "dereferenced": {} } }, { - "id": 532, + "id": 583, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17784,14 +17610,14 @@ "type": { "type": "reflection", "declaration": { - "id": 533, + "id": 584, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 534, + "id": 585, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -17801,7 +17627,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 16 } ], @@ -17811,7 +17637,7 @@ } }, { - "id": 536, + "id": 587, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -17821,7 +17647,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 59 } ], @@ -17831,7 +17657,7 @@ } }, { - "id": 535, + "id": 586, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -17841,7 +17667,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 68, + "line": 83, "character": 37 } ], @@ -17855,7 +17681,7 @@ { "title": "Properties", "kind": 1024, - "children": [534, 536, 535] + "children": [585, 587, 586] } ] } @@ -17864,39 +17690,49 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" } }, { - "id": 537, + "id": 588, "name": "order", "kind": 4096, "kindString": "Call signature", @@ -17913,7 +17749,7 @@ }, "parameters": [ { - "id": 538, + "id": 589, "name": "column", "kind": 32768, "kindString": "Parameter", @@ -17927,7 +17763,7 @@ } }, { - "id": 539, + "id": 590, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -17940,14 +17776,14 @@ "type": { "type": "reflection", "declaration": { - "id": 540, + "id": 591, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 541, + "id": 592, "name": "ascending", "kind": 1024, "kindString": "Property", @@ -17957,7 +17793,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 16 } ], @@ -17967,7 +17803,7 @@ } }, { - "id": 543, + "id": 594, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -17977,7 +17813,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 59 } ], @@ -17987,7 +17823,7 @@ } }, { - "id": 542, + "id": 593, "name": "nullsFirst", "kind": 1024, "kindString": "Property", @@ -17997,7 +17833,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 75, + "line": 90, "character": 37 } ], @@ -18011,7 +17847,7 @@ { "title": "Properties", "kind": 1024, - "children": [541, 543, 542] + "children": [592, 594, 593] } ] } @@ -18020,32 +17856,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -18054,7 +17900,7 @@ ] }, { - "id": 618, + "id": 672, "name": "overrideTypes", "kind": 2048, "kindString": "Method", @@ -18062,13 +17908,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 257, + "line": 276, "character": 2 } ], "signatures": [ { - "id": 619, + "id": 673, "name": "overrideTypes", "kind": 4096, "kindString": "Call signature", @@ -18085,7 +17931,7 @@ }, "typeParameter": [ { - "id": 620, + "id": 674, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -18095,7 +17941,7 @@ } }, { - "id": 625, + "id": 679, "name": "Options", "kind": 131072, "kindString": "Type parameter", @@ -18106,14 +17952,14 @@ "type": { "type": "reflection", "declaration": { - "id": 621, + "id": 675, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 622, + "id": 676, "name": "merge", "kind": 1024, "kindString": "Property", @@ -18123,7 +17969,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 22 } ], @@ -18137,7 +17983,7 @@ { "title": "Properties", "kind": 1024, - "children": [622] + "children": [676] } ] } @@ -18145,14 +17991,14 @@ "default": { "type": "reflection", "declaration": { - "id": 623, + "id": 677, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 624, + "id": 678, "name": "merge", "kind": 1024, "kindString": "Property", @@ -18160,7 +18006,7 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 259, + "line": 278, "character": 44 } ], @@ -18174,7 +18020,7 @@ { "title": "Properties", "kind": 1024, - "children": [624] + "children": [678] } ] } @@ -18183,8 +18029,13 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "ClientOptions" + }, { "type": "conditional", "checkType": { @@ -18192,12 +18043,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -18222,7 +18073,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -18244,7 +18095,7 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { @@ -18252,7 +18103,7 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -18262,7 +18113,7 @@ }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -18275,17 +18126,17 @@ "typeArguments": [ { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 493, + "id": 526, "name": "Options" } ], @@ -18297,12 +18148,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 488, + "id": 521, "name": "NewResult" } ], @@ -18318,19 +18169,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 672, + "id": 743, "name": "default.overrideTypes" } } ], "inheritedFrom": { "type": "reference", - "id": 671, + "id": 742, "name": "default.overrideTypes" } }, { - "id": 551, + "id": 602, "name": "range", "kind": 2048, "kindString": "Method", @@ -18338,13 +18189,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 158, + "line": 173, "character": 2 } ], "signatures": [ { - "id": 552, + "id": 603, "name": "range", "kind": 4096, "kindString": "Call signature", @@ -18354,7 +18205,7 @@ }, "parameters": [ { - "id": 553, + "id": 604, "name": "from", "kind": 32768, "kindString": "Parameter", @@ -18368,7 +18219,7 @@ } }, { - "id": 554, + "id": 605, "name": "to", "kind": 32768, "kindString": "Parameter", @@ -18382,7 +18233,7 @@ } }, { - "id": 555, + "id": 606, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -18394,14 +18245,14 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 607, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 557, + "id": 608, "name": "foreignTable", "kind": 1024, "kindString": "Property", @@ -18414,7 +18265,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 9 } ], @@ -18424,7 +18275,7 @@ } }, { - "id": 558, + "id": 609, "name": "referencedTable", "kind": 1024, "kindString": "Property", @@ -18437,7 +18288,7 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 164, + "line": 179, "character": 32 } ], @@ -18451,7 +18302,7 @@ { "title": "Properties", "kind": 1024, - "children": [557, 558] + "children": [608, 609] } ] } @@ -18461,32 +18312,42 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -18495,7 +18356,7 @@ ] }, { - "id": 584, + "id": 635, "name": "returns", "kind": 2048, "kindString": "Method", @@ -18503,13 +18364,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 312, + "line": 328, "character": 2 } ], "signatures": [ { - "id": 585, + "id": 636, "name": "returns", "kind": 4096, "kindString": "Call signature", @@ -18525,7 +18386,7 @@ }, "typeParameter": [ { - "id": 586, + "id": 637, "name": "NewResult", "kind": 131072, "kindString": "Type parameter", @@ -18537,16 +18398,21 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { @@ -18554,12 +18420,12 @@ "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 454, + "id": 484, "name": "NewResult" } ], @@ -18567,32 +18433,37 @@ }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "overwrites": { "type": "reference", - "id": 669, + "id": 740, "name": "default.returns" } } ], "overwrites": { "type": "reference", - "id": 668, + "id": 739, "name": "default.returns" } }, { - "id": 582, + "id": 633, "name": "rollback", "kind": 2048, "kindString": "Method", @@ -18600,13 +18471,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 297, + "line": 317, "character": 2 } ], "signatures": [ { - "id": 583, + "id": 634, "name": "rollback", "kind": 4096, "kindString": "Call signature", @@ -18617,32 +18488,42 @@ }, "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -18651,7 +18532,7 @@ ] }, { - "id": 508, + "id": 559, "name": "select", "kind": 2048, "kindString": "Method", @@ -18659,13 +18540,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 21, + "line": 29, "character": 2 } ], "signatures": [ { - "id": 509, + "id": 560, "name": "select", "kind": 4096, "kindString": "Call signature", @@ -18676,7 +18557,7 @@ }, "typeParameter": [ { - "id": 510, + "id": 561, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -18691,39 +18572,44 @@ } }, { - "id": 511, + "id": 562, "name": "NewResultOne", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 712, + "id": 792, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" }, { "type": "reference", - "id": 378, + "id": 408, "name": "Query" + }, + { + "type": "reference", + "id": 537, + "name": "ClientOptions" } ], "name": "GetResult" @@ -18732,7 +18618,7 @@ ], "parameters": [ { - "id": 512, + "id": 563, "name": "columns", "kind": 32768, "kindString": "Parameter", @@ -18744,7 +18630,7 @@ }, "type": { "type": "reference", - "id": 378, + "id": 408, "name": "Query", "dereferenced": {} } @@ -18752,35 +18638,45 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "array", "elementType": { "type": "reference", - "id": 379, + "id": 409, "name": "NewResultOne" } }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" @@ -18789,7 +18685,7 @@ ] }, { - "id": 602, + "id": 656, "name": "setHeader", "kind": 2048, "kindString": "Method", @@ -18797,13 +18693,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 64, + "line": 78, "character": 2 } ], "signatures": [ { - "id": 603, + "id": 657, "name": "setHeader", "kind": 4096, "kindString": "Call signature", @@ -18813,7 +18709,7 @@ }, "parameters": [ { - "id": 604, + "id": 658, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -18824,7 +18720,7 @@ } }, { - "id": 605, + "id": 659, "name": "value", "kind": 32768, "kindString": "Parameter", @@ -18837,51 +18733,61 @@ ], "type": { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, "inheritedFrom": { "type": "reference", - "id": 653, + "id": 724, "name": "default.setHeader" } } ], "inheritedFrom": { "type": "reference", - "id": 652, + "id": 723, "name": "default.setHeader" } }, { - "id": 562, + "id": 613, "name": "single", "kind": 2048, "kindString": "Method", @@ -18889,13 +18795,13 @@ "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 191, + "line": 206, "character": 2 } ], "signatures": [ { - "id": 563, + "id": 614, "name": "single", "kind": 4096, "kindString": "Call signature", @@ -18906,7 +18812,7 @@ }, "typeParameter": [ { - "id": 564, + "id": 615, "name": "ResultOne", "kind": 131072, "kindString": "Type parameter", @@ -18915,7 +18821,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, "extendsType": { @@ -18938,11 +18844,16 @@ ], "type": { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 432, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 462, "name": "ResultOne" }, { @@ -18956,7 +18867,7 @@ ] }, { - "id": 606, + "id": 660, "name": "then", "kind": 2048, "kindString": "Method", @@ -18964,31 +18875,31 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 70, + "line": 84, "character": 2 } ], "signatures": [ { - "id": 607, + "id": 661, "name": "then", "kind": 4096, "kindString": "Call signature", "flags": {}, "typeParameter": [ { - "id": 608, + "id": 662, "name": "TResult1", "kind": 131072, "kindString": "Type parameter", "flags": {}, "default": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -18996,7 +18907,7 @@ } }, { - "id": 609, + "id": 663, "name": "TResult2", "kind": 131072, "kindString": "Type parameter", @@ -19009,7 +18920,7 @@ ], "parameters": [ { - "id": 610, + "id": 664, "name": "onfulfilled", "kind": 32768, "kindString": "Parameter", @@ -19026,32 +18937,32 @@ { "type": "reflection", "declaration": { - "id": 611, + "id": 665, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 612, + "id": 666, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 613, + "id": 667, "name": "value", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 540, "name": "Result" } ], @@ -19064,7 +18975,7 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { @@ -19072,7 +18983,7 @@ "typeArguments": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" } ], @@ -19090,7 +19001,7 @@ } }, { - "id": 614, + "id": 668, "name": "onrejected", "kind": 32768, "kindString": "Parameter", @@ -19107,21 +19018,21 @@ { "type": "reflection", "declaration": { - "id": 615, + "id": 669, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 616, + "id": 670, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 617, + "id": 671, "name": "reason", "kind": 32768, "kindString": "Parameter", @@ -19137,7 +19048,7 @@ "types": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" }, { @@ -19145,7 +19056,7 @@ "typeArguments": [ { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ], @@ -19171,12 +19082,12 @@ "types": [ { "type": "reference", - "id": 476, + "id": 509, "name": "TResult1" }, { "type": "reference", - "id": 477, + "id": 510, "name": "TResult2" } ] @@ -19188,19 +19099,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 657, + "id": 728, "name": "default.then" } } ], "inheritedFrom": { "type": "reference", - "id": 656, + "id": 727, "name": "default.then" } }, { - "id": 600, + "id": 654, "name": "throwOnError", "kind": 2048, "kindString": "Method", @@ -19208,13 +19119,13 @@ "sources": [ { "fileName": "src/PostgrestBuilder.ts", - "line": 56, + "line": 70, "character": 2 } ], "signatures": [ { - "id": 601, + "id": 655, "name": "throwOnError", "kind": 4096, "kindString": "Call signature", @@ -19228,43 +19139,58 @@ "types": [ { "type": "reference", - "id": 499, + "id": 534, "typeArguments": [ { "type": "reference", - "id": 502, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 538, "name": "Schema" }, { "type": "reference", - "id": 503, + "id": 539, "name": "Row" }, { "type": "reference", - "id": 504, + "id": 540, "name": "Result" }, { "type": "reference", - "id": 505, + "id": 541, "name": "RelationName" }, { "type": "reference", - "id": 506, + "id": 542, "name": "Relationships" + }, + { + "type": "reference", + "id": 543, + "name": "Method" } ], "name": "default" }, { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" }, { @@ -19278,14 +19204,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 651, + "id": 722, "name": "default.throwOnError" } } ], "inheritedFrom": { "type": "reference", - "id": 650, + "id": 721, "name": "default.throwOnError" } } @@ -19294,31 +19220,43 @@ { "title": "Constructors", "kind": 512, - "children": [500] + "children": [535] }, { "title": "Properties", "kind": 1024, - "children": [591, 594, 589, 599, 587, 590, 592, 593, 588] + "children": [645, 648, 643, 653, 641, 644, 646, 647, 642] }, { "title": "Methods", "kind": 2048, "children": [ - 559, 568, 572, 570, 544, 565, 513, 618, 551, 584, 582, 508, 602, 562, 606, 600 + 610, 619, 623, 621, 595, 638, 616, 564, 672, 602, 635, 633, 559, 656, 613, 660, 654 ] } ], "sources": [ { "fileName": "src/PostgrestTransformBuilder.ts", - "line": 5, + "line": 11, "character": 21 } ], "typeParameter": [ { - "id": 626, + "id": 680, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } + }, + { + "id": 681, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -19329,7 +19267,7 @@ } }, { - "id": 627, + "id": 682, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -19352,14 +19290,14 @@ } }, { - "id": 628, + "id": 683, "name": "Result", "kind": 131072, "kindString": "Type parameter", "flags": {} }, { - "id": 629, + "id": 684, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -19370,7 +19308,7 @@ } }, { - "id": 630, + "id": 685, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -19379,16 +19317,32 @@ "type": "intrinsic", "name": "unknown" } + }, + { + "id": 686, + "name": "Method", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "unknown" + } } ], "extendedTypes": [ { "type": "reference", - "id": 631, + "id": 687, "typeArguments": [ { "type": "reference", - "id": 504, + "id": 537, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 540, "name": "Result" } ], @@ -19398,20 +19352,20 @@ "extendedBy": [ { "type": "reference", - "id": 151, + "id": 165, "name": "PostgrestFilterBuilder" } ] }, { - "id": 695, + "id": 767, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 698, + "id": 770, "name": "count", "kind": 1024, "kindString": "Property", @@ -19429,7 +19383,7 @@ } }, { - "id": 697, + "id": 769, "name": "data", "kind": 1024, "kindString": "Property", @@ -19447,7 +19401,7 @@ } }, { - "id": 696, + "id": 768, "name": "error", "kind": 1024, "kindString": "Property", @@ -19461,10 +19415,10 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default", "dereferenced": { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -19475,7 +19429,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -19489,14 +19443,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -19504,14 +19458,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -19529,7 +19483,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -19547,7 +19501,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -19565,7 +19519,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -19587,7 +19541,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -19596,7 +19550,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -19611,7 +19565,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -19629,7 +19583,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -19647,7 +19601,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -19669,12 +19623,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -19696,7 +19650,7 @@ } }, { - "id": 699, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -19718,7 +19672,7 @@ } }, { - "id": 700, + "id": 772, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -19744,7 +19698,7 @@ { "title": "Properties", "kind": 1024, - "children": [698, 697, 696, 699, 700] + "children": [770, 769, 768, 771, 772] } ], "sources": [ @@ -19762,14 +19716,14 @@ ] }, { - "id": 701, + "id": 773, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 776, "name": "count", "kind": 1024, "kindString": "Property", @@ -19796,7 +19750,7 @@ } }, { - "id": 703, + "id": 775, "name": "data", "kind": 1024, "kindString": "Property", @@ -19810,13 +19764,13 @@ ], "type": { "type": "reference", - "id": 707, + "id": 779, "name": "T", "dereferenced": {} } }, { - "id": 702, + "id": 774, "name": "error", "kind": 1024, "kindString": "Property", @@ -19834,7 +19788,7 @@ } }, { - "id": 705, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -19856,7 +19810,7 @@ } }, { - "id": 706, + "id": 778, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -19882,7 +19836,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 703, 702, 705, 706] + "children": [776, 775, 774, 777, 778] } ], "sources": [ @@ -19894,7 +19848,7 @@ ], "typeParameter": [ { - "id": 707, + "id": 779, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19909,7 +19863,310 @@ ] }, { - "id": 710, + "id": 784, + "name": "ClientServerOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 785, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 786, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 75, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [786] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 74, + "character": 34 + } + ] + } + } + }, + { + "id": 787, + "name": "GetGenericDatabaseWithOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 85, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 788, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + }, + { + "id": 791, + "name": "Opts", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "default": { + "type": "reflection", + "declaration": { + "id": 789, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 790, + "name": "PostgrestVersion", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 39 + } + ], + "type": { + "type": "literal", + "value": "12" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [790] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 87, + "character": 37 + } + ] + } + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + } + ], + "name": "IsAny" + }, + "extendsType": { + "type": "literal", + "value": true + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + }, + "trueType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + }, + "objectType": { + "type": "reference", + "id": 788, + "name": "Database" + } + } + ], + "name": "DatabaseWithOptions" + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "query", + "queryType": { + "type": "reference", + "name": "INTERNAL_SUPABASE_OPTIONS" + } + } + ], + "qualifiedName": "Omit", + "package": "typescript", + "name": "Omit" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + }, + "falseType": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 788, + "name": "Database" + }, + { + "type": "reference", + "id": 791, + "name": "Opts" + } + ], + "name": "DatabaseWithOptions" + } + } + } + }, + { + "id": 782, "name": "PostgrestMaybeSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -19923,7 +20180,7 @@ ], "typeParameter": [ { - "id": 711, + "id": 783, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19932,14 +20189,14 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "union", "types": [ { "type": "reference", - "id": 711, + "id": 783, "name": "T" }, { @@ -19953,7 +20210,7 @@ } }, { - "id": 693, + "id": 765, "name": "PostgrestResponse", "kind": 4194304, "kindString": "Type alias", @@ -19967,7 +20224,7 @@ ], "typeParameter": [ { - "id": 694, + "id": 766, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -19976,13 +20233,13 @@ ], "type": { "type": "reference", - "id": 708, + "id": 780, "typeArguments": [ { "type": "array", "elementType": { "type": "reference", - "id": 694, + "id": 766, "name": "T" } } @@ -19991,7 +20248,7 @@ } }, { - "id": 708, + "id": 780, "name": "PostgrestSingleResponse", "kind": 4194304, "kindString": "Type alias", @@ -20005,7 +20262,7 @@ ], "typeParameter": [ { - "id": 709, + "id": 781, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -20016,14 +20273,14 @@ "type": "union", "types": [ { - "id": 701, + "id": 773, "name": "PostgrestResponseSuccess", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 704, + "id": 776, "name": "count", "kind": 1024, "kindString": "Property", @@ -20050,7 +20307,7 @@ } }, { - "id": 703, + "id": 775, "name": "data", "kind": 1024, "kindString": "Property", @@ -20064,13 +20321,13 @@ ], "type": { "type": "reference", - "id": 707, + "id": 779, "name": "T", "dereferenced": {} } }, { - "id": 702, + "id": 774, "name": "error", "kind": 1024, "kindString": "Property", @@ -20088,7 +20345,7 @@ } }, { - "id": 705, + "id": 777, "name": "status", "kind": 1024, "kindString": "Property", @@ -20110,7 +20367,7 @@ } }, { - "id": 706, + "id": 778, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -20136,7 +20393,7 @@ { "title": "Properties", "kind": 1024, - "children": [704, 703, 702, 705, 706] + "children": [776, 775, 774, 777, 778] } ], "sources": [ @@ -20148,7 +20405,7 @@ ], "typeParameter": [ { - "id": 707, + "id": 779, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -20163,14 +20420,14 @@ ] }, { - "id": 695, + "id": 767, "name": "PostgrestResponseFailure", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 698, + "id": 770, "name": "count", "kind": 1024, "kindString": "Property", @@ -20188,7 +20445,7 @@ } }, { - "id": 697, + "id": 769, "name": "data", "kind": 1024, "kindString": "Property", @@ -20206,7 +20463,7 @@ } }, { - "id": 696, + "id": 768, "name": "error", "kind": 1024, "kindString": "Property", @@ -20220,10 +20477,10 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default", "dereferenced": { - "id": 681, + "id": 753, "name": "PostgrestError", "kind": 128, "kindString": "Class", @@ -20234,7 +20491,7 @@ }, "children": [ { - "id": 682, + "id": 754, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -20248,14 +20505,14 @@ ], "signatures": [ { - "id": 683, + "id": 755, "name": "new PostgrestError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 684, + "id": 756, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -20263,14 +20520,14 @@ "type": { "type": "reflection", "declaration": { - "id": 685, + "id": 757, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 689, + "id": 761, "name": "code", "kind": 1024, "kindString": "Property", @@ -20288,7 +20545,7 @@ } }, { - "id": 687, + "id": 759, "name": "details", "kind": 1024, "kindString": "Property", @@ -20306,7 +20563,7 @@ } }, { - "id": 688, + "id": 760, "name": "hint", "kind": 1024, "kindString": "Property", @@ -20324,7 +20581,7 @@ } }, { - "id": 686, + "id": 758, "name": "message", "kind": 1024, "kindString": "Property", @@ -20346,7 +20603,7 @@ { "title": "Properties", "kind": 1024, - "children": [689, 687, 688, 686] + "children": [761, 759, 760, 758] } ] } @@ -20355,7 +20612,7 @@ ], "type": { "type": "reference", - "id": 681, + "id": 753, "name": "default" }, "overwrites": { @@ -20370,7 +20627,7 @@ } }, { - "id": 692, + "id": 764, "name": "code", "kind": 1024, "kindString": "Property", @@ -20388,7 +20645,7 @@ } }, { - "id": 690, + "id": 762, "name": "details", "kind": 1024, "kindString": "Property", @@ -20406,7 +20663,7 @@ } }, { - "id": 691, + "id": 763, "name": "hint", "kind": 1024, "kindString": "Property", @@ -20428,12 +20685,12 @@ { "title": "Constructors", "kind": 512, - "children": [682] + "children": [754] }, { "title": "Properties", "kind": 1024, - "children": [692, 690, 691] + "children": [764, 762, 763] } ], "sources": [ @@ -20455,7 +20712,7 @@ } }, { - "id": 699, + "id": 771, "name": "status", "kind": 1024, "kindString": "Property", @@ -20477,7 +20734,7 @@ } }, { - "id": 700, + "id": 772, "name": "statusText", "kind": 1024, "kindString": "Property", @@ -20503,7 +20760,7 @@ { "title": "Properties", "kind": 1024, - "children": [698, 697, 696, 699, 700] + "children": [770, 769, 768, 771, 772] } ], "sources": [ @@ -20524,7 +20781,7 @@ } }, { - "id": 712, + "id": 792, "name": "UnstableGetResult", "kind": 4194304, "kindString": "Type alias", @@ -20535,13 +20792,13 @@ "sources": [ { "fileName": "src/select-query-parser/result.ts", - "line": 33, + "line": 37, "character": 12 } ], "typeParameter": [ { - "id": 713, + "id": 793, "name": "Schema", "kind": 131072, "kindString": "Type parameter", @@ -20555,7 +20812,7 @@ } }, { - "id": 714, + "id": 794, "name": "Row", "kind": 131072, "kindString": "Type parameter", @@ -20581,7 +20838,7 @@ } }, { - "id": 715, + "id": 795, "name": "RelationName", "kind": 131072, "kindString": "Type parameter", @@ -20591,7 +20848,7 @@ } }, { - "id": 716, + "id": 796, "name": "Relationships", "kind": 131072, "kindString": "Type parameter", @@ -20601,7 +20858,7 @@ } }, { - "id": 717, + "id": 797, "name": "Query", "kind": 131072, "kindString": "Type parameter", @@ -20613,6 +20870,18 @@ "type": "intrinsic", "name": "string" } + }, + { + "id": 798, + "name": "ClientOptions", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 784, + "name": "ClientServerOptions" + } } ], "type": { @@ -20622,7 +20891,7 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 793, "name": "Schema" } ], @@ -20639,7 +20908,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -20666,7 +20935,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -20702,7 +20971,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -20716,7 +20985,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -20750,7 +21019,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -20759,7 +21028,7 @@ }, "trueType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "falseType": { @@ -20769,7 +21038,7 @@ }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } ], @@ -20782,7 +21051,7 @@ }, "falseType": { "type": "reference", - "id": 714, + "id": 794, "name": "Row" } }, @@ -20793,7 +21062,7 @@ "typeArguments": [ { "type": "reference", - "id": 717, + "id": 797, "name": "Query" } ], @@ -20820,7 +21089,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, "extendsType": { @@ -20831,7 +21100,7 @@ "type": "conditional", "checkType": { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, "extendsType": { @@ -20846,22 +21115,27 @@ "typeArguments": [ { "type": "reference", - "id": 713, + "id": 798, + "name": "ClientOptions" + }, + { + "type": "reference", + "id": 793, "name": "Schema" }, { "type": "reference", - "id": 714, + "id": 794, "name": "Row" }, { "type": "reference", - "id": 715, + "id": 795, "name": "RelationName" }, { "type": "reference", - "id": 716, + "id": 796, "name": "Relationships" }, { @@ -20938,7 +21212,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 631, + "id": 687, "name": "default" } } @@ -20968,7 +21242,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 681, + "id": 753, "name": "default" } } @@ -20983,7 +21257,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 151, + "id": 165, "name": "default" } } @@ -20998,7 +21272,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 64, + "id": 76, "name": "default" } } @@ -21013,7 +21287,7 @@ "type": "query", "queryType": { "type": "reference", - "id": 499, + "id": 534, "name": "default" } } @@ -21034,17 +21308,17 @@ { "title": "Classes", "kind": 128, - "children": [631, 9, 681, 151, 64, 499] + "children": [687, 9, 753, 165, 76, 534] }, { "title": "Interfaces", "kind": 256, - "children": [695, 701] + "children": [767, 773] }, { "title": "Type Aliases", "kind": 4194304, - "children": [710, 693, 708, 712] + "children": [784, 787, 782, 765, 780, 792] }, { "title": "Variables", diff --git a/apps/docs/spec/enrichments/tsdoc_v2/realtime.json b/apps/docs/spec/enrichments/tsdoc_v2/realtime.json index 53cfb41533f..e0b0f9f3436 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/realtime.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/realtime.json @@ -6,14 +6,14 @@ "flags": {}, "children": [ { - "id": 618, + "id": 629, "name": "REALTIME_LISTEN_TYPES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 619, + "id": 630, "name": "BROADCAST", "variant": "declaration", "kind": 16, @@ -23,7 +23,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L98" } ], "type": { @@ -32,7 +32,7 @@ } }, { - "id": 621, + "id": 632, "name": "POSTGRES_CHANGES", "variant": "declaration", "kind": 16, @@ -42,7 +42,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L100" } ], "type": { @@ -51,7 +51,7 @@ } }, { - "id": 620, + "id": 631, "name": "PRESENCE", "variant": "declaration", "kind": 16, @@ -61,7 +61,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L99" } ], "type": { @@ -70,7 +70,7 @@ } }, { - "id": 622, + "id": 633, "name": "SYSTEM", "variant": "declaration", "kind": 16, @@ -80,7 +80,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L101" } ], "type": { @@ -92,7 +92,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [619, 621, 620, 622] + "children": [630, 632, 631, 633] } ], "sources": [ @@ -100,19 +100,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L97" } ] }, { - "id": 623, + "id": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 624, + "id": 635, "name": "ALL", "variant": "declaration", "kind": 16, @@ -122,7 +122,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L91" } ], "type": { @@ -131,7 +131,7 @@ } }, { - "id": 627, + "id": 638, "name": "DELETE", "variant": "declaration", "kind": 16, @@ -141,7 +141,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L94" } ], "type": { @@ -150,7 +150,7 @@ } }, { - "id": 625, + "id": 636, "name": "INSERT", "variant": "declaration", "kind": 16, @@ -160,7 +160,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L92" } ], "type": { @@ -169,7 +169,7 @@ } }, { - "id": 626, + "id": 637, "name": "UPDATE", "variant": "declaration", "kind": 16, @@ -179,7 +179,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L93" } ], "type": { @@ -191,7 +191,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [624, 627, 625, 626] + "children": [635, 638, 636, 637] } ], "sources": [ @@ -199,19 +199,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 90, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L90" } ] }, { - "id": 628, + "id": 639, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 630, + "id": 641, "name": "JOIN", "variant": "declaration", "kind": 16, @@ -221,7 +221,7 @@ "fileName": "src/RealtimePresence.ts", "line": 37, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L37" } ], "type": { @@ -230,7 +230,7 @@ } }, { - "id": 631, + "id": 642, "name": "LEAVE", "variant": "declaration", "kind": 16, @@ -240,7 +240,7 @@ "fileName": "src/RealtimePresence.ts", "line": 38, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L38" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L38" } ], "type": { @@ -249,7 +249,7 @@ } }, { - "id": 629, + "id": 640, "name": "SYNC", "variant": "declaration", "kind": 16, @@ -259,7 +259,7 @@ "fileName": "src/RealtimePresence.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L36" } ], "type": { @@ -271,7 +271,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [630, 631, 629] + "children": [641, 642, 640] } ], "sources": [ @@ -279,19 +279,19 @@ "fileName": "src/RealtimePresence.ts", "line": 35, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L35" } ] }, { - "id": 632, + "id": 643, "name": "REALTIME_SUBSCRIBE_STATES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 636, + "id": 647, "name": "CHANNEL_ERROR", "variant": "declaration", "kind": 16, @@ -301,7 +301,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L108" } ], "type": { @@ -310,7 +310,7 @@ } }, { - "id": 635, + "id": 646, "name": "CLOSED", "variant": "declaration", "kind": 16, @@ -320,7 +320,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L107" } ], "type": { @@ -329,7 +329,7 @@ } }, { - "id": 633, + "id": 644, "name": "SUBSCRIBED", "variant": "declaration", "kind": 16, @@ -339,7 +339,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L105" } ], "type": { @@ -348,7 +348,7 @@ } }, { - "id": 634, + "id": 645, "name": "TIMED_OUT", "variant": "declaration", "kind": 16, @@ -358,7 +358,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L106" } ], "type": { @@ -370,7 +370,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [636, 635, 633, 634] + "children": [647, 646, 644, 645] } ], "sources": [ @@ -378,12 +378,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 104, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L104" } ] }, { - "id": 65, + "id": 59, "name": "RealtimeChannel", "variant": "declaration", "kind": 128, @@ -398,7 +398,7 @@ }, "children": [ { - "id": 76, + "id": 70, "name": "constructor", "variant": "declaration", "kind": 512, @@ -408,12 +408,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "signatures": [ { - "id": 77, + "id": 71, "name": "RealtimeChannel", "variant": "signature", "kind": 16384, @@ -423,12 +423,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "parameters": [ { - "id": 78, + "id": 72, "name": "topic", "variant": "param", "kind": 32768, @@ -447,28 +447,28 @@ } }, { - "id": 79, + "id": 73, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 80, + "id": 74, "name": "socket", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -477,7 +477,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -486,7 +486,7 @@ ] }, { - "id": 81, + "id": 75, "name": "bindings", "variant": "declaration", "kind": 1024, @@ -496,13 +496,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "type": { "type": "reflection", "declaration": { - "id": 82, + "id": 76, "name": "__type", "variant": "declaration", "kind": 65536, @@ -512,12 +512,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "indexSignatures": [ { - "id": 83, + "id": 77, "name": "__index", "variant": "signature", "kind": 8192, @@ -527,12 +527,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ], "parameters": [ { - "id": 84, + "id": 78, "name": "key", "variant": "param", "kind": 32768, @@ -548,14 +548,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 85, + "id": 79, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 91, + "id": 85, "name": "callback", "variant": "declaration", "kind": 1024, @@ -565,7 +565,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 132, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L132" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L132" } ], "type": { @@ -579,7 +579,7 @@ } }, { - "id": 87, + "id": 81, "name": "filter", "variant": "declaration", "kind": 1024, @@ -589,13 +589,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 82, "name": "__type", "variant": "declaration", "kind": 65536, @@ -605,12 +605,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "indexSignatures": [ { - "id": 89, + "id": 83, "name": "__index", "variant": "signature", "kind": 8192, @@ -620,12 +620,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "parameters": [ { - "id": 90, + "id": 84, "name": "key", "variant": "param", "kind": 32768, @@ -646,7 +646,7 @@ } }, { - "id": 92, + "id": 86, "name": "id", "variant": "declaration", "kind": 1024, @@ -658,7 +658,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 133, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L133" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L133" } ], "type": { @@ -667,7 +667,7 @@ } }, { - "id": 86, + "id": 80, "name": "type", "variant": "declaration", "kind": 1024, @@ -677,7 +677,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 130, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L130" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L130" } ], "type": { @@ -689,7 +689,7 @@ "groups": [ { "title": "Properties", - "children": [91, 87, 92, 86] + "children": [85, 81, 86, 80] } ], "sources": [ @@ -697,7 +697,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 19, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ] } @@ -710,7 +710,7 @@ "defaultValue": "{}" }, { - "id": 100, + "id": 94, "name": "broadcastEndpointURL", "variant": "declaration", "kind": 1024, @@ -720,7 +720,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 143, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L143" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L143" } ], "type": { @@ -729,7 +729,7 @@ } }, { - "id": 95, + "id": 89, "name": "joinedOnce", "variant": "declaration", "kind": 1024, @@ -739,7 +739,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 138, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L138" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L138" } ], "type": { @@ -749,7 +749,7 @@ "defaultValue": "false" }, { - "id": 96, + "id": 90, "name": "joinPush", "variant": "declaration", "kind": 1024, @@ -759,7 +759,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 139, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L139" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L139" } ], "type": { @@ -774,7 +774,7 @@ } }, { - "id": 104, + "id": 98, "name": "params", "variant": "declaration", "kind": 1024, @@ -786,19 +786,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 150, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L150" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L150" } ], "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 99, + "id": 93, "name": "presence", "variant": "declaration", "kind": 1024, @@ -808,7 +808,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 142, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L142" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L142" } ], "type": { @@ -820,7 +820,7 @@ } }, { - "id": 102, + "id": 96, "name": "private", "variant": "declaration", "kind": 1024, @@ -830,7 +830,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 145, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L145" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L145" } ], "type": { @@ -839,7 +839,7 @@ } }, { - "id": 98, + "id": 92, "name": "pushBuffer", "variant": "declaration", "kind": 1024, @@ -849,7 +849,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 141, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L141" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L141" } ], "type": { @@ -868,7 +868,7 @@ "defaultValue": "[]" }, { - "id": 97, + "id": 91, "name": "rejoinTimer", "variant": "declaration", "kind": 1024, @@ -878,7 +878,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 140, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L140" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L140" } ], "type": { @@ -893,7 +893,7 @@ } }, { - "id": 105, + "id": 99, "name": "socket", "variant": "declaration", "kind": 1024, @@ -905,19 +905,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 151, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L151" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L151" } ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 94, + "id": 88, "name": "state", "variant": "declaration", "kind": 1024, @@ -927,7 +927,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 137, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L137" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L137" } ], "type": { @@ -942,7 +942,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 101, + "id": 95, "name": "subTopic", "variant": "declaration", "kind": 1024, @@ -952,7 +952,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 144, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L144" } ], "type": { @@ -961,7 +961,7 @@ } }, { - "id": 93, + "id": 87, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -971,7 +971,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 136, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L136" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L136" } ], "type": { @@ -980,7 +980,7 @@ } }, { - "id": 103, + "id": 97, "name": "topic", "variant": "declaration", "kind": 1024, @@ -1000,7 +1000,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 149, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L149" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L149" } ], "type": { @@ -1009,223 +1009,82 @@ } }, { - "id": 137, + "id": 131, "name": "on", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - }, { "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" }, { "fileName": "src/RealtimeChannel.ts", "line": 360, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" }, { "fileName": "src/RealtimeChannel.ts", "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" }, { "fileName": "src/RealtimeChannel.ts", "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" }, { "fileName": "src/RealtimeChannel.ts", "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" }, { "fileName": "src/RealtimeChannel.ts", "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" }, { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" }, { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" }, { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" }, { "fileName": "src/RealtimeChannel.ts", "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" + }, + { + "fileName": "src/RealtimeChannel.ts", + "line": 419, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L419" } ], "signatures": [ { - "id": 138, - "name": "on", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates an event handler that listens to changes." - } - ] - }, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - } - ], - "parameters": [ - { - "id": 139, - "name": "type", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 140, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 141, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 142, - "name": "event", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ], - "type": { - "type": "literal", - "value": "sync" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [142] - } - ], - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ] - } - } - }, - { - "id": 143, - "name": "callback", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 144, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "signatures": [ - { - "id": 145, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": 65, - "name": "RealtimeChannel", - "package": "@supabase/realtime-js", - "qualifiedName": "default" - } - }, - { - "id": 146, + "id": 132, "name": "on", "variant": "signature", "kind": 4096, @@ -1243,20 +1102,83 @@ "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" } ], - "typeParameters": [ + "parameters": [ { - "id": 147, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 133, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 134, + "name": "filter", + "variant": "param", + "kind": 32768, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 136, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [136] + } + ], + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 12, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ] + } + } + }, + { + "id": 137, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 138, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1264,14 +1186,92 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "signatures": [ + { + "id": 139, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 140, + "name": "on", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates an event handler that listens to changes." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" + } + ], + "typeParameters": [ + { + "id": 141, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "indexSignatures": [ { - "id": 149, + "id": 143, "name": "__index", "variant": "signature", "kind": 8192, @@ -1279,14 +1279,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 360, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "parameters": [ { - "id": 150, + "id": 144, "name": "key", "variant": "param", "kind": 32768, @@ -1309,7 +1309,7 @@ ], "parameters": [ { - "id": 151, + "id": 145, "name": "type", "variant": "param", "kind": 32768, @@ -1320,7 +1320,7 @@ } }, { - "id": 152, + "id": 146, "name": "filter", "variant": "param", "kind": 32768, @@ -1328,14 +1328,14 @@ "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 147, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 154, + "id": 148, "name": "event", "variant": "declaration", "kind": 1024, @@ -1343,9 +1343,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ], "type": { @@ -1357,22 +1357,22 @@ "groups": [ { "title": "Properties", - "children": [154] + "children": [148] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ] } } }, { - "id": 155, + "id": 149, "name": "callback", "variant": "param", "kind": 32768, @@ -1380,7 +1380,7 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 150, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1388,14 +1388,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "signatures": [ { - "id": 157, + "id": 151, "name": "__type", "variant": "signature", "kind": 4096, @@ -1403,25 +1403,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "parameters": [ { - "id": 158, + "id": 152, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 588, + "target": 599, "typeArguments": [ { "type": "reference", - "target": 147, + "target": 141, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1444,14 +1444,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 159, + "id": 153, "name": "on", "variant": "signature", "kind": 4096, @@ -1467,14 +1467,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "typeParameters": [ { - "id": 160, + "id": 154, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1482,7 +1482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 161, + "id": 155, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1490,14 +1490,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "indexSignatures": [ { - "id": 162, + "id": 156, "name": "__index", "variant": "signature", "kind": 8192, @@ -1505,14 +1505,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "parameters": [ { - "id": 163, + "id": 157, "name": "key", "variant": "param", "kind": 32768, @@ -1535,7 +1535,7 @@ ], "parameters": [ { - "id": 164, + "id": 158, "name": "type", "variant": "param", "kind": 32768, @@ -1546,7 +1546,7 @@ } }, { - "id": 165, + "id": 159, "name": "filter", "variant": "param", "kind": 32768, @@ -1554,14 +1554,14 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 160, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 167, + "id": 161, "name": "event", "variant": "declaration", "kind": 1024, @@ -1569,9 +1569,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ], "type": { @@ -1583,22 +1583,22 @@ "groups": [ { "title": "Properties", - "children": [167] + "children": [161] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ] } } }, { - "id": 168, + "id": 162, "name": "callback", "variant": "param", "kind": 32768, @@ -1606,7 +1606,7 @@ "type": { "type": "reflection", "declaration": { - "id": 169, + "id": 163, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1614,14 +1614,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "signatures": [ { - "id": 170, + "id": 164, "name": "__type", "variant": "signature", "kind": 4096, @@ -1629,25 +1629,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "parameters": [ { - "id": 171, + "id": 165, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 598, + "target": 609, "typeArguments": [ { "type": "reference", - "target": 160, + "target": 154, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1670,14 +1670,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 172, + "id": 166, "name": "on", "variant": "signature", "kind": 4096, @@ -1693,14 +1693,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "typeParameters": [ { - "id": 173, + "id": 167, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1708,7 +1708,7 @@ "type": { "type": "reflection", "declaration": { - "id": 174, + "id": 168, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1716,14 +1716,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "indexSignatures": [ { - "id": 175, + "id": 169, "name": "__index", "variant": "signature", "kind": 8192, @@ -1731,14 +1731,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "parameters": [ { - "id": 176, + "id": 170, "name": "key", "variant": "param", "kind": 32768, @@ -1761,7 +1761,7 @@ ], "parameters": [ { - "id": 177, + "id": 171, "name": "type", "variant": "param", "kind": 32768, @@ -1772,14 +1772,14 @@ } }, { - "id": 178, + "id": 172, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -1791,7 +1791,7 @@ } }, { - "id": 179, + "id": 173, "name": "callback", "variant": "param", "kind": 32768, @@ -1799,7 +1799,7 @@ "type": { "type": "reflection", "declaration": { - "id": 180, + "id": 174, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1807,14 +1807,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "signatures": [ { - "id": 181, + "id": 175, "name": "__type", "variant": "signature", "kind": 4096, @@ -1822,25 +1822,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "parameters": [ { - "id": 182, + "id": 176, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 554, + "target": 565, "typeArguments": [ { "type": "reference", - "target": 173, + "target": 167, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1863,14 +1863,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 183, + "id": 177, "name": "on", "variant": "signature", "kind": 4096, @@ -1886,14 +1886,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "typeParameters": [ { - "id": 184, + "id": 178, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1901,7 +1901,7 @@ "type": { "type": "reflection", "declaration": { - "id": 185, + "id": 179, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1909,14 +1909,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "indexSignatures": [ { - "id": 186, + "id": 180, "name": "__index", "variant": "signature", "kind": 8192, @@ -1924,14 +1924,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "parameters": [ { - "id": 187, + "id": 181, "name": "key", "variant": "param", "kind": 32768, @@ -1954,7 +1954,7 @@ ], "parameters": [ { - "id": 188, + "id": 182, "name": "type", "variant": "param", "kind": 32768, @@ -1965,14 +1965,14 @@ } }, { - "id": 189, + "id": 183, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -1984,7 +1984,7 @@ } }, { - "id": 190, + "id": 184, "name": "callback", "variant": "param", "kind": 32768, @@ -1992,7 +1992,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 185, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2000,14 +2000,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "signatures": [ { - "id": 192, + "id": 186, "name": "__type", "variant": "signature", "kind": 4096, @@ -2015,25 +2015,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "parameters": [ { - "id": 193, + "id": 187, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 184, + "target": 178, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2056,14 +2056,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 194, + "id": 188, "name": "on", "variant": "signature", "kind": 4096, @@ -2079,14 +2079,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "typeParameters": [ { - "id": 195, + "id": 189, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2094,7 +2094,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 190, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2102,14 +2102,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "indexSignatures": [ { - "id": 197, + "id": 191, "name": "__index", "variant": "signature", "kind": 8192, @@ -2117,14 +2117,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "parameters": [ { - "id": 198, + "id": 192, "name": "key", "variant": "param", "kind": 32768, @@ -2147,7 +2147,7 @@ ], "parameters": [ { - "id": 199, + "id": 193, "name": "type", "variant": "param", "kind": 32768, @@ -2158,14 +2158,14 @@ } }, { - "id": 200, + "id": 194, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -2177,7 +2177,7 @@ } }, { - "id": 201, + "id": 195, "name": "callback", "variant": "param", "kind": 32768, @@ -2185,7 +2185,7 @@ "type": { "type": "reflection", "declaration": { - "id": 202, + "id": 196, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2193,14 +2193,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "signatures": [ { - "id": 203, + "id": 197, "name": "__type", "variant": "signature", "kind": 4096, @@ -2208,25 +2208,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "parameters": [ { - "id": 204, + "id": 198, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 195, + "target": 189, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2249,14 +2249,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 205, + "id": 199, "name": "on", "variant": "signature", "kind": 4096, @@ -2272,14 +2272,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "typeParameters": [ { - "id": 206, + "id": 200, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2287,7 +2287,7 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 201, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2295,14 +2295,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "indexSignatures": [ { - "id": 208, + "id": 202, "name": "__index", "variant": "signature", "kind": 8192, @@ -2310,14 +2310,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "parameters": [ { - "id": 209, + "id": 203, "name": "key", "variant": "param", "kind": 32768, @@ -2340,7 +2340,7 @@ ], "parameters": [ { - "id": 210, + "id": 204, "name": "type", "variant": "param", "kind": 32768, @@ -2351,14 +2351,14 @@ } }, { - "id": 211, + "id": 205, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -2370,7 +2370,7 @@ } }, { - "id": 212, + "id": 206, "name": "callback", "variant": "param", "kind": 32768, @@ -2378,7 +2378,7 @@ "type": { "type": "reflection", "declaration": { - "id": 213, + "id": 207, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2386,14 +2386,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "signatures": [ { - "id": 214, + "id": 208, "name": "__type", "variant": "signature", "kind": 4096, @@ -2401,25 +2401,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "parameters": [ { - "id": 215, + "id": 209, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 206, + "target": 200, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2442,14 +2442,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 216, + "id": 210, "name": "on", "variant": "signature", "kind": 4096, @@ -2465,14 +2465,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" } ], "parameters": [ { - "id": 217, + "id": 211, "name": "type", "variant": "param", "kind": 32768, @@ -2491,7 +2491,7 @@ } }, { - "id": 218, + "id": 212, "name": "filter", "variant": "param", "kind": 32768, @@ -2507,14 +2507,14 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 220, + "id": 214, "name": "event", "variant": "declaration", "kind": 1024, @@ -2522,9 +2522,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ], "type": { @@ -2536,22 +2536,22 @@ "groups": [ { "title": "Properties", - "children": [220] + "children": [214] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ] } } }, { - "id": 221, + "id": 215, "name": "callback", "variant": "param", "kind": 32768, @@ -2567,7 +2567,7 @@ "type": { "type": "reflection", "declaration": { - "id": 222, + "id": 216, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2575,14 +2575,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "signatures": [ { - "id": 223, + "id": 217, "name": "__type", "variant": "signature", "kind": 4096, @@ -2590,14 +2590,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "parameters": [ { - "id": 224, + "id": 218, "name": "payload", "variant": "param", "kind": 32768, @@ -2605,14 +2605,14 @@ "type": { "type": "reflection", "declaration": { - "id": 225, + "id": 219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 227, + "id": 221, "name": "event", "variant": "declaration", "kind": 1024, @@ -2620,9 +2620,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 396, + "line": 401, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L396" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L401" } ], "type": { @@ -2631,7 +2631,7 @@ } }, { - "id": 226, + "id": 220, "name": "type", "variant": "declaration", "kind": 1024, @@ -2639,9 +2639,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 395, + "line": 400, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L400" } ], "type": { @@ -2653,20 +2653,20 @@ "groups": [ { "title": "Properties", - "children": [227, 226] + "children": [221, 220] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "indexSignatures": [ { - "id": 228, + "id": 222, "name": "__index", "variant": "signature", "kind": 8192, @@ -2674,14 +2674,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 397, + "line": 402, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L397" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L402" } ], "parameters": [ { - "id": 229, + "id": 223, "name": "key", "variant": "param", "kind": 32768, @@ -2714,14 +2714,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 230, + "id": 224, "name": "on", "variant": "signature", "kind": 4096, @@ -2737,14 +2737,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "typeParameters": [ { - "id": 231, + "id": 225, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2752,7 +2752,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 226, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2760,14 +2760,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "indexSignatures": [ { - "id": 233, + "id": 227, "name": "__index", "variant": "signature", "kind": 8192, @@ -2775,14 +2775,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "parameters": [ { - "id": 234, + "id": 228, "name": "key", "variant": "param", "kind": 32768, @@ -2805,7 +2805,7 @@ ], "parameters": [ { - "id": 235, + "id": 229, "name": "type", "variant": "param", "kind": 32768, @@ -2816,7 +2816,7 @@ } }, { - "id": 236, + "id": 230, "name": "filter", "variant": "param", "kind": 32768, @@ -2824,14 +2824,14 @@ "type": { "type": "reflection", "declaration": { - "id": 237, + "id": 231, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 238, + "id": 232, "name": "event", "variant": "declaration", "kind": 1024, @@ -2839,9 +2839,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ], "type": { @@ -2853,22 +2853,22 @@ "groups": [ { "title": "Properties", - "children": [238] + "children": [232] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ] } } }, { - "id": 239, + "id": 233, "name": "callback", "variant": "param", "kind": 32768, @@ -2876,7 +2876,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 234, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2884,14 +2884,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "signatures": [ { - "id": 241, + "id": 235, "name": "__type", "variant": "signature", "kind": 4096, @@ -2899,14 +2899,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "parameters": [ { - "id": 242, + "id": 236, "name": "payload", "variant": "param", "kind": 32768, @@ -2914,14 +2914,14 @@ "type": { "type": "reflection", "declaration": { - "id": 243, + "id": 237, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 245, + "id": 239, "name": "event", "variant": "declaration", "kind": 1024, @@ -2929,9 +2929,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 405, + "line": 410, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L405" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L410" } ], "type": { @@ -2940,7 +2940,7 @@ } }, { - "id": 246, + "id": 240, "name": "payload", "variant": "declaration", "kind": 1024, @@ -2948,21 +2948,21 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 406, + "line": 411, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L406" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L411" } ], "type": { "type": "reference", - "target": 231, + "target": 225, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 244, + "id": 238, "name": "type", "variant": "declaration", "kind": 1024, @@ -2970,9 +2970,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 404, + "line": 409, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L404" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L409" } ], "type": { @@ -2984,15 +2984,15 @@ "groups": [ { "title": "Properties", - "children": [245, 246, 244] + "children": [239, 240, 238] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ] } @@ -3011,14 +3011,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 247, + "id": 241, "name": "on", "variant": "signature", "kind": 4096, @@ -3034,14 +3034,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "typeParameters": [ { - "id": 248, + "id": 242, "name": "T", "variant": "typeParam", "kind": 131072, @@ -3049,7 +3049,7 @@ "type": { "type": "reflection", "declaration": { - "id": 249, + "id": 243, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3057,14 +3057,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "indexSignatures": [ { - "id": 250, + "id": 244, "name": "__index", "variant": "signature", "kind": 8192, @@ -3072,14 +3072,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "parameters": [ { - "id": 251, + "id": 245, "name": "key", "variant": "param", "kind": 32768, @@ -3102,7 +3102,7 @@ ], "parameters": [ { - "id": 252, + "id": 246, "name": "type", "variant": "param", "kind": 32768, @@ -3113,7 +3113,7 @@ } }, { - "id": 253, + "id": 247, "name": "filter", "variant": "param", "kind": 32768, @@ -3121,7 +3121,7 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 248, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3130,7 +3130,7 @@ } }, { - "id": 255, + "id": 249, "name": "callback", "variant": "param", "kind": 32768, @@ -3138,7 +3138,7 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 250, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3146,14 +3146,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "signatures": [ { - "id": 257, + "id": 251, "name": "__type", "variant": "signature", "kind": 4096, @@ -3161,14 +3161,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "parameters": [ { - "id": 258, + "id": 252, "name": "payload", "variant": "param", "kind": 32768, @@ -3191,7 +3191,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -3200,7 +3200,7 @@ ] }, { - "id": 114, + "id": 108, "name": "presenceState", "variant": "declaration", "kind": 2048, @@ -3208,14 +3208,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "signatures": [ { - "id": 115, + "id": 109, "name": "presenceState", "variant": "signature", "kind": 4096, @@ -3223,14 +3223,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "typeParameters": [ { - "id": 116, + "id": 110, "name": "T", "variant": "typeParam", "kind": 131072, @@ -3238,7 +3238,7 @@ "type": { "type": "reflection", "declaration": { - "id": 117, + "id": 111, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3246,14 +3246,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "indexSignatures": [ { - "id": 118, + "id": 112, "name": "__index", "variant": "signature", "kind": 8192, @@ -3261,14 +3261,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "parameters": [ { - "id": 119, + "id": 113, "name": "key", "variant": "param", "kind": 32768, @@ -3290,7 +3290,7 @@ "default": { "type": "reflection", "declaration": { - "id": 120, + "id": 114, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3301,11 +3301,11 @@ ], "type": { "type": "reference", - "target": 608, + "target": 619, "typeArguments": [ { "type": "reference", - "target": 116, + "target": 110, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -3318,7 +3318,7 @@ ] }, { - "id": 259, + "id": 253, "name": "send", "variant": "declaration", "kind": 2048, @@ -3326,14 +3326,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "signatures": [ { - "id": 260, + "id": 254, "name": "send", "variant": "signature", "kind": 4096, @@ -3349,14 +3349,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "parameters": [ { - "id": 261, + "id": 255, "name": "args", "variant": "param", "kind": 32768, @@ -3372,14 +3372,14 @@ "type": { "type": "reflection", "declaration": { - "id": 262, + "id": 256, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 264, + "id": 258, "name": "event", "variant": "declaration", "kind": 1024, @@ -3395,9 +3395,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 433, + "line": 448, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L433" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L448" } ], "type": { @@ -3406,7 +3406,7 @@ } }, { - "id": 265, + "id": 259, "name": "payload", "variant": "declaration", "kind": 1024, @@ -3424,9 +3424,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 434, + "line": 449, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L434" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L449" } ], "type": { @@ -3435,7 +3435,7 @@ } }, { - "id": 263, + "id": 257, "name": "type", "variant": "declaration", "kind": 1024, @@ -3451,9 +3451,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 432, + "line": 447, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L432" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L447" } ], "type": { @@ -3478,20 +3478,20 @@ "groups": [ { "title": "Properties", - "children": [264, 265, 263] + "children": [258, 259, 257] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 431, + "line": 446, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L431" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L446" } ], "indexSignatures": [ { - "id": 266, + "id": 260, "name": "__index", "variant": "signature", "kind": 8192, @@ -3499,14 +3499,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 435, + "line": 450, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L435" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L450" } ], "parameters": [ { - "id": 267, + "id": 261, "name": "key", "variant": "param", "kind": 32768, @@ -3527,7 +3527,7 @@ } }, { - "id": 268, + "id": 262, "name": "opts", "variant": "param", "kind": 32768, @@ -3543,7 +3543,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 263, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3551,14 +3551,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "indexSignatures": [ { - "id": 270, + "id": 264, "name": "__index", "variant": "signature", "kind": 8192, @@ -3566,14 +3566,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "parameters": [ { - "id": 271, + "id": 265, "name": "key", "variant": "param", "kind": 32768, @@ -3604,7 +3604,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -3616,7 +3616,7 @@ ] }, { - "id": 106, + "id": 100, "name": "subscribe", "variant": "declaration", "kind": 2048, @@ -3626,12 +3626,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "signatures": [ { - "id": 107, + "id": 101, "name": "subscribe", "variant": "signature", "kind": 4096, @@ -3649,12 +3649,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "parameters": [ { - "id": 108, + "id": 102, "name": "callback", "variant": "param", "kind": 32768, @@ -3664,7 +3664,7 @@ "type": { "type": "reflection", "declaration": { - "id": 109, + "id": 103, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3674,12 +3674,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "signatures": [ { - "id": 110, + "id": 104, "name": "__type", "variant": "signature", "kind": 4096, @@ -3689,25 +3689,25 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "parameters": [ { - "id": 111, + "id": 105, "name": "status", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 632, + "target": 643, "name": "REALTIME_SUBSCRIBE_STATES", "package": "@supabase/realtime-js" } }, { - "id": 112, + "id": 106, "name": "err", "variant": "param", "kind": 32768, @@ -3735,7 +3735,7 @@ } }, { - "id": 113, + "id": 107, "name": "timeout", "variant": "param", "kind": 32768, @@ -3749,7 +3749,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -3758,7 +3758,51 @@ ] }, { - "id": 121, + "id": 275, + "name": "teardown", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "signatures": [ + { + "id": 276, + "name": "teardown", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Teardown the channel.\n\nDestroys and stops related timers." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 115, "name": "track", "variant": "declaration", "kind": 2048, @@ -3766,14 +3810,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "signatures": [ { - "id": 122, + "id": 116, "name": "track", "variant": "signature", "kind": 4096, @@ -3781,14 +3825,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "parameters": [ { - "id": 123, + "id": 117, "name": "payload", "variant": "param", "kind": 32768, @@ -3796,7 +3840,7 @@ "type": { "type": "reflection", "declaration": { - "id": 124, + "id": 118, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3804,14 +3848,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "indexSignatures": [ { - "id": 125, + "id": 119, "name": "__index", "variant": "signature", "kind": 8192, @@ -3819,14 +3863,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "parameters": [ { - "id": 126, + "id": 120, "name": "key", "variant": "param", "kind": 32768, @@ -3847,7 +3891,7 @@ } }, { - "id": 127, + "id": 121, "name": "opts", "variant": "param", "kind": 32768, @@ -3855,7 +3899,7 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 122, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3863,14 +3907,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "indexSignatures": [ { - "id": 129, + "id": 123, "name": "__index", "variant": "signature", "kind": 8192, @@ -3878,14 +3922,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "parameters": [ { - "id": 130, + "id": 124, "name": "key", "variant": "param", "kind": 32768, @@ -3916,7 +3960,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -3928,7 +3972,7 @@ ] }, { - "id": 278, + "id": 272, "name": "unsubscribe", "variant": "declaration", "kind": 2048, @@ -3936,14 +3980,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "signatures": [ { - "id": 279, + "id": 273, "name": "unsubscribe", "variant": "signature", "kind": 4096, @@ -3967,14 +4011,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "parameters": [ { - "id": 280, + "id": 274, "name": "timeout", "variant": "param", "kind": 32768, @@ -4018,7 +4062,7 @@ ] }, { - "id": 131, + "id": 125, "name": "untrack", "variant": "declaration", "kind": 2048, @@ -4026,14 +4070,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "signatures": [ { - "id": 132, + "id": 126, "name": "untrack", "variant": "signature", "kind": 4096, @@ -4041,14 +4085,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "parameters": [ { - "id": 133, + "id": 127, "name": "opts", "variant": "param", "kind": 32768, @@ -4056,7 +4100,7 @@ "type": { "type": "reflection", "declaration": { - "id": 134, + "id": 128, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4064,14 +4108,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "indexSignatures": [ { - "id": 135, + "id": 129, "name": "__index", "variant": "signature", "kind": 8192, @@ -4079,14 +4123,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "parameters": [ { - "id": 136, + "id": 130, "name": "key", "variant": "param", "kind": 32768, @@ -4117,7 +4161,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -4129,7 +4173,7 @@ ] }, { - "id": 272, + "id": 266, "name": "updateJoinPayload", "variant": "declaration", "kind": 2048, @@ -4137,14 +4181,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "signatures": [ { - "id": 273, + "id": 267, "name": "updateJoinPayload", "variant": "signature", "kind": 4096, @@ -4152,14 +4196,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 274, + "id": 268, "name": "payload", "variant": "param", "kind": 32768, @@ -4167,7 +4211,7 @@ "type": { "type": "reflection", "declaration": { - "id": 275, + "id": 269, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4175,14 +4219,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 29, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "indexSignatures": [ { - "id": 276, + "id": 270, "name": "__index", "variant": "signature", "kind": 8192, @@ -4190,14 +4234,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 31, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 277, + "id": 271, "name": "key", "variant": "param", "kind": 32768, @@ -4229,15 +4273,15 @@ "groups": [ { "title": "Constructors", - "children": [76] + "children": [70] }, { "title": "Properties", - "children": [81, 100, 95, 96, 104, 99, 102, 98, 97, 105, 94, 101, 93, 103] + "children": [75, 94, 89, 90, 98, 93, 96, 92, 91, 99, 88, 95, 87, 97] }, { "title": "Methods", - "children": [137, 114, 259, 106, 121, 278, 131, 272] + "children": [131, 108, 253, 100, 275, 115, 272, 125, 266] } ], "sources": [ @@ -4245,19 +4289,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 127, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L127" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L127" } ] }, { - "id": 372, + "id": 369, "name": "RealtimeClient", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 373, + "id": 370, "name": "constructor", "variant": "declaration", "kind": 512, @@ -4265,14 +4309,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "signatures": [ { - "id": 374, + "id": 371, "name": "RealtimeClient", "variant": "signature", "kind": 16384, @@ -4288,14 +4332,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "parameters": [ { - "id": 375, + "id": 372, "name": "endPoint", "variant": "param", "kind": 32768, @@ -4314,7 +4358,7 @@ } }, { - "id": 376, + "id": 373, "name": "options", "variant": "param", "kind": 32768, @@ -4323,7 +4367,7 @@ }, "type": { "type": "reference", - "target": 515, + "target": 526, "name": "RealtimeClientOptions", "package": "@supabase/realtime-js", "highlightedProperties": { @@ -4348,7 +4392,7 @@ "headers": [ { "kind": "text", - "text": "The optional headers to pass when connecting." + "text": "Deprecated: headers cannot be set on websocket connections and this option will be removed in the future." } ], "heartbeatIntervalMs": [ @@ -4413,7 +4457,7 @@ ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -4422,7 +4466,7 @@ ] }, { - "id": 419, + "id": 420, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -4430,9 +4474,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -4445,7 +4489,7 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 421, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4453,14 +4497,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "signatures": [ { - "id": 421, + "id": 422, "name": "__type", "variant": "signature", "kind": 4096, @@ -4468,9 +4512,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -4506,7 +4550,7 @@ "defaultValue": "null" }, { - "id": 377, + "id": 374, "name": "accessTokenValue", "variant": "declaration", "kind": 1024, @@ -4514,9 +4558,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 87, + "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L87" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L91" } ], "type": { @@ -4535,7 +4579,7 @@ "defaultValue": "null" }, { - "id": 378, + "id": 375, "name": "apiKey", "variant": "declaration", "kind": 1024, @@ -4543,9 +4587,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 88, + "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L92" } ], "type": { @@ -4564,7 +4608,7 @@ "defaultValue": "null" }, { - "id": 379, + "id": 376, "name": "channels", "variant": "declaration", "kind": 1024, @@ -4572,25 +4616,25 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 89, + "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L93" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, - "defaultValue": "[]" + "defaultValue": "..." }, { - "id": 402, + "id": 403, "name": "conn", "variant": "declaration", "kind": 1024, @@ -4598,9 +4642,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 106, + "line": 112, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L112" } ], "type": { @@ -4613,18 +4657,18 @@ { "type": "reference", "target": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "WebSocketLike" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "WebSocket" }, - "name": "WebSocketLike", - "package": "@supabase/realtime-js" + "name": "WebSocket", + "package": "typescript" } ] }, "defaultValue": "null" }, { - "id": 400, + "id": 401, "name": "decode", "variant": "declaration", "kind": 1024, @@ -4632,9 +4676,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 104, + "line": 110, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L110" } ], "type": { @@ -4648,7 +4692,7 @@ } }, { - "id": 399, + "id": 400, "name": "encode", "variant": "declaration", "kind": 1024, @@ -4656,9 +4700,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 103, + "line": 109, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L103" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L109" } ], "type": { @@ -4672,7 +4716,7 @@ } }, { - "id": 380, + "id": 377, "name": "endPoint", "variant": "declaration", "kind": 1024, @@ -4680,9 +4724,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 90, + "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L94" } ], "type": { @@ -4692,7 +4736,7 @@ "defaultValue": "''" }, { - "id": 411, + "id": 412, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -4700,15 +4744,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 120, + "line": 126, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L120" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L126" } ], "type": { "type": "reflection", "declaration": { - "id": 412, + "id": 413, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4716,7 +4760,7 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 }, { @@ -4727,7 +4771,7 @@ ], "signatures": [ { - "id": 413, + "id": 414, "name": "__type", "variant": "signature", "kind": 4096, @@ -4743,13 +4787,13 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 } ], "parameters": [ { - "id": 414, + "id": 415, "name": "input", "variant": "param", "kind": 32768, @@ -4779,7 +4823,7 @@ } }, { - "id": 415, + "id": 416, "name": "init", "variant": "param", "kind": 32768, @@ -4819,7 +4863,7 @@ } }, { - "id": 416, + "id": 417, "name": "__type", "variant": "signature", "kind": 4096, @@ -4841,7 +4885,7 @@ ], "parameters": [ { - "id": 417, + "id": 418, "name": "input", "variant": "param", "kind": 32768, @@ -4875,7 +4919,7 @@ } }, { - "id": 418, + "id": 419, "name": "init", "variant": "param", "kind": 32768, @@ -4919,25 +4963,39 @@ } }, { - "id": 382, + "id": 379, "name": "headers", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "headers cannot be set on websocket connections" + } + ] + } + ] + }, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "type": { "type": "reflection", "declaration": { - "id": 383, + "id": 380, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4945,14 +5003,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "indexSignatures": [ { - "id": 384, + "id": 381, "name": "__index", "variant": "signature", "kind": 8192, @@ -4960,14 +5018,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "parameters": [ { - "id": 385, + "id": 382, "name": "key", "variant": "param", "kind": 32768, @@ -4986,10 +5044,83 @@ ] } }, - "defaultValue": "DEFAULT_HEADERS" + "defaultValue": "{}" }, { "id": 392, + "name": "heartbeatCallback", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "signatures": [ + { + "id": 394, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "parameters": [ + { + "id": 395, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "noop" + }, + { + "id": 389, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -4997,9 +5128,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 96, + "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L96" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L101" } ], "type": { @@ -5009,7 +5140,7 @@ "defaultValue": "25000" }, { - "id": 393, + "id": 390, "name": "heartbeatTimer", "variant": "declaration", "kind": 1024, @@ -5017,9 +5148,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 97, + "line": 102, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L102" } ], "type": { @@ -5044,7 +5175,7 @@ "defaultValue": "undefined" }, { - "id": 381, + "id": 378, "name": "httpEndpoint", "variant": "declaration", "kind": 1024, @@ -5052,9 +5183,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 91, + "line": 95, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L95" } ], "type": { @@ -5064,7 +5195,7 @@ "defaultValue": "''" }, { - "id": 397, + "id": 398, "name": "logger", "variant": "declaration", "kind": 1024, @@ -5072,9 +5203,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 101, + "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L107" } ], "type": { @@ -5089,7 +5220,7 @@ "defaultValue": "noop" }, { - "id": 398, + "id": 399, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -5099,23 +5230,23 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 102, + "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L102" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L108" } ], "type": { "type": "reference", "target": { - "sourceFileName": "src/lib/constants.ts", - "qualifiedName": "LOG_LEVEL" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" }, - "name": "LOG_LEVEL", + "name": "LogLevel", "package": "@supabase/realtime-js" } }, { - "id": 386, + "id": 383, "name": "params", "variant": "declaration", "kind": 1024, @@ -5125,15 +5256,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "type": { "type": "reflection", "declaration": { - "id": 387, + "id": 384, "name": "__type", "variant": "declaration", "kind": 65536, @@ -5141,14 +5272,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "indexSignatures": [ { - "id": 388, + "id": 385, "name": "__index", "variant": "signature", "kind": 8192, @@ -5156,14 +5287,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "parameters": [ { - "id": 389, + "id": 386, "name": "key", "variant": "param", "kind": 32768, @@ -5185,7 +5316,7 @@ "defaultValue": "{}" }, { - "id": 394, + "id": 391, "name": "pendingHeartbeatRef", "variant": "declaration", "kind": 1024, @@ -5193,9 +5324,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 98, + "line": 103, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L103" } ], "type": { @@ -5214,7 +5345,7 @@ "defaultValue": "null" }, { - "id": 401, + "id": 402, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -5222,9 +5353,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 105, + "line": 111, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L111" } ], "type": { @@ -5238,7 +5369,7 @@ } }, { - "id": 396, + "id": 397, "name": "reconnectTimer", "variant": "declaration", "kind": 1024, @@ -5246,9 +5377,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 100, + "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L106" } ], "type": { @@ -5263,7 +5394,7 @@ } }, { - "id": 395, + "id": 396, "name": "ref", "variant": "declaration", "kind": 1024, @@ -5271,9 +5402,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 99, + "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L105" } ], "type": { @@ -5283,7 +5414,7 @@ "defaultValue": "0" }, { - "id": 403, + "id": 404, "name": "sendBuffer", "variant": "declaration", "kind": 1024, @@ -5291,9 +5422,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 107, + "line": 113, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L113" } ], "type": { @@ -5311,7 +5442,7 @@ "defaultValue": "[]" }, { - "id": 404, + "id": 405, "name": "serializer", "variant": "declaration", "kind": 1024, @@ -5319,9 +5450,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 108, + "line": 114, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L114" } ], "type": { @@ -5337,7 +5468,7 @@ "defaultValue": "..." }, { - "id": 405, + "id": 406, "name": "stateChangeCallbacks", "variant": "declaration", "kind": 1024, @@ -5345,22 +5476,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ], "type": { "type": "reflection", "declaration": { - "id": 406, + "id": 407, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 408, + "id": 409, "name": "close", "variant": "declaration", "kind": 1024, @@ -5368,36 +5499,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 111, + "line": 117, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L111" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Function" - }, - "name": "Function", - "package": "typescript" - } - } - }, - { - "id": 409, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeClient.ts", - "line": 112, - "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L112" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L117" } ], "type": { @@ -5415,16 +5519,16 @@ }, { "id": 410, - "name": "message", + "name": "error", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 113, + "line": 118, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L113" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L118" } ], "type": { @@ -5441,7 +5545,34 @@ } }, { - "id": 407, + "id": 411, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 119, + "character": 4, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L119" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + } + }, + { + "id": 408, "name": "open", "variant": "declaration", "kind": 1024, @@ -5449,9 +5580,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 110, + "line": 116, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L110" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L116" } ], "type": { @@ -5471,15 +5602,15 @@ "groups": [ { "title": "Properties", - "children": [408, 409, 410, 407] + "children": [409, 410, 411, 408] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ] } @@ -5487,7 +5618,7 @@ "defaultValue": "..." }, { - "id": 390, + "id": 387, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -5495,9 +5626,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 94, + "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L99" } ], "type": { @@ -5507,7 +5638,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 391, + "id": 388, "name": "transport", "variant": "declaration", "kind": 1024, @@ -5515,9 +5646,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 95, + "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L95" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L100" } ], "type": { @@ -5540,7 +5671,7 @@ } }, { - "id": 422, + "id": 423, "name": "worker", "variant": "declaration", "kind": 1024, @@ -5550,9 +5681,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 122, + "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L122" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L128" } ], "type": { @@ -5561,7 +5692,7 @@ } }, { - "id": 424, + "id": 425, "name": "workerRef", "variant": "declaration", "kind": 1024, @@ -5571,9 +5702,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 124, + "line": 130, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L124" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L130" } ], "type": { @@ -5587,7 +5718,7 @@ } }, { - "id": 423, + "id": 424, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -5597,9 +5728,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 123, + "line": 129, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L123" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L129" } ], "type": { @@ -5608,7 +5739,7 @@ } }, { - "id": 449, + "id": 450, "name": "channel", "variant": "declaration", "kind": 2048, @@ -5616,14 +5747,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "signatures": [ { - "id": 450, + "id": 451, "name": "channel", "variant": "signature", "kind": 4096, @@ -5631,14 +5762,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "parameters": [ { - "id": 451, + "id": 452, "name": "topic", "variant": "param", "kind": 32768, @@ -5649,14 +5780,14 @@ } }, { - "id": 452, + "id": 453, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, @@ -5665,7 +5796,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -5674,7 +5805,7 @@ ] }, { - "id": 425, + "id": 426, "name": "connect", "variant": "declaration", "kind": 2048, @@ -5682,14 +5813,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "signatures": [ { - "id": 426, + "id": 427, "name": "connect", "variant": "signature", "kind": 4096, @@ -5705,9 +5836,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "type": { @@ -5718,7 +5849,7 @@ ] }, { - "id": 445, + "id": 446, "name": "connectionState", "variant": "declaration", "kind": 2048, @@ -5726,14 +5857,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "signatures": [ { - "id": 446, + "id": 447, "name": "connectionState", "variant": "signature", "kind": 4096, @@ -5749,9 +5880,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "type": { @@ -5767,7 +5898,7 @@ ] }, { - "id": 429, + "id": 430, "name": "disconnect", "variant": "declaration", "kind": 2048, @@ -5775,14 +5906,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "signatures": [ { - "id": 430, + "id": 431, "name": "disconnect", "variant": "signature", "kind": 4096, @@ -5798,14 +5929,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "parameters": [ { - "id": 431, + "id": 432, "name": "code", "variant": "param", "kind": 32768, @@ -5826,7 +5957,7 @@ } }, { - "id": 432, + "id": 433, "name": "reason", "variant": "param", "kind": 32768, @@ -5855,7 +5986,7 @@ ] }, { - "id": 427, + "id": 428, "name": "endpointURL", "variant": "declaration", "kind": 2048, @@ -5863,14 +5994,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "signatures": [ { - "id": 428, + "id": 429, "name": "endpointURL", "variant": "signature", "kind": 4096, @@ -5897,9 +6028,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "type": { @@ -5910,7 +6041,7 @@ ] }, { - "id": 461, + "id": 468, "name": "flushSendBuffer", "variant": "declaration", "kind": 2048, @@ -5918,14 +6049,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "signatures": [ { - "id": 462, + "id": 469, "name": "flushSendBuffer", "variant": "signature", "kind": 4096, @@ -5941,9 +6072,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "type": { @@ -5954,7 +6085,7 @@ ] }, { - "id": 433, + "id": 434, "name": "getChannels", "variant": "declaration", "kind": 2048, @@ -5962,14 +6093,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "signatures": [ { - "id": 434, + "id": 435, "name": "getChannels", "variant": "signature", "kind": 4096, @@ -5985,16 +6116,16 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -6004,7 +6135,7 @@ ] }, { - "id": 447, + "id": 448, "name": "isConnected", "variant": "declaration", "kind": 2048, @@ -6012,14 +6143,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "signatures": [ { - "id": 448, + "id": 449, "name": "isConnected", "variant": "signature", "kind": 4096, @@ -6043,9 +6174,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "type": { @@ -6056,7 +6187,7 @@ ] }, { - "id": 440, + "id": 441, "name": "log", "variant": "declaration", "kind": 2048, @@ -6064,14 +6195,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "signatures": [ { - "id": 441, + "id": 442, "name": "log", "variant": "signature", "kind": 4096, @@ -6095,14 +6226,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "parameters": [ { - "id": 442, + "id": 443, "name": "kind", "variant": "param", "kind": 32768, @@ -6113,7 +6244,7 @@ } }, { - "id": 443, + "id": 444, "name": "msg", "variant": "param", "kind": 32768, @@ -6124,7 +6255,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "variant": "param", "kind": 32768, @@ -6145,7 +6276,109 @@ ] }, { - "id": 453, + "id": 462, + "name": "onHeartbeat", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 463, + "name": "onHeartbeat", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 464, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 466, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 467, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 454, "name": "push", "variant": "declaration", "kind": 2048, @@ -6153,14 +6386,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "signatures": [ { - "id": 454, + "id": 455, "name": "push", "variant": "signature", "kind": 4096, @@ -6176,21 +6409,21 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "parameters": [ { - "id": 455, + "id": 456, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 540, + "target": 551, "name": "RealtimeMessage", "package": "@supabase/realtime-js" } @@ -6204,7 +6437,7 @@ ] }, { - "id": 438, + "id": 439, "name": "removeAllChannels", "variant": "declaration", "kind": 2048, @@ -6212,14 +6445,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "signatures": [ { - "id": 439, + "id": 440, "name": "removeAllChannels", "variant": "signature", "kind": 4096, @@ -6235,9 +6468,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "type": { @@ -6251,7 +6484,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -6264,7 +6497,7 @@ ] }, { - "id": 435, + "id": 436, "name": "removeChannel", "variant": "declaration", "kind": 2048, @@ -6272,14 +6505,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "signatures": [ { - "id": 436, + "id": 437, "name": "removeChannel", "variant": "signature", "kind": 4096, @@ -6295,14 +6528,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "parameters": [ { - "id": 437, + "id": 438, "name": "channel", "variant": "param", "kind": 32768, @@ -6317,7 +6550,7 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -6333,7 +6566,7 @@ "typeArguments": [ { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -6345,7 +6578,7 @@ ] }, { - "id": 459, + "id": 460, "name": "sendHeartbeat", "variant": "declaration", "kind": 2048, @@ -6353,14 +6586,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "signatures": [ { - "id": 460, + "id": 461, "name": "sendHeartbeat", "variant": "signature", "kind": 4096, @@ -6376,9 +6609,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "type": { @@ -6400,7 +6633,7 @@ ] }, { - "id": 456, + "id": 457, "name": "setAuth", "variant": "declaration", "kind": 2048, @@ -6408,14 +6641,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "signatures": [ { - "id": 457, + "id": 458, "name": "setAuth", "variant": "signature", "kind": 4096, @@ -6439,14 +6672,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "parameters": [ { - "id": 458, + "id": 459, "name": "token", "variant": "param", "kind": 32768, @@ -6497,26 +6730,26 @@ "groups": [ { "title": "Constructors", - "children": [373] + "children": [370] }, { "title": "Properties", "children": [ - 419, 377, 378, 379, 402, 400, 399, 380, 411, 382, 392, 393, 381, 397, 398, 386, 394, - 401, 396, 395, 403, 404, 405, 390, 391, 422, 424, 423 + 420, 374, 375, 376, 403, 401, 400, 377, 412, 379, 392, 389, 390, 378, 398, 399, 383, + 391, 402, 397, 396, 404, 405, 406, 387, 388, 423, 425, 424 ] }, { "title": "Methods", - "children": [449, 425, 445, 429, 427, 461, 433, 447, 440, 453, 438, 435, 459, 456] + "children": [450, 426, 446, 430, 428, 468, 434, 448, 441, 462, 454, 439, 436, 460, 457] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 86, + "line": 90, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L86" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L90" } ] }, @@ -6528,7 +6761,7 @@ "flags": {}, "children": [ { - "id": 36, + "id": 30, "name": "constructor", "variant": "declaration", "kind": 512, @@ -6536,14 +6769,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "signatures": [ { - "id": 37, + "id": 31, "name": "RealtimePresence", "variant": "signature", "kind": 16384, @@ -6559,14 +6792,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "parameters": [ { - "id": 38, + "id": 32, "name": "channel", "variant": "param", "kind": 32768, @@ -6581,14 +6814,14 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 39, + "id": 33, "name": "opts", "variant": "param", "kind": 32768, @@ -6629,7 +6862,7 @@ ] }, { - "id": 44, + "id": 38, "name": "caller", "variant": "declaration", "kind": 1024, @@ -6637,22 +6870,22 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ], "type": { "type": "reflection", "declaration": { - "id": 45, + "id": 39, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 46, + "id": 40, "name": "onJoin", "variant": "declaration", "kind": 1024, @@ -6660,9 +6893,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 68, + "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L69" } ], "type": { @@ -6676,7 +6909,7 @@ } }, { - "id": 47, + "id": 41, "name": "onLeave", "variant": "declaration", "kind": 1024, @@ -6684,9 +6917,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 69, + "line": 70, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L70" } ], "type": { @@ -6700,7 +6933,7 @@ } }, { - "id": 48, + "id": 42, "name": "onSync", "variant": "declaration", "kind": 1024, @@ -6708,15 +6941,15 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { "type": "reflection", "declaration": { - "id": 49, + "id": 43, "name": "__type", "variant": "declaration", "kind": 65536, @@ -6724,14 +6957,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "signatures": [ { - "id": 50, + "id": 44, "name": "__type", "variant": "signature", "kind": 4096, @@ -6739,9 +6972,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { @@ -6757,15 +6990,15 @@ "groups": [ { "title": "Properties", - "children": [46, 47, 48] + "children": [40, 41, 42] } ], "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ] } @@ -6773,7 +7006,7 @@ "defaultValue": "..." }, { - "id": 51, + "id": 45, "name": "channel", "variant": "declaration", "kind": 1024, @@ -6791,21 +7024,41 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 43, + "id": 37, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimePresence.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 36, "name": "joinRef", "variant": "declaration", "kind": 1024, @@ -6815,7 +7068,7 @@ "fileName": "src/RealtimePresence.ts", "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L66" } ], "type": { @@ -6834,7 +7087,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 35, "name": "pendingDiffs", "variant": "declaration", "kind": 1024, @@ -6844,7 +7097,7 @@ "fileName": "src/RealtimePresence.ts", "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L65" } ], "type": { @@ -6862,7 +7115,7 @@ "defaultValue": "[]" }, { - "id": 40, + "id": 34, "name": "state", "variant": "declaration", "kind": 1024, @@ -6872,24 +7125,12 @@ "fileName": "src/RealtimePresence.ts", "line": 64, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L64" } ], "type": { "type": "reference", - "target": 608, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], + "target": 619, "name": "RealtimePresenceState", "package": "@supabase/realtime-js" }, @@ -6899,11 +7140,11 @@ "groups": [ { "title": "Constructors", - "children": [36] + "children": [30] }, { "title": "Properties", - "children": [44, 51, 43, 42, 40] + "children": [38, 45, 37, 36, 35, 34] } ], "sources": [ @@ -6911,12 +7152,12 @@ "fileName": "src/RealtimePresence.ts", "line": 63, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L63" } ] }, { - "id": 359, + "id": 355, "name": "RealtimeChannelOptions", "variant": "declaration", "kind": 2097152, @@ -6926,20 +7167,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ], "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 356, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 361, + "id": 357, "name": "config", "variant": "declaration", "kind": 1024, @@ -6949,20 +7190,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ], "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 358, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 363, + "id": 359, "name": "broadcast", "variant": "declaration", "kind": 1024, @@ -6982,20 +7223,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 366, + "id": 362, "name": "ack", "variant": "declaration", "kind": 1024, @@ -7007,7 +7248,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 34, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -7016,7 +7257,7 @@ } }, { - "id": 365, + "id": 361, "name": "self", "variant": "declaration", "kind": 1024, @@ -7028,7 +7269,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -7040,7 +7281,7 @@ "groups": [ { "title": "Properties", - "children": [366, 365] + "children": [362, 361] } ], "sources": [ @@ -7048,14 +7289,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ] } } }, { - "id": 367, + "id": 363, "name": "presence", "variant": "declaration", "kind": 1024, @@ -7075,20 +7316,41 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 364, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 369, + "id": 366, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 26, + "character": 31, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 365, "name": "key", "variant": "declaration", "kind": 1024, @@ -7100,7 +7362,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { @@ -7112,7 +7374,7 @@ "groups": [ { "title": "Properties", - "children": [369] + "children": [366, 365] } ], "sources": [ @@ -7120,14 +7382,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ] } } }, { - "id": 370, + "id": 367, "name": "private", "variant": "declaration", "kind": 1024, @@ -7147,7 +7409,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 30, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L30" } ], "type": { @@ -7159,7 +7421,7 @@ "groups": [ { "title": "Properties", - "children": [363, 367, 370] + "children": [359, 363, 367] } ], "sources": [ @@ -7167,7 +7429,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ] } @@ -7177,7 +7439,7 @@ "groups": [ { "title": "Properties", - "children": [361] + "children": [357] } ], "sources": [ @@ -7185,14 +7447,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 37, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ] } } }, { - "id": 371, + "id": 368, "name": "RealtimeChannelSendResponse", "variant": "declaration", "kind": 2097152, @@ -7202,7 +7464,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 88, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L88" } ], "type": { @@ -7224,7 +7486,7 @@ } }, { - "id": 515, + "id": 526, "name": "RealtimeClientOptions", "variant": "declaration", "kind": 2097152, @@ -7232,22 +7494,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 527, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 537, + "id": 548, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -7257,15 +7519,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 549, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7273,14 +7535,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "signatures": [ { - "id": 539, + "id": 550, "name": "__type", "variant": "signature", "kind": 4096, @@ -7315,7 +7577,7 @@ } }, { - "id": 522, + "id": 533, "name": "decode", "variant": "declaration", "kind": 1024, @@ -7325,9 +7587,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 66, + "line": 70, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L70" } ], "type": { @@ -7341,7 +7603,7 @@ } }, { - "id": 521, + "id": 532, "name": "encode", "variant": "declaration", "kind": 1024, @@ -7351,9 +7613,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 65, + "line": 69, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L69" } ], "type": { @@ -7367,7 +7629,7 @@ } }, { - "id": 534, + "id": 545, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -7377,9 +7639,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 73, + "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L77" } ], "type": { @@ -7393,7 +7655,7 @@ } }, { - "id": 524, + "id": 535, "name": "headers", "variant": "declaration", "kind": 1024, @@ -7403,15 +7665,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 536, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7419,14 +7681,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "indexSignatures": [ { - "id": 526, + "id": 537, "name": "__index", "variant": "signature", "kind": 8192, @@ -7434,14 +7696,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "parameters": [ { - "id": 527, + "id": 538, "name": "key", "variant": "param", "kind": 32768, @@ -7462,7 +7724,7 @@ } }, { - "id": 519, + "id": 530, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -7472,9 +7734,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 63, + "line": 67, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L67" } ], "type": { @@ -7483,7 +7745,7 @@ } }, { - "id": 532, + "id": 543, "name": "log_level", "variant": "declaration", "kind": 1024, @@ -7493,9 +7755,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 71, + "line": 75, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L71" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L75" } ], "type": { @@ -7509,7 +7771,7 @@ } }, { - "id": 520, + "id": 531, "name": "logger", "variant": "declaration", "kind": 1024, @@ -7519,9 +7781,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 64, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L68" } ], "type": { @@ -7535,7 +7797,7 @@ } }, { - "id": 533, + "id": 544, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -7545,9 +7807,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 72, + "line": 76, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L72" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L76" } ], "type": { @@ -7561,7 +7823,7 @@ } }, { - "id": 528, + "id": 539, "name": "params", "variant": "declaration", "kind": 1024, @@ -7571,15 +7833,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 540, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7587,14 +7849,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "indexSignatures": [ { - "id": 530, + "id": 541, "name": "__index", "variant": "signature", "kind": 8192, @@ -7602,14 +7864,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "parameters": [ { - "id": 531, + "id": 542, "name": "key", "variant": "param", "kind": 32768, @@ -7630,7 +7892,7 @@ } }, { - "id": 523, + "id": 534, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -7640,9 +7902,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 67, + "line": 71, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L71" } ], "type": { @@ -7656,7 +7918,7 @@ } }, { - "id": 518, + "id": 529, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -7666,9 +7928,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 62, + "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L66" } ], "type": { @@ -7677,7 +7939,7 @@ } }, { - "id": 517, + "id": 528, "name": "transport", "variant": "declaration", "kind": 1024, @@ -7687,9 +7949,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 61, + "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L61" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L65" } ], "type": { @@ -7703,7 +7965,7 @@ } }, { - "id": 535, + "id": 546, "name": "worker", "variant": "declaration", "kind": 1024, @@ -7713,9 +7975,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 74, + "line": 78, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L74" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L78" } ], "type": { @@ -7724,7 +7986,7 @@ } }, { - "id": 536, + "id": 547, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -7734,9 +7996,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 75, + "line": 79, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L75" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L79" } ], "type": { @@ -7749,23 +8011,23 @@ { "title": "Properties", "children": [ - 537, 522, 521, 534, 524, 519, 532, 520, 533, 528, 523, 518, 517, 535, 536 + 548, 533, 532, 545, 535, 530, 543, 531, 544, 539, 534, 529, 528, 546, 547 ] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 36, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ] } } }, { - "id": 540, + "id": 551, "name": "RealtimeMessage", "variant": "declaration", "kind": 2097152, @@ -7773,22 +8035,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ], "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 552, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 543, + "id": 554, "name": "event", "variant": "declaration", "kind": 1024, @@ -7796,9 +8058,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 34, + "line": 33, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L34" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L33" } ], "type": { @@ -7807,7 +8069,7 @@ } }, { - "id": 546, + "id": 557, "name": "join_ref", "variant": "declaration", "kind": 1024, @@ -7817,9 +8079,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 37, + "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L36" } ], "type": { @@ -7828,7 +8090,7 @@ } }, { - "id": 544, + "id": 555, "name": "payload", "variant": "declaration", "kind": 1024, @@ -7836,9 +8098,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 35, + "line": 34, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L34" } ], "type": { @@ -7847,7 +8109,7 @@ } }, { - "id": 545, + "id": 556, "name": "ref", "variant": "declaration", "kind": 1024, @@ -7855,9 +8117,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 36, + "line": 35, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L35" } ], "type": { @@ -7866,7 +8128,7 @@ } }, { - "id": 542, + "id": 553, "name": "topic", "variant": "declaration", "kind": 1024, @@ -7874,9 +8136,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 33, + "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L33" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L32" } ], "type": { @@ -7888,22 +8150,22 @@ "groups": [ { "title": "Properties", - "children": [543, 546, 544, 545, 542] + "children": [554, 557, 555, 556, 553] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 30, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ] } } }, { - "id": 547, + "id": 558, "name": "RealtimePostgresChangesFilter", "variant": "declaration", "kind": 2097152, @@ -7913,12 +8175,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 67, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L67" } ], "typeParameters": [ { - "id": 553, + "id": 564, "name": "T", "variant": "typeParam", "kind": 131072, @@ -7930,7 +8192,7 @@ [ { "type": "reference", - "target": 623, + "target": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "package": "@supabase/realtime-js" }, @@ -7943,14 +8205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 549, + "id": 560, "name": "event", "variant": "declaration", "kind": 1024, @@ -7968,19 +8230,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L73" } ], "type": { "type": "reference", - "target": 553, + "target": 564, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 552, + "id": 563, "name": "filter", "variant": "declaration", "kind": 1024, @@ -8000,7 +8262,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L85" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L85" } ], "type": { @@ -8009,7 +8271,7 @@ } }, { - "id": 550, + "id": 561, "name": "schema", "variant": "declaration", "kind": 1024, @@ -8027,7 +8289,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L77" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L77" } ], "type": { @@ -8036,7 +8298,7 @@ } }, { - "id": 551, + "id": 562, "name": "table", "variant": "declaration", "kind": 1024, @@ -8056,7 +8318,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L81" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L81" } ], "type": { @@ -8068,7 +8330,7 @@ "groups": [ { "title": "Properties", - "children": [549, 552, 550, 551] + "children": [560, 563, 561, 562] } ], "sources": [ @@ -8076,14 +8338,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L69" } ] } } }, { - "id": 554, + "id": 565, "name": "RealtimePostgresChangesPayload", "variant": "declaration", "kind": 2097152, @@ -8093,12 +8355,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "typeParameters": [ { - "id": 555, + "id": 566, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8106,7 +8368,7 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 567, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8116,12 +8378,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "indexSignatures": [ { - "id": 557, + "id": 568, "name": "__index", "variant": "signature", "kind": 8192, @@ -8131,12 +8393,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 55, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "parameters": [ { - "id": 558, + "id": 569, "name": "key", "variant": "param", "kind": 32768, @@ -8162,11 +8424,11 @@ "types": [ { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8177,11 +8439,11 @@ }, { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8192,11 +8454,11 @@ }, { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8209,7 +8471,7 @@ } }, { - "id": 578, + "id": 589, "name": "RealtimePostgresDeletePayload", "variant": "declaration", "kind": 2097152, @@ -8219,12 +8481,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "typeParameters": [ { - "id": 584, + "id": 595, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8232,7 +8494,7 @@ "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 596, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8242,12 +8504,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "indexSignatures": [ { - "id": 586, + "id": 597, "name": "__index", "variant": "signature", "kind": 8192, @@ -8257,12 +8519,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "parameters": [ { - "id": 587, + "id": 598, "name": "key", "variant": "param", "kind": 32768, @@ -8298,14 +8560,14 @@ { "type": "reflection", "declaration": { - "id": 579, + "id": 590, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 580, + "id": 591, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8315,7 +8577,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 57, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L57" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L57" } ], "type": { @@ -8325,7 +8587,7 @@ [ { "type": "reference", - "target": 627, + "target": 638, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE", "package": "@supabase/realtime-js" }, @@ -8335,7 +8597,7 @@ } }, { - "id": 581, + "id": 592, "name": "new", "variant": "declaration", "kind": 1024, @@ -8345,13 +8607,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ], "type": { "type": "reflection", "declaration": { - "id": 582, + "id": 593, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8361,14 +8623,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ] } } }, { - "id": 583, + "id": 594, "name": "old", "variant": "declaration", "kind": 1024, @@ -8378,7 +8640,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 59, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L59" } ], "type": { @@ -8390,7 +8652,7 @@ "typeArguments": [ { "type": "reference", - "target": 584, + "target": 595, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8404,7 +8666,7 @@ "groups": [ { "title": "Properties", - "children": [580, 581, 583] + "children": [591, 592, 594] } ], "sources": [ @@ -8412,7 +8674,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 56, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L56" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L56" } ] } @@ -8421,7 +8683,7 @@ } }, { - "id": 559, + "id": 570, "name": "RealtimePostgresInsertPayload", "variant": "declaration", "kind": 2097152, @@ -8431,12 +8693,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "typeParameters": [ { - "id": 565, + "id": 576, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8444,7 +8706,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 577, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8454,12 +8716,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "indexSignatures": [ { - "id": 567, + "id": 578, "name": "__index", "variant": "signature", "kind": 8192, @@ -8469,12 +8731,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "parameters": [ { - "id": 568, + "id": 579, "name": "key", "variant": "param", "kind": 32768, @@ -8510,14 +8772,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 571, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 561, + "id": 572, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8527,7 +8789,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L43" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L43" } ], "type": { @@ -8537,7 +8799,7 @@ [ { "type": "reference", - "target": 625, + "target": 636, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT", "package": "@supabase/realtime-js" }, @@ -8547,7 +8809,7 @@ } }, { - "id": 562, + "id": 573, "name": "new", "variant": "declaration", "kind": 1024, @@ -8557,19 +8819,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L44" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L44" } ], "type": { "type": "reference", - "target": 565, + "target": 576, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 563, + "id": 574, "name": "old", "variant": "declaration", "kind": 1024, @@ -8579,13 +8841,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ], "type": { "type": "reflection", "declaration": { - "id": 564, + "id": 575, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8595,7 +8857,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ] } @@ -8605,7 +8867,7 @@ "groups": [ { "title": "Properties", - "children": [561, 562, 563] + "children": [572, 573, 574] } ], "sources": [ @@ -8613,7 +8875,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 42, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L42" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L42" } ] } @@ -8622,7 +8884,7 @@ } }, { - "id": 569, + "id": 580, "name": "RealtimePostgresUpdatePayload", "variant": "declaration", "kind": 2097152, @@ -8632,12 +8894,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "typeParameters": [ { - "id": 574, + "id": 585, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8645,7 +8907,7 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 586, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8655,12 +8917,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "indexSignatures": [ { - "id": 576, + "id": 587, "name": "__index", "variant": "signature", "kind": 8192, @@ -8670,12 +8932,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "parameters": [ { - "id": 577, + "id": 588, "name": "key", "variant": "param", "kind": 32768, @@ -8711,14 +8973,14 @@ { "type": "reflection", "declaration": { - "id": 570, + "id": 581, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 571, + "id": 582, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8728,7 +8990,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 50, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L50" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L50" } ], "type": { @@ -8738,7 +9000,7 @@ [ { "type": "reference", - "target": 626, + "target": 637, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE", "package": "@supabase/realtime-js" }, @@ -8748,7 +9010,7 @@ } }, { - "id": 572, + "id": 583, "name": "new", "variant": "declaration", "kind": 1024, @@ -8758,19 +9020,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 51, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L51" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L51" } ], "type": { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 573, + "id": 584, "name": "old", "variant": "declaration", "kind": 1024, @@ -8780,7 +9042,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 52, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L52" } ], "type": { @@ -8792,7 +9054,7 @@ "typeArguments": [ { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8806,7 +9068,7 @@ "groups": [ { "title": "Properties", - "children": [571, 572, 573] + "children": [582, 583, 584] } ], "sources": [ @@ -8814,7 +9076,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 49, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L49" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L49" } ] } @@ -8823,7 +9085,7 @@ } }, { - "id": 588, + "id": 599, "name": "RealtimePresenceJoinPayload", "variant": "declaration", "kind": 2097152, @@ -8833,12 +9095,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "typeParameters": [ { - "id": 594, + "id": 605, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8846,7 +9108,7 @@ "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 606, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8856,12 +9118,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 50, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "indexSignatures": [ { - "id": 596, + "id": 607, "name": "__index", "variant": "signature", "kind": 8192, @@ -8871,12 +9133,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "parameters": [ { - "id": 597, + "id": 608, "name": "key", "variant": "param", "kind": 32768, @@ -8900,14 +9162,14 @@ "type": { "type": "reflection", "declaration": { - "id": 589, + "id": 600, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 592, + "id": 603, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -8917,7 +9179,7 @@ "fileName": "src/RealtimePresence.ts", "line": 24, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L24" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L24" } ], "type": { @@ -8931,7 +9193,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8943,7 +9205,7 @@ } }, { - "id": 590, + "id": 601, "name": "event", "variant": "declaration", "kind": 1024, @@ -8953,7 +9215,7 @@ "fileName": "src/RealtimePresence.ts", "line": 22, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L22" } ], "type": { @@ -8963,7 +9225,7 @@ [ { "type": "reference", - "target": 630, + "target": 641, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN", "package": "@supabase/realtime-js" }, @@ -8973,7 +9235,7 @@ } }, { - "id": 591, + "id": 602, "name": "key", "variant": "declaration", "kind": 1024, @@ -8983,7 +9245,7 @@ "fileName": "src/RealtimePresence.ts", "line": 23, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L23" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L23" } ], "type": { @@ -8992,7 +9254,7 @@ } }, { - "id": 593, + "id": 604, "name": "newPresences", "variant": "declaration", "kind": 1024, @@ -9002,7 +9264,7 @@ "fileName": "src/RealtimePresence.ts", "line": 25, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L25" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L25" } ], "type": { @@ -9016,7 +9278,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9031,7 +9293,7 @@ "groups": [ { "title": "Properties", - "children": [592, 590, 591, 593] + "children": [603, 601, 602, 604] } ], "sources": [ @@ -9039,14 +9301,14 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 76, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ] } } }, { - "id": 598, + "id": 609, "name": "RealtimePresenceLeavePayload", "variant": "declaration", "kind": 2097152, @@ -9056,12 +9318,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "typeParameters": [ { - "id": 604, + "id": 615, "name": "T", "variant": "typeParam", "kind": 131072, @@ -9069,7 +9331,7 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 616, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9079,12 +9341,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 51, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "indexSignatures": [ { - "id": 606, + "id": 617, "name": "__index", "variant": "signature", "kind": 8192, @@ -9094,12 +9356,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "parameters": [ { - "id": 607, + "id": 618, "name": "key", "variant": "param", "kind": 32768, @@ -9123,14 +9385,14 @@ "type": { "type": "reflection", "declaration": { - "id": 599, + "id": 610, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 602, + "id": 613, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -9140,7 +9402,7 @@ "fileName": "src/RealtimePresence.ts", "line": 31, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L31" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L31" } ], "type": { @@ -9154,7 +9416,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9166,7 +9428,7 @@ } }, { - "id": 600, + "id": 611, "name": "event", "variant": "declaration", "kind": 1024, @@ -9176,7 +9438,7 @@ "fileName": "src/RealtimePresence.ts", "line": 29, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L29" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L29" } ], "type": { @@ -9186,7 +9448,7 @@ [ { "type": "reference", - "target": 631, + "target": 642, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE", "package": "@supabase/realtime-js" }, @@ -9196,7 +9458,7 @@ } }, { - "id": 601, + "id": 612, "name": "key", "variant": "declaration", "kind": 1024, @@ -9206,7 +9468,7 @@ "fileName": "src/RealtimePresence.ts", "line": 30, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L30" } ], "type": { @@ -9215,7 +9477,7 @@ } }, { - "id": 603, + "id": 614, "name": "leftPresences", "variant": "declaration", "kind": 1024, @@ -9225,7 +9487,7 @@ "fileName": "src/RealtimePresence.ts", "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L32" } ], "type": { @@ -9239,7 +9501,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9254,7 +9516,7 @@ "groups": [ { "title": "Properties", - "children": [602, 600, 601, 603] + "children": [613, 611, 612, 614] } ], "sources": [ @@ -9262,14 +9524,14 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 77, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ] } } }, { - "id": 608, + "id": 619, "name": "RealtimePresenceState", "variant": "declaration", "kind": 2097152, @@ -9279,12 +9541,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "typeParameters": [ { - "id": 612, + "id": 623, "name": "T", "variant": "typeParam", "kind": 131072, @@ -9292,7 +9554,7 @@ "type": { "type": "reflection", "declaration": { - "id": 613, + "id": 624, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9302,12 +9564,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 44, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 614, + "id": 625, "name": "__index", "variant": "signature", "kind": 8192, @@ -9317,12 +9579,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 46, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "parameters": [ { - "id": 615, + "id": 626, "name": "key", "variant": "param", "kind": 32768, @@ -9344,7 +9606,7 @@ "default": { "type": "reflection", "declaration": { - "id": 616, + "id": 627, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9354,7 +9616,7 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 69, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ] } @@ -9364,7 +9626,7 @@ "type": { "type": "reflection", "declaration": { - "id": 609, + "id": 620, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9374,12 +9636,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 75, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 610, + "id": 621, "name": "__index", "variant": "signature", "kind": 8192, @@ -9389,12 +9651,12 @@ "fileName": "src/RealtimePresence.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L18" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L18" } ], "parameters": [ { - "id": 611, + "id": 622, "name": "key", "variant": "param", "kind": 32768, @@ -9416,7 +9678,7 @@ "typeArguments": [ { "type": "reference", - "target": 612, + "target": 623, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9432,7 +9694,7 @@ } }, { - "id": 617, + "id": 628, "name": "RealtimeRemoveChannelResponse", "variant": "declaration", "kind": 2097152, @@ -9440,9 +9702,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 40, + "line": 39, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L40" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L39" } ], "type": { @@ -9464,7 +9726,7 @@ } }, { - "id": 637, + "id": 648, "name": "REALTIME_CHANNEL_STATES", "variant": "declaration", "kind": 32, @@ -9476,7 +9738,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 111, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L111" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L111" } ], "type": { @@ -9498,19 +9760,19 @@ "groups": [ { "title": "Enumerations", - "children": [618, 623, 628, 632] + "children": [629, 634, 639, 643] }, { "title": "Classes", - "children": [65, 372, 1] + "children": [59, 369, 1] }, { "title": "Type Aliases", - "children": [359, 371, 515, 540, 547, 554, 578, 559, 569, 588, 598, 608, 617] + "children": [355, 368, 526, 551, 558, 565, 589, 570, 580, 599, 609, 619, 628] }, { "title": "Variables", - "children": [637] + "children": [648] } ], "packageName": "@supabase/realtime-js", @@ -9713,98 +9975,118 @@ "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "36": { + "30": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.__constructor" }, - "37": { + "31": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "38": { + "32": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "channel" }, - "39": { + "33": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "opts" }, - "40": { + "34": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.state" }, - "41": { - "sourceFileName": "", - "qualifiedName": "__type" - }, - "42": { + "35": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.pendingDiffs" }, - "43": { + "36": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.joinRef" }, - "44": { + "37": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.enabled" + }, + "38": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.caller" }, - "45": { + "39": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "46": { + "40": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onJoin" }, - "47": { + "41": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onLeave" }, - "48": { + "42": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onSync" }, - "49": { + "43": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "50": { + "44": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "51": { + "45": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.channel" }, - "65": { + "59": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "76": { + "70": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.__constructor" }, - "77": { + "71": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "78": { + "72": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "topic" }, - "79": { + "73": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "params" }, - "80": { + "74": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "socket" }, - "81": { + "75": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.bindings" }, + "76": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "77": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "79": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "80": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "81": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, "82": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" @@ -9815,160 +10097,160 @@ }, "85": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.callback" }, "86": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type.id" }, "87": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" + "qualifiedName": "default.timeout" }, "88": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.state" }, "89": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "91": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.callback" - }, - "92": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.id" - }, - "93": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.timeout" - }, - "94": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.state" - }, - "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinedOnce" }, - "96": { + "90": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinPush" }, - "97": { + "91": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.rejoinTimer" }, - "98": { + "92": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.pushBuffer" }, - "99": { + "93": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presence" }, - "100": { + "94": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.broadcastEndpointURL" }, - "101": { + "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subTopic" }, - "102": { + "96": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.private" }, - "103": { + "97": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.topic" }, - "104": { + "98": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.params" }, - "105": { + "99": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.socket" }, - "106": { + "100": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "107": { + "101": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "108": { + "102": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, - "109": { + "103": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "110": { + "104": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "111": { + "105": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "status" }, - "112": { + "106": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "err" }, - "113": { + "107": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "timeout" }, - "114": { + "108": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "115": { + "109": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "116": { + "110": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, - "117": { + "111": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "118": { + "112": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "120": { + "114": { "sourceFileName": "", "qualifiedName": "__type" }, - "121": { + "115": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "122": { + "116": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "123": { + "117": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "124": { + "118": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "125": { + "119": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, + "121": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "122": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "125": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "126": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, "127": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "opts" @@ -9983,303 +10265,307 @@ }, "131": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "132": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "133": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "type" }, "134": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "filter" }, "135": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" }, "137": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "callback" }, "138": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "139": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "140": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "default.on" }, "141": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "142": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "143": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "144": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "145": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "type" }, "146": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "147": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "148": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "149": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "150": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "151": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "152": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "153": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "154": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "155": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "156": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "157": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "158": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "159": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "160": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "161": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "162": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "163": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "164": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "165": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "166": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "167": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "168": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "169": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "170": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "171": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "172": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "173": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "callback" }, "174": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "175": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "177": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "178": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "179": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "180": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "181": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "182": { + "176": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "183": { + "177": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "184": { + "178": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "179": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "180": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "182": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "183": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "184": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "185": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "186": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "188": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "189": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "190": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "191": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "192": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "193": { + "187": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "194": { + "188": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "195": { + "189": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "190": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "191": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "193": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "194": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "195": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "196": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "197": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "199": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "200": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "201": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "202": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "203": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "204": { + "198": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "205": { + "199": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "206": { + "200": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "201": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "202": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "204": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "205": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "206": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "207": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "208": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "209": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" }, "210": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "default.on" }, "211": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "type" }, "212": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "filter" }, "213": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10287,23 +10573,23 @@ }, "214": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "215": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "callback" }, "216": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "217": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "218": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "219": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10311,87 +10597,87 @@ }, "220": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "221": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "222": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "223": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "224": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "default.on" }, "225": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "226": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "227": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "228": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "230": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "231": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "232": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "233": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "235": { + "229": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "type" }, - "236": { + "230": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, + "231": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "232": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "233": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "234": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "235": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, "237": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "238": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "239": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "240": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.payload" }, "241": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "242": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "T" }, "243": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10399,95 +10685,91 @@ }, "244": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" - }, - "245": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.__index" }, "246": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "type" }, "247": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "248": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "249": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "250": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "252": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "253": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, - "254": { + "248": { "sourceFileName": "", "qualifiedName": "__type" }, - "255": { + "249": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, + "250": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "251": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "252": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "253": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "254": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "255": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "args" + }, "256": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "257": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.type" }, "258": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "__type.event" }, "259": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" + "qualifiedName": "__type.payload" }, "260": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" - }, - "261": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "args" + "qualifiedName": "__type.__index" }, "262": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "opts" }, "263": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "264": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "265": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.__index" }, "266": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.updateJoinPayload" + }, + "267": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" }, "268": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "payload" }, "269": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10499,39 +10781,43 @@ }, "272": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "273": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "274": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "timeout" }, "275": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.teardown" }, "276": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.teardown" }, - "278": { + "355": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "RealtimeChannelOptions" }, - "279": { + "356": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "__type" }, - "280": { + "357": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "timeout" + "qualifiedName": "__type.config" + }, + "358": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "359": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimeChannelOptions" + "qualifiedName": "__type.broadcast" }, "360": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10539,15 +10825,15 @@ }, "361": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.config" + "qualifiedName": "__type.self" }, "362": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.ack" }, "363": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.broadcast" + "qualifiedName": "__type.presence" }, "364": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10555,187 +10841,187 @@ }, "365": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.self" + "qualifiedName": "__type.key" }, "366": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.ack" + "qualifiedName": "__type.enabled" }, "367": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.presence" + "qualifiedName": "__type.private" }, "368": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "369": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.key" - }, - "370": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.private" - }, - "371": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimeChannelSendResponse" }, - "372": { + "369": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "373": { + "370": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.__constructor" }, - "374": { + "371": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "375": { + "372": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "endPoint" }, - "376": { + "373": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "options" }, - "377": { + "374": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.accessTokenValue" }, - "378": { + "375": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.apiKey" }, - "379": { + "376": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.channels" }, - "380": { + "377": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.endPoint" }, - "381": { + "378": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.httpEndpoint" }, - "382": { + "379": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.headers" }, - "383": { + "380": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "384": { + "381": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "386": { + "383": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.params" }, - "387": { + "384": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "388": { + "385": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "390": { + "387": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.timeout" }, - "391": { + "388": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.transport" }, - "392": { + "389": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatIntervalMs" }, - "393": { + "390": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatTimer" }, - "394": { + "391": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.pendingHeartbeatRef" }, - "395": { + "392": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.ref" + "qualifiedName": "default.heartbeatCallback" }, - "396": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectTimer" - }, - "397": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logger" - }, - "398": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logLevel" - }, - "399": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.encode" - }, - "400": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.decode" - }, - "401": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectAfterMs" - }, - "402": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.conn" - }, - "403": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendBuffer" - }, - "404": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.serializer" - }, - "405": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.stateChangeCallbacks" - }, - "406": { + "393": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, + "394": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "395": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "396": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.ref" + }, + "397": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectTimer" + }, + "398": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logger" + }, + "399": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logLevel" + }, + "400": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.encode" + }, + "401": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.decode" + }, + "402": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectAfterMs" + }, + "403": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.conn" + }, + "404": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendBuffer" + }, + "405": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.serializer" + }, + "406": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.stateChangeCallbacks" + }, "407": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.open" + "qualifiedName": "__type" }, "408": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.close" + "qualifiedName": "__type.open" }, "409": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.error" + "qualifiedName": "__type.close" }, "410": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.message" + "qualifiedName": "__type.error" }, "411": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.fetch" + "qualifiedName": "__type.message" }, "412": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.fetch" }, "413": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", @@ -10743,31 +11029,31 @@ }, "414": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "415": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "416": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" }, "417": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "418": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "419": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.accessToken" + "sourceFileName": "node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" }, "420": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.accessToken" }, "421": { "sourceFileName": "src/RealtimeClient.ts", @@ -10775,19 +11061,19 @@ }, "422": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.worker" + "qualifiedName": "__type" }, "423": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerUrl" + "qualifiedName": "default.worker" }, "424": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerRef" + "qualifiedName": "default.workerUrl" }, "425": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connect" + "qualifiedName": "default.workerRef" }, "426": { "sourceFileName": "src/RealtimeClient.ts", @@ -10795,7 +11081,7 @@ }, "427": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.endpointURL" + "qualifiedName": "default.connect" }, "428": { "sourceFileName": "src/RealtimeClient.ts", @@ -10803,7 +11089,7 @@ }, "429": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.disconnect" + "qualifiedName": "default.endpointURL" }, "430": { "sourceFileName": "src/RealtimeClient.ts", @@ -10811,15 +11097,15 @@ }, "431": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "code" + "qualifiedName": "default.disconnect" }, "432": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "reason" + "qualifiedName": "code" }, "433": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.getChannels" + "qualifiedName": "reason" }, "434": { "sourceFileName": "src/RealtimeClient.ts", @@ -10827,7 +11113,7 @@ }, "435": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeChannel" + "qualifiedName": "default.getChannels" }, "436": { "sourceFileName": "src/RealtimeClient.ts", @@ -10835,11 +11121,11 @@ }, "437": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "channel" + "qualifiedName": "default.removeChannel" }, "438": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeAllChannels" + "qualifiedName": "channel" }, "439": { "sourceFileName": "src/RealtimeClient.ts", @@ -10847,7 +11133,7 @@ }, "440": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.log" + "qualifiedName": "default.removeAllChannels" }, "441": { "sourceFileName": "src/RealtimeClient.ts", @@ -10855,19 +11141,19 @@ }, "442": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "kind" + "qualifiedName": "default.log" }, "443": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "msg" + "qualifiedName": "kind" }, "444": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "msg" }, "445": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connectionState" + "qualifiedName": "data" }, "446": { "sourceFileName": "src/RealtimeClient.ts", @@ -10875,7 +11161,7 @@ }, "447": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.isConnected" + "qualifiedName": "default.connectionState" }, "448": { "sourceFileName": "src/RealtimeClient.ts", @@ -10883,7 +11169,7 @@ }, "449": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.channel" + "qualifiedName": "default.isConnected" }, "450": { "sourceFileName": "src/RealtimeClient.ts", @@ -10891,15 +11177,15 @@ }, "451": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "topic" + "qualifiedName": "default.channel" }, "452": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "params" + "qualifiedName": "topic" }, "453": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.push" + "qualifiedName": "params" }, "454": { "sourceFileName": "src/RealtimeClient.ts", @@ -10907,11 +11193,11 @@ }, "455": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "default.push" }, "456": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.setAuth" + "qualifiedName": "data" }, "457": { "sourceFileName": "src/RealtimeClient.ts", @@ -10919,11 +11205,11 @@ }, "458": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "token" + "qualifiedName": "default.setAuth" }, "459": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendHeartbeat" + "qualifiedName": "token" }, "460": { "sourceFileName": "src/RealtimeClient.ts", @@ -10931,235 +11217,223 @@ }, "461": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.flushSendBuffer" + "qualifiedName": "default.sendHeartbeat" }, "462": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "463": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "464": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "callback" + }, + "465": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "466": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "467": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "468": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.flushSendBuffer" }, - "515": { + "469": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeClientOptions" - }, - "516": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "517": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.transport" - }, - "518": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.timeout" - }, - "519": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.heartbeatIntervalMs" - }, - "520": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logger" - }, - "521": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.encode" - }, - "522": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.decode" - }, - "523": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.reconnectAfterMs" - }, - "524": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.headers" - }, - "525": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.flushSendBuffer" }, "526": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "RealtimeClientOptions" + }, + "527": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" }, "528": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.params" + "qualifiedName": "__type.transport" }, "529": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.timeout" }, "530": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.heartbeatIntervalMs" + }, + "531": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.logger" }, "532": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.log_level" + "qualifiedName": "__type.encode" }, "533": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logLevel" + "qualifiedName": "__type.decode" }, "534": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.fetch" + "qualifiedName": "__type.reconnectAfterMs" }, "535": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.worker" + "qualifiedName": "__type.headers" }, "536": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.workerUrl" + "qualifiedName": "__type" }, "537": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.accessToken" - }, - "538": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "539": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.params" }, "540": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeMessage" + "qualifiedName": "__type" }, "541": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "542": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.topic" + "qualifiedName": "__type.__index" }, "543": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.log_level" }, "544": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.logLevel" }, "545": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.ref" + "qualifiedName": "__type.fetch" }, "546": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.join_ref" + "qualifiedName": "__type.worker" }, "547": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.workerUrl" + }, + "548": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.accessToken" + }, + "549": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "550": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "551": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeMessage" + }, + "552": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "553": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.topic" + }, + "554": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.event" + }, + "555": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.payload" + }, + "556": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.ref" + }, + "557": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.join_ref" + }, + "558": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimePostgresChangesFilter" }, - "548": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "549": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "550": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.schema" - }, - "551": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.table" - }, - "552": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" - }, - "553": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "554": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresChangesPayload" - }, - "555": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "556": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "557": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, "559": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresInsertPayload" + "qualifiedName": "__type" }, "560": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "561": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type.schema" }, "562": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.table" }, "563": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.filter" }, "564": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "565": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "RealtimePostgresChangesPayload" }, "566": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "567": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "569": { + "568": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresUpdatePayload" + "qualifiedName": "__type.__index" }, "570": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePostgresInsertPayload" }, "571": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type" }, "572": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.eventType" }, "573": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "574": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "575": { "sourceFileName": "src/RealtimeChannel.ts", @@ -11167,225 +11441,265 @@ }, "576": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "T" + }, + "577": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "578": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresDeletePayload" - }, - "579": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "580": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "RealtimePostgresUpdatePayload" }, "581": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type" }, "582": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.eventType" }, "583": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "584": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "585": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "586": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "588": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceJoinPayload" + "587": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "589": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresDeletePayload" }, "590": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" - }, - "591": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" - }, - "592": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" - }, - "593": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.newPresences" - }, - "594": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" - }, - "595": { - "sourceFileName": "src/RealtimePresence.ts", + "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "596": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "591": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" }, - "598": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceLeavePayload" + "592": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "593": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "594": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "595": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "596": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "597": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "599": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceJoinPayload" }, "600": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "601": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" + "qualifiedName": "__type.event" }, "602": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" + "qualifiedName": "__type.key" }, "603": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.leftPresences" + "qualifiedName": "__type.currentPresences" }, "604": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.newPresences" }, "605": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "606": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "608": { + "607": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceState" + "qualifiedName": "__type.__index" }, "609": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceLeavePayload" }, "610": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "611": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.event" }, "612": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.key" }, "613": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.currentPresences" }, "614": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.leftPresences" + }, + "615": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" }, "616": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, "617": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "619": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceState" + }, + "620": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "621": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "623": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "624": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "625": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "627": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "628": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "RealtimeRemoveChannelResponse" }, - "618": { + "629": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES" }, - "619": { + "630": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST" }, - "620": { + "631": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE" }, - "621": { + "632": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES" }, - "622": { + "633": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM" }, - "623": { + "634": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, - "624": { + "635": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" }, - "625": { + "636": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" }, - "626": { + "637": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" }, - "627": { + "638": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" }, - "628": { + "639": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS" }, - "629": { + "640": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC" }, - "630": { + "641": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, - "631": { + "642": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, - "632": { + "643": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES" }, - "633": { + "644": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED" }, - "634": { + "645": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT" }, - "635": { + "646": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED" }, - "636": { + "647": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR" }, - "637": { + "648": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_CHANNEL_STATES" } diff --git a/apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json index 53cfb41533f..e0b0f9f3436 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json @@ -6,14 +6,14 @@ "flags": {}, "children": [ { - "id": 618, + "id": 629, "name": "REALTIME_LISTEN_TYPES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 619, + "id": 630, "name": "BROADCAST", "variant": "declaration", "kind": 16, @@ -23,7 +23,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L98" } ], "type": { @@ -32,7 +32,7 @@ } }, { - "id": 621, + "id": 632, "name": "POSTGRES_CHANGES", "variant": "declaration", "kind": 16, @@ -42,7 +42,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L100" } ], "type": { @@ -51,7 +51,7 @@ } }, { - "id": 620, + "id": 631, "name": "PRESENCE", "variant": "declaration", "kind": 16, @@ -61,7 +61,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L99" } ], "type": { @@ -70,7 +70,7 @@ } }, { - "id": 622, + "id": 633, "name": "SYSTEM", "variant": "declaration", "kind": 16, @@ -80,7 +80,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L101" } ], "type": { @@ -92,7 +92,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [619, 621, 620, 622] + "children": [630, 632, 631, 633] } ], "sources": [ @@ -100,19 +100,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L97" } ] }, { - "id": 623, + "id": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 624, + "id": 635, "name": "ALL", "variant": "declaration", "kind": 16, @@ -122,7 +122,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L91" } ], "type": { @@ -131,7 +131,7 @@ } }, { - "id": 627, + "id": 638, "name": "DELETE", "variant": "declaration", "kind": 16, @@ -141,7 +141,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L94" } ], "type": { @@ -150,7 +150,7 @@ } }, { - "id": 625, + "id": 636, "name": "INSERT", "variant": "declaration", "kind": 16, @@ -160,7 +160,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L92" } ], "type": { @@ -169,7 +169,7 @@ } }, { - "id": 626, + "id": 637, "name": "UPDATE", "variant": "declaration", "kind": 16, @@ -179,7 +179,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L93" } ], "type": { @@ -191,7 +191,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [624, 627, 625, 626] + "children": [635, 638, 636, 637] } ], "sources": [ @@ -199,19 +199,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 90, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L90" } ] }, { - "id": 628, + "id": 639, "name": "REALTIME_PRESENCE_LISTEN_EVENTS", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 630, + "id": 641, "name": "JOIN", "variant": "declaration", "kind": 16, @@ -221,7 +221,7 @@ "fileName": "src/RealtimePresence.ts", "line": 37, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L37" } ], "type": { @@ -230,7 +230,7 @@ } }, { - "id": 631, + "id": 642, "name": "LEAVE", "variant": "declaration", "kind": 16, @@ -240,7 +240,7 @@ "fileName": "src/RealtimePresence.ts", "line": 38, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L38" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L38" } ], "type": { @@ -249,7 +249,7 @@ } }, { - "id": 629, + "id": 640, "name": "SYNC", "variant": "declaration", "kind": 16, @@ -259,7 +259,7 @@ "fileName": "src/RealtimePresence.ts", "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L36" } ], "type": { @@ -271,7 +271,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [630, 631, 629] + "children": [641, 642, 640] } ], "sources": [ @@ -279,19 +279,19 @@ "fileName": "src/RealtimePresence.ts", "line": 35, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L35" } ] }, { - "id": 632, + "id": 643, "name": "REALTIME_SUBSCRIBE_STATES", "variant": "declaration", "kind": 8, "flags": {}, "children": [ { - "id": 636, + "id": 647, "name": "CHANNEL_ERROR", "variant": "declaration", "kind": 16, @@ -301,7 +301,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L108" } ], "type": { @@ -310,7 +310,7 @@ } }, { - "id": 635, + "id": 646, "name": "CLOSED", "variant": "declaration", "kind": 16, @@ -320,7 +320,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L107" } ], "type": { @@ -329,7 +329,7 @@ } }, { - "id": 633, + "id": 644, "name": "SUBSCRIBED", "variant": "declaration", "kind": 16, @@ -339,7 +339,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L105" } ], "type": { @@ -348,7 +348,7 @@ } }, { - "id": 634, + "id": 645, "name": "TIMED_OUT", "variant": "declaration", "kind": 16, @@ -358,7 +358,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L106" } ], "type": { @@ -370,7 +370,7 @@ "groups": [ { "title": "Enumeration Members", - "children": [636, 635, 633, 634] + "children": [647, 646, 644, 645] } ], "sources": [ @@ -378,12 +378,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 104, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L104" } ] }, { - "id": 65, + "id": 59, "name": "RealtimeChannel", "variant": "declaration", "kind": 128, @@ -398,7 +398,7 @@ }, "children": [ { - "id": 76, + "id": 70, "name": "constructor", "variant": "declaration", "kind": 512, @@ -408,12 +408,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "signatures": [ { - "id": 77, + "id": 71, "name": "RealtimeChannel", "variant": "signature", "kind": 16384, @@ -423,12 +423,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 147, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L147" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147" } ], "parameters": [ { - "id": 78, + "id": 72, "name": "topic", "variant": "param", "kind": 32768, @@ -447,28 +447,28 @@ } }, { - "id": 79, + "id": 73, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 80, + "id": 74, "name": "socket", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -477,7 +477,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -486,7 +486,7 @@ ] }, { - "id": 81, + "id": 75, "name": "bindings", "variant": "declaration", "kind": 1024, @@ -496,13 +496,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "type": { "type": "reflection", "declaration": { - "id": 82, + "id": 76, "name": "__type", "variant": "declaration", "kind": 65536, @@ -512,12 +512,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 128, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L128" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128" } ], "indexSignatures": [ { - "id": 83, + "id": 77, "name": "__index", "variant": "signature", "kind": 8192, @@ -527,12 +527,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ], "parameters": [ { - "id": 84, + "id": 78, "name": "key", "variant": "param", "kind": 32768, @@ -548,14 +548,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 85, + "id": 79, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 91, + "id": 85, "name": "callback", "variant": "declaration", "kind": 1024, @@ -565,7 +565,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 132, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L132" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L132" } ], "type": { @@ -579,7 +579,7 @@ } }, { - "id": 87, + "id": 81, "name": "filter", "variant": "declaration", "kind": 1024, @@ -589,13 +589,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "type": { "type": "reflection", "declaration": { - "id": 88, + "id": 82, "name": "__type", "variant": "declaration", "kind": 65536, @@ -605,12 +605,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "indexSignatures": [ { - "id": 89, + "id": 83, "name": "__index", "variant": "signature", "kind": 8192, @@ -620,12 +620,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 131, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L131" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131" } ], "parameters": [ { - "id": 90, + "id": 84, "name": "key", "variant": "param", "kind": 32768, @@ -646,7 +646,7 @@ } }, { - "id": 92, + "id": 86, "name": "id", "variant": "declaration", "kind": 1024, @@ -658,7 +658,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 133, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L133" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L133" } ], "type": { @@ -667,7 +667,7 @@ } }, { - "id": 86, + "id": 80, "name": "type", "variant": "declaration", "kind": 1024, @@ -677,7 +677,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 130, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L130" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L130" } ], "type": { @@ -689,7 +689,7 @@ "groups": [ { "title": "Properties", - "children": [91, 87, 92, 86] + "children": [85, 81, 86, 80] } ], "sources": [ @@ -697,7 +697,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 129, "character": 19, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L129" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129" } ] } @@ -710,7 +710,7 @@ "defaultValue": "{}" }, { - "id": 100, + "id": 94, "name": "broadcastEndpointURL", "variant": "declaration", "kind": 1024, @@ -720,7 +720,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 143, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L143" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L143" } ], "type": { @@ -729,7 +729,7 @@ } }, { - "id": 95, + "id": 89, "name": "joinedOnce", "variant": "declaration", "kind": 1024, @@ -739,7 +739,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 138, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L138" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L138" } ], "type": { @@ -749,7 +749,7 @@ "defaultValue": "false" }, { - "id": 96, + "id": 90, "name": "joinPush", "variant": "declaration", "kind": 1024, @@ -759,7 +759,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 139, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L139" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L139" } ], "type": { @@ -774,7 +774,7 @@ } }, { - "id": 104, + "id": 98, "name": "params", "variant": "declaration", "kind": 1024, @@ -786,19 +786,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 150, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L150" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L150" } ], "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, "defaultValue": "..." }, { - "id": 99, + "id": 93, "name": "presence", "variant": "declaration", "kind": 1024, @@ -808,7 +808,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 142, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L142" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L142" } ], "type": { @@ -820,7 +820,7 @@ } }, { - "id": 102, + "id": 96, "name": "private", "variant": "declaration", "kind": 1024, @@ -830,7 +830,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 145, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L145" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L145" } ], "type": { @@ -839,7 +839,7 @@ } }, { - "id": 98, + "id": 92, "name": "pushBuffer", "variant": "declaration", "kind": 1024, @@ -849,7 +849,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 141, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L141" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L141" } ], "type": { @@ -868,7 +868,7 @@ "defaultValue": "[]" }, { - "id": 97, + "id": 91, "name": "rejoinTimer", "variant": "declaration", "kind": 1024, @@ -878,7 +878,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 140, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L140" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L140" } ], "type": { @@ -893,7 +893,7 @@ } }, { - "id": 105, + "id": 99, "name": "socket", "variant": "declaration", "kind": 1024, @@ -905,19 +905,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 151, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L151" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L151" } ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 94, + "id": 88, "name": "state", "variant": "declaration", "kind": 1024, @@ -927,7 +927,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 137, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L137" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L137" } ], "type": { @@ -942,7 +942,7 @@ "defaultValue": "CHANNEL_STATES.closed" }, { - "id": 101, + "id": 95, "name": "subTopic", "variant": "declaration", "kind": 1024, @@ -952,7 +952,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 144, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L144" } ], "type": { @@ -961,7 +961,7 @@ } }, { - "id": 93, + "id": 87, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -971,7 +971,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 136, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L136" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L136" } ], "type": { @@ -980,7 +980,7 @@ } }, { - "id": 103, + "id": 97, "name": "topic", "variant": "declaration", "kind": 1024, @@ -1000,7 +1000,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 149, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L149" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L149" } ], "type": { @@ -1009,223 +1009,82 @@ } }, { - "id": 137, + "id": 131, "name": "on", "variant": "declaration", "kind": 2048, "flags": {}, "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - }, { "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" }, { "fileName": "src/RealtimeChannel.ts", "line": 360, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" }, { "fileName": "src/RealtimeChannel.ts", "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" }, { "fileName": "src/RealtimeChannel.ts", "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" }, { "fileName": "src/RealtimeChannel.ts", "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" }, { "fileName": "src/RealtimeChannel.ts", "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" }, { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" }, { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" }, { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" }, { "fileName": "src/RealtimeChannel.ts", "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L414" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" + }, + { + "fileName": "src/RealtimeChannel.ts", + "line": 419, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L419" } ], "signatures": [ { - "id": 138, - "name": "on", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Creates an event handler that listens to changes." - } - ] - }, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 350, - "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L350" - } - ], - "parameters": [ - { - "id": 139, - "name": "type", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "literal", - "value": "presence" - } - }, - { - "id": 140, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 141, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 142, - "name": "event", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ], - "type": { - "type": "literal", - "value": "sync" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [142] - } - ], - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 352, - "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L352" - } - ] - } - } - }, - { - "id": 143, - "name": "callback", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reflection", - "declaration": { - "id": 144, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "signatures": [ - { - "id": 145, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeChannel.ts", - "line": 353, - "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L353" - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": 65, - "name": "RealtimeChannel", - "package": "@supabase/realtime-js", - "qualifiedName": "default" - } - }, - { - "id": 146, + "id": 132, "name": "on", "variant": "signature", "kind": 4096, @@ -1243,20 +1102,83 @@ "fileName": "src/RealtimeChannel.ts", "line": 355, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355" } ], - "typeParameters": [ + "parameters": [ { - "id": 147, - "name": "T", - "variant": "typeParam", - "kind": 131072, + "id": 133, + "name": "type", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "literal", + "value": "presence" + } + }, + { + "id": 134, + "name": "filter", + "variant": "param", + "kind": 32768, "flags": {}, "type": { "type": "reflection", "declaration": { - "id": 148, + "id": 135, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 136, + "name": "event", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ], + "type": { + "type": "literal", + "value": "sync" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [136] + } + ], + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 357, + "character": 12, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357" + } + ] + } + } + }, + { + "id": 137, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 138, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1264,14 +1186,92 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "signatures": [ + { + "id": 139, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 358, + "character": 14, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": 59, + "name": "RealtimeChannel", + "package": "@supabase/realtime-js", + "qualifiedName": "default" + } + }, + { + "id": 140, + "name": "on", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates an event handler that listens to changes." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" + } + ], + "typeParameters": [ + { + "id": 141, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 360, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "indexSignatures": [ { - "id": 149, + "id": 143, "name": "__index", "variant": "signature", "kind": 8192, @@ -1279,14 +1279,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 355, + "line": 360, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L355" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360" } ], "parameters": [ { - "id": 150, + "id": 144, "name": "key", "variant": "param", "kind": 32768, @@ -1309,7 +1309,7 @@ ], "parameters": [ { - "id": 151, + "id": 145, "name": "type", "variant": "param", "kind": 32768, @@ -1320,7 +1320,7 @@ } }, { - "id": 152, + "id": 146, "name": "filter", "variant": "param", "kind": 32768, @@ -1328,14 +1328,14 @@ "type": { "type": "reflection", "declaration": { - "id": 153, + "id": 147, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 154, + "id": 148, "name": "event", "variant": "declaration", "kind": 1024, @@ -1343,9 +1343,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ], "type": { @@ -1357,22 +1357,22 @@ "groups": [ { "title": "Properties", - "children": [154] + "children": [148] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 357, + "line": 362, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L357" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362" } ] } } }, { - "id": 155, + "id": 149, "name": "callback", "variant": "param", "kind": 32768, @@ -1380,7 +1380,7 @@ "type": { "type": "reflection", "declaration": { - "id": 156, + "id": 150, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1388,14 +1388,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "signatures": [ { - "id": 157, + "id": 151, "name": "__type", "variant": "signature", "kind": 4096, @@ -1403,25 +1403,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 358, + "line": 363, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L358" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363" } ], "parameters": [ { - "id": 158, + "id": 152, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 588, + "target": 599, "typeArguments": [ { "type": "reference", - "target": 147, + "target": 141, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1444,14 +1444,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 159, + "id": 153, "name": "on", "variant": "signature", "kind": 4096, @@ -1467,14 +1467,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "typeParameters": [ { - "id": 160, + "id": 154, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1482,7 +1482,7 @@ "type": { "type": "reflection", "declaration": { - "id": 161, + "id": 155, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1490,14 +1490,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "indexSignatures": [ { - "id": 162, + "id": 156, "name": "__index", "variant": "signature", "kind": 8192, @@ -1505,14 +1505,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 360, + "line": 365, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L360" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365" } ], "parameters": [ { - "id": 163, + "id": 157, "name": "key", "variant": "param", "kind": 32768, @@ -1535,7 +1535,7 @@ ], "parameters": [ { - "id": 164, + "id": 158, "name": "type", "variant": "param", "kind": 32768, @@ -1546,7 +1546,7 @@ } }, { - "id": 165, + "id": 159, "name": "filter", "variant": "param", "kind": 32768, @@ -1554,14 +1554,14 @@ "type": { "type": "reflection", "declaration": { - "id": 166, + "id": 160, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 167, + "id": 161, "name": "event", "variant": "declaration", "kind": 1024, @@ -1569,9 +1569,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ], "type": { @@ -1583,22 +1583,22 @@ "groups": [ { "title": "Properties", - "children": [167] + "children": [161] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 362, + "line": 367, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L362" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367" } ] } } }, { - "id": 168, + "id": 162, "name": "callback", "variant": "param", "kind": 32768, @@ -1606,7 +1606,7 @@ "type": { "type": "reflection", "declaration": { - "id": 169, + "id": 163, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1614,14 +1614,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "signatures": [ { - "id": 170, + "id": 164, "name": "__type", "variant": "signature", "kind": 4096, @@ -1629,25 +1629,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 363, + "line": 368, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L363" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368" } ], "parameters": [ { - "id": 171, + "id": 165, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 598, + "target": 609, "typeArguments": [ { "type": "reference", - "target": 160, + "target": 154, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1670,14 +1670,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 172, + "id": 166, "name": "on", "variant": "signature", "kind": 4096, @@ -1693,14 +1693,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "typeParameters": [ { - "id": 173, + "id": 167, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1708,7 +1708,7 @@ "type": { "type": "reflection", "declaration": { - "id": 174, + "id": 168, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1716,14 +1716,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "indexSignatures": [ { - "id": 175, + "id": 169, "name": "__index", "variant": "signature", "kind": 8192, @@ -1731,14 +1731,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 365, + "line": 370, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L365" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370" } ], "parameters": [ { - "id": 176, + "id": 170, "name": "key", "variant": "param", "kind": 32768, @@ -1761,7 +1761,7 @@ ], "parameters": [ { - "id": 177, + "id": 171, "name": "type", "variant": "param", "kind": 32768, @@ -1772,14 +1772,14 @@ } }, { - "id": 178, + "id": 172, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -1791,7 +1791,7 @@ } }, { - "id": 179, + "id": 173, "name": "callback", "variant": "param", "kind": 32768, @@ -1799,7 +1799,7 @@ "type": { "type": "reflection", "declaration": { - "id": 180, + "id": 174, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1807,14 +1807,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "signatures": [ { - "id": 181, + "id": 175, "name": "__type", "variant": "signature", "kind": 4096, @@ -1822,25 +1822,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 368, + "line": 373, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L368" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373" } ], "parameters": [ { - "id": 182, + "id": 176, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 554, + "target": 565, "typeArguments": [ { "type": "reference", - "target": 173, + "target": 167, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -1863,14 +1863,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 183, + "id": 177, "name": "on", "variant": "signature", "kind": 4096, @@ -1886,14 +1886,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "typeParameters": [ { - "id": 184, + "id": 178, "name": "T", "variant": "typeParam", "kind": 131072, @@ -1901,7 +1901,7 @@ "type": { "type": "reflection", "declaration": { - "id": 185, + "id": 179, "name": "__type", "variant": "declaration", "kind": 65536, @@ -1909,14 +1909,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "indexSignatures": [ { - "id": 186, + "id": 180, "name": "__index", "variant": "signature", "kind": 8192, @@ -1924,14 +1924,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 370, + "line": 375, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L370" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375" } ], "parameters": [ { - "id": 187, + "id": 181, "name": "key", "variant": "param", "kind": 32768, @@ -1954,7 +1954,7 @@ ], "parameters": [ { - "id": 188, + "id": 182, "name": "type", "variant": "param", "kind": 32768, @@ -1965,14 +1965,14 @@ } }, { - "id": 189, + "id": 183, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -1984,7 +1984,7 @@ } }, { - "id": 190, + "id": 184, "name": "callback", "variant": "param", "kind": 32768, @@ -1992,7 +1992,7 @@ "type": { "type": "reflection", "declaration": { - "id": 191, + "id": 185, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2000,14 +2000,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "signatures": [ { - "id": 192, + "id": 186, "name": "__type", "variant": "signature", "kind": 4096, @@ -2015,25 +2015,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 373, + "line": 378, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L373" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378" } ], "parameters": [ { - "id": 193, + "id": 187, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 184, + "target": 178, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2056,14 +2056,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 194, + "id": 188, "name": "on", "variant": "signature", "kind": 4096, @@ -2079,14 +2079,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "typeParameters": [ { - "id": 195, + "id": 189, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2094,7 +2094,7 @@ "type": { "type": "reflection", "declaration": { - "id": 196, + "id": 190, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2102,14 +2102,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "indexSignatures": [ { - "id": 197, + "id": 191, "name": "__index", "variant": "signature", "kind": 8192, @@ -2117,14 +2117,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 375, + "line": 380, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L375" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380" } ], "parameters": [ { - "id": 198, + "id": 192, "name": "key", "variant": "param", "kind": 32768, @@ -2147,7 +2147,7 @@ ], "parameters": [ { - "id": 199, + "id": 193, "name": "type", "variant": "param", "kind": 32768, @@ -2158,14 +2158,14 @@ } }, { - "id": 200, + "id": 194, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -2177,7 +2177,7 @@ } }, { - "id": 201, + "id": 195, "name": "callback", "variant": "param", "kind": 32768, @@ -2185,7 +2185,7 @@ "type": { "type": "reflection", "declaration": { - "id": 202, + "id": 196, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2193,14 +2193,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "signatures": [ { - "id": 203, + "id": 197, "name": "__type", "variant": "signature", "kind": 4096, @@ -2208,25 +2208,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 378, + "line": 383, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L378" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383" } ], "parameters": [ { - "id": 204, + "id": 198, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 195, + "target": 189, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2249,14 +2249,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 205, + "id": 199, "name": "on", "variant": "signature", "kind": 4096, @@ -2272,14 +2272,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "typeParameters": [ { - "id": 206, + "id": 200, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2287,7 +2287,7 @@ "type": { "type": "reflection", "declaration": { - "id": 207, + "id": 201, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2295,14 +2295,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "indexSignatures": [ { - "id": 208, + "id": 202, "name": "__index", "variant": "signature", "kind": 8192, @@ -2310,14 +2310,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 380, + "line": 385, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L380" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385" } ], "parameters": [ { - "id": 209, + "id": 203, "name": "key", "variant": "param", "kind": 32768, @@ -2340,7 +2340,7 @@ ], "parameters": [ { - "id": 210, + "id": 204, "name": "type", "variant": "param", "kind": 32768, @@ -2351,14 +2351,14 @@ } }, { - "id": 211, + "id": 205, "name": "filter", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 547, + "target": 558, "typeArguments": [ { "type": "literal", @@ -2370,7 +2370,7 @@ } }, { - "id": 212, + "id": 206, "name": "callback", "variant": "param", "kind": 32768, @@ -2378,7 +2378,7 @@ "type": { "type": "reflection", "declaration": { - "id": 213, + "id": 207, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2386,14 +2386,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "signatures": [ { - "id": 214, + "id": 208, "name": "__type", "variant": "signature", "kind": 4096, @@ -2401,25 +2401,25 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 383, + "line": 388, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L383" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388" } ], "parameters": [ { - "id": 215, + "id": 209, "name": "payload", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 206, + "target": 200, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -2442,14 +2442,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 216, + "id": 210, "name": "on", "variant": "signature", "kind": 4096, @@ -2465,14 +2465,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 391, + "line": 396, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L391" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396" } ], "parameters": [ { - "id": 217, + "id": 211, "name": "type", "variant": "param", "kind": 32768, @@ -2491,7 +2491,7 @@ } }, { - "id": 218, + "id": 212, "name": "filter", "variant": "param", "kind": 32768, @@ -2507,14 +2507,14 @@ "type": { "type": "reflection", "declaration": { - "id": 219, + "id": 213, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 220, + "id": 214, "name": "event", "variant": "declaration", "kind": 1024, @@ -2522,9 +2522,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ], "type": { @@ -2536,22 +2536,22 @@ "groups": [ { "title": "Properties", - "children": [220] + "children": [214] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 393, + "line": 398, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L393" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398" } ] } } }, { - "id": 221, + "id": 215, "name": "callback", "variant": "param", "kind": 32768, @@ -2567,7 +2567,7 @@ "type": { "type": "reflection", "declaration": { - "id": 222, + "id": 216, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2575,14 +2575,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "signatures": [ { - "id": 223, + "id": 217, "name": "__type", "variant": "signature", "kind": 4096, @@ -2590,14 +2590,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "parameters": [ { - "id": 224, + "id": 218, "name": "payload", "variant": "param", "kind": 32768, @@ -2605,14 +2605,14 @@ "type": { "type": "reflection", "declaration": { - "id": 225, + "id": 219, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 227, + "id": 221, "name": "event", "variant": "declaration", "kind": 1024, @@ -2620,9 +2620,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 396, + "line": 401, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L396" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L401" } ], "type": { @@ -2631,7 +2631,7 @@ } }, { - "id": 226, + "id": 220, "name": "type", "variant": "declaration", "kind": 1024, @@ -2639,9 +2639,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 395, + "line": 400, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L400" } ], "type": { @@ -2653,20 +2653,20 @@ "groups": [ { "title": "Properties", - "children": [227, 226] + "children": [221, 220] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 394, + "line": 399, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L394" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399" } ], "indexSignatures": [ { - "id": 228, + "id": 222, "name": "__index", "variant": "signature", "kind": 8192, @@ -2674,14 +2674,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 397, + "line": 402, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L397" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L402" } ], "parameters": [ { - "id": 229, + "id": 223, "name": "key", "variant": "param", "kind": 32768, @@ -2714,14 +2714,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 230, + "id": 224, "name": "on", "variant": "signature", "kind": 4096, @@ -2737,14 +2737,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "typeParameters": [ { - "id": 231, + "id": 225, "name": "T", "variant": "typeParam", "kind": 131072, @@ -2752,7 +2752,7 @@ "type": { "type": "reflection", "declaration": { - "id": 232, + "id": 226, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2760,14 +2760,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "indexSignatures": [ { - "id": 233, + "id": 227, "name": "__index", "variant": "signature", "kind": 8192, @@ -2775,14 +2775,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 400, + "line": 405, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L400" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405" } ], "parameters": [ { - "id": 234, + "id": 228, "name": "key", "variant": "param", "kind": 32768, @@ -2805,7 +2805,7 @@ ], "parameters": [ { - "id": 235, + "id": 229, "name": "type", "variant": "param", "kind": 32768, @@ -2816,7 +2816,7 @@ } }, { - "id": 236, + "id": 230, "name": "filter", "variant": "param", "kind": 32768, @@ -2824,14 +2824,14 @@ "type": { "type": "reflection", "declaration": { - "id": 237, + "id": 231, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 238, + "id": 232, "name": "event", "variant": "declaration", "kind": 1024, @@ -2839,9 +2839,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ], "type": { @@ -2853,22 +2853,22 @@ "groups": [ { "title": "Properties", - "children": [238] + "children": [232] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 402, + "line": 407, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L402" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407" } ] } } }, { - "id": 239, + "id": 233, "name": "callback", "variant": "param", "kind": 32768, @@ -2876,7 +2876,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 234, "name": "__type", "variant": "declaration", "kind": 65536, @@ -2884,14 +2884,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "signatures": [ { - "id": 241, + "id": 235, "name": "__type", "variant": "signature", "kind": 4096, @@ -2899,14 +2899,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ], "parameters": [ { - "id": 242, + "id": 236, "name": "payload", "variant": "param", "kind": 32768, @@ -2914,14 +2914,14 @@ "type": { "type": "reflection", "declaration": { - "id": 243, + "id": 237, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 245, + "id": 239, "name": "event", "variant": "declaration", "kind": 1024, @@ -2929,9 +2929,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 405, + "line": 410, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L405" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L410" } ], "type": { @@ -2940,7 +2940,7 @@ } }, { - "id": 246, + "id": 240, "name": "payload", "variant": "declaration", "kind": 1024, @@ -2948,21 +2948,21 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 406, + "line": 411, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L406" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L411" } ], "type": { "type": "reference", - "target": 231, + "target": 225, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 244, + "id": 238, "name": "type", "variant": "declaration", "kind": 1024, @@ -2970,9 +2970,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 404, + "line": 409, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L404" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L409" } ], "type": { @@ -2984,15 +2984,15 @@ "groups": [ { "title": "Properties", - "children": [245, 246, 244] + "children": [239, 240, 238] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 403, + "line": 408, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L403" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408" } ] } @@ -3011,14 +3011,14 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 247, + "id": 241, "name": "on", "variant": "signature", "kind": 4096, @@ -3034,14 +3034,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "typeParameters": [ { - "id": 248, + "id": 242, "name": "T", "variant": "typeParam", "kind": 131072, @@ -3049,7 +3049,7 @@ "type": { "type": "reflection", "declaration": { - "id": 249, + "id": 243, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3057,14 +3057,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "indexSignatures": [ { - "id": 250, + "id": 244, "name": "__index", "variant": "signature", "kind": 8192, @@ -3072,14 +3072,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 409, + "line": 414, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L409" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414" } ], "parameters": [ { - "id": 251, + "id": 245, "name": "key", "variant": "param", "kind": 32768, @@ -3102,7 +3102,7 @@ ], "parameters": [ { - "id": 252, + "id": 246, "name": "type", "variant": "param", "kind": 32768, @@ -3113,7 +3113,7 @@ } }, { - "id": 253, + "id": 247, "name": "filter", "variant": "param", "kind": 32768, @@ -3121,7 +3121,7 @@ "type": { "type": "reflection", "declaration": { - "id": 254, + "id": 248, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3130,7 +3130,7 @@ } }, { - "id": 255, + "id": 249, "name": "callback", "variant": "param", "kind": 32768, @@ -3138,7 +3138,7 @@ "type": { "type": "reflection", "declaration": { - "id": 256, + "id": 250, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3146,14 +3146,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "signatures": [ { - "id": 257, + "id": 251, "name": "__type", "variant": "signature", "kind": 4096, @@ -3161,14 +3161,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 412, + "line": 417, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L412" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417" } ], "parameters": [ { - "id": 258, + "id": 252, "name": "payload", "variant": "param", "kind": 32768, @@ -3191,7 +3191,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -3200,7 +3200,7 @@ ] }, { - "id": 114, + "id": 108, "name": "presenceState", "variant": "declaration", "kind": 2048, @@ -3208,14 +3208,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "signatures": [ { - "id": 115, + "id": 109, "name": "presenceState", "variant": "signature", "kind": 4096, @@ -3223,14 +3223,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 315, + "line": 320, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L315" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320" } ], "typeParameters": [ { - "id": 116, + "id": 110, "name": "T", "variant": "typeParam", "kind": 131072, @@ -3238,7 +3238,7 @@ "type": { "type": "reflection", "declaration": { - "id": 117, + "id": 111, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3246,14 +3246,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "indexSignatures": [ { - "id": 118, + "id": 112, "name": "__index", "variant": "signature", "kind": 8192, @@ -3261,14 +3261,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 316, + "line": 321, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L316" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321" } ], "parameters": [ { - "id": 119, + "id": 113, "name": "key", "variant": "param", "kind": 32768, @@ -3290,7 +3290,7 @@ "default": { "type": "reflection", "declaration": { - "id": 120, + "id": 114, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3301,11 +3301,11 @@ ], "type": { "type": "reference", - "target": 608, + "target": 619, "typeArguments": [ { "type": "reference", - "target": 116, + "target": 110, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -3318,7 +3318,7 @@ ] }, { - "id": 259, + "id": 253, "name": "send", "variant": "declaration", "kind": 2048, @@ -3326,14 +3326,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "signatures": [ { - "id": 260, + "id": 254, "name": "send", "variant": "signature", "kind": 4096, @@ -3349,14 +3349,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 430, + "line": 445, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L430" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445" } ], "parameters": [ { - "id": 261, + "id": 255, "name": "args", "variant": "param", "kind": 32768, @@ -3372,14 +3372,14 @@ "type": { "type": "reflection", "declaration": { - "id": 262, + "id": 256, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 264, + "id": 258, "name": "event", "variant": "declaration", "kind": 1024, @@ -3395,9 +3395,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 433, + "line": 448, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L433" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L448" } ], "type": { @@ -3406,7 +3406,7 @@ } }, { - "id": 265, + "id": 259, "name": "payload", "variant": "declaration", "kind": 1024, @@ -3424,9 +3424,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 434, + "line": 449, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L434" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L449" } ], "type": { @@ -3435,7 +3435,7 @@ } }, { - "id": 263, + "id": 257, "name": "type", "variant": "declaration", "kind": 1024, @@ -3451,9 +3451,9 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 432, + "line": 447, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L432" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L447" } ], "type": { @@ -3478,20 +3478,20 @@ "groups": [ { "title": "Properties", - "children": [264, 265, 263] + "children": [258, 259, 257] } ], "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 431, + "line": 446, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L431" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L446" } ], "indexSignatures": [ { - "id": 266, + "id": 260, "name": "__index", "variant": "signature", "kind": 8192, @@ -3499,14 +3499,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 435, + "line": 450, "character": 6, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L435" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L450" } ], "parameters": [ { - "id": 267, + "id": 261, "name": "key", "variant": "param", "kind": 32768, @@ -3527,7 +3527,7 @@ } }, { - "id": 268, + "id": 262, "name": "opts", "variant": "param", "kind": 32768, @@ -3543,7 +3543,7 @@ "type": { "type": "reflection", "declaration": { - "id": 269, + "id": 263, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3551,14 +3551,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "indexSignatures": [ { - "id": 270, + "id": 264, "name": "__index", "variant": "signature", "kind": 8192, @@ -3566,14 +3566,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 437, + "line": 452, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L437" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452" } ], "parameters": [ { - "id": 271, + "id": 265, "name": "key", "variant": "param", "kind": 32768, @@ -3604,7 +3604,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -3616,7 +3616,7 @@ ] }, { - "id": 106, + "id": 100, "name": "subscribe", "variant": "declaration", "kind": 2048, @@ -3626,12 +3626,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "signatures": [ { - "id": 107, + "id": 101, "name": "subscribe", "variant": "signature", "kind": 4096, @@ -3649,12 +3649,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 213, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L213" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213" } ], "parameters": [ { - "id": 108, + "id": 102, "name": "callback", "variant": "param", "kind": 32768, @@ -3664,7 +3664,7 @@ "type": { "type": "reflection", "declaration": { - "id": 109, + "id": 103, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3674,12 +3674,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "signatures": [ { - "id": 110, + "id": 104, "name": "__type", "variant": "signature", "kind": 4096, @@ -3689,25 +3689,25 @@ "fileName": "src/RealtimeChannel.ts", "line": 214, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L214" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214" } ], "parameters": [ { - "id": 111, + "id": 105, "name": "status", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 632, + "target": 643, "name": "REALTIME_SUBSCRIBE_STATES", "package": "@supabase/realtime-js" } }, { - "id": 112, + "id": 106, "name": "err", "variant": "param", "kind": 32768, @@ -3735,7 +3735,7 @@ } }, { - "id": 113, + "id": 107, "name": "timeout", "variant": "param", "kind": 32768, @@ -3749,7 +3749,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -3758,7 +3758,51 @@ ] }, { - "id": 121, + "id": 275, + "name": "teardown", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "signatures": [ + { + "id": 276, + "name": "teardown", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Teardown the channel.\n\nDestroys and stops related timers." + } + ] + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 561, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 115, "name": "track", "variant": "declaration", "kind": 2048, @@ -3766,14 +3810,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "signatures": [ { - "id": 122, + "id": 116, "name": "track", "variant": "signature", "kind": 4096, @@ -3781,14 +3825,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 321, + "line": 326, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L321" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326" } ], "parameters": [ { - "id": 123, + "id": 117, "name": "payload", "variant": "param", "kind": 32768, @@ -3796,7 +3840,7 @@ "type": { "type": "reflection", "declaration": { - "id": 124, + "id": 118, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3804,14 +3848,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "indexSignatures": [ { - "id": 125, + "id": 119, "name": "__index", "variant": "signature", "kind": 8192, @@ -3819,14 +3863,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 322, + "line": 327, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L322" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327" } ], "parameters": [ { - "id": 126, + "id": 120, "name": "key", "variant": "param", "kind": 32768, @@ -3847,7 +3891,7 @@ } }, { - "id": 127, + "id": 121, "name": "opts", "variant": "param", "kind": 32768, @@ -3855,7 +3899,7 @@ "type": { "type": "reflection", "declaration": { - "id": 128, + "id": 122, "name": "__type", "variant": "declaration", "kind": 65536, @@ -3863,14 +3907,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "indexSignatures": [ { - "id": 129, + "id": 123, "name": "__index", "variant": "signature", "kind": 8192, @@ -3878,14 +3922,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 323, + "line": 328, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L323" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328" } ], "parameters": [ { - "id": 130, + "id": 124, "name": "key", "variant": "param", "kind": 32768, @@ -3916,7 +3960,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -3928,7 +3972,7 @@ ] }, { - "id": 278, + "id": 272, "name": "unsubscribe", "variant": "declaration", "kind": 2048, @@ -3936,14 +3980,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "signatures": [ { - "id": 279, + "id": 273, "name": "unsubscribe", "variant": "signature", "kind": 4096, @@ -3967,14 +4011,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 507, + "line": 522, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L507" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522" } ], "parameters": [ { - "id": 280, + "id": 274, "name": "timeout", "variant": "param", "kind": 32768, @@ -4018,7 +4062,7 @@ ] }, { - "id": 131, + "id": 125, "name": "untrack", "variant": "declaration", "kind": 2048, @@ -4026,14 +4070,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "signatures": [ { - "id": 132, + "id": 126, "name": "untrack", "variant": "signature", "kind": 4096, @@ -4041,14 +4085,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 335, + "line": 340, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L335" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340" } ], "parameters": [ { - "id": 133, + "id": 127, "name": "opts", "variant": "param", "kind": 32768, @@ -4056,7 +4100,7 @@ "type": { "type": "reflection", "declaration": { - "id": 134, + "id": 128, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4064,14 +4108,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "indexSignatures": [ { - "id": 135, + "id": 129, "name": "__index", "variant": "signature", "kind": 8192, @@ -4079,14 +4123,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 336, + "line": 341, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L336" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341" } ], "parameters": [ { - "id": 136, + "id": 130, "name": "key", "variant": "param", "kind": 32768, @@ -4117,7 +4161,7 @@ "typeArguments": [ { "type": "reference", - "target": 371, + "target": 368, "name": "RealtimeChannelSendResponse", "package": "@supabase/realtime-js" } @@ -4129,7 +4173,7 @@ ] }, { - "id": 272, + "id": 266, "name": "updateJoinPayload", "variant": "declaration", "kind": 2048, @@ -4137,14 +4181,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "signatures": [ { - "id": 273, + "id": 267, "name": "updateJoinPayload", "variant": "signature", "kind": 4096, @@ -4152,14 +4196,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 274, + "id": 268, "name": "payload", "variant": "param", "kind": 32768, @@ -4167,7 +4211,7 @@ "type": { "type": "reflection", "declaration": { - "id": 275, + "id": 269, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4175,14 +4219,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 29, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "indexSignatures": [ { - "id": 276, + "id": 270, "name": "__index", "variant": "signature", "kind": 8192, @@ -4190,14 +4234,14 @@ "sources": [ { "fileName": "src/RealtimeChannel.ts", - "line": 494, + "line": 509, "character": 31, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L494" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509" } ], "parameters": [ { - "id": 277, + "id": 271, "name": "key", "variant": "param", "kind": 32768, @@ -4229,15 +4273,15 @@ "groups": [ { "title": "Constructors", - "children": [76] + "children": [70] }, { "title": "Properties", - "children": [81, 100, 95, 96, 104, 99, 102, 98, 97, 105, 94, 101, 93, 103] + "children": [75, 94, 89, 90, 98, 93, 96, 92, 91, 99, 88, 95, 87, 97] }, { "title": "Methods", - "children": [137, 114, 259, 106, 121, 278, 131, 272] + "children": [131, 108, 253, 100, 275, 115, 272, 125, 266] } ], "sources": [ @@ -4245,19 +4289,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 127, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L127" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L127" } ] }, { - "id": 372, + "id": 369, "name": "RealtimeClient", "variant": "declaration", "kind": 128, "flags": {}, "children": [ { - "id": 373, + "id": 370, "name": "constructor", "variant": "declaration", "kind": 512, @@ -4265,14 +4309,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "signatures": [ { - "id": 374, + "id": 371, "name": "RealtimeClient", "variant": "signature", "kind": 16384, @@ -4288,14 +4332,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 144, + "line": 150, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L144" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150" } ], "parameters": [ { - "id": 375, + "id": 372, "name": "endPoint", "variant": "param", "kind": 32768, @@ -4314,7 +4358,7 @@ } }, { - "id": 376, + "id": 373, "name": "options", "variant": "param", "kind": 32768, @@ -4323,7 +4367,7 @@ }, "type": { "type": "reference", - "target": 515, + "target": 526, "name": "RealtimeClientOptions", "package": "@supabase/realtime-js", "highlightedProperties": { @@ -4348,7 +4392,7 @@ "headers": [ { "kind": "text", - "text": "The optional headers to pass when connecting." + "text": "Deprecated: headers cannot be set on websocket connections and this option will be removed in the future." } ], "heartbeatIntervalMs": [ @@ -4413,7 +4457,7 @@ ], "type": { "type": "reference", - "target": 372, + "target": 369, "name": "RealtimeClient", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -4422,7 +4466,7 @@ ] }, { - "id": 419, + "id": 420, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -4430,9 +4474,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -4445,7 +4489,7 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 421, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4453,14 +4497,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "signatures": [ { - "id": 421, + "id": 422, "name": "__type", "variant": "signature", "kind": 4096, @@ -4468,9 +4512,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 121, + "line": 127, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L121" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127" } ], "type": { @@ -4506,7 +4550,7 @@ "defaultValue": "null" }, { - "id": 377, + "id": 374, "name": "accessTokenValue", "variant": "declaration", "kind": 1024, @@ -4514,9 +4558,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 87, + "line": 91, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L87" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L91" } ], "type": { @@ -4535,7 +4579,7 @@ "defaultValue": "null" }, { - "id": 378, + "id": 375, "name": "apiKey", "variant": "declaration", "kind": 1024, @@ -4543,9 +4587,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 88, + "line": 92, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L92" } ], "type": { @@ -4564,7 +4608,7 @@ "defaultValue": "null" }, { - "id": 379, + "id": 376, "name": "channels", "variant": "declaration", "kind": 1024, @@ -4572,25 +4616,25 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 89, + "line": 93, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L89" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L93" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, - "defaultValue": "[]" + "defaultValue": "..." }, { - "id": 402, + "id": 403, "name": "conn", "variant": "declaration", "kind": 1024, @@ -4598,9 +4642,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 106, + "line": 112, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L106" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L112" } ], "type": { @@ -4613,18 +4657,18 @@ { "type": "reference", "target": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "WebSocketLike" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "WebSocket" }, - "name": "WebSocketLike", - "package": "@supabase/realtime-js" + "name": "WebSocket", + "package": "typescript" } ] }, "defaultValue": "null" }, { - "id": 400, + "id": 401, "name": "decode", "variant": "declaration", "kind": 1024, @@ -4632,9 +4676,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 104, + "line": 110, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L104" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L110" } ], "type": { @@ -4648,7 +4692,7 @@ } }, { - "id": 399, + "id": 400, "name": "encode", "variant": "declaration", "kind": 1024, @@ -4656,9 +4700,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 103, + "line": 109, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L103" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L109" } ], "type": { @@ -4672,7 +4716,7 @@ } }, { - "id": 380, + "id": 377, "name": "endPoint", "variant": "declaration", "kind": 1024, @@ -4680,9 +4724,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 90, + "line": 94, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L90" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L94" } ], "type": { @@ -4692,7 +4736,7 @@ "defaultValue": "''" }, { - "id": 411, + "id": 412, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -4700,15 +4744,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 120, + "line": 126, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L120" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L126" } ], "type": { "type": "reflection", "declaration": { - "id": 412, + "id": 413, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4716,7 +4760,7 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 }, { @@ -4727,7 +4771,7 @@ ], "signatures": [ { - "id": 413, + "id": 414, "name": "__type", "variant": "signature", "kind": 4096, @@ -4743,13 +4787,13 @@ "sources": [ { "fileName": "node_modules/typescript/lib/lib.dom.d.ts", - "line": 28708, + "line": 29329, "character": 17 } ], "parameters": [ { - "id": 414, + "id": 415, "name": "input", "variant": "param", "kind": 32768, @@ -4779,7 +4823,7 @@ } }, { - "id": 415, + "id": 416, "name": "init", "variant": "param", "kind": 32768, @@ -4819,7 +4863,7 @@ } }, { - "id": 416, + "id": 417, "name": "__type", "variant": "signature", "kind": 4096, @@ -4841,7 +4885,7 @@ ], "parameters": [ { - "id": 417, + "id": 418, "name": "input", "variant": "param", "kind": 32768, @@ -4875,7 +4919,7 @@ } }, { - "id": 418, + "id": 419, "name": "init", "variant": "param", "kind": 32768, @@ -4919,25 +4963,39 @@ } }, { - "id": 382, + "id": 379, "name": "headers", "variant": "declaration", "kind": 1024, "flags": { "isOptional": true }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "headers cannot be set on websocket connections" + } + ] + } + ] + }, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "type": { "type": "reflection", "declaration": { - "id": 383, + "id": 380, "name": "__type", "variant": "declaration", "kind": 65536, @@ -4945,14 +5003,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "indexSignatures": [ { - "id": 384, + "id": 381, "name": "__index", "variant": "signature", "kind": 8192, @@ -4960,14 +5018,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 92, + "line": 97, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L92" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97" } ], "parameters": [ { - "id": 385, + "id": 382, "name": "key", "variant": "param", "kind": 32768, @@ -4986,10 +5044,83 @@ ] } }, - "defaultValue": "DEFAULT_HEADERS" + "defaultValue": "{}" }, { "id": 392, + "name": "heartbeatCallback", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 393, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "signatures": [ + { + "id": 394, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 104, + "character": 21, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104" + } + ], + "parameters": [ + { + "id": 395, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + }, + "defaultValue": "noop" + }, + { + "id": 389, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -4997,9 +5128,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 96, + "line": 101, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L96" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L101" } ], "type": { @@ -5009,7 +5140,7 @@ "defaultValue": "25000" }, { - "id": 393, + "id": 390, "name": "heartbeatTimer", "variant": "declaration", "kind": 1024, @@ -5017,9 +5148,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 97, + "line": 102, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L97" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L102" } ], "type": { @@ -5044,7 +5175,7 @@ "defaultValue": "undefined" }, { - "id": 381, + "id": 378, "name": "httpEndpoint", "variant": "declaration", "kind": 1024, @@ -5052,9 +5183,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 91, + "line": 95, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L91" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L95" } ], "type": { @@ -5064,7 +5195,7 @@ "defaultValue": "''" }, { - "id": 397, + "id": 398, "name": "logger", "variant": "declaration", "kind": 1024, @@ -5072,9 +5203,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 101, + "line": 107, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L101" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L107" } ], "type": { @@ -5089,7 +5220,7 @@ "defaultValue": "noop" }, { - "id": 398, + "id": 399, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -5099,23 +5230,23 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 102, + "line": 108, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L102" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L108" } ], "type": { "type": "reference", "target": { - "sourceFileName": "src/lib/constants.ts", - "qualifiedName": "LOG_LEVEL" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "LogLevel" }, - "name": "LOG_LEVEL", + "name": "LogLevel", "package": "@supabase/realtime-js" } }, { - "id": 386, + "id": 383, "name": "params", "variant": "declaration", "kind": 1024, @@ -5125,15 +5256,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "type": { "type": "reflection", "declaration": { - "id": 387, + "id": 384, "name": "__type", "variant": "declaration", "kind": 65536, @@ -5141,14 +5272,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "indexSignatures": [ { - "id": 388, + "id": 385, "name": "__index", "variant": "signature", "kind": 8192, @@ -5156,14 +5287,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 93, + "line": 98, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L93" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98" } ], "parameters": [ { - "id": 389, + "id": 386, "name": "key", "variant": "param", "kind": 32768, @@ -5185,7 +5316,7 @@ "defaultValue": "{}" }, { - "id": 394, + "id": 391, "name": "pendingHeartbeatRef", "variant": "declaration", "kind": 1024, @@ -5193,9 +5324,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 98, + "line": 103, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L98" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L103" } ], "type": { @@ -5214,7 +5345,7 @@ "defaultValue": "null" }, { - "id": 401, + "id": 402, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -5222,9 +5353,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 105, + "line": 111, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L105" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L111" } ], "type": { @@ -5238,7 +5369,7 @@ } }, { - "id": 396, + "id": 397, "name": "reconnectTimer", "variant": "declaration", "kind": 1024, @@ -5246,9 +5377,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 100, + "line": 106, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L100" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L106" } ], "type": { @@ -5263,7 +5394,7 @@ } }, { - "id": 395, + "id": 396, "name": "ref", "variant": "declaration", "kind": 1024, @@ -5271,9 +5402,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 99, + "line": 105, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L99" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L105" } ], "type": { @@ -5283,7 +5414,7 @@ "defaultValue": "0" }, { - "id": 403, + "id": 404, "name": "sendBuffer", "variant": "declaration", "kind": 1024, @@ -5291,9 +5422,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 107, + "line": 113, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L107" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L113" } ], "type": { @@ -5311,7 +5442,7 @@ "defaultValue": "[]" }, { - "id": 404, + "id": 405, "name": "serializer", "variant": "declaration", "kind": 1024, @@ -5319,9 +5450,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 108, + "line": 114, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L108" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L114" } ], "type": { @@ -5337,7 +5468,7 @@ "defaultValue": "..." }, { - "id": 405, + "id": 406, "name": "stateChangeCallbacks", "variant": "declaration", "kind": 1024, @@ -5345,22 +5476,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ], "type": { "type": "reflection", "declaration": { - "id": 406, + "id": 407, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 408, + "id": 409, "name": "close", "variant": "declaration", "kind": 1024, @@ -5368,36 +5499,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 111, + "line": 117, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L111" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Function" - }, - "name": "Function", - "package": "typescript" - } - } - }, - { - "id": 409, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "src/RealtimeClient.ts", - "line": 112, - "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L112" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L117" } ], "type": { @@ -5415,16 +5519,16 @@ }, { "id": 410, - "name": "message", + "name": "error", "variant": "declaration", "kind": 1024, "flags": {}, "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 113, + "line": 118, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L113" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L118" } ], "type": { @@ -5441,7 +5545,34 @@ } }, { - "id": 407, + "id": 411, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 119, + "character": 4, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L119" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + } + }, + { + "id": 408, "name": "open", "variant": "declaration", "kind": 1024, @@ -5449,9 +5580,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 110, + "line": 116, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L110" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L116" } ], "type": { @@ -5471,15 +5602,15 @@ "groups": [ { "title": "Properties", - "children": [408, 409, 410, 407] + "children": [409, 410, 411, 408] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 109, + "line": 115, "character": 24, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L109" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115" } ] } @@ -5487,7 +5618,7 @@ "defaultValue": "..." }, { - "id": 390, + "id": 387, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -5495,9 +5626,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 94, + "line": 99, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L94" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L99" } ], "type": { @@ -5507,7 +5638,7 @@ "defaultValue": "DEFAULT_TIMEOUT" }, { - "id": 391, + "id": 388, "name": "transport", "variant": "declaration", "kind": 1024, @@ -5515,9 +5646,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 95, + "line": 100, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L95" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L100" } ], "type": { @@ -5540,7 +5671,7 @@ } }, { - "id": 422, + "id": 423, "name": "worker", "variant": "declaration", "kind": 1024, @@ -5550,9 +5681,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 122, + "line": 128, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L122" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L128" } ], "type": { @@ -5561,7 +5692,7 @@ } }, { - "id": 424, + "id": 425, "name": "workerRef", "variant": "declaration", "kind": 1024, @@ -5571,9 +5702,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 124, + "line": 130, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L124" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L130" } ], "type": { @@ -5587,7 +5718,7 @@ } }, { - "id": 423, + "id": 424, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -5597,9 +5728,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 123, + "line": 129, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L123" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L129" } ], "type": { @@ -5608,7 +5739,7 @@ } }, { - "id": 449, + "id": 450, "name": "channel", "variant": "declaration", "kind": 2048, @@ -5616,14 +5747,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "signatures": [ { - "id": 450, + "id": 451, "name": "channel", "variant": "signature", "kind": 4096, @@ -5631,14 +5762,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 331, + "line": 328, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L331" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328" } ], "parameters": [ { - "id": 451, + "id": 452, "name": "topic", "variant": "param", "kind": 32768, @@ -5649,14 +5780,14 @@ } }, { - "id": 452, + "id": 453, "name": "params", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 359, + "target": 355, "name": "RealtimeChannelOptions", "package": "@supabase/realtime-js" }, @@ -5665,7 +5796,7 @@ ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -5674,7 +5805,7 @@ ] }, { - "id": 425, + "id": 426, "name": "connect", "variant": "declaration", "kind": 2048, @@ -5682,14 +5813,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "signatures": [ { - "id": 426, + "id": 427, "name": "connect", "variant": "signature", "kind": 4096, @@ -5705,9 +5836,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 202, + "line": 207, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L202" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207" } ], "type": { @@ -5718,7 +5849,7 @@ ] }, { - "id": 445, + "id": 446, "name": "connectionState", "variant": "declaration", "kind": 2048, @@ -5726,14 +5857,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "signatures": [ { - "id": 446, + "id": 447, "name": "connectionState", "variant": "signature", "kind": 4096, @@ -5749,9 +5880,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 311, + "line": 308, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L311" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308" } ], "type": { @@ -5767,7 +5898,7 @@ ] }, { - "id": 429, + "id": 430, "name": "disconnect", "variant": "declaration", "kind": 2048, @@ -5775,14 +5906,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "signatures": [ { - "id": 430, + "id": 431, "name": "disconnect", "variant": "signature", "kind": 4096, @@ -5798,14 +5929,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 252, + "line": 244, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L252" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244" } ], "parameters": [ { - "id": 431, + "id": 432, "name": "code", "variant": "param", "kind": 32768, @@ -5826,7 +5957,7 @@ } }, { - "id": 432, + "id": 433, "name": "reason", "variant": "param", "kind": 32768, @@ -5855,7 +5986,7 @@ ] }, { - "id": 427, + "id": 428, "name": "endpointURL", "variant": "declaration", "kind": 2048, @@ -5863,14 +5994,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "signatures": [ { - "id": 428, + "id": 429, "name": "endpointURL", "variant": "signature", "kind": 4096, @@ -5897,9 +6028,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 239, + "line": 231, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L239" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231" } ], "type": { @@ -5910,7 +6041,7 @@ ] }, { - "id": 461, + "id": 468, "name": "flushSendBuffer", "variant": "declaration", "kind": 2048, @@ -5918,14 +6049,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "signatures": [ { - "id": 462, + "id": 469, "name": "flushSendBuffer", "variant": "signature", "kind": 4096, @@ -5941,9 +6072,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 421, + "line": 435, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L421" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435" } ], "type": { @@ -5954,7 +6085,7 @@ ] }, { - "id": 433, + "id": 434, "name": "getChannels", "variant": "declaration", "kind": 2048, @@ -5962,14 +6093,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "signatures": [ { - "id": 434, + "id": 435, "name": "getChannels", "variant": "signature", "kind": 4096, @@ -5985,16 +6116,16 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 270, + "line": 264, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L270" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264" } ], "type": { "type": "array", "elementType": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -6004,7 +6135,7 @@ ] }, { - "id": 447, + "id": 448, "name": "isConnected", "variant": "declaration", "kind": 2048, @@ -6012,14 +6143,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "signatures": [ { - "id": 448, + "id": 449, "name": "isConnected", "variant": "signature", "kind": 4096, @@ -6043,9 +6174,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 327, + "line": 324, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L327" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324" } ], "type": { @@ -6056,7 +6187,7 @@ ] }, { - "id": 440, + "id": 441, "name": "log", "variant": "declaration", "kind": 2048, @@ -6064,14 +6195,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "signatures": [ { - "id": 441, + "id": 442, "name": "log", "variant": "signature", "kind": 4096, @@ -6095,14 +6226,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 304, + "line": 301, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L304" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301" } ], "parameters": [ { - "id": 442, + "id": 443, "name": "kind", "variant": "param", "kind": 32768, @@ -6113,7 +6244,7 @@ } }, { - "id": 443, + "id": 444, "name": "msg", "variant": "param", "kind": 32768, @@ -6124,7 +6255,7 @@ } }, { - "id": 444, + "id": 445, "name": "data", "variant": "param", "kind": 32768, @@ -6145,7 +6276,109 @@ ] }, { - "id": 453, + "id": 462, + "name": "onHeartbeat", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 463, + "name": "onHeartbeat", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 464, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 465, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "signatures": [ + { + "id": 466, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimeClient.ts", + "line": 429, + "character": 24, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429" + } + ], + "parameters": [ + { + "id": 467, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "HeartbeatStatus" + }, + "name": "HeartbeatStatus", + "package": "@supabase/realtime-js" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 454, "name": "push", "variant": "declaration", "kind": 2048, @@ -6153,14 +6386,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "signatures": [ { - "id": 454, + "id": 455, "name": "push", "variant": "signature", "kind": 4096, @@ -6176,21 +6409,21 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 345, + "line": 352, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L345" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352" } ], "parameters": [ { - "id": 455, + "id": 456, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", - "target": 540, + "target": 551, "name": "RealtimeMessage", "package": "@supabase/realtime-js" } @@ -6204,7 +6437,7 @@ ] }, { - "id": 438, + "id": 439, "name": "removeAllChannels", "variant": "declaration", "kind": 2048, @@ -6212,14 +6445,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "signatures": [ { - "id": 439, + "id": 440, "name": "removeAllChannels", "variant": "signature", "kind": 4096, @@ -6235,9 +6468,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 291, + "line": 287, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L291" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287" } ], "type": { @@ -6251,7 +6484,7 @@ "type": "array", "elementType": { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -6264,7 +6497,7 @@ ] }, { - "id": 435, + "id": 436, "name": "removeChannel", "variant": "declaration", "kind": 2048, @@ -6272,14 +6505,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "signatures": [ { - "id": 436, + "id": 437, "name": "removeChannel", "variant": "signature", "kind": 4096, @@ -6295,14 +6528,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 278, + "line": 272, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L278" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272" } ], "parameters": [ { - "id": 437, + "id": 438, "name": "channel", "variant": "param", "kind": 32768, @@ -6317,7 +6550,7 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" @@ -6333,7 +6566,7 @@ "typeArguments": [ { "type": "reference", - "target": 617, + "target": 628, "name": "RealtimeRemoveChannelResponse", "package": "@supabase/realtime-js" } @@ -6345,7 +6578,7 @@ ] }, { - "id": 459, + "id": 460, "name": "sendHeartbeat", "variant": "declaration", "kind": 2048, @@ -6353,14 +6586,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "signatures": [ { - "id": 460, + "id": 461, "name": "sendHeartbeat", "variant": "signature", "kind": 4096, @@ -6376,9 +6609,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 395, + "line": 403, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L395" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403" } ], "type": { @@ -6400,7 +6633,7 @@ ] }, { - "id": 456, + "id": 457, "name": "setAuth", "variant": "declaration", "kind": 2048, @@ -6408,14 +6641,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "signatures": [ { - "id": 457, + "id": 458, "name": "setAuth", "variant": "signature", "kind": 4096, @@ -6439,14 +6672,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 369, + "line": 376, "character": 8, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L369" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376" } ], "parameters": [ { - "id": 458, + "id": 459, "name": "token", "variant": "param", "kind": 32768, @@ -6497,26 +6730,26 @@ "groups": [ { "title": "Constructors", - "children": [373] + "children": [370] }, { "title": "Properties", "children": [ - 419, 377, 378, 379, 402, 400, 399, 380, 411, 382, 392, 393, 381, 397, 398, 386, 394, - 401, 396, 395, 403, 404, 405, 390, 391, 422, 424, 423 + 420, 374, 375, 376, 403, 401, 400, 377, 412, 379, 392, 389, 390, 378, 398, 399, 383, + 391, 402, 397, 396, 404, 405, 406, 387, 388, 423, 425, 424 ] }, { "title": "Methods", - "children": [449, 425, 445, 429, 427, 461, 433, 447, 440, 453, 438, 435, 459, 456] + "children": [450, 426, 446, 430, 428, 468, 434, 448, 441, 462, 454, 439, 436, 460, 457] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 86, + "line": 90, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L86" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L90" } ] }, @@ -6528,7 +6761,7 @@ "flags": {}, "children": [ { - "id": 36, + "id": 30, "name": "constructor", "variant": "declaration", "kind": 512, @@ -6536,14 +6769,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "signatures": [ { - "id": 37, + "id": 31, "name": "RealtimePresence", "variant": "signature", "kind": 16384, @@ -6559,14 +6792,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "parameters": [ { - "id": 38, + "id": 32, "name": "channel", "variant": "param", "kind": 32768, @@ -6581,14 +6814,14 @@ }, "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 39, + "id": 33, "name": "opts", "variant": "param", "kind": 32768, @@ -6629,7 +6862,7 @@ ] }, { - "id": 44, + "id": 38, "name": "caller", "variant": "declaration", "kind": 1024, @@ -6637,22 +6870,22 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ], "type": { "type": "reflection", "declaration": { - "id": 45, + "id": 39, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 46, + "id": 40, "name": "onJoin", "variant": "declaration", "kind": 1024, @@ -6660,9 +6893,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 68, + "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L69" } ], "type": { @@ -6676,7 +6909,7 @@ } }, { - "id": 47, + "id": 41, "name": "onLeave", "variant": "declaration", "kind": 1024, @@ -6684,9 +6917,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 69, + "line": 70, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L70" } ], "type": { @@ -6700,7 +6933,7 @@ } }, { - "id": 48, + "id": 42, "name": "onSync", "variant": "declaration", "kind": 1024, @@ -6708,15 +6941,15 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { "type": "reflection", "declaration": { - "id": 49, + "id": 43, "name": "__type", "variant": "declaration", "kind": 65536, @@ -6724,14 +6957,14 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "signatures": [ { - "id": 50, + "id": 44, "name": "__type", "variant": "signature", "kind": 4096, @@ -6739,9 +6972,9 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 70, + "line": 71, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L70" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71" } ], "type": { @@ -6757,15 +6990,15 @@ "groups": [ { "title": "Properties", - "children": [46, 47, 48] + "children": [40, 41, 42] } ], "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 67, + "line": 68, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68" } ] } @@ -6773,7 +7006,7 @@ "defaultValue": "..." }, { - "id": 51, + "id": 45, "name": "channel", "variant": "declaration", "kind": 1024, @@ -6791,21 +7024,41 @@ "sources": [ { "fileName": "src/RealtimePresence.ts", - "line": 84, + "line": 85, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L84" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85" } ], "type": { "type": "reference", - "target": 65, + "target": 59, "name": "RealtimeChannel", "package": "@supabase/realtime-js", "qualifiedName": "default" } }, { - "id": 43, + "id": 37, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "src/RealtimePresence.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L67" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 36, "name": "joinRef", "variant": "declaration", "kind": 1024, @@ -6815,7 +7068,7 @@ "fileName": "src/RealtimePresence.ts", "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L66" } ], "type": { @@ -6834,7 +7087,7 @@ "defaultValue": "null" }, { - "id": 42, + "id": 35, "name": "pendingDiffs", "variant": "declaration", "kind": 1024, @@ -6844,7 +7097,7 @@ "fileName": "src/RealtimePresence.ts", "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L65" } ], "type": { @@ -6862,7 +7115,7 @@ "defaultValue": "[]" }, { - "id": 40, + "id": 34, "name": "state", "variant": "declaration", "kind": 1024, @@ -6872,24 +7125,12 @@ "fileName": "src/RealtimePresence.ts", "line": 64, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L64" } ], "type": { "type": "reference", - "target": 608, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 41, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ], + "target": 619, "name": "RealtimePresenceState", "package": "@supabase/realtime-js" }, @@ -6899,11 +7140,11 @@ "groups": [ { "title": "Constructors", - "children": [36] + "children": [30] }, { "title": "Properties", - "children": [44, 51, 43, 42, 40] + "children": [38, 45, 37, 36, 35, 34] } ], "sources": [ @@ -6911,12 +7152,12 @@ "fileName": "src/RealtimePresence.ts", "line": 63, "character": 21, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L63" } ] }, { - "id": 359, + "id": 355, "name": "RealtimeChannelOptions", "variant": "declaration", "kind": 2097152, @@ -6926,20 +7167,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ], "type": { "type": "reflection", "declaration": { - "id": 360, + "id": 356, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 361, + "id": 357, "name": "config", "variant": "declaration", "kind": 1024, @@ -6949,20 +7190,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ], "type": { "type": "reflection", "declaration": { - "id": 362, + "id": 358, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 363, + "id": 359, "name": "broadcast", "variant": "declaration", "kind": 1024, @@ -6982,20 +7223,20 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { "type": "reflection", "declaration": { - "id": 364, + "id": 360, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 366, + "id": 362, "name": "ack", "variant": "declaration", "kind": 1024, @@ -7007,7 +7248,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 34, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -7016,7 +7257,7 @@ } }, { - "id": 365, + "id": 361, "name": "self", "variant": "declaration", "kind": 1024, @@ -7028,7 +7269,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 18, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ], "type": { @@ -7040,7 +7281,7 @@ "groups": [ { "title": "Properties", - "children": [366, 365] + "children": [362, 361] } ], "sources": [ @@ -7048,14 +7289,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 22, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22" } ] } } }, { - "id": 367, + "id": 363, "name": "presence", "variant": "declaration", "kind": 1024, @@ -7075,20 +7316,41 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { "type": "reflection", "declaration": { - "id": 368, + "id": 364, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 369, + "id": 366, + "name": "enabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/RealtimeChannel.ts", + "line": 26, + "character": 31, + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 365, "name": "key", "variant": "declaration", "kind": 1024, @@ -7100,7 +7362,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 17, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ], "type": { @@ -7112,7 +7374,7 @@ "groups": [ { "title": "Properties", - "children": [369] + "children": [366, 365] } ], "sources": [ @@ -7120,14 +7382,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 26, "character": 15, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L26" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26" } ] } } }, { - "id": 370, + "id": 367, "name": "private", "variant": "declaration", "kind": 1024, @@ -7147,7 +7409,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 30, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L30" } ], "type": { @@ -7159,7 +7421,7 @@ "groups": [ { "title": "Properties", - "children": [363, 367, 370] + "children": [359, 363, 367] } ], "sources": [ @@ -7167,7 +7429,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 17, "character": 10, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17" } ] } @@ -7177,7 +7439,7 @@ "groups": [ { "title": "Properties", - "children": [361] + "children": [357] } ], "sources": [ @@ -7185,14 +7447,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 16, "character": 37, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L16" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16" } ] } } }, { - "id": 371, + "id": 368, "name": "RealtimeChannelSendResponse", "variant": "declaration", "kind": 2097152, @@ -7202,7 +7464,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 88, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L88" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L88" } ], "type": { @@ -7224,7 +7486,7 @@ } }, { - "id": 515, + "id": 526, "name": "RealtimeClientOptions", "variant": "declaration", "kind": 2097152, @@ -7232,22 +7494,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ], "type": { "type": "reflection", "declaration": { - "id": 516, + "id": 527, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 537, + "id": 548, "name": "accessToken", "variant": "declaration", "kind": 1024, @@ -7257,15 +7519,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "type": { "type": "reflection", "declaration": { - "id": 538, + "id": 549, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7273,14 +7535,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 76, + "line": 80, "character": 16, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L76" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80" } ], "signatures": [ { - "id": 539, + "id": 550, "name": "__type", "variant": "signature", "kind": 4096, @@ -7315,7 +7577,7 @@ } }, { - "id": 522, + "id": 533, "name": "decode", "variant": "declaration", "kind": 1024, @@ -7325,9 +7587,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 66, + "line": 70, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L66" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L70" } ], "type": { @@ -7341,7 +7603,7 @@ } }, { - "id": 521, + "id": 532, "name": "encode", "variant": "declaration", "kind": 1024, @@ -7351,9 +7613,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 65, + "line": 69, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L65" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L69" } ], "type": { @@ -7367,7 +7629,7 @@ } }, { - "id": 534, + "id": 545, "name": "fetch", "variant": "declaration", "kind": 1024, @@ -7377,9 +7639,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 73, + "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L77" } ], "type": { @@ -7393,7 +7655,7 @@ } }, { - "id": 524, + "id": 535, "name": "headers", "variant": "declaration", "kind": 1024, @@ -7403,15 +7665,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "type": { "type": "reflection", "declaration": { - "id": 525, + "id": 536, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7419,14 +7681,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "indexSignatures": [ { - "id": 526, + "id": 537, "name": "__index", "variant": "signature", "kind": 8192, @@ -7434,14 +7696,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 68, + "line": 72, "character": 14, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L68" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72" } ], "parameters": [ { - "id": 527, + "id": 538, "name": "key", "variant": "param", "kind": 32768, @@ -7462,7 +7724,7 @@ } }, { - "id": 519, + "id": 530, "name": "heartbeatIntervalMs", "variant": "declaration", "kind": 1024, @@ -7472,9 +7734,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 63, + "line": 67, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L63" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L67" } ], "type": { @@ -7483,7 +7745,7 @@ } }, { - "id": 532, + "id": 543, "name": "log_level", "variant": "declaration", "kind": 1024, @@ -7493,9 +7755,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 71, + "line": 75, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L71" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L75" } ], "type": { @@ -7509,7 +7771,7 @@ } }, { - "id": 520, + "id": 531, "name": "logger", "variant": "declaration", "kind": 1024, @@ -7519,9 +7781,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 64, + "line": 68, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L64" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L68" } ], "type": { @@ -7535,7 +7797,7 @@ } }, { - "id": 533, + "id": 544, "name": "logLevel", "variant": "declaration", "kind": 1024, @@ -7545,9 +7807,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 72, + "line": 76, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L72" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L76" } ], "type": { @@ -7561,7 +7823,7 @@ } }, { - "id": 528, + "id": 539, "name": "params", "variant": "declaration", "kind": 1024, @@ -7571,15 +7833,15 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "type": { "type": "reflection", "declaration": { - "id": 529, + "id": 540, "name": "__type", "variant": "declaration", "kind": 65536, @@ -7587,14 +7849,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 11, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "indexSignatures": [ { - "id": 530, + "id": 541, "name": "__index", "variant": "signature", "kind": 8192, @@ -7602,14 +7864,14 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 69, + "line": 73, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73" } ], "parameters": [ { - "id": 531, + "id": 542, "name": "key", "variant": "param", "kind": 32768, @@ -7630,7 +7892,7 @@ } }, { - "id": 523, + "id": 534, "name": "reconnectAfterMs", "variant": "declaration", "kind": 1024, @@ -7640,9 +7902,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 67, + "line": 71, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L71" } ], "type": { @@ -7656,7 +7918,7 @@ } }, { - "id": 518, + "id": 529, "name": "timeout", "variant": "declaration", "kind": 1024, @@ -7666,9 +7928,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 62, + "line": 66, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L66" } ], "type": { @@ -7677,7 +7939,7 @@ } }, { - "id": 517, + "id": 528, "name": "transport", "variant": "declaration", "kind": 1024, @@ -7687,9 +7949,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 61, + "line": 65, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L61" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L65" } ], "type": { @@ -7703,7 +7965,7 @@ } }, { - "id": 535, + "id": 546, "name": "worker", "variant": "declaration", "kind": 1024, @@ -7713,9 +7975,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 74, + "line": 78, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L74" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L78" } ], "type": { @@ -7724,7 +7986,7 @@ } }, { - "id": 536, + "id": 547, "name": "workerUrl", "variant": "declaration", "kind": 1024, @@ -7734,9 +7996,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 75, + "line": 79, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L75" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L79" } ], "type": { @@ -7749,23 +8011,23 @@ { "title": "Properties", "children": [ - 537, 522, 521, 534, 524, 519, 532, 520, 533, 528, 523, 518, 517, 535, 536 + 548, 533, 532, 545, 535, 530, 543, 531, 544, 539, 534, 529, 528, 546, 547 ] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 60, + "line": 64, "character": 36, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L60" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64" } ] } } }, { - "id": 540, + "id": 551, "name": "RealtimeMessage", "variant": "declaration", "kind": 2097152, @@ -7773,22 +8035,22 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ], "type": { "type": "reflection", "declaration": { - "id": 541, + "id": 552, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 543, + "id": 554, "name": "event", "variant": "declaration", "kind": 1024, @@ -7796,9 +8058,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 34, + "line": 33, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L34" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L33" } ], "type": { @@ -7807,7 +8069,7 @@ } }, { - "id": 546, + "id": 557, "name": "join_ref", "variant": "declaration", "kind": 1024, @@ -7817,9 +8079,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 37, + "line": 36, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L37" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L36" } ], "type": { @@ -7828,7 +8090,7 @@ } }, { - "id": 544, + "id": 555, "name": "payload", "variant": "declaration", "kind": 1024, @@ -7836,9 +8098,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 35, + "line": 34, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L35" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L34" } ], "type": { @@ -7847,7 +8109,7 @@ } }, { - "id": 545, + "id": 556, "name": "ref", "variant": "declaration", "kind": 1024, @@ -7855,9 +8117,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 36, + "line": 35, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L36" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L35" } ], "type": { @@ -7866,7 +8128,7 @@ } }, { - "id": 542, + "id": 553, "name": "topic", "variant": "declaration", "kind": 1024, @@ -7874,9 +8136,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 33, + "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L33" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L32" } ], "type": { @@ -7888,22 +8150,22 @@ "groups": [ { "title": "Properties", - "children": [543, 546, 544, 545, 542] + "children": [554, 557, 555, 556, 553] } ], "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 32, + "line": 31, "character": 30, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31" } ] } } }, { - "id": 547, + "id": 558, "name": "RealtimePostgresChangesFilter", "variant": "declaration", "kind": 2097152, @@ -7913,12 +8175,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 67, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L67" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L67" } ], "typeParameters": [ { - "id": 553, + "id": 564, "name": "T", "variant": "typeParam", "kind": 131072, @@ -7930,7 +8192,7 @@ [ { "type": "reference", - "target": 623, + "target": 634, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT", "package": "@supabase/realtime-js" }, @@ -7943,14 +8205,14 @@ "type": { "type": "reflection", "declaration": { - "id": 548, + "id": 559, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 549, + "id": 560, "name": "event", "variant": "declaration", "kind": 1024, @@ -7968,19 +8230,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 73, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L73" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L73" } ], "type": { "type": "reference", - "target": 553, + "target": 564, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 552, + "id": 563, "name": "filter", "variant": "declaration", "kind": 1024, @@ -8000,7 +8262,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 85, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L85" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L85" } ], "type": { @@ -8009,7 +8271,7 @@ } }, { - "id": 550, + "id": 561, "name": "schema", "variant": "declaration", "kind": 1024, @@ -8027,7 +8289,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 77, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L77" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L77" } ], "type": { @@ -8036,7 +8298,7 @@ } }, { - "id": 551, + "id": 562, "name": "table", "variant": "declaration", "kind": 1024, @@ -8056,7 +8318,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 81, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L81" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L81" } ], "type": { @@ -8068,7 +8330,7 @@ "groups": [ { "title": "Properties", - "children": [549, 552, 550, 551] + "children": [560, 563, 561, 562] } ], "sources": [ @@ -8076,14 +8338,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 69, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L69" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L69" } ] } } }, { - "id": 554, + "id": 565, "name": "RealtimePostgresChangesPayload", "variant": "declaration", "kind": 2097152, @@ -8093,12 +8355,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "typeParameters": [ { - "id": 555, + "id": 566, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8106,7 +8368,7 @@ "type": { "type": "reflection", "declaration": { - "id": 556, + "id": 567, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8116,12 +8378,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "indexSignatures": [ { - "id": 557, + "id": 568, "name": "__index", "variant": "signature", "kind": 8192, @@ -8131,12 +8393,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 62, "character": 55, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L62" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62" } ], "parameters": [ { - "id": 558, + "id": 569, "name": "key", "variant": "param", "kind": 32768, @@ -8162,11 +8424,11 @@ "types": [ { "type": "reference", - "target": 559, + "target": 570, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8177,11 +8439,11 @@ }, { "type": "reference", - "target": 569, + "target": 580, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8192,11 +8454,11 @@ }, { "type": "reference", - "target": 578, + "target": 589, "typeArguments": [ { "type": "reference", - "target": 555, + "target": 566, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8209,7 +8471,7 @@ } }, { - "id": 578, + "id": 589, "name": "RealtimePostgresDeletePayload", "variant": "declaration", "kind": 2097152, @@ -8219,12 +8481,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "typeParameters": [ { - "id": 584, + "id": 595, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8232,7 +8494,7 @@ "type": { "type": "reflection", "declaration": { - "id": 585, + "id": 596, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8242,12 +8504,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "indexSignatures": [ { - "id": 586, + "id": 597, "name": "__index", "variant": "signature", "kind": 8192, @@ -8257,12 +8519,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 55, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L55" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55" } ], "parameters": [ { - "id": 587, + "id": 598, "name": "key", "variant": "param", "kind": 32768, @@ -8298,14 +8560,14 @@ { "type": "reflection", "declaration": { - "id": 579, + "id": 590, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 580, + "id": 591, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8315,7 +8577,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 57, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L57" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L57" } ], "type": { @@ -8325,7 +8587,7 @@ [ { "type": "reference", - "target": 627, + "target": 638, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE", "package": "@supabase/realtime-js" }, @@ -8335,7 +8597,7 @@ } }, { - "id": 581, + "id": 592, "name": "new", "variant": "declaration", "kind": 1024, @@ -8345,13 +8607,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ], "type": { "type": "reflection", "declaration": { - "id": 582, + "id": 593, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8361,14 +8623,14 @@ "fileName": "src/RealtimeChannel.ts", "line": 58, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L58" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58" } ] } } }, { - "id": 583, + "id": 594, "name": "old", "variant": "declaration", "kind": 1024, @@ -8378,7 +8640,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 59, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L59" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L59" } ], "type": { @@ -8390,7 +8652,7 @@ "typeArguments": [ { "type": "reference", - "target": 584, + "target": 595, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8404,7 +8666,7 @@ "groups": [ { "title": "Properties", - "children": [580, 581, 583] + "children": [591, 592, 594] } ], "sources": [ @@ -8412,7 +8674,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 56, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L56" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L56" } ] } @@ -8421,7 +8683,7 @@ } }, { - "id": 559, + "id": 570, "name": "RealtimePostgresInsertPayload", "variant": "declaration", "kind": 2097152, @@ -8431,12 +8693,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "typeParameters": [ { - "id": 565, + "id": 576, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8444,7 +8706,7 @@ "type": { "type": "reflection", "declaration": { - "id": 566, + "id": 577, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8454,12 +8716,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "indexSignatures": [ { - "id": 567, + "id": 578, "name": "__index", "variant": "signature", "kind": 8192, @@ -8469,12 +8731,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 41, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L41" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41" } ], "parameters": [ { - "id": 568, + "id": 579, "name": "key", "variant": "param", "kind": 32768, @@ -8510,14 +8772,14 @@ { "type": "reflection", "declaration": { - "id": 560, + "id": 571, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 561, + "id": 572, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8527,7 +8789,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 43, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L43" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L43" } ], "type": { @@ -8537,7 +8799,7 @@ [ { "type": "reference", - "target": 625, + "target": 636, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT", "package": "@supabase/realtime-js" }, @@ -8547,7 +8809,7 @@ } }, { - "id": 562, + "id": 573, "name": "new", "variant": "declaration", "kind": 1024, @@ -8557,19 +8819,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 44, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L44" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L44" } ], "type": { "type": "reference", - "target": 565, + "target": 576, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 563, + "id": 574, "name": "old", "variant": "declaration", "kind": 1024, @@ -8579,13 +8841,13 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ], "type": { "type": "reflection", "declaration": { - "id": 564, + "id": 575, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8595,7 +8857,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 45, "character": 9, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L45" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45" } ] } @@ -8605,7 +8867,7 @@ "groups": [ { "title": "Properties", - "children": [561, 562, 563] + "children": [572, 573, 574] } ], "sources": [ @@ -8613,7 +8875,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 42, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L42" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L42" } ] } @@ -8622,7 +8884,7 @@ } }, { - "id": 569, + "id": 580, "name": "RealtimePostgresUpdatePayload", "variant": "declaration", "kind": 2097152, @@ -8632,12 +8894,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "typeParameters": [ { - "id": 574, + "id": 585, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8645,7 +8907,7 @@ "type": { "type": "reflection", "declaration": { - "id": 575, + "id": 586, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8655,12 +8917,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "indexSignatures": [ { - "id": 576, + "id": 587, "name": "__index", "variant": "signature", "kind": 8192, @@ -8670,12 +8932,12 @@ "fileName": "src/RealtimeChannel.ts", "line": 48, "character": 54, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L48" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48" } ], "parameters": [ { - "id": 577, + "id": 588, "name": "key", "variant": "param", "kind": 32768, @@ -8711,14 +8973,14 @@ { "type": "reflection", "declaration": { - "id": 570, + "id": 581, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 571, + "id": 582, "name": "eventType", "variant": "declaration", "kind": 1024, @@ -8728,7 +8990,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 50, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L50" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L50" } ], "type": { @@ -8738,7 +9000,7 @@ [ { "type": "reference", - "target": 626, + "target": 637, "name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE", "package": "@supabase/realtime-js" }, @@ -8748,7 +9010,7 @@ } }, { - "id": 572, + "id": 583, "name": "new", "variant": "declaration", "kind": 1024, @@ -8758,19 +9020,19 @@ "fileName": "src/RealtimeChannel.ts", "line": 51, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L51" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L51" } ], "type": { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true } }, { - "id": 573, + "id": 584, "name": "old", "variant": "declaration", "kind": 1024, @@ -8780,7 +9042,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 52, "character": 4, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L52" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L52" } ], "type": { @@ -8792,7 +9054,7 @@ "typeArguments": [ { "type": "reference", - "target": 574, + "target": 585, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8806,7 +9068,7 @@ "groups": [ { "title": "Properties", - "children": [571, 572, 573] + "children": [582, 583, 584] } ], "sources": [ @@ -8814,7 +9076,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 49, "character": 39, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L49" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L49" } ] } @@ -8823,7 +9085,7 @@ } }, { - "id": 588, + "id": 599, "name": "RealtimePresenceJoinPayload", "variant": "declaration", "kind": 2097152, @@ -8833,12 +9095,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "typeParameters": [ { - "id": 594, + "id": 605, "name": "T", "variant": "typeParam", "kind": 131072, @@ -8846,7 +9108,7 @@ "type": { "type": "reflection", "declaration": { - "id": 595, + "id": 606, "name": "__type", "variant": "declaration", "kind": 65536, @@ -8856,12 +9118,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 50, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "indexSignatures": [ { - "id": 596, + "id": 607, "name": "__index", "variant": "signature", "kind": 8192, @@ -8871,12 +9133,12 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 52, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ], "parameters": [ { - "id": 597, + "id": 608, "name": "key", "variant": "param", "kind": 32768, @@ -8900,14 +9162,14 @@ "type": { "type": "reflection", "declaration": { - "id": 589, + "id": 600, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 592, + "id": 603, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -8917,7 +9179,7 @@ "fileName": "src/RealtimePresence.ts", "line": 24, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L24" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L24" } ], "type": { @@ -8931,7 +9193,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -8943,7 +9205,7 @@ } }, { - "id": 590, + "id": 601, "name": "event", "variant": "declaration", "kind": 1024, @@ -8953,7 +9215,7 @@ "fileName": "src/RealtimePresence.ts", "line": 22, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L22" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L22" } ], "type": { @@ -8963,7 +9225,7 @@ [ { "type": "reference", - "target": 630, + "target": 641, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN", "package": "@supabase/realtime-js" }, @@ -8973,7 +9235,7 @@ } }, { - "id": 591, + "id": 602, "name": "key", "variant": "declaration", "kind": 1024, @@ -8983,7 +9245,7 @@ "fileName": "src/RealtimePresence.ts", "line": 23, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L23" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L23" } ], "type": { @@ -8992,7 +9254,7 @@ } }, { - "id": 593, + "id": 604, "name": "newPresences", "variant": "declaration", "kind": 1024, @@ -9002,7 +9264,7 @@ "fileName": "src/RealtimePresence.ts", "line": 25, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L25" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L25" } ], "type": { @@ -9016,7 +9278,7 @@ "typeArguments": [ { "type": "reference", - "target": 594, + "target": 605, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9031,7 +9293,7 @@ "groups": [ { "title": "Properties", - "children": [592, 590, 591, 593] + "children": [603, 601, 602, 604] } ], "sources": [ @@ -9039,14 +9301,14 @@ "fileName": "src/RealtimePresence.ts", "line": 21, "character": 76, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L21" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21" } ] } } }, { - "id": 598, + "id": 609, "name": "RealtimePresenceLeavePayload", "variant": "declaration", "kind": 2097152, @@ -9056,12 +9318,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "typeParameters": [ { - "id": 604, + "id": 615, "name": "T", "variant": "typeParam", "kind": 131072, @@ -9069,7 +9331,7 @@ "type": { "type": "reflection", "declaration": { - "id": 605, + "id": 616, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9079,12 +9341,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 51, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "indexSignatures": [ { - "id": 606, + "id": 617, "name": "__index", "variant": "signature", "kind": 8192, @@ -9094,12 +9356,12 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 53, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ], "parameters": [ { - "id": 607, + "id": 618, "name": "key", "variant": "param", "kind": 32768, @@ -9123,14 +9385,14 @@ "type": { "type": "reflection", "declaration": { - "id": 599, + "id": 610, "name": "__type", "variant": "declaration", "kind": 65536, "flags": {}, "children": [ { - "id": 602, + "id": 613, "name": "currentPresences", "variant": "declaration", "kind": 1024, @@ -9140,7 +9402,7 @@ "fileName": "src/RealtimePresence.ts", "line": 31, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L31" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L31" } ], "type": { @@ -9154,7 +9416,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9166,7 +9428,7 @@ } }, { - "id": 600, + "id": 611, "name": "event", "variant": "declaration", "kind": 1024, @@ -9176,7 +9438,7 @@ "fileName": "src/RealtimePresence.ts", "line": 29, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L29" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L29" } ], "type": { @@ -9186,7 +9448,7 @@ [ { "type": "reference", - "target": 631, + "target": 642, "name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE", "package": "@supabase/realtime-js" }, @@ -9196,7 +9458,7 @@ } }, { - "id": 601, + "id": 612, "name": "key", "variant": "declaration", "kind": 1024, @@ -9206,7 +9468,7 @@ "fileName": "src/RealtimePresence.ts", "line": 30, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L30" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L30" } ], "type": { @@ -9215,7 +9477,7 @@ } }, { - "id": 603, + "id": 614, "name": "leftPresences", "variant": "declaration", "kind": 1024, @@ -9225,7 +9487,7 @@ "fileName": "src/RealtimePresence.ts", "line": 32, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L32" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L32" } ], "type": { @@ -9239,7 +9501,7 @@ "typeArguments": [ { "type": "reference", - "target": 604, + "target": 615, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9254,7 +9516,7 @@ "groups": [ { "title": "Properties", - "children": [602, 600, 601, 603] + "children": [613, 611, 612, 614] } ], "sources": [ @@ -9262,14 +9524,14 @@ "fileName": "src/RealtimePresence.ts", "line": 28, "character": 77, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L28" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28" } ] } } }, { - "id": 608, + "id": 619, "name": "RealtimePresenceState", "variant": "declaration", "kind": 2097152, @@ -9279,12 +9541,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "typeParameters": [ { - "id": 612, + "id": 623, "name": "T", "variant": "typeParam", "kind": 131072, @@ -9292,7 +9554,7 @@ "type": { "type": "reflection", "declaration": { - "id": 613, + "id": 624, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9302,12 +9564,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 44, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 614, + "id": 625, "name": "__index", "variant": "signature", "kind": 8192, @@ -9317,12 +9579,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 46, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "parameters": [ { - "id": 615, + "id": 626, "name": "key", "variant": "param", "kind": 32768, @@ -9344,7 +9606,7 @@ "default": { "type": "reflection", "declaration": { - "id": 616, + "id": 627, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9354,7 +9616,7 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 69, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ] } @@ -9364,7 +9626,7 @@ "type": { "type": "reflection", "declaration": { - "id": 609, + "id": 620, "name": "__type", "variant": "declaration", "kind": 65536, @@ -9374,12 +9636,12 @@ "fileName": "src/RealtimePresence.ts", "line": 17, "character": 75, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L17" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17" } ], "indexSignatures": [ { - "id": 610, + "id": 621, "name": "__index", "variant": "signature", "kind": 8192, @@ -9389,12 +9651,12 @@ "fileName": "src/RealtimePresence.ts", "line": 18, "character": 2, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimePresence.ts#L18" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L18" } ], "parameters": [ { - "id": 611, + "id": 622, "name": "key", "variant": "param", "kind": 32768, @@ -9416,7 +9678,7 @@ "typeArguments": [ { "type": "reference", - "target": 612, + "target": 623, "name": "T", "package": "@supabase/realtime-js", "refersToTypeParameter": true @@ -9432,7 +9694,7 @@ } }, { - "id": 617, + "id": 628, "name": "RealtimeRemoveChannelResponse", "variant": "declaration", "kind": 2097152, @@ -9440,9 +9702,9 @@ "sources": [ { "fileName": "src/RealtimeClient.ts", - "line": 40, + "line": 39, "character": 12, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeClient.ts#L40" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L39" } ], "type": { @@ -9464,7 +9726,7 @@ } }, { - "id": 637, + "id": 648, "name": "REALTIME_CHANNEL_STATES", "variant": "declaration", "kind": 32, @@ -9476,7 +9738,7 @@ "fileName": "src/RealtimeChannel.ts", "line": 111, "character": 13, - "url": "https://github.com/supabase/realtime-js/blob/527f3fb92e2d3a37544bdbecac3646db0f78dd6f/src/RealtimeChannel.ts#L111" + "url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L111" } ], "type": { @@ -9498,19 +9760,19 @@ "groups": [ { "title": "Enumerations", - "children": [618, 623, 628, 632] + "children": [629, 634, 639, 643] }, { "title": "Classes", - "children": [65, 372, 1] + "children": [59, 369, 1] }, { "title": "Type Aliases", - "children": [359, 371, 515, 540, 547, 554, 578, 559, 569, 588, 598, 608, 617] + "children": [355, 368, 526, 551, 558, 565, 589, 570, 580, 599, 609, 619, 628] }, { "title": "Variables", - "children": [637] + "children": [648] } ], "packageName": "@supabase/realtime-js", @@ -9713,98 +9975,118 @@ "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "36": { + "30": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.__constructor" }, - "37": { + "31": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default" }, - "38": { + "32": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "channel" }, - "39": { + "33": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "opts" }, - "40": { + "34": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.state" }, - "41": { - "sourceFileName": "", - "qualifiedName": "__type" - }, - "42": { + "35": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.pendingDiffs" }, - "43": { + "36": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.joinRef" }, - "44": { + "37": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "default.enabled" + }, + "38": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.caller" }, - "45": { + "39": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "46": { + "40": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onJoin" }, - "47": { + "41": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onLeave" }, - "48": { + "42": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type.onSync" }, - "49": { + "43": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "50": { + "44": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, - "51": { + "45": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "default.channel" }, - "65": { + "59": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "76": { + "70": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.__constructor" }, - "77": { + "71": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default" }, - "78": { + "72": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "topic" }, - "79": { + "73": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "params" }, - "80": { + "74": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "socket" }, - "81": { + "75": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.bindings" }, + "76": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "77": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "79": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "80": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.type" + }, + "81": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.filter" + }, "82": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" @@ -9815,160 +10097,160 @@ }, "85": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.callback" }, "86": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type.id" }, "87": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" + "qualifiedName": "default.timeout" }, "88": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.state" }, "89": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "91": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.callback" - }, - "92": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.id" - }, - "93": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.timeout" - }, - "94": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.state" - }, - "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinedOnce" }, - "96": { + "90": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.joinPush" }, - "97": { + "91": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.rejoinTimer" }, - "98": { + "92": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.pushBuffer" }, - "99": { + "93": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presence" }, - "100": { + "94": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.broadcastEndpointURL" }, - "101": { + "95": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subTopic" }, - "102": { + "96": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.private" }, - "103": { + "97": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.topic" }, - "104": { + "98": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.params" }, - "105": { + "99": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.socket" }, - "106": { + "100": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "107": { + "101": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.subscribe" }, - "108": { + "102": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, - "109": { + "103": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "110": { + "104": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "111": { + "105": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "status" }, - "112": { + "106": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "err" }, - "113": { + "107": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "timeout" }, - "114": { + "108": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "115": { + "109": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.presenceState" }, - "116": { + "110": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, - "117": { + "111": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "118": { + "112": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "120": { + "114": { "sourceFileName": "", "qualifiedName": "__type" }, - "121": { + "115": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "122": { + "116": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.track" }, - "123": { + "117": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "124": { + "118": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "125": { + "119": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, + "121": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "opts" + }, + "122": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "125": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, + "126": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.untrack" + }, "127": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "opts" @@ -9983,303 +10265,307 @@ }, "131": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "132": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.untrack" + "qualifiedName": "default.on" }, "133": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "type" }, "134": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "filter" }, "135": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" }, "137": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "callback" }, "138": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "139": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "140": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "default.on" }, "141": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "142": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "143": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "144": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "145": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "type" }, "146": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "147": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "148": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "149": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "150": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "151": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "152": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "153": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "154": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "155": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "156": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "157": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "158": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "159": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "160": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type" }, "161": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "162": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "callback" + }, + "163": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "164": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "165": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "166": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "167": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "T" }, "168": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type" }, "169": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "170": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "171": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "type" }, "172": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "filter" }, "173": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "callback" }, "174": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "175": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "177": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "178": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "179": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "180": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "181": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "182": { + "176": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "183": { + "177": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "184": { + "178": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "179": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "180": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "182": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "183": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "184": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "185": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "186": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "188": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "189": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "190": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "191": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "192": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "193": { + "187": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "194": { + "188": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "195": { + "189": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "190": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "191": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "193": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "194": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "195": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "196": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "197": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "199": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "200": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" - }, - "201": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" - }, - "202": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "203": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "204": { + "198": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "payload" }, - "205": { + "199": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "default.on" }, - "206": { + "200": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "T" }, + "201": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "202": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" + }, + "204": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "type" + }, + "205": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "filter" + }, + "206": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, "207": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "208": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "209": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" }, "210": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "default.on" }, "211": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "type" }, "212": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "filter" }, "213": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10287,23 +10573,23 @@ }, "214": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "215": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "callback" }, "216": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" + "qualifiedName": "__type" }, "217": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" + "qualifiedName": "__type" }, "218": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "filter" + "qualifiedName": "payload" }, "219": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10311,87 +10597,87 @@ }, "220": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "221": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "222": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "223": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "224": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "default.on" }, "225": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "226": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "227": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "228": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type.__index" }, - "230": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "231": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "232": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "233": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "235": { + "229": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "type" }, - "236": { + "230": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, + "231": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "232": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.event" + }, + "233": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "callback" + }, + "234": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "235": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "236": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, "237": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "238": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.type" }, "239": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "callback" + "qualifiedName": "__type.event" }, "240": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.payload" }, "241": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.on" }, "242": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "T" }, "243": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10399,95 +10685,91 @@ }, "244": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" - }, - "245": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.__index" }, "246": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "type" }, "247": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.on" - }, - "248": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "249": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "250": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, - "252": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "type" - }, - "253": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "filter" }, - "254": { + "248": { "sourceFileName": "", "qualifiedName": "__type" }, - "255": { + "249": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "callback" }, + "250": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "251": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "252": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "payload" + }, + "253": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "254": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.send" + }, + "255": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "args" + }, "256": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, "257": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.type" }, "258": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "__type.event" }, "259": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" + "qualifiedName": "__type.payload" }, "260": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.send" - }, - "261": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "args" + "qualifiedName": "__type.__index" }, "262": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "opts" }, "263": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.type" + "qualifiedName": "__type" }, "264": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "265": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.__index" }, "266": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.updateJoinPayload" + }, + "267": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "default.updateJoinPayload" }, "268": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "opts" + "qualifiedName": "payload" }, "269": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10499,39 +10781,43 @@ }, "272": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "273": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.updateJoinPayload" + "qualifiedName": "default.unsubscribe" }, "274": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "payload" + "qualifiedName": "timeout" }, "275": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "default.teardown" }, "276": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "default.teardown" }, - "278": { + "355": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "RealtimeChannelOptions" }, - "279": { + "356": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "default.unsubscribe" + "qualifiedName": "__type" }, - "280": { + "357": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "timeout" + "qualifiedName": "__type.config" + }, + "358": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "359": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimeChannelOptions" + "qualifiedName": "__type.broadcast" }, "360": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10539,15 +10825,15 @@ }, "361": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.config" + "qualifiedName": "__type.self" }, "362": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.ack" }, "363": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.broadcast" + "qualifiedName": "__type.presence" }, "364": { "sourceFileName": "src/RealtimeChannel.ts", @@ -10555,187 +10841,187 @@ }, "365": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.self" + "qualifiedName": "__type.key" }, "366": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.ack" + "qualifiedName": "__type.enabled" }, "367": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.presence" + "qualifiedName": "__type.private" }, "368": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "369": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.key" - }, - "370": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.private" - }, - "371": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimeChannelSendResponse" }, - "372": { + "369": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "373": { + "370": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.__constructor" }, - "374": { + "371": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default" }, - "375": { + "372": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "endPoint" }, - "376": { + "373": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "options" }, - "377": { + "374": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.accessTokenValue" }, - "378": { + "375": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.apiKey" }, - "379": { + "376": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.channels" }, - "380": { + "377": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.endPoint" }, - "381": { + "378": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.httpEndpoint" }, - "382": { + "379": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.headers" }, - "383": { + "380": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "384": { + "381": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "386": { + "383": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.params" }, - "387": { + "384": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, - "388": { + "385": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type.__index" }, - "390": { + "387": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.timeout" }, - "391": { + "388": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.transport" }, - "392": { + "389": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatIntervalMs" }, - "393": { + "390": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.heartbeatTimer" }, - "394": { + "391": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.pendingHeartbeatRef" }, - "395": { + "392": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.ref" + "qualifiedName": "default.heartbeatCallback" }, - "396": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectTimer" - }, - "397": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logger" - }, - "398": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.logLevel" - }, - "399": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.encode" - }, - "400": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.decode" - }, - "401": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.reconnectAfterMs" - }, - "402": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.conn" - }, - "403": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendBuffer" - }, - "404": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.serializer" - }, - "405": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.stateChangeCallbacks" - }, - "406": { + "393": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "__type" }, + "394": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "395": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "396": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.ref" + }, + "397": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectTimer" + }, + "398": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logger" + }, + "399": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.logLevel" + }, + "400": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.encode" + }, + "401": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.decode" + }, + "402": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.reconnectAfterMs" + }, + "403": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.conn" + }, + "404": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.sendBuffer" + }, + "405": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.serializer" + }, + "406": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.stateChangeCallbacks" + }, "407": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.open" + "qualifiedName": "__type" }, "408": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.close" + "qualifiedName": "__type.open" }, "409": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.error" + "qualifiedName": "__type.close" }, "410": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.message" + "qualifiedName": "__type.error" }, "411": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.fetch" + "qualifiedName": "__type.message" }, "412": { - "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.fetch" }, "413": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", @@ -10743,31 +11029,31 @@ }, "414": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "415": { "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "416": { - "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "fetch" + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "init" }, "417": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "input" + "qualifiedName": "fetch" }, "418": { "sourceFileName": "node_modules/@types/node/globals.d.ts", - "qualifiedName": "init" + "qualifiedName": "input" }, "419": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.accessToken" + "sourceFileName": "node_modules/@types/node/globals.d.ts", + "qualifiedName": "init" }, "420": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.accessToken" }, "421": { "sourceFileName": "src/RealtimeClient.ts", @@ -10775,19 +11061,19 @@ }, "422": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.worker" + "qualifiedName": "__type" }, "423": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerUrl" + "qualifiedName": "default.worker" }, "424": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.workerRef" + "qualifiedName": "default.workerUrl" }, "425": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connect" + "qualifiedName": "default.workerRef" }, "426": { "sourceFileName": "src/RealtimeClient.ts", @@ -10795,7 +11081,7 @@ }, "427": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.endpointURL" + "qualifiedName": "default.connect" }, "428": { "sourceFileName": "src/RealtimeClient.ts", @@ -10803,7 +11089,7 @@ }, "429": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.disconnect" + "qualifiedName": "default.endpointURL" }, "430": { "sourceFileName": "src/RealtimeClient.ts", @@ -10811,15 +11097,15 @@ }, "431": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "code" + "qualifiedName": "default.disconnect" }, "432": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "reason" + "qualifiedName": "code" }, "433": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.getChannels" + "qualifiedName": "reason" }, "434": { "sourceFileName": "src/RealtimeClient.ts", @@ -10827,7 +11113,7 @@ }, "435": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeChannel" + "qualifiedName": "default.getChannels" }, "436": { "sourceFileName": "src/RealtimeClient.ts", @@ -10835,11 +11121,11 @@ }, "437": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "channel" + "qualifiedName": "default.removeChannel" }, "438": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.removeAllChannels" + "qualifiedName": "channel" }, "439": { "sourceFileName": "src/RealtimeClient.ts", @@ -10847,7 +11133,7 @@ }, "440": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.log" + "qualifiedName": "default.removeAllChannels" }, "441": { "sourceFileName": "src/RealtimeClient.ts", @@ -10855,19 +11141,19 @@ }, "442": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "kind" + "qualifiedName": "default.log" }, "443": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "msg" + "qualifiedName": "kind" }, "444": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "msg" }, "445": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.connectionState" + "qualifiedName": "data" }, "446": { "sourceFileName": "src/RealtimeClient.ts", @@ -10875,7 +11161,7 @@ }, "447": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.isConnected" + "qualifiedName": "default.connectionState" }, "448": { "sourceFileName": "src/RealtimeClient.ts", @@ -10883,7 +11169,7 @@ }, "449": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.channel" + "qualifiedName": "default.isConnected" }, "450": { "sourceFileName": "src/RealtimeClient.ts", @@ -10891,15 +11177,15 @@ }, "451": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "topic" + "qualifiedName": "default.channel" }, "452": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "params" + "qualifiedName": "topic" }, "453": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.push" + "qualifiedName": "params" }, "454": { "sourceFileName": "src/RealtimeClient.ts", @@ -10907,11 +11193,11 @@ }, "455": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "data" + "qualifiedName": "default.push" }, "456": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.setAuth" + "qualifiedName": "data" }, "457": { "sourceFileName": "src/RealtimeClient.ts", @@ -10919,11 +11205,11 @@ }, "458": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "token" + "qualifiedName": "default.setAuth" }, "459": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.sendHeartbeat" + "qualifiedName": "token" }, "460": { "sourceFileName": "src/RealtimeClient.ts", @@ -10931,235 +11217,223 @@ }, "461": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "default.flushSendBuffer" + "qualifiedName": "default.sendHeartbeat" }, "462": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "463": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "default.onHeartbeat" + }, + "464": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "callback" + }, + "465": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "466": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "467": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "status" + }, + "468": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "default.flushSendBuffer" }, - "515": { + "469": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeClientOptions" - }, - "516": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "517": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.transport" - }, - "518": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.timeout" - }, - "519": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.heartbeatIntervalMs" - }, - "520": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logger" - }, - "521": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.encode" - }, - "522": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.decode" - }, - "523": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.reconnectAfterMs" - }, - "524": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.headers" - }, - "525": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "default.flushSendBuffer" }, "526": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "RealtimeClientOptions" + }, + "527": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" }, "528": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.params" + "qualifiedName": "__type.transport" }, "529": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.timeout" }, "530": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.heartbeatIntervalMs" + }, + "531": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.logger" }, "532": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.log_level" + "qualifiedName": "__type.encode" }, "533": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.logLevel" + "qualifiedName": "__type.decode" }, "534": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.fetch" + "qualifiedName": "__type.reconnectAfterMs" }, "535": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.worker" + "qualifiedName": "__type.headers" }, "536": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.workerUrl" + "qualifiedName": "__type" }, "537": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.accessToken" - }, - "538": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "539": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.params" }, "540": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "RealtimeMessage" + "qualifiedName": "__type" }, "541": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type" - }, - "542": { - "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.topic" + "qualifiedName": "__type.__index" }, "543": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type.log_level" }, "544": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.payload" + "qualifiedName": "__type.logLevel" }, "545": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.ref" + "qualifiedName": "__type.fetch" }, "546": { "sourceFileName": "src/RealtimeClient.ts", - "qualifiedName": "__type.join_ref" + "qualifiedName": "__type.worker" }, "547": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.workerUrl" + }, + "548": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.accessToken" + }, + "549": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "550": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "551": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "RealtimeMessage" + }, + "552": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type" + }, + "553": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.topic" + }, + "554": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.event" + }, + "555": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.payload" + }, + "556": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.ref" + }, + "557": { + "sourceFileName": "src/RealtimeClient.ts", + "qualifiedName": "__type.join_ref" + }, + "558": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "RealtimePostgresChangesFilter" }, - "548": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "549": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.event" - }, - "550": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.schema" - }, - "551": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.table" - }, - "552": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.filter" - }, - "553": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "554": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresChangesPayload" - }, - "555": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" - }, - "556": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" - }, - "557": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" - }, "559": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresInsertPayload" + "qualifiedName": "__type" }, "560": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.event" }, "561": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type.schema" }, "562": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.table" }, "563": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.filter" }, "564": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "565": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "RealtimePostgresChangesPayload" }, "566": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "567": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "569": { + "568": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresUpdatePayload" + "qualifiedName": "__type.__index" }, "570": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePostgresInsertPayload" }, "571": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "__type" }, "572": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type.eventType" }, "573": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "574": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "575": { "sourceFileName": "src/RealtimeChannel.ts", @@ -11167,225 +11441,265 @@ }, "576": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "T" + }, + "577": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" }, "578": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "RealtimePostgresDeletePayload" - }, - "579": { - "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.__index" }, "580": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.eventType" + "qualifiedName": "RealtimePostgresUpdatePayload" }, "581": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.new" + "qualifiedName": "__type" }, "582": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.eventType" }, "583": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.old" + "qualifiedName": "__type.new" }, "584": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "T" + "qualifiedName": "__type.old" }, "585": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "586": { "sourceFileName": "src/RealtimeChannel.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "588": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceJoinPayload" + "587": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "589": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "RealtimePostgresDeletePayload" }, "590": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" - }, - "591": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" - }, - "592": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" - }, - "593": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.newPresences" - }, - "594": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" - }, - "595": { - "sourceFileName": "src/RealtimePresence.ts", + "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "__type" }, - "596": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "591": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.eventType" }, - "598": { - "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceLeavePayload" + "592": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.new" + }, + "593": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "594": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.old" + }, + "595": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "T" + }, + "596": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type" + }, + "597": { + "sourceFileName": "src/RealtimeChannel.ts", + "qualifiedName": "__type.__index" }, "599": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceJoinPayload" }, "600": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.event" + "qualifiedName": "__type" }, "601": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.key" + "qualifiedName": "__type.event" }, "602": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.currentPresences" + "qualifiedName": "__type.key" }, "603": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.leftPresences" + "qualifiedName": "__type.currentPresences" }, "604": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.newPresences" }, "605": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "T" }, "606": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" }, - "608": { + "607": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "RealtimePresenceState" + "qualifiedName": "__type.__index" }, "609": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "RealtimePresenceLeavePayload" }, "610": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type" + }, + "611": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.event" }, "612": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "T" + "qualifiedName": "__type.key" }, "613": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type" + "qualifiedName": "__type.currentPresences" }, "614": { "sourceFileName": "src/RealtimePresence.ts", - "qualifiedName": "__type.__index" + "qualifiedName": "__type.leftPresences" + }, + "615": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" }, "616": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "__type" }, "617": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "619": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "RealtimePresenceState" + }, + "620": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "621": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "623": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "T" + }, + "624": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "625": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type.__index" + }, + "627": { + "sourceFileName": "src/RealtimePresence.ts", + "qualifiedName": "__type" + }, + "628": { "sourceFileName": "src/RealtimeClient.ts", "qualifiedName": "RealtimeRemoveChannelResponse" }, - "618": { + "629": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES" }, - "619": { + "630": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST" }, - "620": { + "631": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE" }, - "621": { + "632": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES" }, - "622": { + "633": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM" }, - "623": { + "634": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT" }, - "624": { + "635": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL" }, - "625": { + "636": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT" }, - "626": { + "637": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE" }, - "627": { + "638": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE" }, - "628": { + "639": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS" }, - "629": { + "640": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC" }, - "630": { + "641": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN" }, - "631": { + "642": { "sourceFileName": "src/RealtimePresence.ts", "qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE" }, - "632": { + "643": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES" }, - "633": { + "644": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED" }, - "634": { + "645": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT" }, - "635": { + "646": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED" }, - "636": { + "647": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR" }, - "637": { + "648": { "sourceFileName": "src/RealtimeChannel.ts", "qualifiedName": "REALTIME_CHANNEL_STATES" } diff --git a/apps/docs/spec/enrichments/tsdoc_v2/storage.json b/apps/docs/spec/enrichments/tsdoc_v2/storage.json index 88fdb1b72c9..ef7a269196d 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/storage.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/storage.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 498, + "id": 504, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 499, + "id": 505, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,20 +28,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 17, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 500, + "id": 506, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 501, + "id": 507, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 502, + "id": 508, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -61,28 +61,39 @@ "type": "intrinsic", "name": "number" } + }, + { + "id": 509, + "name": "statusCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 503, + "id": 510, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +111,25 @@ } }, { - "id": 504, + "id": 511, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -108,13 +137,13 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 23, + "line": 25, "character": 2 } ], "signatures": [ { - "id": 505, + "id": 513, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +151,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 508, + "id": 516, "name": "message", "kind": 1024, "kindString": "Property", @@ -137,7 +166,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 26, + "line": 28, "character": 6 } ], @@ -148,30 +177,11 @@ "defaultValue": "..." }, { - "id": 507, + "id": 515, "name": "name", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 509, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/errors.ts", @@ -179,18 +189,56 @@ "character": 6 } ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 517, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 29, + "character": 6 + } + ], "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "..." + }, + { + "id": 518, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 30, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [508, 507, 509] + "children": [516, 515, 517, 518] } ] } @@ -203,17 +251,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [505] }, { "title": "Properties", "kind": 1024, - "children": [503] + "children": [510, 511] }, { "title": "Methods", "kind": 2048, - "children": [504] + "children": [512] } ], "sources": [ @@ -226,20 +274,20 @@ "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 333, + "id": 335, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 334, + "id": 336, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -247,20 +295,20 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 6, + "line": 10, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 337, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 338, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -271,7 +319,7 @@ } }, { - "id": 337, + "id": 339, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -279,20 +327,20 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 339, + "id": 341, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 340, + "id": 342, "name": "key", "kind": 32768, "flags": {}, @@ -312,7 +360,7 @@ "defaultValue": "{}" }, { - "id": 341, + "id": 343, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -322,21 +370,21 @@ "type": { "type": "reflection", "declaration": { - "id": 342, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 343, + "id": 345, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 344, + "id": 346, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -349,7 +397,7 @@ } }, { - "id": 345, + "id": 347, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -382,11 +430,24 @@ ] } } + }, + { + "id": 348, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" }, "overwrites": { @@ -403,7 +464,7 @@ } }, { - "id": 376, + "id": 379, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -411,24 +472,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 377, + "id": 380, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 378, + "id": 381, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -442,7 +503,7 @@ } }, { - "id": 379, + "id": 382, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -450,14 +511,14 @@ "type": { "type": "reflection", "declaration": { - "id": 380, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 386, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -470,7 +531,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -492,7 +553,7 @@ } }, { - "id": 382, + "id": 385, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -505,7 +566,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -528,7 +589,7 @@ } }, { - "id": 381, + "id": 384, "name": "public", "kind": 1024, "kindString": "Property", @@ -539,7 +600,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -547,13 +608,37 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 387, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [383, 382, 381] + "children": [386, 385, 384, 387] } ] } @@ -570,14 +655,14 @@ { "type": "reflection", "declaration": { - "id": 384, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 385, + "id": 389, "name": "data", "kind": 1024, "kindString": "Property", @@ -585,7 +670,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -594,7 +679,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -608,7 +693,7 @@ } }, { - "id": 386, + "id": 390, "name": "error", "kind": 1024, "kindString": "Property", @@ -616,7 +701,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -630,7 +715,7 @@ { "title": "Properties", "kind": 1024, - "children": [385, 386] + "children": [389, 390] } ] } @@ -638,14 +723,14 @@ { "type": "reflection", "declaration": { - "id": 387, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 388, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -653,7 +738,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -663,7 +748,7 @@ } }, { - "id": 389, + "id": 393, "name": "error", "kind": 1024, "kindString": "Property", @@ -671,13 +756,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -686,7 +771,7 @@ { "title": "Properties", "kind": 1024, - "children": [388, 389] + "children": [392, 393] } ] } @@ -700,19 +785,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 45, "name": "default.createBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "default.createBucket" } }, { - "id": 417, + "id": 421, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -720,13 +805,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 418, + "id": 422, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -736,7 +821,7 @@ }, "parameters": [ { - "id": 419, + "id": 423, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -759,14 +844,14 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 421, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -774,21 +859,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 422, + "id": 426, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 423, + "id": 427, "name": "message", "kind": 1024, "kindString": "Property", @@ -796,7 +881,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -810,14 +895,14 @@ { "title": "Properties", "kind": 1024, - "children": [423] + "children": [427] } ] } } }, { - "id": 424, + "id": 428, "name": "error", "kind": 1024, "kindString": "Property", @@ -825,7 +910,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -839,7 +924,7 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424] + "children": [425, 428] } ] } @@ -847,14 +932,14 @@ { "type": "reflection", "declaration": { - "id": 425, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 430, "name": "data", "kind": 1024, "kindString": "Property", @@ -862,7 +947,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -872,7 +957,7 @@ } }, { - "id": 427, + "id": 431, "name": "error", "kind": 1024, "kindString": "Property", @@ -880,13 +965,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -895,7 +980,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 427] + "children": [430, 431] } ] } @@ -909,19 +994,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "default.deleteBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 84, + "id": 86, "name": "default.deleteBucket" } }, { - "id": 406, + "id": 410, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -929,13 +1014,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 407, + "id": 411, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -945,7 +1030,7 @@ }, "parameters": [ { - "id": 408, + "id": 412, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -968,14 +1053,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 413, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 414, "name": "data", "kind": 1024, "kindString": "Property", @@ -983,21 +1068,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 415, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 412, + "id": 416, "name": "message", "kind": 1024, "kindString": "Property", @@ -1005,7 +1090,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -1019,14 +1104,14 @@ { "title": "Properties", "kind": 1024, - "children": [412] + "children": [416] } ] } } }, { - "id": 413, + "id": 417, "name": "error", "kind": 1024, "kindString": "Property", @@ -1034,7 +1119,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -1048,7 +1133,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 413] + "children": [414, 417] } ] } @@ -1056,14 +1141,14 @@ { "type": "reflection", "declaration": { - "id": 414, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 415, + "id": 419, "name": "data", "kind": 1024, "kindString": "Property", @@ -1071,7 +1156,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -1081,7 +1166,7 @@ } }, { - "id": 416, + "id": 420, "name": "error", "kind": 1024, "kindString": "Property", @@ -1089,13 +1174,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -1104,7 +1189,7 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416] + "children": [419, 420] } ] } @@ -1118,19 +1203,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 74, + "id": 76, "name": "default.emptyBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 75, "name": "default.emptyBucket" } }, { - "id": 346, + "id": 349, "name": "from", "kind": 2048, "kindString": "Method", @@ -1138,13 +1223,13 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 15, + "line": 24, "character": 2 } ], "signatures": [ { - "id": 347, + "id": 350, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1154,7 +1239,7 @@ }, "parameters": [ { - "id": 348, + "id": 351, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1170,14 +1255,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 367, + "id": 370, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -1185,13 +1270,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 368, + "id": 371, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -1201,7 +1286,7 @@ }, "parameters": [ { - "id": 369, + "id": 372, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1221,62 +1306,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 370, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 371, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - }, - { - "id": 372, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [371, 372] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -1295,13 +1324,14 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 69, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 433, + "name": "Bucket" } }, { @@ -1313,14 +1343,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 70, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -1332,6 +1361,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 377, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 73, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 378, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 74, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [377, 378] + } + ] + } } ] } @@ -1342,19 +1427,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 35, + "id": 36, "name": "default.getBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 34, + "id": 35, "name": "default.getBucket" } }, { - "id": 359, + "id": 362, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -1362,13 +1447,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 363, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -1382,65 +1467,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 361, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 362, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - } - }, - { - "id": 363, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [362, 363] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -1459,13 +1485,17 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 40, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "array", + "elementType": { + "type": "reference", + "id": 433, + "name": "Bucket" + } } }, { @@ -1477,14 +1507,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 41, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -1496,6 +1525,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 367, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 44, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 369, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 45, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 369] + } + ] + } } ] } @@ -1506,19 +1591,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 27, + "id": 28, "name": "default.listBuckets" } } ], "inheritedFrom": { "type": "reference", - "id": 26, + "id": 27, "name": "default.listBuckets" } }, { - "id": 390, + "id": 394, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1526,13 +1611,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 391, + "id": 395, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1542,7 +1627,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1556,7 +1641,7 @@ } }, { - "id": 393, + "id": 397, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1564,14 +1649,14 @@ "type": { "type": "reflection", "declaration": { - "id": 394, + "id": 398, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 401, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -1584,7 +1669,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -1606,7 +1691,7 @@ } }, { - "id": 396, + "id": 400, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -1619,7 +1704,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -1642,7 +1727,7 @@ } }, { - "id": 395, + "id": 399, "name": "public", "kind": 1024, "kindString": "Property", @@ -1653,7 +1738,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -1667,7 +1752,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 396, 395] + "children": [401, 400, 399] } ] } @@ -1683,14 +1768,14 @@ { "type": "reflection", "declaration": { - "id": 398, + "id": 402, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 399, + "id": 403, "name": "data", "kind": 1024, "kindString": "Property", @@ -1698,21 +1783,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 400, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 401, + "id": 405, "name": "message", "kind": 1024, "kindString": "Property", @@ -1720,7 +1805,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -1734,14 +1819,14 @@ { "title": "Properties", "kind": 1024, - "children": [401] + "children": [405] } ] } } }, { - "id": 402, + "id": 406, "name": "error", "kind": 1024, "kindString": "Property", @@ -1749,7 +1834,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -1763,7 +1848,7 @@ { "title": "Properties", "kind": 1024, - "children": [399, 402] + "children": [403, 406] } ] } @@ -1771,14 +1856,14 @@ { "type": "reflection", "declaration": { - "id": 403, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 404, + "id": 408, "name": "data", "kind": 1024, "kindString": "Property", @@ -1786,7 +1871,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -1796,7 +1881,7 @@ } }, { - "id": 405, + "id": 409, "name": "error", "kind": 1024, "kindString": "Property", @@ -1804,13 +1889,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -1819,7 +1904,7 @@ { "title": "Properties", "kind": 1024, - "children": [404, 405] + "children": [408, 409] } ] } @@ -1833,14 +1918,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 58, + "id": 60, "name": "default.updateBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 57, + "id": 59, "name": "default.updateBucket" } } @@ -1849,18 +1934,18 @@ { "title": "Constructors", "kind": 512, - "children": [334] + "children": [336] }, { "title": "Methods", "kind": 2048, - "children": [376, 417, 406, 346, 367, 359, 390] + "children": [379, 421, 410, 349, 370, 362, 394] } ], "sources": [ { "fileName": "src/StorageClient.ts", - "line": 5, + "line": 9, "character": 13 } ], @@ -1873,14 +1958,14 @@ ] }, { - "id": 493, + "id": 499, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 494, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1894,14 +1979,14 @@ ], "signatures": [ { - "id": 495, + "id": 501, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 502, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1914,7 +1999,7 @@ ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" }, "overwrites": { @@ -1933,7 +2018,7 @@ { "title": "Constructors", "kind": 512, - "children": [494] + "children": [500] } ], "sources": [ @@ -1954,25 +2039,25 @@ "extendedBy": [ { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" } ] }, { - "id": 511, + "id": 520, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 512, + "id": 521, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1980,20 +2065,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 35, + "line": 38, "character": 2 } ], "signatures": [ { - "id": 513, + "id": 522, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 523, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2004,7 +2089,7 @@ } }, { - "id": 515, + "id": 524, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2017,24 +2102,24 @@ ], "type": { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 516, + "id": 525, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2042,7 +2127,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 33, + "line": 36, "character": 2 } ], @@ -2056,38 +2141,38 @@ { "title": "Constructors", "kind": 512, - "children": [512] + "children": [521] }, { "title": "Properties", "kind": 1024, - "children": [516] + "children": [525] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 32, + "line": 35, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 428, + "id": 433, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 433, + "id": 439, "name": "allowed_mime_types", "kind": 1024, "kindString": "Property", @@ -2097,7 +2182,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 9, "character": 2 } ], @@ -2110,7 +2195,7 @@ } }, { - "id": 434, + "id": 440, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2118,7 +2203,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 10, "character": 2 } ], @@ -2128,7 +2213,7 @@ } }, { - "id": 432, + "id": 438, "name": "file_size_limit", "kind": 1024, "kindString": "Property", @@ -2138,7 +2223,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 8, "character": 2 } ], @@ -2148,47 +2233,11 @@ } }, { - "id": 429, + "id": 434, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2203,6 +2252,42 @@ }, { "id": 436, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, "name": "public", "kind": 1024, "kindString": "Property", @@ -2210,7 +2295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 9, + "line": 12, "character": 2 } ], @@ -2221,6 +2306,27 @@ }, { "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType" + } + }, + { + "id": 441, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2228,7 +2334,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 8, + "line": 11, "character": 2 } ], @@ -2242,26 +2348,26 @@ { "title": "Properties", "kind": 1024, - "children": [433, 434, 432, 429, 430, 431, 436, 435] + "children": [439, 440, 438, 434, 436, 437, 442, 435, 441] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 3, "character": 17 } ] }, { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -2271,7 +2377,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -2285,26 +2391,26 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] }, { - "id": 478, + "id": 484, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 479, + "id": 485, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2317,7 +2423,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 2 } ], @@ -2333,26 +2439,26 @@ { "title": "Properties", "kind": 1024, - "children": [479] + "children": [485] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 104, "character": 17 } ] }, { - "id": 437, + "id": 443, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 439, + "id": 445, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -2360,7 +2466,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 14, + "line": 17, "character": 2 } ], @@ -2370,11 +2476,30 @@ } }, { - "id": 446, + "id": 452, "name": "buckets", "kind": 1024, "kindString": "Property", "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 24, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 433, + "name": "Bucket" + } + }, + { + "id": 449, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2382,54 +2507,17 @@ "character": 2 } ], - "type": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - }, - { - "id": 443, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 18, - "character": 2 - } - ], "type": { "type": "intrinsic", "name": "string" } }, { - "id": 441, + "id": 447, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 444, - "name": "last_accessed_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2443,7 +2531,25 @@ } }, { - "id": 445, + "id": 450, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -2451,7 +2557,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 20, + "line": 23, "character": 2 } ], @@ -2473,7 +2579,7 @@ } }, { - "id": 438, + "id": 444, "name": "name", "kind": 1024, "kindString": "Property", @@ -2481,7 +2587,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 13, + "line": 16, "character": 2 } ], @@ -2491,7 +2597,7 @@ } }, { - "id": 440, + "id": 446, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2499,7 +2605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 18, "character": 2 } ], @@ -2509,7 +2615,7 @@ } }, { - "id": 442, + "id": 448, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2517,7 +2623,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 17, + "line": 20, "character": 2 } ], @@ -2531,141 +2637,27 @@ { "title": "Properties", "kind": 1024, - "children": [439, 446, 443, 441, 444, 445, 438, 440, 442] + "children": [445, 452, 449, 447, 450, 451, 444, 446, 448] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 12, + "line": 15, "character": 17 } ] }, { - "id": 447, + "id": 453, "name": "FileObjectV2", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ - { - "id": 451, - "name": "bucket_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 456, - "name": "cache_control", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, { "id": 457, - "name": "content_type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "etag", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 454, - "name": "last_accessed_at", + "name": "bucket_id", "kind": 1024, "kindString": "Property", "flags": {}, @@ -2682,8 +2674,8 @@ } }, { - "id": 459, - "name": "last_modified", + "id": 462, + "name": "cache_control", "kind": 1024, "kindString": "Property", "flags": { @@ -2702,8 +2694,8 @@ } }, { - "id": 460, - "name": "metadata", + "id": 463, + "name": "content_type", "kind": 1024, "kindString": "Property", "flags": { @@ -2716,6 +2708,120 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 464, + "name": "etag", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 465, + "name": "last_modified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 40, + "character": 2 + } + ], "type": { "type": "reference", "typeArguments": [ @@ -2734,7 +2840,7 @@ } }, { - "id": 450, + "id": 456, "name": "name", "kind": 1024, "kindString": "Property", @@ -2742,7 +2848,45 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 30, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 458, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 32, "character": 2 } ], @@ -2753,27 +2897,7 @@ }, { "id": 455, - "name": "size", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 452, - "name": "updated_at", + "name": "version", "kind": 1024, "kindString": "Property", "flags": {}, @@ -2788,50 +2912,32 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "version", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [451, 456, 457, 453, 458, 448, 454, 459, 460, 450, 455, 452, 449] + "children": [457, 462, 463, 459, 464, 454, 460, 465, 466, 456, 461, 458, 455] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 24, + "line": 27, "character": 17 } ] }, { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -2844,7 +2950,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -2854,7 +2960,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -2867,7 +2973,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -2877,7 +2983,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -2890,7 +2996,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -2900,7 +3006,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -2913,7 +3019,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -2935,7 +3041,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -2948,7 +3054,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -2970,7 +3076,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -2983,7 +3089,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -2997,26 +3103,26 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] }, { - "id": 480, + "id": 486, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 481, + "id": 487, "name": "name", "kind": 1024, "kindString": "Property", @@ -3024,7 +3130,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 113, "character": 2 } ], @@ -3038,26 +3144,26 @@ { "title": "Properties", "kind": 1024, - "children": [481] + "children": [487] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 108, + "line": 112, "character": 17 } ] }, { - "id": 473, + "id": 479, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 474, + "id": 480, "name": "limit", "kind": 1024, "kindString": "Property", @@ -3065,12 +3171,18 @@ "isOptional": true }, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -3080,7 +3192,7 @@ } }, { - "id": 475, + "id": 481, "name": "offset", "kind": 1024, "kindString": "Property", @@ -3093,7 +3205,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 91, "character": 2 } ], @@ -3103,7 +3215,7 @@ } }, { - "id": 477, + "id": 483, "name": "search", "kind": 1024, "kindString": "Property", @@ -3116,7 +3228,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 101, "character": 2 } ], @@ -3126,7 +3238,7 @@ } }, { - "id": 476, + "id": 482, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -3139,13 +3251,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 96, "character": 2 } ], "type": { "type": "reference", - "id": 461, + "id": 467, "name": "SortBy" } } @@ -3154,26 +3266,26 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 477, 476] + "children": [480, 481, 483, 482] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 81, "character": 17 } ] }, { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -3183,7 +3295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -3193,7 +3305,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -3203,7 +3315,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -3217,26 +3329,26 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] }, { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -3250,7 +3362,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -3260,7 +3372,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -3273,7 +3385,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -3283,7 +3395,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -3296,7 +3408,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -3306,7 +3418,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -3319,7 +3431,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -3342,7 +3454,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -3355,7 +3467,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -3369,19 +3481,46 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] }, { - "id": 488, + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + }, + { + "id": 494, "name": "Camelize", "kind": 4194304, "kindString": "Type alias", @@ -3389,13 +3528,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 147, + "line": 151, "character": 12 } ], "typeParameter": [ { - "id": 489, + "id": 495, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -3410,7 +3549,7 @@ "operator": "keyof", "target": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -3422,7 +3561,7 @@ }, "objectType": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -3451,7 +3590,7 @@ } }, { - "id": 490, + "id": 496, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -3465,14 +3604,14 @@ ], "signatures": [ { - "id": 491, + "id": 497, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 492, + "id": 498, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -3489,7 +3628,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -3501,22 +3640,22 @@ { "title": "Classes", "kind": 128, - "children": [498, 333, 493, 511] + "children": [504, 335, 499, 520] }, { "title": "Interfaces", "kind": 256, - "children": [428, 471, 478, 437, 447, 464, 480, 473, 461, 482] + "children": [433, 477, 484, 443, 453, 470, 486, 479, 467, 488] }, { "title": "Type Aliases", "kind": 4194304, - "children": [488] + "children": [432, 494] }, { "title": "Functions", "kind": 64, - "children": [490] + "children": [496] } ], "sources": [ @@ -3550,7 +3689,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, + "line": 13, "character": 2 } ], @@ -3685,6 +3824,19 @@ ] } } + }, + { + "id": 16, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { @@ -3696,7 +3848,7 @@ ] }, { - "id": 43, + "id": 44, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -3704,24 +3856,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 44, + "id": 45, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 45, + "id": 46, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -3735,7 +3887,7 @@ } }, { - "id": 46, + "id": 47, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3743,14 +3895,14 @@ "type": { "type": "reflection", "declaration": { - "id": 47, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 50, + "id": 51, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -3763,7 +3915,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -3785,7 +3937,7 @@ } }, { - "id": 49, + "id": 50, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -3798,7 +3950,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -3821,7 +3973,7 @@ } }, { - "id": 48, + "id": 49, "name": "public", "kind": 1024, "kindString": "Property", @@ -3832,7 +3984,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -3840,13 +3992,37 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 52, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType" + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [50, 49, 48] + "children": [51, 50, 49, 52] } ] } @@ -3863,14 +4039,14 @@ { "type": "reflection", "declaration": { - "id": 51, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 52, + "id": 54, "name": "data", "kind": 1024, "kindString": "Property", @@ -3878,7 +4054,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -3887,7 +4063,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -3901,7 +4077,7 @@ } }, { - "id": 53, + "id": 55, "name": "error", "kind": 1024, "kindString": "Property", @@ -3909,7 +4085,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -3923,7 +4099,7 @@ { "title": "Properties", "kind": 1024, - "children": [52, 53] + "children": [54, 55] } ] } @@ -3931,14 +4107,14 @@ { "type": "reflection", "declaration": { - "id": 54, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 55, + "id": 57, "name": "data", "kind": 1024, "kindString": "Property", @@ -3946,7 +4122,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -3956,7 +4132,7 @@ } }, { - "id": 56, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -3964,13 +4140,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -3979,7 +4155,7 @@ { "title": "Properties", "kind": 1024, - "children": [55, 56] + "children": [57, 58] } ] } @@ -3995,7 +4171,7 @@ ] }, { - "id": 84, + "id": 86, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -4003,13 +4179,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 85, + "id": 87, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -4019,7 +4195,7 @@ }, "parameters": [ { - "id": 86, + "id": 88, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4042,14 +4218,14 @@ { "type": "reflection", "declaration": { - "id": 87, + "id": 89, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 88, + "id": 90, "name": "data", "kind": 1024, "kindString": "Property", @@ -4057,21 +4233,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 89, + "id": 91, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 90, + "id": 92, "name": "message", "kind": 1024, "kindString": "Property", @@ -4079,7 +4255,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -4093,14 +4269,14 @@ { "title": "Properties", "kind": 1024, - "children": [90] + "children": [92] } ] } } }, { - "id": 91, + "id": 93, "name": "error", "kind": 1024, "kindString": "Property", @@ -4108,7 +4284,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -4122,7 +4298,7 @@ { "title": "Properties", "kind": 1024, - "children": [88, 91] + "children": [90, 93] } ] } @@ -4130,14 +4306,14 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 93, + "id": 95, "name": "data", "kind": 1024, "kindString": "Property", @@ -4145,7 +4321,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -4155,7 +4331,7 @@ } }, { - "id": 94, + "id": 96, "name": "error", "kind": 1024, "kindString": "Property", @@ -4163,13 +4339,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4178,7 +4354,7 @@ { "title": "Properties", "kind": 1024, - "children": [93, 94] + "children": [95, 96] } ] } @@ -4194,7 +4370,7 @@ ] }, { - "id": 73, + "id": 75, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -4202,13 +4378,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 74, + "id": 76, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -4218,7 +4394,7 @@ }, "parameters": [ { - "id": 75, + "id": 77, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4241,14 +4417,14 @@ { "type": "reflection", "declaration": { - "id": 76, + "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 77, + "id": 79, "name": "data", "kind": 1024, "kindString": "Property", @@ -4256,21 +4432,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 80, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 79, + "id": 81, "name": "message", "kind": 1024, "kindString": "Property", @@ -4278,7 +4454,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -4292,14 +4468,14 @@ { "title": "Properties", "kind": 1024, - "children": [79] + "children": [81] } ] } } }, { - "id": 80, + "id": 82, "name": "error", "kind": 1024, "kindString": "Property", @@ -4307,7 +4483,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -4321,7 +4497,7 @@ { "title": "Properties", "kind": 1024, - "children": [77, 80] + "children": [79, 82] } ] } @@ -4329,14 +4505,14 @@ { "type": "reflection", "declaration": { - "id": 81, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 82, + "id": 84, "name": "data", "kind": 1024, "kindString": "Property", @@ -4344,7 +4520,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -4354,7 +4530,7 @@ } }, { - "id": 83, + "id": 85, "name": "error", "kind": 1024, "kindString": "Property", @@ -4362,13 +4538,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4377,7 +4553,7 @@ { "title": "Properties", "kind": 1024, - "children": [82, 83] + "children": [84, 85] } ] } @@ -4393,7 +4569,7 @@ ] }, { - "id": 34, + "id": 35, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -4401,13 +4577,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 35, + "id": 36, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -4417,7 +4593,7 @@ }, "parameters": [ { - "id": 36, + "id": 37, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4440,14 +4616,14 @@ { "type": "reflection", "declaration": { - "id": 37, + "id": 38, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 38, + "id": 39, "name": "data", "kind": 1024, "kindString": "Property", @@ -4455,18 +4631,18 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, + "line": 69, "character": 8 } ], "type": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } }, { - "id": 39, + "id": 40, "name": "error", "kind": 1024, "kindString": "Property", @@ -4474,7 +4650,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, + "line": 70, "character": 8 } ], @@ -4488,7 +4664,7 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [39, 40] } ] } @@ -4496,14 +4672,14 @@ { "type": "reflection", "declaration": { - "id": 40, + "id": 41, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 41, + "id": 42, "name": "data", "kind": 1024, "kindString": "Property", @@ -4511,7 +4687,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 73, "character": 8 } ], @@ -4521,7 +4697,7 @@ } }, { - "id": 42, + "id": 43, "name": "error", "kind": 1024, "kindString": "Property", @@ -4529,13 +4705,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 74, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4544,7 +4720,7 @@ { "title": "Properties", "kind": 1024, - "children": [41, 42] + "children": [42, 43] } ] } @@ -4560,7 +4736,7 @@ ] }, { - "id": 26, + "id": 27, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -4568,13 +4744,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 27, + "id": 28, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -4591,14 +4767,14 @@ { "type": "reflection", "declaration": { - "id": 28, + "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 29, + "id": 30, "name": "data", "kind": 1024, "kindString": "Property", @@ -4606,7 +4782,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, + "line": 40, "character": 8 } ], @@ -4614,13 +4790,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } } }, { - "id": 30, + "id": 31, "name": "error", "kind": 1024, "kindString": "Property", @@ -4628,7 +4804,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, + "line": 41, "character": 8 } ], @@ -4642,7 +4818,7 @@ { "title": "Properties", "kind": 1024, - "children": [29, 30] + "children": [30, 31] } ] } @@ -4650,14 +4826,14 @@ { "type": "reflection", "declaration": { - "id": 31, + "id": 32, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 32, + "id": 33, "name": "data", "kind": 1024, "kindString": "Property", @@ -4665,7 +4841,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 44, "character": 8 } ], @@ -4675,7 +4851,7 @@ } }, { - "id": 33, + "id": 34, "name": "error", "kind": 1024, "kindString": "Property", @@ -4683,13 +4859,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 45, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4698,7 +4874,7 @@ { "title": "Properties", "kind": 1024, - "children": [32, 33] + "children": [33, 34] } ] } @@ -4714,7 +4890,7 @@ ] }, { - "id": 57, + "id": 59, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -4722,13 +4898,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 58, + "id": 60, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -4738,7 +4914,7 @@ }, "parameters": [ { - "id": 59, + "id": 61, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4752,7 +4928,7 @@ } }, { - "id": 60, + "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4760,14 +4936,14 @@ "type": { "type": "reflection", "declaration": { - "id": 61, + "id": 63, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 64, + "id": 66, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -4780,7 +4956,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -4802,7 +4978,7 @@ } }, { - "id": 63, + "id": 65, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -4815,7 +4991,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -4838,7 +5014,7 @@ } }, { - "id": 62, + "id": 64, "name": "public", "kind": 1024, "kindString": "Property", @@ -4849,7 +5025,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -4863,7 +5039,7 @@ { "title": "Properties", "kind": 1024, - "children": [64, 63, 62] + "children": [66, 65, 64] } ] } @@ -4879,14 +5055,14 @@ { "type": "reflection", "declaration": { - "id": 65, + "id": 67, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 66, + "id": 68, "name": "data", "kind": 1024, "kindString": "Property", @@ -4894,21 +5070,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 67, + "id": 69, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 68, + "id": 70, "name": "message", "kind": 1024, "kindString": "Property", @@ -4916,7 +5092,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -4930,14 +5106,14 @@ { "title": "Properties", "kind": 1024, - "children": [68] + "children": [70] } ] } } }, { - "id": 69, + "id": 71, "name": "error", "kind": 1024, "kindString": "Property", @@ -4945,7 +5121,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -4959,7 +5135,7 @@ { "title": "Properties", "kind": 1024, - "children": [66, 69] + "children": [68, 71] } ] } @@ -4967,14 +5143,14 @@ { "type": "reflection", "declaration": { - "id": 70, + "id": 72, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 73, "name": "data", "kind": 1024, "kindString": "Property", @@ -4982,7 +5158,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -4992,7 +5168,7 @@ } }, { - "id": 72, + "id": 74, "name": "error", "kind": 1024, "kindString": "Property", @@ -5000,13 +5176,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -5015,7 +5191,7 @@ { "title": "Properties", "kind": 1024, - "children": [71, 72] + "children": [73, 74] } ] } @@ -5040,20 +5216,20 @@ { "title": "Methods", "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] + "children": [44, 86, 75, 35, 27, 59] } ], "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 7, + "line": 8, "character": 21 } ], "extendedBy": [ { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" } ] @@ -5075,21 +5251,21 @@ ] }, { - "id": 95, + "id": 97, "name": "packages/StorageFileApi", "kind": 2, "kindString": "Module", "flags": {}, "children": [ { - "id": 96, + "id": 98, "name": "default", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 97, + "id": 99, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5103,14 +5279,14 @@ ], "signatures": [ { - "id": 98, + "id": 100, "name": "new default", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 99, + "id": 101, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -5121,7 +5297,7 @@ } }, { - "id": 100, + "id": 102, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -5129,20 +5305,20 @@ "type": { "type": "reflection", "declaration": { - "id": 101, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 102, + "id": 104, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 103, + "id": 105, "name": "key", "kind": 32768, "flags": {}, @@ -5162,7 +5338,7 @@ "defaultValue": "{}" }, { - "id": 104, + "id": 106, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -5175,7 +5351,7 @@ } }, { - "id": 105, + "id": 107, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -5185,21 +5361,21 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 107, + "id": 109, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 110, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -5212,7 +5388,7 @@ } }, { - "id": 109, + "id": 111, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -5249,14 +5425,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 211, + "id": 213, "name": "copy", "kind": 2048, "kindString": "Method", @@ -5264,13 +5440,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 373, + "line": 355, "character": 8 } ], "signatures": [ { - "id": 212, + "id": 214, "name": "copy", "kind": 4096, "kindString": "Call signature", @@ -5280,7 +5456,7 @@ }, "parameters": [ { - "id": 213, + "id": 215, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -5294,7 +5470,7 @@ } }, { - "id": 214, + "id": 216, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -5308,7 +5484,7 @@ } }, { - "id": 215, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5320,7 +5496,7 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions" } } @@ -5334,14 +5510,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 219, "name": "data", "kind": 1024, "kindString": "Property", @@ -5349,21 +5525,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 219, + "id": 221, "name": "path", "kind": 1024, "kindString": "Property", @@ -5371,7 +5547,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 16 } ], @@ -5385,14 +5561,14 @@ { "title": "Properties", "kind": 1024, - "children": [219] + "children": [221] } ] } } }, { - "id": 220, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -5400,7 +5576,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 380, + "line": 362, "character": 8 } ], @@ -5414,7 +5590,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 220] + "children": [219, 222] } ] } @@ -5422,14 +5598,14 @@ { "type": "reflection", "declaration": { - "id": 221, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -5437,7 +5613,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 383, + "line": 365, "character": 8 } ], @@ -5447,7 +5623,7 @@ } }, { - "id": 223, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -5455,13 +5631,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "line": 366, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -5470,7 +5646,7 @@ { "title": "Properties", "kind": 1024, - "children": [222, 223] + "children": [224, 225] } ] } @@ -5486,7 +5662,7 @@ ] }, { - "id": 167, + "id": 169, "name": "createSignedUploadUrl", "kind": 2048, "kindString": "Method", @@ -5494,13 +5670,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 243, + "line": 225, "character": 8 } ], "signatures": [ { - "id": 168, + "id": 170, "name": "createSignedUploadUrl", "kind": 4096, "kindString": "Call signature", @@ -5510,7 +5686,7 @@ }, "parameters": [ { - "id": 169, + "id": 171, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5524,7 +5700,7 @@ } }, { - "id": 170, + "id": 172, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5534,14 +5710,14 @@ "type": { "type": "reflection", "declaration": { - "id": 171, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 172, + "id": 174, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -5552,7 +5728,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 245, + "line": 227, "character": 16 } ], @@ -5566,7 +5742,7 @@ { "title": "Properties", "kind": 1024, - "children": [172] + "children": [174] } ] } @@ -5582,14 +5758,14 @@ { "type": "reflection", "declaration": { - "id": 173, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 174, + "id": 176, "name": "data", "kind": 1024, "kindString": "Property", @@ -5597,21 +5773,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 178, + "id": 180, "name": "path", "kind": 1024, "kindString": "Property", @@ -5619,7 +5795,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 50 } ], @@ -5629,7 +5805,7 @@ } }, { - "id": 176, + "id": 178, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -5637,7 +5813,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 16 } ], @@ -5647,7 +5823,7 @@ } }, { - "id": 177, + "id": 179, "name": "token", "kind": 1024, "kindString": "Property", @@ -5655,7 +5831,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 35 } ], @@ -5669,14 +5845,14 @@ { "title": "Properties", "kind": 1024, - "children": [178, 176, 177] + "children": [180, 178, 179] } ] } } }, { - "id": 179, + "id": 181, "name": "error", "kind": 1024, "kindString": "Property", @@ -5684,7 +5860,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 249, + "line": 231, "character": 8 } ], @@ -5698,7 +5874,7 @@ { "title": "Properties", "kind": 1024, - "children": [174, 179] + "children": [176, 181] } ] } @@ -5706,14 +5882,14 @@ { "type": "reflection", "declaration": { - "id": 180, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 181, + "id": 183, "name": "data", "kind": 1024, "kindString": "Property", @@ -5721,7 +5897,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 252, + "line": 234, "character": 8 } ], @@ -5731,7 +5907,7 @@ } }, { - "id": 182, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -5739,13 +5915,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 253, + "line": 235, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -5754,7 +5930,7 @@ { "title": "Properties", "kind": 1024, - "children": [181, 182] + "children": [183, 184] } ] } @@ -5770,7 +5946,7 @@ ] }, { - "id": 224, + "id": 226, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -5778,13 +5954,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 417, + "line": 399, "character": 8 } ], "signatures": [ { - "id": 225, + "id": 227, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -5794,7 +5970,7 @@ }, "parameters": [ { - "id": 226, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5808,7 +5984,7 @@ } }, { - "id": 227, + "id": 229, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -5822,7 +5998,7 @@ } }, { - "id": 228, + "id": 230, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5832,14 +6008,14 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 232, "name": "download", "kind": 1024, "kindString": "Property", @@ -5852,7 +6028,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 16 } ], @@ -5871,7 +6047,7 @@ } }, { - "id": 231, + "id": 233, "name": "transform", "kind": 1024, "kindString": "Property", @@ -5884,13 +6060,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions" } } @@ -5899,7 +6075,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 231] + "children": [232, 233] } ] } @@ -5915,14 +6091,14 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 233, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -5930,21 +6106,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 234, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 235, + "id": 237, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -5952,7 +6128,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 16 } ], @@ -5966,14 +6142,14 @@ { "title": "Properties", "kind": 1024, - "children": [235] + "children": [237] } ] } } }, { - "id": 236, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -5981,7 +6157,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 424, + "line": 406, "character": 8 } ], @@ -5995,7 +6171,7 @@ { "title": "Properties", "kind": 1024, - "children": [233, 236] + "children": [235, 238] } ] } @@ -6003,14 +6179,14 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 238, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -6018,7 +6194,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 427, + "line": 409, "character": 8 } ], @@ -6028,7 +6204,7 @@ } }, { - "id": 239, + "id": 241, "name": "error", "kind": 1024, "kindString": "Property", @@ -6036,13 +6212,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 428, + "line": 410, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6051,7 +6227,7 @@ { "title": "Properties", "kind": 1024, - "children": [238, 239] + "children": [240, 241] } ] } @@ -6067,7 +6243,7 @@ ] }, { - "id": 240, + "id": 242, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -6075,13 +6251,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 462, + "line": 444, "character": 8 } ], "signatures": [ { - "id": 241, + "id": 243, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -6091,7 +6267,7 @@ }, "parameters": [ { - "id": 242, + "id": 244, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -6108,7 +6284,7 @@ } }, { - "id": 243, + "id": 245, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -6122,7 +6298,7 @@ } }, { - "id": 244, + "id": 246, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6132,14 +6308,14 @@ "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 246, + "id": 248, "name": "download", "kind": 1024, "kindString": "Property", @@ -6150,7 +6326,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 465, + "line": 447, "character": 16 } ], @@ -6173,7 +6349,7 @@ { "title": "Properties", "kind": 1024, - "children": [246] + "children": [248] } ] } @@ -6189,14 +6365,14 @@ { "type": "reflection", "declaration": { - "id": 247, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 248, + "id": 250, "name": "data", "kind": 1024, "kindString": "Property", @@ -6204,7 +6380,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 8 } ], @@ -6213,14 +6389,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 249, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 252, "name": "error", "kind": 1024, "kindString": "Property", @@ -6228,7 +6404,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 16 } ], @@ -6247,7 +6423,7 @@ } }, { - "id": 251, + "id": 253, "name": "path", "kind": 1024, "kindString": "Property", @@ -6255,7 +6431,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 38 } ], @@ -6274,7 +6450,7 @@ } }, { - "id": 252, + "id": 254, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -6282,7 +6458,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 59 } ], @@ -6296,7 +6472,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251, 252] + "children": [252, 253, 254] } ] } @@ -6304,7 +6480,7 @@ } }, { - "id": 253, + "id": 255, "name": "error", "kind": 1024, "kindString": "Property", @@ -6312,7 +6488,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 469, + "line": 451, "character": 8 } ], @@ -6326,7 +6502,7 @@ { "title": "Properties", "kind": 1024, - "children": [248, 253] + "children": [250, 255] } ] } @@ -6334,14 +6510,14 @@ { "type": "reflection", "declaration": { - "id": 254, + "id": 256, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 255, + "id": 257, "name": "data", "kind": 1024, "kindString": "Property", @@ -6349,7 +6525,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 472, + "line": 454, "character": 8 } ], @@ -6359,7 +6535,7 @@ } }, { - "id": 256, + "id": 258, "name": "error", "kind": 1024, "kindString": "Property", @@ -6367,13 +6543,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 473, + "line": 455, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6382,7 +6558,7 @@ { "title": "Properties", "kind": 1024, - "children": [255, 256] + "children": [257, 258] } ] } @@ -6398,7 +6574,7 @@ ] }, { - "id": 257, + "id": 259, "name": "download", "kind": 2048, "kindString": "Method", @@ -6406,13 +6582,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 511, + "line": 493, "character": 8 } ], "signatures": [ { - "id": 258, + "id": 260, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -6422,7 +6598,7 @@ }, "parameters": [ { - "id": 259, + "id": 261, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -6436,7 +6612,7 @@ } }, { - "id": 260, + "id": 262, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6446,14 +6622,14 @@ "type": { "type": "reflection", "declaration": { - "id": 261, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 262, + "id": 264, "name": "transform", "kind": 1024, "kindString": "Property", @@ -6466,13 +6642,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 495, "character": 16 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions" } } @@ -6481,7 +6657,7 @@ { "title": "Properties", "kind": 1024, - "children": [262] + "children": [264] } ] } @@ -6497,14 +6673,14 @@ { "type": "reflection", "declaration": { - "id": 263, + "id": 265, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 264, + "id": 266, "name": "data", "kind": 1024, "kindString": "Property", @@ -6512,7 +6688,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 498, "character": 8 } ], @@ -6524,7 +6700,7 @@ } }, { - "id": 265, + "id": 267, "name": "error", "kind": 1024, "kindString": "Property", @@ -6532,7 +6708,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 499, "character": 8 } ], @@ -6546,7 +6722,7 @@ { "title": "Properties", "kind": 1024, - "children": [264, 265] + "children": [266, 267] } ] } @@ -6554,14 +6730,14 @@ { "type": "reflection", "declaration": { - "id": 266, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 267, + "id": 269, "name": "data", "kind": 1024, "kindString": "Property", @@ -6569,7 +6745,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 520, + "line": 502, "character": 8 } ], @@ -6579,7 +6755,7 @@ } }, { - "id": 268, + "id": 270, "name": "error", "kind": 1024, "kindString": "Property", @@ -6587,13 +6763,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 521, + "line": 503, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6602,7 +6778,7 @@ { "title": "Properties", "kind": 1024, - "children": [267, 268] + "children": [269, 270] } ] } @@ -6618,7 +6794,7 @@ ] }, { - "id": 278, + "id": 280, "name": "exists", "kind": 2048, "kindString": "Method", @@ -6626,13 +6802,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 583, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 279, + "id": 281, "name": "exists", "kind": 4096, "kindString": "Call signature", @@ -6642,7 +6818,7 @@ }, "parameters": [ { - "id": 280, + "id": 282, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -6665,14 +6841,14 @@ { "type": "reflection", "declaration": { - "id": 281, + "id": 283, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 282, + "id": 284, "name": "data", "kind": 1024, "kindString": "Property", @@ -6680,7 +6856,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 587, + "line": 569, "character": 8 } ], @@ -6690,7 +6866,7 @@ } }, { - "id": 283, + "id": 285, "name": "error", "kind": 1024, "kindString": "Property", @@ -6698,7 +6874,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 588, + "line": 570, "character": 8 } ], @@ -6712,7 +6888,7 @@ { "title": "Properties", "kind": 1024, - "children": [282, 283] + "children": [284, 285] } ] } @@ -6720,14 +6896,14 @@ { "type": "reflection", "declaration": { - "id": 284, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 285, + "id": 287, "name": "data", "kind": 1024, "kindString": "Property", @@ -6735,7 +6911,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 591, + "line": 573, "character": 8 } ], @@ -6745,7 +6921,7 @@ } }, { - "id": 286, + "id": 288, "name": "error", "kind": 1024, "kindString": "Property", @@ -6753,13 +6929,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 592, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6768,7 +6944,7 @@ { "title": "Properties", "kind": 1024, - "children": [285, 286] + "children": [287, 288] } ] } @@ -6784,7 +6960,7 @@ ] }, { - "id": 287, + "id": 289, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -6792,13 +6968,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 624, + "line": 606, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 290, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -6808,7 +6984,7 @@ }, "parameters": [ { - "id": 289, + "id": 291, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -6822,7 +6998,7 @@ } }, { - "id": 290, + "id": 292, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6832,14 +7008,14 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 293, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 292, + "id": 294, "name": "download", "kind": 1024, "kindString": "Property", @@ -6852,7 +7028,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 16 } ], @@ -6871,7 +7047,7 @@ } }, { - "id": 293, + "id": 295, "name": "transform", "kind": 1024, "kindString": "Property", @@ -6884,13 +7060,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions" } } @@ -6899,7 +7075,7 @@ { "title": "Properties", "kind": 1024, - "children": [292, 293] + "children": [294, 295] } ] } @@ -6909,14 +7085,14 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 295, + "id": 297, "name": "data", "kind": 1024, "kindString": "Property", @@ -6924,21 +7100,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 296, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 297, + "id": 299, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -6946,7 +7122,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 15 } ], @@ -6960,7 +7136,7 @@ { "title": "Properties", "kind": 1024, - "children": [297] + "children": [299] } ] } @@ -6971,7 +7147,7 @@ { "title": "Properties", "kind": 1024, - "children": [295] + "children": [297] } ] } @@ -6980,7 +7156,7 @@ ] }, { - "id": 269, + "id": 271, "name": "info", "kind": 2048, "kindString": "Method", @@ -6988,13 +7164,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 550, + "line": 532, "character": 8 } ], "signatures": [ { - "id": 270, + "id": 272, "name": "info", "kind": 4096, "kindString": "Call signature", @@ -7004,7 +7180,7 @@ }, "parameters": [ { - "id": 271, + "id": 273, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7027,14 +7203,14 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 274, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 273, + "id": 275, "name": "data", "kind": 1024, "kindString": "Property", @@ -7042,17 +7218,17 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 554, + "line": 536, "character": 8 } ], "type": { "type": "reference", - "id": 488, + "id": 494, "typeArguments": [ { "type": "reference", - "id": 447, + "id": 453, "name": "FileObjectV2" } ], @@ -7060,7 +7236,7 @@ } }, { - "id": 274, + "id": 276, "name": "error", "kind": 1024, "kindString": "Property", @@ -7068,7 +7244,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 555, + "line": 537, "character": 8 } ], @@ -7082,7 +7258,7 @@ { "title": "Properties", "kind": 1024, - "children": [273, 274] + "children": [275, 276] } ] } @@ -7090,14 +7266,14 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 276, + "id": 278, "name": "data", "kind": 1024, "kindString": "Property", @@ -7105,7 +7281,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 558, + "line": 540, "character": 8 } ], @@ -7115,7 +7291,7 @@ } }, { - "id": 277, + "id": 279, "name": "error", "kind": 1024, "kindString": "Property", @@ -7123,13 +7299,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 559, + "line": 541, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7138,7 +7314,7 @@ { "title": "Properties", "kind": 1024, - "children": [276, 277] + "children": [278, 279] } ] } @@ -7154,7 +7330,7 @@ ] }, { - "id": 307, + "id": 309, "name": "list", "kind": 2048, "kindString": "Method", @@ -7162,13 +7338,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 758, + "line": 741, "character": 8 } ], "signatures": [ { - "id": 308, + "id": 310, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -7178,7 +7354,7 @@ }, "parameters": [ { - "id": 309, + "id": 311, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7186,7 +7362,7 @@ "isOptional": true }, "comment": { - "shortText": "The folder path.\n" + "shortText": "The folder path." }, "type": { "type": "intrinsic", @@ -7194,21 +7370,24 @@ } }, { - "id": 310, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "Search options including limit (defaults to 100), offset, sortBy, and search\n" + }, "type": { "type": "reference", - "id": 473, + "id": 479, "name": "SearchOptions" } }, { - "id": 311, + "id": 313, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -7217,7 +7396,7 @@ }, "type": { "type": "reference", - "id": 478, + "id": 484, "name": "FetchParameters" } } @@ -7231,14 +7410,14 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 314, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 313, + "id": 315, "name": "data", "kind": 1024, "kindString": "Property", @@ -7246,7 +7425,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 764, + "line": 747, "character": 8 } ], @@ -7254,13 +7433,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 314, + "id": 316, "name": "error", "kind": 1024, "kindString": "Property", @@ -7268,7 +7447,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 765, + "line": 748, "character": 8 } ], @@ -7282,7 +7461,7 @@ { "title": "Properties", "kind": 1024, - "children": [313, 314] + "children": [315, 316] } ] } @@ -7290,14 +7469,14 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 316, + "id": 318, "name": "data", "kind": 1024, "kindString": "Property", @@ -7305,7 +7484,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 768, + "line": 751, "character": 8 } ], @@ -7315,7 +7494,7 @@ } }, { - "id": 317, + "id": 319, "name": "error", "kind": 1024, "kindString": "Property", @@ -7323,13 +7502,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 769, + "line": 752, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7338,7 +7517,7 @@ { "title": "Properties", "kind": 1024, - "children": [316, 317] + "children": [318, 319] } ] } @@ -7354,7 +7533,7 @@ ] }, { - "id": 198, + "id": 200, "name": "move", "kind": 2048, "kindString": "Method", @@ -7362,13 +7541,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 330, + "line": 312, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 201, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -7378,7 +7557,7 @@ }, "parameters": [ { - "id": 200, + "id": 202, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -7392,7 +7571,7 @@ } }, { - "id": 201, + "id": 203, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -7406,7 +7585,7 @@ } }, { - "id": 202, + "id": 204, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7418,7 +7597,7 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions" } } @@ -7432,14 +7611,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 206, "name": "data", "kind": 1024, "kindString": "Property", @@ -7447,21 +7626,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 205, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 208, "name": "message", "kind": 1024, "kindString": "Property", @@ -7469,7 +7648,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 16 } ], @@ -7483,14 +7662,14 @@ { "title": "Properties", "kind": 1024, - "children": [206] + "children": [208] } ] } } }, { - "id": 207, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -7498,7 +7677,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 337, + "line": 319, "character": 8 } ], @@ -7512,7 +7691,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 207] + "children": [206, 209] } ] } @@ -7520,14 +7699,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 211, "name": "data", "kind": 1024, "kindString": "Property", @@ -7535,7 +7714,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 340, + "line": 322, "character": 8 } ], @@ -7545,7 +7724,7 @@ } }, { - "id": 210, + "id": 212, "name": "error", "kind": 1024, "kindString": "Property", @@ -7553,13 +7732,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 341, + "line": 323, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7568,7 +7747,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [211, 212] } ] } @@ -7584,7 +7763,7 @@ ] }, { - "id": 298, + "id": 300, "name": "remove", "kind": 2048, "kindString": "Method", @@ -7592,13 +7771,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 662, + "line": 644, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 301, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -7608,7 +7787,7 @@ }, "parameters": [ { - "id": 300, + "id": 302, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -7634,14 +7813,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -7649,7 +7828,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 666, + "line": 648, "character": 8 } ], @@ -7657,13 +7836,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 303, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -7671,7 +7850,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 667, + "line": 649, "character": 8 } ], @@ -7685,7 +7864,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [304, 305] } ] } @@ -7693,14 +7872,14 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -7708,7 +7887,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 670, + "line": 652, "character": 8 } ], @@ -7718,7 +7897,7 @@ } }, { - "id": 306, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -7726,13 +7905,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 671, + "line": 653, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7741,7 +7920,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 306] + "children": [307, 308] } ] } @@ -7757,7 +7936,7 @@ ] }, { - "id": 321, + "id": 323, "name": "toBase64", "kind": 2048, "kindString": "Method", @@ -7765,20 +7944,20 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 795, + "line": 778, "character": 2 } ], "signatures": [ { - "id": 322, + "id": 324, "name": "toBase64", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 323, + "id": 325, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -7797,7 +7976,7 @@ ] }, { - "id": 183, + "id": 185, "name": "update", "kind": 2048, "kindString": "Method", @@ -7805,13 +7984,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 296, + "line": 278, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 186, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -7821,7 +8000,7 @@ }, "parameters": [ { - "id": 185, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7835,7 +8014,7 @@ } }, { - "id": 186, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -7916,7 +8095,7 @@ } }, { - "id": 187, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -7925,7 +8104,7 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions" } } @@ -7939,14 +8118,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 191, "name": "data", "kind": 1024, "kindString": "Property", @@ -7954,21 +8133,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 193, + "id": 195, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -7976,7 +8155,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 42 } ], @@ -7986,7 +8165,7 @@ } }, { - "id": 191, + "id": 193, "name": "id", "kind": 1024, "kindString": "Property", @@ -7994,7 +8173,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 16 } ], @@ -8004,7 +8183,7 @@ } }, { - "id": 192, + "id": 194, "name": "path", "kind": 1024, "kindString": "Property", @@ -8012,7 +8191,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 28 } ], @@ -8026,14 +8205,14 @@ { "title": "Properties", "kind": 1024, - "children": [193, 191, 192] + "children": [195, 193, 194] } ] } } }, { - "id": 194, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -8041,7 +8220,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 295, "character": 8 } ], @@ -8055,7 +8234,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 194] + "children": [191, 196] } ] } @@ -8063,14 +8242,14 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 198, "name": "data", "kind": 1024, "kindString": "Property", @@ -8078,7 +8257,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 316, + "line": 298, "character": 8 } ], @@ -8088,7 +8267,7 @@ } }, { - "id": 197, + "id": 199, "name": "error", "kind": 1024, "kindString": "Property", @@ -8096,13 +8275,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 299, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -8111,7 +8290,7 @@ { "title": "Properties", "kind": 1024, - "children": [196, 197] + "children": [198, 199] } ] } @@ -8127,7 +8306,7 @@ ] }, { - "id": 137, + "id": 139, "name": "upload", "kind": 2048, "kindString": "Method", @@ -8135,13 +8314,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 154, + "line": 147, "character": 8 } ], "signatures": [ { - "id": 138, + "id": 140, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -8151,7 +8330,7 @@ }, "parameters": [ { - "id": 139, + "id": 141, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -8165,7 +8344,7 @@ } }, { - "id": 140, + "id": 142, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -8179,7 +8358,7 @@ } }, { - "id": 141, + "id": 143, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -8188,7 +8367,7 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions" } } @@ -8202,14 +8381,14 @@ { "type": "reflection", "declaration": { - "id": 142, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 143, + "id": 145, "name": "data", "kind": 1024, "kindString": "Property", @@ -8217,21 +8396,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 149, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -8239,7 +8418,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 42 } ], @@ -8249,7 +8428,7 @@ } }, { - "id": 145, + "id": 147, "name": "id", "kind": 1024, "kindString": "Property", @@ -8257,7 +8436,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 16 } ], @@ -8267,7 +8446,7 @@ } }, { - "id": 146, + "id": 148, "name": "path", "kind": 1024, "kindString": "Property", @@ -8275,7 +8454,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 28 } ], @@ -8289,14 +8468,14 @@ { "title": "Properties", "kind": 1024, - "children": [147, 145, 146] + "children": [149, 147, 148] } ] } } }, { - "id": 148, + "id": 150, "name": "error", "kind": 1024, "kindString": "Property", @@ -8304,7 +8483,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 161, + "line": 154, "character": 8 } ], @@ -8318,7 +8497,7 @@ { "title": "Properties", "kind": 1024, - "children": [143, 148] + "children": [145, 150] } ] } @@ -8326,14 +8505,14 @@ { "type": "reflection", "declaration": { - "id": 149, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 150, + "id": 152, "name": "data", "kind": 1024, "kindString": "Property", @@ -8341,7 +8520,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 164, + "line": 157, "character": 8 } ], @@ -8351,7 +8530,7 @@ } }, { - "id": 151, + "id": 153, "name": "error", "kind": 1024, "kindString": "Property", @@ -8359,13 +8538,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 165, + "line": 158, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -8374,7 +8553,7 @@ { "title": "Properties", "kind": 1024, - "children": [150, 151] + "children": [152, 153] } ] } @@ -8390,7 +8569,7 @@ ] }, { - "id": 152, + "id": 154, "name": "uploadToSignedUrl", "kind": 2048, "kindString": "Method", @@ -8398,13 +8577,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 170, "character": 8 } ], "signatures": [ { - "id": 153, + "id": 155, "name": "uploadToSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -8414,7 +8593,7 @@ }, "parameters": [ { - "id": 154, + "id": 156, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -8428,7 +8607,7 @@ } }, { - "id": 155, + "id": 157, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -8442,7 +8621,7 @@ } }, { - "id": 156, + "id": 158, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -8456,7 +8635,7 @@ } }, { - "id": 157, + "id": 159, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -8465,7 +8644,7 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions" } } @@ -8479,14 +8658,14 @@ { "type": "reflection", "declaration": { - "id": 158, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 161, "name": "data", "kind": 1024, "kindString": "Property", @@ -8494,21 +8673,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 10 + "line": 206, + "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 162, + "id": 164, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -8516,8 +8695,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 35 + "line": 206, + "character": 33 } ], "type": { @@ -8527,7 +8706,7 @@ "defaultValue": "data.Key" }, { - "id": 161, + "id": 163, "name": "path", "kind": 1024, "kindString": "Property", @@ -8535,8 +8714,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 18 + "line": 206, + "character": 16 } ], "type": { @@ -8550,7 +8729,7 @@ { "title": "Properties", "kind": 1024, - "children": [162, 161] + "children": [164, 163] } ] } @@ -8558,7 +8737,7 @@ "defaultValue": "..." }, { - "id": 163, + "id": 165, "name": "error", "kind": 1024, "kindString": "Property", @@ -8566,8 +8745,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 221, - "character": 10 + "line": 207, + "character": 8 } ], "type": { @@ -8581,7 +8760,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 163] + "children": [161, 165] } ] } @@ -8589,14 +8768,14 @@ { "type": "reflection", "declaration": { - "id": 164, + "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 167, "name": "data", "kind": 1024, "kindString": "Property", @@ -8604,7 +8783,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 225, + "line": 211, "character": 17 } ], @@ -8615,14 +8794,15 @@ "defaultValue": "null" }, { - "id": 166, + "id": 168, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 499, + "name": "StorageError" } } ], @@ -8630,7 +8810,7 @@ { "title": "Properties", "kind": 1024, - "children": [165, 166] + "children": [167, 168] } ] } @@ -8650,13 +8830,13 @@ { "title": "Constructors", "kind": 512, - "children": [97] + "children": [99] }, { "title": "Methods", "kind": 2048, "children": [ - 211, 167, 224, 240, 257, 278, 287, 269, 307, 198, 298, 321, 183, 137, 152 + 213, 169, 226, 242, 259, 280, 289, 271, 309, 200, 300, 323, 185, 139, 154 ] } ], @@ -8673,7 +8853,7 @@ { "title": "Classes", "kind": 128, - "children": [96] + "children": [98] } ], "sources": [ @@ -8689,7 +8869,7 @@ { "title": "Modules", "kind": 2, - "children": [1, 2, 95] + "children": [1, 2, 97] } ] } diff --git a/apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json index fa1b7fa7cda..568bb753b21 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json @@ -13,14 +13,14 @@ "flags": {}, "children": [ { - "id": 498, + "id": 504, "name": "StorageApiError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 499, + "id": 505, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -28,20 +28,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 17, + "line": 18, "character": 2 } ], "signatures": [ { - "id": 500, + "id": 506, "name": "new StorageApiError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 501, + "id": 507, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -52,7 +52,7 @@ } }, { - "id": 502, + "id": 508, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -61,28 +61,39 @@ "type": "intrinsic", "name": "number" } + }, + { + "id": 509, + "name": "statusCode", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } } ], "type": { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 503, + "id": 510, "name": "status", "kind": 1024, "kindString": "Property", @@ -100,7 +111,25 @@ } }, { - "id": 504, + "id": 511, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 512, "name": "toJSON", "kind": 2048, "kindString": "Method", @@ -108,13 +137,13 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 23, + "line": 25, "character": 2 } ], "signatures": [ { - "id": 505, + "id": 513, "name": "toJSON", "kind": 4096, "kindString": "Call signature", @@ -122,14 +151,14 @@ "type": { "type": "reflection", "declaration": { - "id": 506, + "id": 514, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 508, + "id": 516, "name": "message", "kind": 1024, "kindString": "Property", @@ -137,7 +166,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 26, + "line": 28, "character": 6 } ], @@ -148,30 +177,11 @@ "defaultValue": "..." }, { - "id": 507, + "id": 515, "name": "name", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/errors.ts", - "line": 25, - "character": 6 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "..." - }, - { - "id": 509, - "name": "status", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/errors.ts", @@ -179,18 +189,56 @@ "character": 6 } ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 517, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 29, + "character": 6 + } + ], "type": { "type": "intrinsic", "name": "number" }, "defaultValue": "..." + }, + { + "id": 518, + "name": "statusCode", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 30, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [508, 507, 509] + "children": [516, 515, 517, 518] } ] } @@ -203,17 +251,17 @@ { "title": "Constructors", "kind": 512, - "children": [499] + "children": [505] }, { "title": "Properties", "kind": 1024, - "children": [503] + "children": [510, 511] }, { "title": "Methods", "kind": 2048, - "children": [504] + "children": [512] } ], "sources": [ @@ -226,20 +274,20 @@ "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 333, + "id": 335, "name": "StorageClient", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 334, + "id": 336, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -247,20 +295,20 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 6, + "line": 10, "character": 2 } ], "signatures": [ { - "id": 335, + "id": 337, "name": "new StorageClient", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 336, + "id": 338, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -271,7 +319,7 @@ } }, { - "id": 337, + "id": 339, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -279,20 +327,20 @@ "type": { "type": "reflection", "declaration": { - "id": 338, + "id": 340, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 339, + "id": 341, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 340, + "id": 342, "name": "key", "kind": 32768, "flags": {}, @@ -312,7 +360,7 @@ "defaultValue": "{}" }, { - "id": 341, + "id": 343, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -322,21 +370,21 @@ "type": { "type": "reflection", "declaration": { - "id": 342, + "id": 344, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 343, + "id": 345, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 344, + "id": 346, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -349,7 +397,7 @@ } }, { - "id": 345, + "id": 347, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -382,11 +430,24 @@ ] } } + }, + { + "id": 348, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" }, "overwrites": { @@ -403,7 +464,7 @@ } }, { - "id": 376, + "id": 379, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -411,24 +472,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 377, + "id": 380, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 378, + "id": 381, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -442,7 +503,7 @@ } }, { - "id": 379, + "id": 382, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -450,14 +511,14 @@ "type": { "type": "reflection", "declaration": { - "id": 380, + "id": 383, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 383, + "id": 386, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -470,7 +531,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -492,7 +553,7 @@ } }, { - "id": 382, + "id": 385, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -505,7 +566,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -528,7 +589,7 @@ } }, { - "id": 381, + "id": 384, "name": "public", "kind": 1024, "kindString": "Property", @@ -539,7 +600,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -547,13 +608,64 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 387, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [383, 382, 381] + "children": [386, 385, 384, 387] } ] } @@ -570,14 +682,14 @@ { "type": "reflection", "declaration": { - "id": 384, + "id": 388, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 385, + "id": 389, "name": "data", "kind": 1024, "kindString": "Property", @@ -585,7 +697,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -594,7 +706,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -608,7 +720,7 @@ } }, { - "id": 386, + "id": 390, "name": "error", "kind": 1024, "kindString": "Property", @@ -616,7 +728,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -630,7 +742,7 @@ { "title": "Properties", "kind": 1024, - "children": [385, 386] + "children": [389, 390] } ] } @@ -638,14 +750,14 @@ { "type": "reflection", "declaration": { - "id": 387, + "id": 391, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 388, + "id": 392, "name": "data", "kind": 1024, "kindString": "Property", @@ -653,7 +765,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -663,7 +775,7 @@ } }, { - "id": 389, + "id": 393, "name": "error", "kind": 1024, "kindString": "Property", @@ -671,13 +783,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -686,7 +798,7 @@ { "title": "Properties", "kind": 1024, - "children": [388, 389] + "children": [392, 393] } ] } @@ -700,19 +812,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 44, + "id": 45, "name": "default.createBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 43, + "id": 44, "name": "default.createBucket" } }, { - "id": 417, + "id": 421, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -720,13 +832,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 418, + "id": 422, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -736,7 +848,7 @@ }, "parameters": [ { - "id": 419, + "id": 423, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -759,14 +871,14 @@ { "type": "reflection", "declaration": { - "id": 420, + "id": 424, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 421, + "id": 425, "name": "data", "kind": 1024, "kindString": "Property", @@ -774,21 +886,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 422, + "id": 426, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 423, + "id": 427, "name": "message", "kind": 1024, "kindString": "Property", @@ -796,7 +908,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -810,14 +922,14 @@ { "title": "Properties", "kind": 1024, - "children": [423] + "children": [427] } ] } } }, { - "id": 424, + "id": 428, "name": "error", "kind": 1024, "kindString": "Property", @@ -825,7 +937,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -839,7 +951,7 @@ { "title": "Properties", "kind": 1024, - "children": [421, 424] + "children": [425, 428] } ] } @@ -847,14 +959,14 @@ { "type": "reflection", "declaration": { - "id": 425, + "id": 429, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 426, + "id": 430, "name": "data", "kind": 1024, "kindString": "Property", @@ -862,7 +974,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -872,7 +984,7 @@ } }, { - "id": 427, + "id": 431, "name": "error", "kind": 1024, "kindString": "Property", @@ -880,13 +992,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -895,7 +1007,7 @@ { "title": "Properties", "kind": 1024, - "children": [426, 427] + "children": [430, 431] } ] } @@ -909,19 +1021,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 85, + "id": 87, "name": "default.deleteBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 84, + "id": 86, "name": "default.deleteBucket" } }, { - "id": 406, + "id": 410, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -929,13 +1041,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 407, + "id": 411, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -945,7 +1057,7 @@ }, "parameters": [ { - "id": 408, + "id": 412, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -968,14 +1080,14 @@ { "type": "reflection", "declaration": { - "id": 409, + "id": 413, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 410, + "id": 414, "name": "data", "kind": 1024, "kindString": "Property", @@ -983,21 +1095,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 411, + "id": 415, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 412, + "id": 416, "name": "message", "kind": 1024, "kindString": "Property", @@ -1005,7 +1117,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -1019,14 +1131,14 @@ { "title": "Properties", "kind": 1024, - "children": [412] + "children": [416] } ] } } }, { - "id": 413, + "id": 417, "name": "error", "kind": 1024, "kindString": "Property", @@ -1034,7 +1146,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -1048,7 +1160,7 @@ { "title": "Properties", "kind": 1024, - "children": [410, 413] + "children": [414, 417] } ] } @@ -1056,14 +1168,14 @@ { "type": "reflection", "declaration": { - "id": 414, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 415, + "id": 419, "name": "data", "kind": 1024, "kindString": "Property", @@ -1071,7 +1183,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -1081,7 +1193,7 @@ } }, { - "id": 416, + "id": 420, "name": "error", "kind": 1024, "kindString": "Property", @@ -1089,13 +1201,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -1104,7 +1216,7 @@ { "title": "Properties", "kind": 1024, - "children": [415, 416] + "children": [419, 420] } ] } @@ -1118,19 +1230,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 74, + "id": 76, "name": "default.emptyBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 73, + "id": 75, "name": "default.emptyBucket" } }, { - "id": 346, + "id": 349, "name": "from", "kind": 2048, "kindString": "Method", @@ -1138,13 +1250,13 @@ "sources": [ { "fileName": "src/StorageClient.ts", - "line": 15, + "line": 24, "character": 2 } ], "signatures": [ { - "id": 347, + "id": 350, "name": "from", "kind": 4096, "kindString": "Call signature", @@ -1154,7 +1266,7 @@ }, "parameters": [ { - "id": 348, + "id": 351, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1170,14 +1282,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 367, + "id": 370, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -1185,13 +1297,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 368, + "id": 371, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -1201,7 +1313,7 @@ }, "parameters": [ { - "id": 369, + "id": 372, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1221,62 +1333,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 370, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 371, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, - "character": 8 - } - ], - "type": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - }, - { - "id": 372, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [371, 372] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -1295,13 +1351,14 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 69, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "reference", + "id": 433, + "name": "Bucket" } }, { @@ -1313,14 +1370,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 70, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -1332,6 +1388,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 376, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 377, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 73, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 378, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 74, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [377, 378] + } + ] + } } ] } @@ -1342,19 +1454,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 35, + "id": 36, "name": "default.getBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 34, + "id": 35, "name": "default.getBucket" } }, { - "id": 359, + "id": 362, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -1362,13 +1474,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 360, + "id": 363, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -1382,65 +1494,6 @@ { "type": "union", "types": [ - { - "type": "reflection", - "declaration": { - "id": 361, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": {}, - "children": [ - { - "id": 362, - "name": "data", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, - "character": 8 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "id": 428, - "name": "Bucket" - } - } - }, - { - "id": 363, - "name": "error", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, - "character": 8 - } - ], - "type": { - "type": "literal", - "value": null - } - } - ], - "groups": [ - { - "title": "Properties", - "kind": 1024, - "children": [362, 363] - } - ] - } - }, { "type": "reflection", "declaration": { @@ -1459,13 +1512,17 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 40, "character": 8 } ], "type": { - "type": "literal", - "value": null + "type": "array", + "elementType": { + "type": "reference", + "id": 433, + "name": "Bucket" + } } }, { @@ -1477,14 +1534,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 41, "character": 8 } ], "type": { - "type": "reference", - "id": 493, - "name": "StorageError" + "type": "literal", + "value": null } } ], @@ -1496,6 +1552,62 @@ } ] } + }, + { + "type": "reflection", + "declaration": { + "id": 367, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 44, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 369, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 45, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 499, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [368, 369] + } + ] + } } ] } @@ -1506,19 +1618,19 @@ }, "inheritedFrom": { "type": "reference", - "id": 27, + "id": 28, "name": "default.listBuckets" } } ], "inheritedFrom": { "type": "reference", - "id": 26, + "id": 27, "name": "default.listBuckets" } }, { - "id": 390, + "id": 394, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -1526,13 +1638,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 391, + "id": 395, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -1542,7 +1654,7 @@ }, "parameters": [ { - "id": 392, + "id": 396, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -1556,7 +1668,7 @@ } }, { - "id": 393, + "id": 397, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -1564,14 +1676,14 @@ "type": { "type": "reflection", "declaration": { - "id": 394, + "id": 398, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 397, + "id": 401, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -1584,7 +1696,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -1606,7 +1718,7 @@ } }, { - "id": 396, + "id": 400, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -1619,7 +1731,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -1642,7 +1754,7 @@ } }, { - "id": 395, + "id": 399, "name": "public", "kind": 1024, "kindString": "Property", @@ -1653,7 +1765,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -1667,7 +1779,7 @@ { "title": "Properties", "kind": 1024, - "children": [397, 396, 395] + "children": [401, 400, 399] } ] } @@ -1683,14 +1795,14 @@ { "type": "reflection", "declaration": { - "id": 398, + "id": 402, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 399, + "id": 403, "name": "data", "kind": 1024, "kindString": "Property", @@ -1698,21 +1810,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 400, + "id": 404, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 401, + "id": 405, "name": "message", "kind": 1024, "kindString": "Property", @@ -1720,7 +1832,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -1734,14 +1846,14 @@ { "title": "Properties", "kind": 1024, - "children": [401] + "children": [405] } ] } } }, { - "id": 402, + "id": 406, "name": "error", "kind": 1024, "kindString": "Property", @@ -1749,7 +1861,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -1763,7 +1875,7 @@ { "title": "Properties", "kind": 1024, - "children": [399, 402] + "children": [403, 406] } ] } @@ -1771,14 +1883,14 @@ { "type": "reflection", "declaration": { - "id": 403, + "id": 407, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 404, + "id": 408, "name": "data", "kind": 1024, "kindString": "Property", @@ -1786,7 +1898,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -1796,7 +1908,7 @@ } }, { - "id": 405, + "id": 409, "name": "error", "kind": 1024, "kindString": "Property", @@ -1804,13 +1916,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -1819,7 +1931,7 @@ { "title": "Properties", "kind": 1024, - "children": [404, 405] + "children": [408, 409] } ] } @@ -1833,14 +1945,14 @@ }, "inheritedFrom": { "type": "reference", - "id": 58, + "id": 60, "name": "default.updateBucket" } } ], "inheritedFrom": { "type": "reference", - "id": 57, + "id": 59, "name": "default.updateBucket" } } @@ -1849,18 +1961,18 @@ { "title": "Constructors", "kind": 512, - "children": [334] + "children": [336] }, { "title": "Methods", "kind": 2048, - "children": [376, 417, 406, 346, 367, 359, 390] + "children": [379, 421, 410, 349, 370, 362, 394] } ], "sources": [ { "fileName": "src/StorageClient.ts", - "line": 5, + "line": 9, "character": 13 } ], @@ -1873,14 +1985,14 @@ ] }, { - "id": 493, + "id": 499, "name": "StorageError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 494, + "id": 500, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1894,14 +2006,14 @@ ], "signatures": [ { - "id": 495, + "id": 501, "name": "new StorageError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 496, + "id": 502, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1914,7 +2026,7 @@ ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" }, "overwrites": { @@ -1933,7 +2045,7 @@ { "title": "Constructors", "kind": 512, - "children": [494] + "children": [500] } ], "sources": [ @@ -1954,25 +2066,25 @@ "extendedBy": [ { "type": "reference", - "id": 498, + "id": 504, "name": "StorageApiError" }, { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" } ] }, { - "id": 511, + "id": 520, "name": "StorageUnknownError", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 512, + "id": 521, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -1980,20 +2092,20 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 35, + "line": 38, "character": 2 } ], "signatures": [ { - "id": 513, + "id": 522, "name": "new StorageUnknownError", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 514, + "id": 523, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -2004,7 +2116,7 @@ } }, { - "id": 515, + "id": 524, "name": "originalError", "kind": 32768, "kindString": "Parameter", @@ -2017,24 +2129,24 @@ ], "type": { "type": "reference", - "id": 511, + "id": 520, "name": "StorageUnknownError" }, "overwrites": { "type": "reference", - "id": 495, + "id": 501, "name": "StorageError.constructor" } } ], "overwrites": { "type": "reference", - "id": 494, + "id": 500, "name": "StorageError.constructor" } }, { - "id": 516, + "id": 525, "name": "originalError", "kind": 1024, "kindString": "Property", @@ -2042,7 +2154,7 @@ "sources": [ { "fileName": "src/lib/errors.ts", - "line": 33, + "line": 36, "character": 2 } ], @@ -2056,38 +2168,38 @@ { "title": "Constructors", "kind": 512, - "children": [512] + "children": [521] }, { "title": "Properties", "kind": 1024, - "children": [516] + "children": [525] } ], "sources": [ { "fileName": "src/lib/errors.ts", - "line": 32, + "line": 35, "character": 13 } ], "extendedTypes": [ { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } ] }, { - "id": 428, + "id": 433, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 433, + "id": 439, "name": "allowed_mime_types", "kind": 1024, "kindString": "Property", @@ -2097,7 +2209,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 9, "character": 2 } ], @@ -2110,7 +2222,7 @@ } }, { - "id": 434, + "id": 440, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2118,7 +2230,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 10, "character": 2 } ], @@ -2128,7 +2240,7 @@ } }, { - "id": 432, + "id": 438, "name": "file_size_limit", "kind": 1024, "kindString": "Property", @@ -2138,7 +2250,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 8, "character": 2 } ], @@ -2148,47 +2260,11 @@ } }, { - "id": 429, + "id": 434, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2203,6 +2279,42 @@ }, { "id": 436, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, "name": "public", "kind": 1024, "kindString": "Property", @@ -2210,7 +2322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 9, + "line": 12, "character": 2 } ], @@ -2221,6 +2333,54 @@ }, { "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } + }, + { + "id": 441, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2228,7 +2388,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 8, + "line": 11, "character": 2 } ], @@ -2242,26 +2402,26 @@ { "title": "Properties", "kind": 1024, - "children": [433, 434, 432, 429, 430, 431, 436, 435] + "children": [439, 440, 438, 434, 436, 437, 442, 435, 441] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 3, "character": 17 } ] }, { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -2271,7 +2431,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -2285,26 +2445,26 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] }, { - "id": 478, + "id": 484, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 479, + "id": 485, "name": "signal", "kind": 1024, "kindString": "Property", @@ -2317,7 +2477,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 2 } ], @@ -2333,26 +2493,26 @@ { "title": "Properties", "kind": 1024, - "children": [479] + "children": [485] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 104, "character": 17 } ] }, { - "id": 437, + "id": 443, "name": "FileObject", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 439, + "id": 445, "name": "bucket_id", "kind": 1024, "kindString": "Property", @@ -2360,7 +2520,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 14, + "line": 17, "character": 2 } ], @@ -2370,7 +2530,7 @@ } }, { - "id": 446, + "id": 452, "name": "buckets", "kind": 1024, "kindString": "Property", @@ -2378,23 +2538,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 21, + "line": 24, "character": 2 } ], "type": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket", "dereferenced": { - "id": 428, + "id": 433, "name": "Bucket", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 433, + "id": 439, "name": "allowed_mime_types", "kind": 1024, "kindString": "Property", @@ -2404,7 +2564,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 6, + "line": 9, "character": 2 } ], @@ -2417,7 +2577,7 @@ } }, { - "id": 434, + "id": 440, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2425,7 +2585,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 7, + "line": 10, "character": 2 } ], @@ -2435,7 +2595,7 @@ } }, { - "id": 432, + "id": 438, "name": "file_size_limit", "kind": 1024, "kindString": "Property", @@ -2445,7 +2605,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 5, + "line": 8, "character": 2 } ], @@ -2455,47 +2615,11 @@ } }, { - "id": 429, + "id": 434, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 2, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 430, - "name": "name", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 3, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 431, - "name": "owner", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2510,6 +2634,42 @@ }, { "id": 436, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 437, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, "name": "public", "kind": 1024, "kindString": "Property", @@ -2517,7 +2677,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 9, + "line": 12, "character": 2 } ], @@ -2528,6 +2688,54 @@ }, { "id": 435, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } + }, + { + "id": 441, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2535,7 +2743,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 8, + "line": 11, "character": 2 } ], @@ -2549,13 +2757,13 @@ { "title": "Properties", "kind": 1024, - "children": [433, 434, 432, 429, 430, 431, 436, 435] + "children": [439, 440, 438, 434, 436, 437, 442, 435, 441] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 1, + "line": 3, "character": 17 } ] @@ -2563,7 +2771,7 @@ } }, { - "id": 443, + "id": 449, "name": "created_at", "kind": 1024, "kindString": "Property", @@ -2571,7 +2779,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 18, + "line": 21, "character": 2 } ], @@ -2581,29 +2789,11 @@ } }, { - "id": 441, + "id": 447, "name": "id", "kind": 1024, "kindString": "Property", "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 16, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 444, - "name": "last_accessed_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, "sources": [ { "fileName": "src/lib/types.ts", @@ -2617,7 +2807,25 @@ } }, { - "id": 445, + "id": 450, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 451, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -2625,7 +2833,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 20, + "line": 23, "character": 2 } ], @@ -2647,7 +2855,7 @@ } }, { - "id": 438, + "id": 444, "name": "name", "kind": 1024, "kindString": "Property", @@ -2655,7 +2863,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 13, + "line": 16, "character": 2 } ], @@ -2665,7 +2873,7 @@ } }, { - "id": 440, + "id": 446, "name": "owner", "kind": 1024, "kindString": "Property", @@ -2673,7 +2881,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 15, + "line": 18, "character": 2 } ], @@ -2683,7 +2891,7 @@ } }, { - "id": 442, + "id": 448, "name": "updated_at", "kind": 1024, "kindString": "Property", @@ -2691,7 +2899,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 17, + "line": 20, "character": 2 } ], @@ -2705,141 +2913,27 @@ { "title": "Properties", "kind": 1024, - "children": [439, 446, 443, 441, 444, 445, 438, 440, 442] + "children": [445, 452, 449, 447, 450, 451, 444, 446, 448] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 12, + "line": 15, "character": 17 } ] }, { - "id": 447, + "id": 453, "name": "FileObjectV2", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ - { - "id": 451, - "name": "bucket_id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 28, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 456, - "name": "cache_control", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 33, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, { "id": 457, - "name": "content_type", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 34, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "name": "created_at", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 30, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 458, - "name": "etag", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 35, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 448, - "name": "id", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 25, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 454, - "name": "last_accessed_at", + "name": "bucket_id", "kind": 1024, "kindString": "Property", "flags": {}, @@ -2856,8 +2950,8 @@ } }, { - "id": 459, - "name": "last_modified", + "id": 462, + "name": "cache_control", "kind": 1024, "kindString": "Property", "flags": { @@ -2876,8 +2970,8 @@ } }, { - "id": 460, - "name": "metadata", + "id": 463, + "name": "content_type", "kind": 1024, "kindString": "Property", "flags": { @@ -2890,6 +2984,120 @@ "character": 2 } ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 459, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 464, + "name": "etag", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 454, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 28, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 460, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 34, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 465, + "name": "last_modified", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 40, + "character": 2 + } + ], "type": { "type": "reference", "typeArguments": [ @@ -2908,7 +3116,7 @@ } }, { - "id": 450, + "id": 456, "name": "name", "kind": 1024, "kindString": "Property", @@ -2916,7 +3124,45 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 27, + "line": 30, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "size", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 458, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 32, "character": 2 } ], @@ -2927,27 +3173,7 @@ }, { "id": 455, - "name": "size", - "kind": 1024, - "kindString": "Property", - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 32, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 452, - "name": "updated_at", + "name": "version", "kind": 1024, "kindString": "Property", "flags": {}, @@ -2962,50 +3188,32 @@ "type": "intrinsic", "name": "string" } - }, - { - "id": 449, - "name": "version", - "kind": 1024, - "kindString": "Property", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/types.ts", - "line": 26, - "character": 2 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [451, 456, 457, 453, 458, 448, 454, 459, 460, 450, 455, 452, 449] + "children": [457, 462, 463, 459, 464, 454, 460, 465, 466, 456, 461, 458, 455] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 24, + "line": 27, "character": 17 } ] }, { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -3018,7 +3226,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -3028,7 +3236,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -3041,7 +3249,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -3051,7 +3259,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -3064,7 +3272,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -3074,7 +3282,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -3087,7 +3295,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -3109,7 +3317,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -3122,7 +3330,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -3144,7 +3352,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -3157,7 +3365,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -3171,26 +3379,26 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] }, { - "id": 480, + "id": 486, "name": "Metadata", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 481, + "id": 487, "name": "name", "kind": 1024, "kindString": "Property", @@ -3198,7 +3406,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 109, + "line": 113, "character": 2 } ], @@ -3212,26 +3420,26 @@ { "title": "Properties", "kind": 1024, - "children": [481] + "children": [487] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 108, + "line": 112, "character": 17 } ] }, { - "id": 473, + "id": 479, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 474, + "id": 480, "name": "limit", "kind": 1024, "kindString": "Property", @@ -3239,12 +3447,18 @@ "isOptional": true }, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -3254,7 +3468,7 @@ } }, { - "id": 475, + "id": 481, "name": "offset", "kind": 1024, "kindString": "Property", @@ -3267,7 +3481,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 91, "character": 2 } ], @@ -3277,7 +3491,7 @@ } }, { - "id": 477, + "id": 483, "name": "search", "kind": 1024, "kindString": "Property", @@ -3290,7 +3504,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 101, "character": 2 } ], @@ -3300,7 +3514,7 @@ } }, { - "id": 476, + "id": 482, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -3313,23 +3527,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 96, "character": 2 } ], "type": { "type": "reference", - "id": 461, + "id": 467, "name": "SortBy", "dereferenced": { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -3339,7 +3553,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -3349,7 +3563,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -3359,7 +3573,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -3373,13 +3587,13 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] @@ -3391,26 +3605,26 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 477, 476] + "children": [480, 481, 483, 482] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 81, "character": 17 } ] }, { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -3420,7 +3634,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -3430,7 +3644,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -3440,7 +3654,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -3454,26 +3668,26 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] }, { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -3487,7 +3701,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -3497,7 +3711,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -3510,7 +3724,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -3520,7 +3734,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -3533,7 +3747,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -3543,7 +3757,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -3556,7 +3770,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -3579,7 +3793,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -3592,7 +3806,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -3606,19 +3820,46 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] }, { - "id": 488, + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + }, + { + "id": 494, "name": "Camelize", "kind": 4194304, "kindString": "Type alias", @@ -3626,13 +3867,13 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 147, + "line": 151, "character": 12 } ], "typeParameter": [ { - "id": 489, + "id": 495, "name": "T", "kind": 131072, "kindString": "Type parameter", @@ -3647,7 +3888,7 @@ "operator": "keyof", "target": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -3659,7 +3900,7 @@ }, "objectType": { "type": "reference", - "id": 489, + "id": 495, "name": "T" } }, @@ -3688,7 +3929,7 @@ } }, { - "id": 490, + "id": 496, "name": "isStorageError", "kind": 64, "kindString": "Function", @@ -3702,14 +3943,14 @@ ], "signatures": [ { - "id": 491, + "id": 497, "name": "isStorageError", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 492, + "id": 498, "name": "error", "kind": 32768, "kindString": "Parameter", @@ -3726,7 +3967,7 @@ "asserts": false, "targetType": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -3738,22 +3979,22 @@ { "title": "Classes", "kind": 128, - "children": [498, 333, 493, 511] + "children": [504, 335, 499, 520] }, { "title": "Interfaces", "kind": 256, - "children": [428, 471, 478, 437, 447, 464, 480, 473, 461, 482] + "children": [433, 477, 484, 443, 453, 470, 486, 479, 467, 488] }, { "title": "Type Aliases", "kind": 4194304, - "children": [488] + "children": [432, 494] }, { "title": "Functions", "kind": 64, - "children": [490] + "children": [496] } ], "sources": [ @@ -3787,7 +4028,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 12, + "line": 13, "character": 2 } ], @@ -3922,6 +4163,19 @@ ] } } + }, + { + "id": 16, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "StorageClientOptions" + } } ], "type": { @@ -3933,7 +4187,7 @@ ] }, { - "id": 43, + "id": 44, "name": "createBucket", "kind": 2048, "kindString": "Method", @@ -3941,24 +4195,24 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 85, + "line": 104, "character": 8 } ], "signatures": [ { - "id": 44, + "id": 45, "name": "createBucket", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "Creates a new Storage bucket", - "returns": "newly created bucket id\n" + "returns": "newly created bucket id" }, "parameters": [ { - "id": 45, + "id": 46, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -3972,7 +4226,7 @@ } }, { - "id": 46, + "id": 47, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -3980,14 +4234,14 @@ "type": { "type": "reflection", "declaration": { - "id": 47, + "id": 48, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 50, + "id": 51, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -4000,7 +4254,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 90, + "line": 109, "character": 6 } ], @@ -4022,7 +4276,7 @@ } }, { - "id": 49, + "id": 50, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -4035,7 +4289,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 89, + "line": 108, "character": 6 } ], @@ -4058,7 +4312,7 @@ } }, { - "id": 48, + "id": 49, "name": "public", "kind": 1024, "kindString": "Property", @@ -4069,7 +4323,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 88, + "line": 107, "character": 6 } ], @@ -4077,13 +4331,64 @@ "type": "intrinsic", "name": "boolean" } + }, + { + "id": 52, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "(private-beta) specifies the bucket type. see `BucketType` for more details.\n - default bucket type is `STANDARD`\n" + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 110, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 432, + "name": "BucketType", + "dereferenced": { + "id": 432, + "name": "BucketType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "STANDARD" + }, + { + "type": "literal", + "value": "ANALYTICS" + } + ] + } + } + } } ], "groups": [ { "title": "Properties", "kind": 1024, - "children": [50, 49, 48] + "children": [51, 50, 49, 52] } ] } @@ -4100,14 +4405,14 @@ { "type": "reflection", "declaration": { - "id": 51, + "id": 53, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 52, + "id": 54, "name": "data", "kind": 1024, "kindString": "Property", @@ -4115,7 +4420,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 96, + "line": 116, "character": 8 } ], @@ -4124,7 +4429,7 @@ "typeArguments": [ { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" }, { @@ -4138,7 +4443,7 @@ } }, { - "id": 53, + "id": 55, "name": "error", "kind": 1024, "kindString": "Property", @@ -4146,7 +4451,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 97, + "line": 117, "character": 8 } ], @@ -4160,7 +4465,7 @@ { "title": "Properties", "kind": 1024, - "children": [52, 53] + "children": [54, 55] } ] } @@ -4168,14 +4473,14 @@ { "type": "reflection", "declaration": { - "id": 54, + "id": 56, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 55, + "id": 57, "name": "data", "kind": 1024, "kindString": "Property", @@ -4183,7 +4488,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 100, + "line": 120, "character": 8 } ], @@ -4193,7 +4498,7 @@ } }, { - "id": 56, + "id": 58, "name": "error", "kind": 1024, "kindString": "Property", @@ -4201,13 +4506,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 101, + "line": 121, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4216,7 +4521,7 @@ { "title": "Properties", "kind": 1024, - "children": [55, 56] + "children": [57, 58] } ] } @@ -4232,7 +4537,7 @@ ] }, { - "id": 84, + "id": 86, "name": "deleteBucket", "kind": 2048, "kindString": "Method", @@ -4240,13 +4545,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 219, + "line": 240, "character": 8 } ], "signatures": [ { - "id": 85, + "id": 87, "name": "deleteBucket", "kind": 4096, "kindString": "Call signature", @@ -4256,7 +4561,7 @@ }, "parameters": [ { - "id": 86, + "id": 88, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4279,14 +4584,14 @@ { "type": "reflection", "declaration": { - "id": 87, + "id": 89, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 88, + "id": 90, "name": "data", "kind": 1024, "kindString": "Property", @@ -4294,21 +4599,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 89, + "id": 91, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 90, + "id": 92, "name": "message", "kind": 1024, "kindString": "Property", @@ -4316,7 +4621,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 223, + "line": 244, "character": 16 } ], @@ -4330,14 +4635,14 @@ { "title": "Properties", "kind": 1024, - "children": [90] + "children": [92] } ] } } }, { - "id": 91, + "id": 93, "name": "error", "kind": 1024, "kindString": "Property", @@ -4345,7 +4650,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 224, + "line": 245, "character": 8 } ], @@ -4359,7 +4664,7 @@ { "title": "Properties", "kind": 1024, - "children": [88, 91] + "children": [90, 93] } ] } @@ -4367,14 +4672,14 @@ { "type": "reflection", "declaration": { - "id": 92, + "id": 94, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 93, + "id": 95, "name": "data", "kind": 1024, "kindString": "Property", @@ -4382,7 +4687,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 227, + "line": 248, "character": 8 } ], @@ -4392,7 +4697,7 @@ } }, { - "id": 94, + "id": 96, "name": "error", "kind": 1024, "kindString": "Property", @@ -4400,13 +4705,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 228, + "line": 249, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4415,7 +4720,7 @@ { "title": "Properties", "kind": 1024, - "children": [93, 94] + "children": [95, 96] } ] } @@ -4431,7 +4736,7 @@ ] }, { - "id": 73, + "id": 75, "name": "emptyBucket", "kind": 2048, "kindString": "Method", @@ -4439,13 +4744,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 184, + "line": 205, "character": 8 } ], "signatures": [ { - "id": 74, + "id": 76, "name": "emptyBucket", "kind": 4096, "kindString": "Call signature", @@ -4455,7 +4760,7 @@ }, "parameters": [ { - "id": 75, + "id": 77, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4478,14 +4783,14 @@ { "type": "reflection", "declaration": { - "id": 76, + "id": 78, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 77, + "id": 79, "name": "data", "kind": 1024, "kindString": "Property", @@ -4493,21 +4798,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 78, + "id": 80, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 79, + "id": 81, "name": "message", "kind": 1024, "kindString": "Property", @@ -4515,7 +4820,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 188, + "line": 209, "character": 16 } ], @@ -4529,14 +4834,14 @@ { "title": "Properties", "kind": 1024, - "children": [79] + "children": [81] } ] } } }, { - "id": 80, + "id": 82, "name": "error", "kind": 1024, "kindString": "Property", @@ -4544,7 +4849,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 189, + "line": 210, "character": 8 } ], @@ -4558,7 +4863,7 @@ { "title": "Properties", "kind": 1024, - "children": [77, 80] + "children": [79, 82] } ] } @@ -4566,14 +4871,14 @@ { "type": "reflection", "declaration": { - "id": 81, + "id": 83, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 82, + "id": 84, "name": "data", "kind": 1024, "kindString": "Property", @@ -4581,7 +4886,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 192, + "line": 213, "character": 8 } ], @@ -4591,7 +4896,7 @@ } }, { - "id": 83, + "id": 85, "name": "error", "kind": 1024, "kindString": "Property", @@ -4599,13 +4904,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 193, + "line": 214, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4614,7 +4919,7 @@ { "title": "Properties", "kind": 1024, - "children": [82, 83] + "children": [84, 85] } ] } @@ -4630,7 +4935,7 @@ ] }, { - "id": 34, + "id": 35, "name": "getBucket", "kind": 2048, "kindString": "Method", @@ -4638,13 +4943,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 48, + "line": 65, "character": 8 } ], "signatures": [ { - "id": 35, + "id": 36, "name": "getBucket", "kind": 4096, "kindString": "Call signature", @@ -4654,7 +4959,7 @@ }, "parameters": [ { - "id": 36, + "id": 37, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4677,14 +4982,14 @@ { "type": "reflection", "declaration": { - "id": 37, + "id": 38, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 38, + "id": 39, "name": "data", "kind": 1024, "kindString": "Property", @@ -4692,18 +4997,18 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 52, + "line": 69, "character": 8 } ], "type": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } }, { - "id": 39, + "id": 40, "name": "error", "kind": 1024, "kindString": "Property", @@ -4711,7 +5016,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 53, + "line": 70, "character": 8 } ], @@ -4725,7 +5030,7 @@ { "title": "Properties", "kind": 1024, - "children": [38, 39] + "children": [39, 40] } ] } @@ -4733,14 +5038,14 @@ { "type": "reflection", "declaration": { - "id": 40, + "id": 41, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 41, + "id": 42, "name": "data", "kind": 1024, "kindString": "Property", @@ -4748,7 +5053,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 56, + "line": 73, "character": 8 } ], @@ -4758,7 +5063,7 @@ } }, { - "id": 42, + "id": 43, "name": "error", "kind": 1024, "kindString": "Property", @@ -4766,13 +5071,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 57, + "line": 74, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4781,7 +5086,7 @@ { "title": "Properties", "kind": 1024, - "children": [41, 42] + "children": [42, 43] } ] } @@ -4797,7 +5102,7 @@ ] }, { - "id": 26, + "id": 27, "name": "listBuckets", "kind": 2048, "kindString": "Method", @@ -4805,13 +5110,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 21, + "line": 38, "character": 8 } ], "signatures": [ { - "id": 27, + "id": 28, "name": "listBuckets", "kind": 4096, "kindString": "Call signature", @@ -4828,14 +5133,14 @@ { "type": "reflection", "declaration": { - "id": 28, + "id": 29, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 29, + "id": 30, "name": "data", "kind": 1024, "kindString": "Property", @@ -4843,7 +5148,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 23, + "line": 40, "character": 8 } ], @@ -4851,13 +5156,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 428, + "id": 433, "name": "Bucket" } } }, { - "id": 30, + "id": 31, "name": "error", "kind": 1024, "kindString": "Property", @@ -4865,7 +5170,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 24, + "line": 41, "character": 8 } ], @@ -4879,7 +5184,7 @@ { "title": "Properties", "kind": 1024, - "children": [29, 30] + "children": [30, 31] } ] } @@ -4887,14 +5192,14 @@ { "type": "reflection", "declaration": { - "id": 31, + "id": 32, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 32, + "id": 33, "name": "data", "kind": 1024, "kindString": "Property", @@ -4902,7 +5207,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 27, + "line": 44, "character": 8 } ], @@ -4912,7 +5217,7 @@ } }, { - "id": 33, + "id": 34, "name": "error", "kind": 1024, "kindString": "Property", @@ -4920,13 +5225,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 28, + "line": 45, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -4935,7 +5240,7 @@ { "title": "Properties", "kind": 1024, - "children": [32, 33] + "children": [33, 34] } ] } @@ -4951,7 +5256,7 @@ ] }, { - "id": 57, + "id": 59, "name": "updateBucket", "kind": 2048, "kindString": "Method", @@ -4959,13 +5264,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 139, + "line": 160, "character": 8 } ], "signatures": [ { - "id": 58, + "id": 60, "name": "updateBucket", "kind": 4096, "kindString": "Call signature", @@ -4975,7 +5280,7 @@ }, "parameters": [ { - "id": 59, + "id": 61, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4989,7 +5294,7 @@ } }, { - "id": 60, + "id": 62, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4997,14 +5302,14 @@ "type": { "type": "reflection", "declaration": { - "id": 61, + "id": 63, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 64, + "id": 66, "name": "allowedMimeTypes", "kind": 1024, "kindString": "Property", @@ -5017,7 +5322,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 144, + "line": 165, "character": 6 } ], @@ -5039,7 +5344,7 @@ } }, { - "id": 63, + "id": 65, "name": "fileSizeLimit", "kind": 1024, "kindString": "Property", @@ -5052,7 +5357,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 143, + "line": 164, "character": 6 } ], @@ -5075,7 +5380,7 @@ } }, { - "id": 62, + "id": 64, "name": "public", "kind": 1024, "kindString": "Property", @@ -5086,7 +5391,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 142, + "line": 163, "character": 6 } ], @@ -5100,7 +5405,7 @@ { "title": "Properties", "kind": 1024, - "children": [64, 63, 62] + "children": [66, 65, 64] } ] } @@ -5116,14 +5421,14 @@ { "type": "reflection", "declaration": { - "id": 65, + "id": 67, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 66, + "id": 68, "name": "data", "kind": 1024, "kindString": "Property", @@ -5131,21 +5436,21 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 67, + "id": 69, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 68, + "id": 70, "name": "message", "kind": 1024, "kindString": "Property", @@ -5153,7 +5458,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 148, + "line": 169, "character": 16 } ], @@ -5167,14 +5472,14 @@ { "title": "Properties", "kind": 1024, - "children": [68] + "children": [70] } ] } } }, { - "id": 69, + "id": 71, "name": "error", "kind": 1024, "kindString": "Property", @@ -5182,7 +5487,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 149, + "line": 170, "character": 8 } ], @@ -5196,7 +5501,7 @@ { "title": "Properties", "kind": 1024, - "children": [66, 69] + "children": [68, 71] } ] } @@ -5204,14 +5509,14 @@ { "type": "reflection", "declaration": { - "id": 70, + "id": 72, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 71, + "id": 73, "name": "data", "kind": 1024, "kindString": "Property", @@ -5219,7 +5524,7 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 152, + "line": 173, "character": 8 } ], @@ -5229,7 +5534,7 @@ } }, { - "id": 72, + "id": 74, "name": "error", "kind": 1024, "kindString": "Property", @@ -5237,13 +5542,13 @@ "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 153, + "line": 174, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -5252,7 +5557,7 @@ { "title": "Properties", "kind": 1024, - "children": [71, 72] + "children": [73, 74] } ] } @@ -5277,20 +5582,20 @@ { "title": "Methods", "kind": 2048, - "children": [43, 84, 73, 34, 26, 57] + "children": [44, 86, 75, 35, 27, 59] } ], "sources": [ { "fileName": "src/packages/StorageBucketApi.ts", - "line": 7, + "line": 8, "character": 21 } ], "extendedBy": [ { "type": "reference", - "id": 333, + "id": 335, "name": "StorageClient" } ] @@ -5312,21 +5617,21 @@ ] }, { - "id": 95, + "id": 97, "name": "packages/StorageFileApi", "kind": 2, "kindString": "Module", "flags": {}, "children": [ { - "id": 96, + "id": 98, "name": "default", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { - "id": 97, + "id": 99, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -5340,14 +5645,14 @@ ], "signatures": [ { - "id": 98, + "id": 100, "name": "new default", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "parameters": [ { - "id": 99, + "id": 101, "name": "url", "kind": 32768, "kindString": "Parameter", @@ -5358,7 +5663,7 @@ } }, { - "id": 100, + "id": 102, "name": "headers", "kind": 32768, "kindString": "Parameter", @@ -5366,20 +5671,20 @@ "type": { "type": "reflection", "declaration": { - "id": 101, + "id": 103, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "indexSignature": { - "id": 102, + "id": 104, "name": "__index", "kind": 8192, "kindString": "Index signature", "flags": {}, "parameters": [ { - "id": 103, + "id": 105, "name": "key", "kind": 32768, "flags": {}, @@ -5399,7 +5704,7 @@ "defaultValue": "{}" }, { - "id": 104, + "id": 106, "name": "bucketId", "kind": 32768, "kindString": "Parameter", @@ -5412,7 +5717,7 @@ } }, { - "id": 105, + "id": 107, "name": "fetch", "kind": 32768, "kindString": "Parameter", @@ -5422,21 +5727,21 @@ "type": { "type": "reflection", "declaration": { - "id": 106, + "id": 108, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 107, + "id": 109, "name": "__type", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 108, + "id": 110, "name": "input", "kind": 32768, "kindString": "Parameter", @@ -5449,7 +5754,7 @@ } }, { - "id": 109, + "id": 111, "name": "init", "kind": 32768, "kindString": "Parameter", @@ -5486,14 +5791,14 @@ ], "type": { "type": "reference", - "id": 96, + "id": 98, "name": "default" } } ] }, { - "id": 211, + "id": 213, "name": "copy", "kind": 2048, "kindString": "Method", @@ -5501,13 +5806,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 373, + "line": 355, "character": 8 } ], "signatures": [ { - "id": 212, + "id": 214, "name": "copy", "kind": 4096, "kindString": "Call signature", @@ -5517,7 +5822,7 @@ }, "parameters": [ { - "id": 213, + "id": 215, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -5531,7 +5836,7 @@ } }, { - "id": 214, + "id": 216, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -5545,7 +5850,7 @@ } }, { - "id": 215, + "id": 217, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5557,17 +5862,17 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions", "dereferenced": { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -5577,7 +5882,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -5591,13 +5896,13 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] @@ -5614,14 +5919,14 @@ { "type": "reflection", "declaration": { - "id": 216, + "id": 218, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 217, + "id": 219, "name": "data", "kind": 1024, "kindString": "Property", @@ -5629,21 +5934,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 218, + "id": 220, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 219, + "id": 221, "name": "path", "kind": 1024, "kindString": "Property", @@ -5651,7 +5956,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 379, + "line": 361, "character": 16 } ], @@ -5665,14 +5970,14 @@ { "title": "Properties", "kind": 1024, - "children": [219] + "children": [221] } ] } } }, { - "id": 220, + "id": 222, "name": "error", "kind": 1024, "kindString": "Property", @@ -5680,7 +5985,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 380, + "line": 362, "character": 8 } ], @@ -5694,7 +5999,7 @@ { "title": "Properties", "kind": 1024, - "children": [217, 220] + "children": [219, 222] } ] } @@ -5702,14 +6007,14 @@ { "type": "reflection", "declaration": { - "id": 221, + "id": 223, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 222, + "id": 224, "name": "data", "kind": 1024, "kindString": "Property", @@ -5717,7 +6022,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 383, + "line": 365, "character": 8 } ], @@ -5727,7 +6032,7 @@ } }, { - "id": 223, + "id": 225, "name": "error", "kind": 1024, "kindString": "Property", @@ -5735,13 +6040,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 384, + "line": 366, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -5750,7 +6055,7 @@ { "title": "Properties", "kind": 1024, - "children": [222, 223] + "children": [224, 225] } ] } @@ -5766,7 +6071,7 @@ ] }, { - "id": 167, + "id": 169, "name": "createSignedUploadUrl", "kind": 2048, "kindString": "Method", @@ -5774,13 +6079,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 243, + "line": 225, "character": 8 } ], "signatures": [ { - "id": 168, + "id": 170, "name": "createSignedUploadUrl", "kind": 4096, "kindString": "Call signature", @@ -5790,7 +6095,7 @@ }, "parameters": [ { - "id": 169, + "id": 171, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -5804,7 +6109,7 @@ } }, { - "id": 170, + "id": 172, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5814,14 +6119,14 @@ "type": { "type": "reflection", "declaration": { - "id": 171, + "id": 173, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 172, + "id": 174, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -5832,7 +6137,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 245, + "line": 227, "character": 16 } ], @@ -5846,7 +6151,7 @@ { "title": "Properties", "kind": 1024, - "children": [172] + "children": [174] } ] } @@ -5862,14 +6167,14 @@ { "type": "reflection", "declaration": { - "id": 173, + "id": 175, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 174, + "id": 176, "name": "data", "kind": 1024, "kindString": "Property", @@ -5877,21 +6182,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 175, + "id": 177, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 178, + "id": 180, "name": "path", "kind": 1024, "kindString": "Property", @@ -5899,7 +6204,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 50 } ], @@ -5909,7 +6214,7 @@ } }, { - "id": 176, + "id": 178, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -5917,7 +6222,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 16 } ], @@ -5927,7 +6232,7 @@ } }, { - "id": 177, + "id": 179, "name": "token", "kind": 1024, "kindString": "Property", @@ -5935,7 +6240,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 248, + "line": 230, "character": 35 } ], @@ -5949,14 +6254,14 @@ { "title": "Properties", "kind": 1024, - "children": [178, 176, 177] + "children": [180, 178, 179] } ] } } }, { - "id": 179, + "id": 181, "name": "error", "kind": 1024, "kindString": "Property", @@ -5964,7 +6269,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 249, + "line": 231, "character": 8 } ], @@ -5978,7 +6283,7 @@ { "title": "Properties", "kind": 1024, - "children": [174, 179] + "children": [176, 181] } ] } @@ -5986,14 +6291,14 @@ { "type": "reflection", "declaration": { - "id": 180, + "id": 182, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 181, + "id": 183, "name": "data", "kind": 1024, "kindString": "Property", @@ -6001,7 +6306,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 252, + "line": 234, "character": 8 } ], @@ -6011,7 +6316,7 @@ } }, { - "id": 182, + "id": 184, "name": "error", "kind": 1024, "kindString": "Property", @@ -6019,13 +6324,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 253, + "line": 235, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6034,7 +6339,7 @@ { "title": "Properties", "kind": 1024, - "children": [181, 182] + "children": [183, 184] } ] } @@ -6050,7 +6355,7 @@ ] }, { - "id": 224, + "id": 226, "name": "createSignedUrl", "kind": 2048, "kindString": "Method", @@ -6058,13 +6363,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 417, + "line": 399, "character": 8 } ], "signatures": [ { - "id": 225, + "id": 227, "name": "createSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -6074,7 +6379,7 @@ }, "parameters": [ { - "id": 226, + "id": 228, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -6088,7 +6393,7 @@ } }, { - "id": 227, + "id": 229, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -6102,7 +6407,7 @@ } }, { - "id": 228, + "id": 230, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6112,14 +6417,14 @@ "type": { "type": "reflection", "declaration": { - "id": 229, + "id": 231, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 230, + "id": 232, "name": "download", "kind": 1024, "kindString": "Property", @@ -6132,7 +6437,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 16 } ], @@ -6151,7 +6456,7 @@ } }, { - "id": 231, + "id": 233, "name": "transform", "kind": 1024, "kindString": "Property", @@ -6164,23 +6469,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 420, + "line": 402, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -6194,7 +6499,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -6204,7 +6509,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -6217,7 +6522,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -6227,7 +6532,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -6240,7 +6545,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -6250,7 +6555,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -6263,7 +6568,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -6286,7 +6591,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -6299,7 +6604,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -6313,13 +6618,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -6331,7 +6636,7 @@ { "title": "Properties", "kind": 1024, - "children": [230, 231] + "children": [232, 233] } ] } @@ -6347,14 +6652,14 @@ { "type": "reflection", "declaration": { - "id": 232, + "id": 234, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 233, + "id": 235, "name": "data", "kind": 1024, "kindString": "Property", @@ -6362,21 +6667,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 234, + "id": 236, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 235, + "id": 237, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -6384,7 +6689,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 423, + "line": 405, "character": 16 } ], @@ -6398,14 +6703,14 @@ { "title": "Properties", "kind": 1024, - "children": [235] + "children": [237] } ] } } }, { - "id": 236, + "id": 238, "name": "error", "kind": 1024, "kindString": "Property", @@ -6413,7 +6718,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 424, + "line": 406, "character": 8 } ], @@ -6427,7 +6732,7 @@ { "title": "Properties", "kind": 1024, - "children": [233, 236] + "children": [235, 238] } ] } @@ -6435,14 +6740,14 @@ { "type": "reflection", "declaration": { - "id": 237, + "id": 239, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 238, + "id": 240, "name": "data", "kind": 1024, "kindString": "Property", @@ -6450,7 +6755,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 427, + "line": 409, "character": 8 } ], @@ -6460,7 +6765,7 @@ } }, { - "id": 239, + "id": 241, "name": "error", "kind": 1024, "kindString": "Property", @@ -6468,13 +6773,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 428, + "line": 410, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6483,7 +6788,7 @@ { "title": "Properties", "kind": 1024, - "children": [238, 239] + "children": [240, 241] } ] } @@ -6499,7 +6804,7 @@ ] }, { - "id": 240, + "id": 242, "name": "createSignedUrls", "kind": 2048, "kindString": "Method", @@ -6507,13 +6812,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 462, + "line": 444, "character": 8 } ], "signatures": [ { - "id": 241, + "id": 243, "name": "createSignedUrls", "kind": 4096, "kindString": "Call signature", @@ -6523,7 +6828,7 @@ }, "parameters": [ { - "id": 242, + "id": 244, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -6540,7 +6845,7 @@ } }, { - "id": 243, + "id": 245, "name": "expiresIn", "kind": 32768, "kindString": "Parameter", @@ -6554,7 +6859,7 @@ } }, { - "id": 244, + "id": 246, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6564,14 +6869,14 @@ "type": { "type": "reflection", "declaration": { - "id": 245, + "id": 247, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 246, + "id": 248, "name": "download", "kind": 1024, "kindString": "Property", @@ -6582,7 +6887,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 465, + "line": 447, "character": 16 } ], @@ -6605,7 +6910,7 @@ { "title": "Properties", "kind": 1024, - "children": [246] + "children": [248] } ] } @@ -6621,14 +6926,14 @@ { "type": "reflection", "declaration": { - "id": 247, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 248, + "id": 250, "name": "data", "kind": 1024, "kindString": "Property", @@ -6636,7 +6941,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 8 } ], @@ -6645,14 +6950,14 @@ "elementType": { "type": "reflection", "declaration": { - "id": 249, + "id": 251, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 250, + "id": 252, "name": "error", "kind": 1024, "kindString": "Property", @@ -6660,7 +6965,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 16 } ], @@ -6679,7 +6984,7 @@ } }, { - "id": 251, + "id": 253, "name": "path", "kind": 1024, "kindString": "Property", @@ -6687,7 +6992,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 38 } ], @@ -6706,7 +7011,7 @@ } }, { - "id": 252, + "id": 254, "name": "signedUrl", "kind": 1024, "kindString": "Property", @@ -6714,7 +7019,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 468, + "line": 450, "character": 59 } ], @@ -6728,7 +7033,7 @@ { "title": "Properties", "kind": 1024, - "children": [250, 251, 252] + "children": [252, 253, 254] } ] } @@ -6736,7 +7041,7 @@ } }, { - "id": 253, + "id": 255, "name": "error", "kind": 1024, "kindString": "Property", @@ -6744,7 +7049,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 469, + "line": 451, "character": 8 } ], @@ -6758,7 +7063,7 @@ { "title": "Properties", "kind": 1024, - "children": [248, 253] + "children": [250, 255] } ] } @@ -6766,14 +7071,14 @@ { "type": "reflection", "declaration": { - "id": 254, + "id": 256, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 255, + "id": 257, "name": "data", "kind": 1024, "kindString": "Property", @@ -6781,7 +7086,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 472, + "line": 454, "character": 8 } ], @@ -6791,7 +7096,7 @@ } }, { - "id": 256, + "id": 258, "name": "error", "kind": 1024, "kindString": "Property", @@ -6799,13 +7104,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 473, + "line": 455, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -6814,7 +7119,7 @@ { "title": "Properties", "kind": 1024, - "children": [255, 256] + "children": [257, 258] } ] } @@ -6830,7 +7135,7 @@ ] }, { - "id": 257, + "id": 259, "name": "download", "kind": 2048, "kindString": "Method", @@ -6838,13 +7143,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 511, + "line": 493, "character": 8 } ], "signatures": [ { - "id": 258, + "id": 260, "name": "download", "kind": 4096, "kindString": "Call signature", @@ -6854,7 +7159,7 @@ }, "parameters": [ { - "id": 259, + "id": 261, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -6868,7 +7173,7 @@ } }, { - "id": 260, + "id": 262, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6878,14 +7183,14 @@ "type": { "type": "reflection", "declaration": { - "id": 261, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 262, + "id": 264, "name": "transform", "kind": 1024, "kindString": "Property", @@ -6898,23 +7203,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 513, + "line": 495, "character": 16 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -6928,7 +7233,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -6938,7 +7243,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -6951,7 +7256,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -6961,7 +7266,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -6974,7 +7279,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -6984,7 +7289,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -6997,7 +7302,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -7020,7 +7325,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -7033,7 +7338,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -7047,13 +7352,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -7065,7 +7370,7 @@ { "title": "Properties", "kind": 1024, - "children": [262] + "children": [264] } ] } @@ -7081,14 +7386,14 @@ { "type": "reflection", "declaration": { - "id": 263, + "id": 265, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 264, + "id": 266, "name": "data", "kind": 1024, "kindString": "Property", @@ -7096,7 +7401,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 516, + "line": 498, "character": 8 } ], @@ -7108,7 +7413,7 @@ } }, { - "id": 265, + "id": 267, "name": "error", "kind": 1024, "kindString": "Property", @@ -7116,7 +7421,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 517, + "line": 499, "character": 8 } ], @@ -7130,7 +7435,7 @@ { "title": "Properties", "kind": 1024, - "children": [264, 265] + "children": [266, 267] } ] } @@ -7138,14 +7443,14 @@ { "type": "reflection", "declaration": { - "id": 266, + "id": 268, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 267, + "id": 269, "name": "data", "kind": 1024, "kindString": "Property", @@ -7153,7 +7458,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 520, + "line": 502, "character": 8 } ], @@ -7163,7 +7468,7 @@ } }, { - "id": 268, + "id": 270, "name": "error", "kind": 1024, "kindString": "Property", @@ -7171,13 +7476,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 521, + "line": 503, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7186,7 +7491,7 @@ { "title": "Properties", "kind": 1024, - "children": [267, 268] + "children": [269, 270] } ] } @@ -7202,7 +7507,7 @@ ] }, { - "id": 278, + "id": 280, "name": "exists", "kind": 2048, "kindString": "Method", @@ -7210,13 +7515,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 583, + "line": 565, "character": 8 } ], "signatures": [ { - "id": 279, + "id": 281, "name": "exists", "kind": 4096, "kindString": "Call signature", @@ -7226,7 +7531,7 @@ }, "parameters": [ { - "id": 280, + "id": 282, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7249,14 +7554,14 @@ { "type": "reflection", "declaration": { - "id": 281, + "id": 283, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 282, + "id": 284, "name": "data", "kind": 1024, "kindString": "Property", @@ -7264,7 +7569,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 587, + "line": 569, "character": 8 } ], @@ -7274,7 +7579,7 @@ } }, { - "id": 283, + "id": 285, "name": "error", "kind": 1024, "kindString": "Property", @@ -7282,7 +7587,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 588, + "line": 570, "character": 8 } ], @@ -7296,7 +7601,7 @@ { "title": "Properties", "kind": 1024, - "children": [282, 283] + "children": [284, 285] } ] } @@ -7304,14 +7609,14 @@ { "type": "reflection", "declaration": { - "id": 284, + "id": 286, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 285, + "id": 287, "name": "data", "kind": 1024, "kindString": "Property", @@ -7319,7 +7624,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 591, + "line": 573, "character": 8 } ], @@ -7329,7 +7634,7 @@ } }, { - "id": 286, + "id": 288, "name": "error", "kind": 1024, "kindString": "Property", @@ -7337,13 +7642,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 592, + "line": 574, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7352,7 +7657,7 @@ { "title": "Properties", "kind": 1024, - "children": [285, 286] + "children": [287, 288] } ] } @@ -7368,7 +7673,7 @@ ] }, { - "id": 287, + "id": 289, "name": "getPublicUrl", "kind": 2048, "kindString": "Method", @@ -7376,13 +7681,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 624, + "line": 606, "character": 2 } ], "signatures": [ { - "id": 288, + "id": 290, "name": "getPublicUrl", "kind": 4096, "kindString": "Call signature", @@ -7392,7 +7697,7 @@ }, "parameters": [ { - "id": 289, + "id": 291, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7406,7 +7711,7 @@ } }, { - "id": 290, + "id": 292, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -7416,14 +7721,14 @@ "type": { "type": "reflection", "declaration": { - "id": 291, + "id": 293, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 292, + "id": 294, "name": "download", "kind": 1024, "kindString": "Property", @@ -7436,7 +7741,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 16 } ], @@ -7455,7 +7760,7 @@ } }, { - "id": 293, + "id": 295, "name": "transform", "kind": 1024, "kindString": "Property", @@ -7468,23 +7773,23 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 626, + "line": 608, "character": 45 } ], "type": { "type": "reference", - "id": 482, + "id": 488, "name": "TransformOptions", "dereferenced": { - "id": 482, + "id": 488, "name": "TransformOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 487, + "id": 493, "name": "format", "kind": 1024, "kindString": "Property", @@ -7498,7 +7803,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 140, + "line": 144, "character": 2 } ], @@ -7508,7 +7813,7 @@ } }, { - "id": 484, + "id": 490, "name": "height", "kind": 1024, "kindString": "Property", @@ -7521,7 +7826,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 120, + "line": 124, "character": 2 } ], @@ -7531,7 +7836,7 @@ } }, { - "id": 486, + "id": 492, "name": "quality", "kind": 1024, "kindString": "Property", @@ -7544,7 +7849,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 133, + "line": 137, "character": 2 } ], @@ -7554,7 +7859,7 @@ } }, { - "id": 485, + "id": 491, "name": "resize", "kind": 1024, "kindString": "Property", @@ -7567,7 +7872,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 127, + "line": 131, "character": 2 } ], @@ -7590,7 +7895,7 @@ } }, { - "id": 483, + "id": 489, "name": "width", "kind": 1024, "kindString": "Property", @@ -7603,7 +7908,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 116, + "line": 120, "character": 2 } ], @@ -7617,13 +7922,13 @@ { "title": "Properties", "kind": 1024, - "children": [487, 484, 486, 485, 483] + "children": [493, 490, 492, 491, 489] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 112, + "line": 116, "character": 17 } ] @@ -7635,7 +7940,7 @@ { "title": "Properties", "kind": 1024, - "children": [292, 293] + "children": [294, 295] } ] } @@ -7645,14 +7950,14 @@ "type": { "type": "reflection", "declaration": { - "id": 294, + "id": 296, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 295, + "id": 297, "name": "data", "kind": 1024, "kindString": "Property", @@ -7660,21 +7965,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 7 } ], "type": { "type": "reflection", "declaration": { - "id": 296, + "id": 298, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 297, + "id": 299, "name": "publicUrl", "kind": 1024, "kindString": "Property", @@ -7682,7 +7987,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 627, + "line": 609, "character": 15 } ], @@ -7696,7 +8001,7 @@ { "title": "Properties", "kind": 1024, - "children": [297] + "children": [299] } ] } @@ -7707,7 +8012,7 @@ { "title": "Properties", "kind": 1024, - "children": [295] + "children": [297] } ] } @@ -7716,7 +8021,7 @@ ] }, { - "id": 269, + "id": 271, "name": "info", "kind": 2048, "kindString": "Method", @@ -7724,13 +8029,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 550, + "line": 532, "character": 8 } ], "signatures": [ { - "id": 270, + "id": 272, "name": "info", "kind": 4096, "kindString": "Call signature", @@ -7740,7 +8045,7 @@ }, "parameters": [ { - "id": 271, + "id": 273, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7763,14 +8068,14 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 274, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 273, + "id": 275, "name": "data", "kind": 1024, "kindString": "Property", @@ -7778,17 +8083,17 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 554, + "line": 536, "character": 8 } ], "type": { "type": "reference", - "id": 488, + "id": 494, "typeArguments": [ { "type": "reference", - "id": 447, + "id": 453, "name": "FileObjectV2" } ], @@ -7796,7 +8101,7 @@ } }, { - "id": 274, + "id": 276, "name": "error", "kind": 1024, "kindString": "Property", @@ -7804,7 +8109,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 555, + "line": 537, "character": 8 } ], @@ -7818,7 +8123,7 @@ { "title": "Properties", "kind": 1024, - "children": [273, 274] + "children": [275, 276] } ] } @@ -7826,14 +8131,14 @@ { "type": "reflection", "declaration": { - "id": 275, + "id": 277, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 276, + "id": 278, "name": "data", "kind": 1024, "kindString": "Property", @@ -7841,7 +8146,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 558, + "line": 540, "character": 8 } ], @@ -7851,7 +8156,7 @@ } }, { - "id": 277, + "id": 279, "name": "error", "kind": 1024, "kindString": "Property", @@ -7859,13 +8164,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 559, + "line": 541, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -7874,7 +8179,7 @@ { "title": "Properties", "kind": 1024, - "children": [276, 277] + "children": [278, 279] } ] } @@ -7890,7 +8195,7 @@ ] }, { - "id": 307, + "id": 309, "name": "list", "kind": 2048, "kindString": "Method", @@ -7898,13 +8203,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 758, + "line": 741, "character": 8 } ], "signatures": [ { - "id": 308, + "id": 310, "name": "list", "kind": 4096, "kindString": "Call signature", @@ -7914,7 +8219,7 @@ }, "parameters": [ { - "id": 309, + "id": 311, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -7922,7 +8227,7 @@ "isOptional": true }, "comment": { - "shortText": "The folder path.\n" + "shortText": "The folder path." }, "type": { "type": "intrinsic", @@ -7930,26 +8235,29 @@ } }, { - "id": 310, + "id": 312, "name": "options", "kind": 32768, "kindString": "Parameter", "flags": { "isOptional": true }, + "comment": { + "shortText": "Search options including limit (defaults to 100), offset, sortBy, and search\n" + }, "type": { "type": "reference", - "id": 473, + "id": 479, "name": "SearchOptions", "dereferenced": { - "id": 473, + "id": 479, "name": "SearchOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 474, + "id": 480, "name": "limit", "kind": 1024, "kindString": "Property", @@ -7957,12 +8265,18 @@ "isOptional": true }, "comment": { - "shortText": " The number of files you want to be returned." + "shortText": "The number of files you want to be returned.", + "tags": [ + { + "tag": "default", + "text": "100\n" + } + ] }, "sources": [ { "fileName": "src/lib/types.ts", - "line": 82, + "line": 86, "character": 2 } ], @@ -7972,7 +8286,7 @@ } }, { - "id": 475, + "id": 481, "name": "offset", "kind": 1024, "kindString": "Property", @@ -7985,7 +8299,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 87, + "line": 91, "character": 2 } ], @@ -7995,7 +8309,7 @@ } }, { - "id": 477, + "id": 483, "name": "search", "kind": 1024, "kindString": "Property", @@ -8008,7 +8322,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 97, + "line": 101, "character": 2 } ], @@ -8018,7 +8332,7 @@ } }, { - "id": 476, + "id": 482, "name": "sortBy", "kind": 1024, "kindString": "Property", @@ -8031,23 +8345,23 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 92, + "line": 96, "character": 2 } ], "type": { "type": "reference", - "id": 461, + "id": 467, "name": "SortBy", "dereferenced": { - "id": 461, + "id": 467, "name": "SortBy", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 462, + "id": 468, "name": "column", "kind": 1024, "kindString": "Property", @@ -8057,7 +8371,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 41, + "line": 44, "character": 2 } ], @@ -8067,7 +8381,7 @@ } }, { - "id": 463, + "id": 469, "name": "order", "kind": 1024, "kindString": "Property", @@ -8077,7 +8391,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 42, + "line": 45, "character": 2 } ], @@ -8091,13 +8405,13 @@ { "title": "Properties", "kind": 1024, - "children": [462, 463] + "children": [468, 469] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 40, + "line": 43, "character": 17 } ] @@ -8109,13 +8423,13 @@ { "title": "Properties", "kind": 1024, - "children": [474, 475, 477, 476] + "children": [480, 481, 483, 482] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 78, + "line": 81, "character": 17 } ] @@ -8123,7 +8437,7 @@ } }, { - "id": 311, + "id": 313, "name": "parameters", "kind": 32768, "kindString": "Parameter", @@ -8132,17 +8446,17 @@ }, "type": { "type": "reference", - "id": 478, + "id": 484, "name": "FetchParameters", "dereferenced": { - "id": 478, + "id": 484, "name": "FetchParameters", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 479, + "id": 485, "name": "signal", "kind": 1024, "kindString": "Property", @@ -8155,7 +8469,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 104, + "line": 108, "character": 2 } ], @@ -8171,13 +8485,13 @@ { "title": "Properties", "kind": 1024, - "children": [479] + "children": [485] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 100, + "line": 104, "character": 17 } ] @@ -8194,14 +8508,14 @@ { "type": "reflection", "declaration": { - "id": 312, + "id": 314, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 313, + "id": 315, "name": "data", "kind": 1024, "kindString": "Property", @@ -8209,7 +8523,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 764, + "line": 747, "character": 8 } ], @@ -8217,13 +8531,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 314, + "id": 316, "name": "error", "kind": 1024, "kindString": "Property", @@ -8231,7 +8545,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 765, + "line": 748, "character": 8 } ], @@ -8245,7 +8559,7 @@ { "title": "Properties", "kind": 1024, - "children": [313, 314] + "children": [315, 316] } ] } @@ -8253,14 +8567,14 @@ { "type": "reflection", "declaration": { - "id": 315, + "id": 317, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 316, + "id": 318, "name": "data", "kind": 1024, "kindString": "Property", @@ -8268,7 +8582,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 768, + "line": 751, "character": 8 } ], @@ -8278,7 +8592,7 @@ } }, { - "id": 317, + "id": 319, "name": "error", "kind": 1024, "kindString": "Property", @@ -8286,13 +8600,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 769, + "line": 752, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -8301,7 +8615,7 @@ { "title": "Properties", "kind": 1024, - "children": [316, 317] + "children": [318, 319] } ] } @@ -8317,7 +8631,7 @@ ] }, { - "id": 198, + "id": 200, "name": "move", "kind": 2048, "kindString": "Method", @@ -8325,13 +8639,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 330, + "line": 312, "character": 8 } ], "signatures": [ { - "id": 199, + "id": 201, "name": "move", "kind": 4096, "kindString": "Call signature", @@ -8341,7 +8655,7 @@ }, "parameters": [ { - "id": 200, + "id": 202, "name": "fromPath", "kind": 32768, "kindString": "Parameter", @@ -8355,7 +8669,7 @@ } }, { - "id": 201, + "id": 203, "name": "toPath", "kind": 32768, "kindString": "Parameter", @@ -8369,7 +8683,7 @@ } }, { - "id": 202, + "id": 204, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -8381,17 +8695,17 @@ }, "type": { "type": "reference", - "id": 471, + "id": 477, "name": "DestinationOptions", "dereferenced": { - "id": 471, + "id": 477, "name": "DestinationOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 472, + "id": 478, "name": "destinationBucket", "kind": 1024, "kindString": "Property", @@ -8401,7 +8715,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 75, + "line": 78, "character": 2 } ], @@ -8415,13 +8729,13 @@ { "title": "Properties", "kind": 1024, - "children": [472] + "children": [478] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 74, + "line": 77, "character": 17 } ] @@ -8438,14 +8752,14 @@ { "type": "reflection", "declaration": { - "id": 203, + "id": 205, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 204, + "id": 206, "name": "data", "kind": 1024, "kindString": "Property", @@ -8453,21 +8767,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 205, + "id": 207, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 206, + "id": 208, "name": "message", "kind": 1024, "kindString": "Property", @@ -8475,7 +8789,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 336, + "line": 318, "character": 16 } ], @@ -8489,14 +8803,14 @@ { "title": "Properties", "kind": 1024, - "children": [206] + "children": [208] } ] } } }, { - "id": 207, + "id": 209, "name": "error", "kind": 1024, "kindString": "Property", @@ -8504,7 +8818,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 337, + "line": 319, "character": 8 } ], @@ -8518,7 +8832,7 @@ { "title": "Properties", "kind": 1024, - "children": [204, 207] + "children": [206, 209] } ] } @@ -8526,14 +8840,14 @@ { "type": "reflection", "declaration": { - "id": 208, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 209, + "id": 211, "name": "data", "kind": 1024, "kindString": "Property", @@ -8541,7 +8855,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 340, + "line": 322, "character": 8 } ], @@ -8551,7 +8865,7 @@ } }, { - "id": 210, + "id": 212, "name": "error", "kind": 1024, "kindString": "Property", @@ -8559,13 +8873,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 341, + "line": 323, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -8574,7 +8888,7 @@ { "title": "Properties", "kind": 1024, - "children": [209, 210] + "children": [211, 212] } ] } @@ -8590,7 +8904,7 @@ ] }, { - "id": 298, + "id": 300, "name": "remove", "kind": 2048, "kindString": "Method", @@ -8598,13 +8912,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 662, + "line": 644, "character": 8 } ], "signatures": [ { - "id": 299, + "id": 301, "name": "remove", "kind": 4096, "kindString": "Call signature", @@ -8614,7 +8928,7 @@ }, "parameters": [ { - "id": 300, + "id": 302, "name": "paths", "kind": 32768, "kindString": "Parameter", @@ -8640,14 +8954,14 @@ { "type": "reflection", "declaration": { - "id": 301, + "id": 303, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 302, + "id": 304, "name": "data", "kind": 1024, "kindString": "Property", @@ -8655,7 +8969,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 666, + "line": 648, "character": 8 } ], @@ -8663,13 +8977,13 @@ "type": "array", "elementType": { "type": "reference", - "id": 437, + "id": 443, "name": "FileObject" } } }, { - "id": 303, + "id": 305, "name": "error", "kind": 1024, "kindString": "Property", @@ -8677,7 +8991,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 667, + "line": 649, "character": 8 } ], @@ -8691,7 +9005,7 @@ { "title": "Properties", "kind": 1024, - "children": [302, 303] + "children": [304, 305] } ] } @@ -8699,14 +9013,14 @@ { "type": "reflection", "declaration": { - "id": 304, + "id": 306, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 307, "name": "data", "kind": 1024, "kindString": "Property", @@ -8714,7 +9028,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 670, + "line": 652, "character": 8 } ], @@ -8724,7 +9038,7 @@ } }, { - "id": 306, + "id": 308, "name": "error", "kind": 1024, "kindString": "Property", @@ -8732,13 +9046,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 671, + "line": 653, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -8747,7 +9061,7 @@ { "title": "Properties", "kind": 1024, - "children": [305, 306] + "children": [307, 308] } ] } @@ -8763,7 +9077,7 @@ ] }, { - "id": 321, + "id": 323, "name": "toBase64", "kind": 2048, "kindString": "Method", @@ -8771,20 +9085,20 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 795, + "line": 778, "character": 2 } ], "signatures": [ { - "id": 322, + "id": 324, "name": "toBase64", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 323, + "id": 325, "name": "data", "kind": 32768, "kindString": "Parameter", @@ -8803,7 +9117,7 @@ ] }, { - "id": 183, + "id": 185, "name": "update", "kind": 2048, "kindString": "Method", @@ -8811,13 +9125,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 296, + "line": 278, "character": 8 } ], "signatures": [ { - "id": 184, + "id": 186, "name": "update", "kind": 4096, "kindString": "Call signature", @@ -8827,7 +9141,7 @@ }, "parameters": [ { - "id": 185, + "id": 187, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -8841,7 +9155,7 @@ } }, { - "id": 186, + "id": 188, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -8922,7 +9236,7 @@ } }, { - "id": 187, + "id": 189, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -8931,17 +9245,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -8954,7 +9268,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -8964,7 +9278,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -8977,7 +9291,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -8987,7 +9301,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -9000,7 +9314,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -9010,7 +9324,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -9023,7 +9337,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -9045,7 +9359,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -9058,7 +9372,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -9080,7 +9394,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -9093,7 +9407,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -9107,13 +9421,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -9130,14 +9444,14 @@ { "type": "reflection", "declaration": { - "id": 188, + "id": 190, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 189, + "id": 191, "name": "data", "kind": 1024, "kindString": "Property", @@ -9145,21 +9459,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 190, + "id": 192, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 193, + "id": 195, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -9167,7 +9481,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 42 } ], @@ -9177,7 +9491,7 @@ } }, { - "id": 191, + "id": 193, "name": "id", "kind": 1024, "kindString": "Property", @@ -9185,7 +9499,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 16 } ], @@ -9195,7 +9509,7 @@ } }, { - "id": 192, + "id": 194, "name": "path", "kind": 1024, "kindString": "Property", @@ -9203,7 +9517,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 312, + "line": 294, "character": 28 } ], @@ -9217,14 +9531,14 @@ { "title": "Properties", "kind": 1024, - "children": [193, 191, 192] + "children": [195, 193, 194] } ] } } }, { - "id": 194, + "id": 196, "name": "error", "kind": 1024, "kindString": "Property", @@ -9232,7 +9546,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 313, + "line": 295, "character": 8 } ], @@ -9246,7 +9560,7 @@ { "title": "Properties", "kind": 1024, - "children": [189, 194] + "children": [191, 196] } ] } @@ -9254,14 +9568,14 @@ { "type": "reflection", "declaration": { - "id": 195, + "id": 197, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 196, + "id": 198, "name": "data", "kind": 1024, "kindString": "Property", @@ -9269,7 +9583,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 316, + "line": 298, "character": 8 } ], @@ -9279,7 +9593,7 @@ } }, { - "id": 197, + "id": 199, "name": "error", "kind": 1024, "kindString": "Property", @@ -9287,13 +9601,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 317, + "line": 299, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -9302,7 +9616,7 @@ { "title": "Properties", "kind": 1024, - "children": [196, 197] + "children": [198, 199] } ] } @@ -9318,7 +9632,7 @@ ] }, { - "id": 137, + "id": 139, "name": "upload", "kind": 2048, "kindString": "Method", @@ -9326,13 +9640,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 154, + "line": 147, "character": 8 } ], "signatures": [ { - "id": 138, + "id": 140, "name": "upload", "kind": 4096, "kindString": "Call signature", @@ -9342,7 +9656,7 @@ }, "parameters": [ { - "id": 139, + "id": 141, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -9356,7 +9670,7 @@ } }, { - "id": 140, + "id": 142, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -9370,7 +9684,7 @@ } }, { - "id": 141, + "id": 143, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -9379,17 +9693,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -9402,7 +9716,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -9412,7 +9726,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -9425,7 +9739,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -9435,7 +9749,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -9448,7 +9762,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -9458,7 +9772,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -9471,7 +9785,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -9493,7 +9807,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -9506,7 +9820,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -9528,7 +9842,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -9541,7 +9855,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -9555,13 +9869,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -9578,14 +9892,14 @@ { "type": "reflection", "declaration": { - "id": 142, + "id": 144, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 143, + "id": 145, "name": "data", "kind": 1024, "kindString": "Property", @@ -9593,21 +9907,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 144, + "id": 146, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 147, + "id": 149, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -9615,7 +9929,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 42 } ], @@ -9625,7 +9939,7 @@ } }, { - "id": 145, + "id": 147, "name": "id", "kind": 1024, "kindString": "Property", @@ -9633,7 +9947,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 16 } ], @@ -9643,7 +9957,7 @@ } }, { - "id": 146, + "id": 148, "name": "path", "kind": 1024, "kindString": "Property", @@ -9651,7 +9965,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 160, + "line": 153, "character": 28 } ], @@ -9665,14 +9979,14 @@ { "title": "Properties", "kind": 1024, - "children": [147, 145, 146] + "children": [149, 147, 148] } ] } } }, { - "id": 148, + "id": 150, "name": "error", "kind": 1024, "kindString": "Property", @@ -9680,7 +9994,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 161, + "line": 154, "character": 8 } ], @@ -9694,7 +10008,7 @@ { "title": "Properties", "kind": 1024, - "children": [143, 148] + "children": [145, 150] } ] } @@ -9702,14 +10016,14 @@ { "type": "reflection", "declaration": { - "id": 149, + "id": 151, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 150, + "id": 152, "name": "data", "kind": 1024, "kindString": "Property", @@ -9717,7 +10031,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 164, + "line": 157, "character": 8 } ], @@ -9727,7 +10041,7 @@ } }, { - "id": 151, + "id": 153, "name": "error", "kind": 1024, "kindString": "Property", @@ -9735,13 +10049,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 165, + "line": 158, "character": 8 } ], "type": { "type": "reference", - "id": 493, + "id": 499, "name": "StorageError" } } @@ -9750,7 +10064,7 @@ { "title": "Properties", "kind": 1024, - "children": [150, 151] + "children": [152, 153] } ] } @@ -9766,7 +10080,7 @@ ] }, { - "id": 152, + "id": 154, "name": "uploadToSignedUrl", "kind": 2048, "kindString": "Method", @@ -9774,13 +10088,13 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 177, + "line": 170, "character": 8 } ], "signatures": [ { - "id": 153, + "id": 155, "name": "uploadToSignedUrl", "kind": 4096, "kindString": "Call signature", @@ -9790,7 +10104,7 @@ }, "parameters": [ { - "id": 154, + "id": 156, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -9804,7 +10118,7 @@ } }, { - "id": 155, + "id": 157, "name": "token", "kind": 32768, "kindString": "Parameter", @@ -9818,7 +10132,7 @@ } }, { - "id": 156, + "id": 158, "name": "fileBody", "kind": 32768, "kindString": "Parameter", @@ -9832,7 +10146,7 @@ } }, { - "id": 157, + "id": 159, "name": "fileOptions", "kind": 32768, "kindString": "Parameter", @@ -9841,17 +10155,17 @@ }, "type": { "type": "reference", - "id": 464, + "id": 470, "name": "FileOptions", "dereferenced": { - "id": 464, + "id": 470, "name": "FileOptions", "kind": 256, "kindString": "Interface", "flags": {}, "children": [ { - "id": 465, + "id": 471, "name": "cacheControl", "kind": 1024, "kindString": "Property", @@ -9864,7 +10178,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 49, + "line": 52, "character": 2 } ], @@ -9874,7 +10188,7 @@ } }, { - "id": 466, + "id": 472, "name": "contentType", "kind": 1024, "kindString": "Property", @@ -9887,7 +10201,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 53, + "line": 56, "character": 2 } ], @@ -9897,7 +10211,7 @@ } }, { - "id": 468, + "id": 474, "name": "duplex", "kind": 1024, "kindString": "Property", @@ -9910,7 +10224,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 61, + "line": 64, "character": 2 } ], @@ -9920,7 +10234,7 @@ } }, { - "id": 470, + "id": 476, "name": "headers", "kind": 1024, "kindString": "Property", @@ -9933,7 +10247,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 71, + "line": 74, "character": 2 } ], @@ -9955,7 +10269,7 @@ } }, { - "id": 469, + "id": 475, "name": "metadata", "kind": 1024, "kindString": "Property", @@ -9968,7 +10282,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 66, + "line": 69, "character": 2 } ], @@ -9990,7 +10304,7 @@ } }, { - "id": 467, + "id": 473, "name": "upsert", "kind": 1024, "kindString": "Property", @@ -10003,7 +10317,7 @@ "sources": [ { "fileName": "src/lib/types.ts", - "line": 57, + "line": 60, "character": 2 } ], @@ -10017,13 +10331,13 @@ { "title": "Properties", "kind": 1024, - "children": [465, 466, 468, 470, 469, 467] + "children": [471, 472, 474, 476, 475, 473] } ], "sources": [ { "fileName": "src/lib/types.ts", - "line": 45, + "line": 48, "character": 17 } ] @@ -10040,14 +10354,14 @@ { "type": "reflection", "declaration": { - "id": 158, + "id": 160, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 159, + "id": 161, "name": "data", "kind": 1024, "kindString": "Property", @@ -10055,21 +10369,21 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 10 + "line": 206, + "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 162, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 162, + "id": 164, "name": "fullPath", "kind": 1024, "kindString": "Property", @@ -10077,8 +10391,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 35 + "line": 206, + "character": 33 } ], "type": { @@ -10088,7 +10402,7 @@ "defaultValue": "data.Key" }, { - "id": 161, + "id": 163, "name": "path", "kind": 1024, "kindString": "Property", @@ -10096,8 +10410,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 220, - "character": 18 + "line": 206, + "character": 16 } ], "type": { @@ -10111,7 +10425,7 @@ { "title": "Properties", "kind": 1024, - "children": [162, 161] + "children": [164, 163] } ] } @@ -10119,7 +10433,7 @@ "defaultValue": "..." }, { - "id": 163, + "id": 165, "name": "error", "kind": 1024, "kindString": "Property", @@ -10127,8 +10441,8 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 221, - "character": 10 + "line": 207, + "character": 8 } ], "type": { @@ -10142,7 +10456,7 @@ { "title": "Properties", "kind": 1024, - "children": [159, 163] + "children": [161, 165] } ] } @@ -10150,14 +10464,14 @@ { "type": "reflection", "declaration": { - "id": 164, + "id": 166, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 165, + "id": 167, "name": "data", "kind": 1024, "kindString": "Property", @@ -10165,7 +10479,7 @@ "sources": [ { "fileName": "src/packages/StorageFileApi.ts", - "line": 225, + "line": 211, "character": 17 } ], @@ -10176,14 +10490,15 @@ "defaultValue": "null" }, { - "id": 166, + "id": 168, "name": "error", "kind": 1024, "kindString": "Property", "flags": {}, "type": { - "type": "intrinsic", - "name": "any" + "type": "reference", + "id": 499, + "name": "StorageError" } } ], @@ -10191,7 +10506,7 @@ { "title": "Properties", "kind": 1024, - "children": [165, 166] + "children": [167, 168] } ] } @@ -10211,13 +10526,13 @@ { "title": "Constructors", "kind": 512, - "children": [97] + "children": [99] }, { "title": "Methods", "kind": 2048, "children": [ - 211, 167, 224, 240, 257, 278, 287, 269, 307, 198, 298, 321, 183, 137, 152 + 213, 169, 226, 242, 259, 280, 289, 271, 309, 200, 300, 323, 185, 139, 154 ] } ], @@ -10234,7 +10549,7 @@ { "title": "Classes", "kind": 128, - "children": [96] + "children": [98] } ], "sources": [ @@ -10250,7 +10565,7 @@ { "title": "Modules", "kind": 2, - "children": [1, 2, 95] + "children": [1, 2, 97] } ] } diff --git a/apps/docs/spec/enrichments/tsdoc_v2/supabase.json b/apps/docs/spec/enrichments/tsdoc_v2/supabase.json index 7d41ba80e5d..def4b60e285 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/supabase.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/supabase.json @@ -386,8 +386,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -518,8 +520,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -590,8 +594,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -669,8 +675,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -708,7 +716,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 141, "character": 6 } ], @@ -740,7 +748,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 149, + "line": 151, "character": 6 } ], @@ -774,7 +782,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 269, + "line": 271, "character": 16 } ], @@ -820,7 +828,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 329, + "line": 331, "character": 10 } ], @@ -897,7 +905,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 315, + "line": 317, "character": 10 } ], @@ -943,7 +951,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 279, + "line": 281, "character": 10 } ], @@ -1094,7 +1102,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 322, + "line": 324, "character": 10 } ], @@ -1127,7 +1135,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -1192,7 +1200,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 154, + "line": 156, "character": 2 } ], @@ -1414,7 +1422,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 248, + "line": 250, "character": 2 } ], @@ -1449,7 +1457,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 265, + "line": 267, "character": 2 } ], @@ -1503,7 +1511,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -1572,7 +1580,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 212, + "line": 214, "character": 2 } ], @@ -1682,7 +1690,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 218, + "line": 220, "character": 6 } ], @@ -1718,7 +1726,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 217, + "line": 219, "character": 6 } ], @@ -1741,7 +1749,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -1887,7 +1895,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 2 } ], @@ -3265,6 +3273,46 @@ } ] }, + { + "id": 56, + "name": "ensureTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 57, + "name": "ensureTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 58, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, { "id": 65, "name": "isBrowser", @@ -3292,46 +3340,6 @@ } ] }, - { - "id": 56, - "name": "stripTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 57, - "name": "stripTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 58, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, { "id": 54, "name": "uuid", @@ -3364,7 +3372,7 @@ { "title": "Functions", "kind": 64, - "children": [59, 65, 56, 54] + "children": [59, 56, 65, 54] } ], "sources": [ diff --git a/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json index 628359a9643..ff55b75f65d 100644 --- a/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json +++ b/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json @@ -971,8 +971,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1103,8 +1105,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1175,8 +1179,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1254,8 +1260,10 @@ } ], "type": { - "type": "intrinsic", - "name": "string" + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" } }, { @@ -1293,7 +1301,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 139, + "line": 141, "character": 6 } ], @@ -1325,7 +1333,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 149, + "line": 151, "character": 6 } ], @@ -1359,7 +1367,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 269, + "line": 271, "character": 16 } ], @@ -1405,7 +1413,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 329, + "line": 331, "character": 10 } ], @@ -1482,7 +1490,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 315, + "line": 317, "character": 10 } ], @@ -1528,7 +1536,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 279, + "line": 281, "character": 10 } ], @@ -1699,7 +1707,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 322, + "line": 324, "character": 10 } ], @@ -1732,7 +1740,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 241, + "line": 243, "character": 2 } ], @@ -1797,7 +1805,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 154, + "line": 156, "character": 2 } ], @@ -2021,7 +2029,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 248, + "line": 250, "character": 2 } ], @@ -2056,7 +2064,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 265, + "line": 267, "character": 2 } ], @@ -2110,7 +2118,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 258, + "line": 260, "character": 2 } ], @@ -2179,7 +2187,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 212, + "line": 214, "character": 2 } ], @@ -2290,7 +2298,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 218, + "line": 220, "character": 6 } ], @@ -2326,7 +2334,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 217, + "line": 219, "character": 6 } ], @@ -2349,7 +2357,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 216, + "line": 218, "character": 6 } ], @@ -2495,7 +2503,7 @@ "sources": [ { "fileName": "src/SupabaseClient.ts", - "line": 178, + "line": 180, "character": 2 } ], @@ -5629,6 +5637,46 @@ } ] }, + { + "id": 56, + "name": "ensureTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 12, + "character": 16 + } + ], + "signatures": [ + { + "id": 57, + "name": "ensureTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 58, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, { "id": 65, "name": "isBrowser", @@ -5656,46 +5704,6 @@ } ] }, - { - "id": 56, - "name": "stripTrailingSlash", - "kind": 64, - "kindString": "Function", - "flags": {}, - "sources": [ - { - "fileName": "src/lib/helpers.ts", - "line": 12, - "character": 16 - } - ], - "signatures": [ - { - "id": 57, - "name": "stripTrailingSlash", - "kind": 4096, - "kindString": "Call signature", - "flags": {}, - "parameters": [ - { - "id": 58, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - }, { "id": 54, "name": "uuid", @@ -5728,7 +5736,7 @@ { "title": "Functions", "kind": 64, - "children": [59, 65, 56, 54] + "children": [59, 56, 65, 54] } ], "sources": [ diff --git a/apps/docs/spec/storage_v0_openapi.json b/apps/docs/spec/storage_v0_openapi.json index edf934d462b..a3f4f0145ba 100644 --- a/apps/docs/spec/storage_v0_openapi.json +++ b/apps/docs/spec/storage_v0_openapi.json @@ -129,6 +129,7 @@ "name": { "type": "string", "examples": ["avatars"] }, "id": { "type": "string", "examples": ["avatars"] }, "public": { "type": "boolean", "examples": [false] }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "anyOf": [ { "type": "integer", "examples": [1000], "nullable": true, "minimum": 0 }, @@ -185,6 +186,39 @@ "summary": "Gets all buckets", "tags": ["bucket"], "parameters": [ + { + "schema": { "type": "integer", "minimum": 1 }, + "example": 10, + "in": "query", + "name": "limit", + "required": false + }, + { + "schema": { "type": "integer", "minimum": 0 }, + "example": 0, + "in": "query", + "name": "offset", + "required": false + }, + { + "schema": { "type": "string", "enum": ["id", "name", "created_at", "updated_at"] }, + "in": "query", + "name": "sortColumn", + "required": false + }, + { + "schema": { "type": "string", "enum": ["asc", "desc"] }, + "in": "query", + "name": "sortOrder", + "required": false + }, + { + "schema": { "type": "string" }, + "example": "my-bucket", + "in": "query", + "name": "search", + "required": false + }, { "schema": { "type": "string" }, "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs", @@ -207,7 +241,9 @@ "id": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, + "owner_id": { "type": "string" }, "public": { "type": "boolean" }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "type": ["null", "integer"] }, "allowed_mime_types": { "type": ["null", "array"], @@ -236,6 +272,7 @@ "example": [ { "id": "avatars", + "type": "STANDARD", "name": "avatars", "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142", "public": false, @@ -288,7 +325,12 @@ "description": "Successful response", "type": "object", "properties": { - "message": { "type": "string", "examples": ["Successfully emptied"] } + "message": { + "type": "string", + "examples": [ + "Empty bucket has been queued. Completion may take up to an hour." + ] + } } } } @@ -337,7 +379,9 @@ "id": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, + "owner_id": { "type": "string" }, "public": { "type": "boolean" }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "type": ["null", "integer"] }, "allowed_mime_types": { "type": ["null", "array"], @@ -743,7 +787,9 @@ "id": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, + "owner_id": { "type": "string" }, "public": { "type": "boolean" }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "type": ["null", "integer"] }, "allowed_mime_types": { "type": ["null", "array"], @@ -1324,7 +1370,9 @@ "id": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, + "owner_id": { "type": "string" }, "public": { "type": "boolean" }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "type": ["null", "integer"] }, "allowed_mime_types": { "type": ["null", "array"], @@ -1525,7 +1573,9 @@ "id": { "type": "string" }, "name": { "type": "string" }, "owner": { "type": "string" }, + "owner_id": { "type": "string" }, "public": { "type": "boolean" }, + "type": { "type": "string", "enum": ["STANDARD", "ANALYTICS"] }, "file_size_limit": { "type": ["null", "integer"] }, "allowed_mime_types": { "type": ["null", "array"], @@ -1838,11 +1888,512 @@ "/s3/": { "get": { "tags": ["s3"], "responses": { "200": { "description": "Default Response" } } } }, + "/cdn/{bucketName}/{wildcard}": { + "delete": { + "summary": "Purge cache for an object", + "tags": ["object"], + "parameters": [ + { + "schema": { "type": "string" }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs", + "in": "header", + "name": "authorization", + "required": true + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "description": "Successful response", + "type": "object", + "properties": { "message": { "type": "string", "examples": ["success"] } } + } + } + } + }, + "4XX": { + "description": "Error response", + "content": { + "application/json": { + "schema": { "description": "Error response", "$ref": "#/components/schemas/def-1" } + } + } + } + } + } + }, "/health/": { "get": { "summary": "healthcheck", "responses": { "200": { "description": "Default Response" } } } + }, + "/iceberg/v1/config": { + "get": { + "summary": "Get Iceberg catalog configuration", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { "type": "string" }, + "example": "my-warehouse", + "in": "query", + "name": "warehouse", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + } + }, + "/iceberg/v1/{prefix}/namespaces": { + "post": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { "namespace": { "type": "string", "examples": ["namespace"] } }, + "required": ["namespace"] + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + }, + "get": { + "summary": "List namespaces", + "tags": ["iceberg"], + "parameters": [ + { "schema": { "type": "string" }, "in": "query", "name": "pageToken", "required": false }, + { "schema": { "type": "number" }, "in": "query", "name": "pageSize", "required": false }, + { "schema": { "type": "string" }, "in": "query", "name": "parent", "required": false }, + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}": { + "get": { + "summary": "Load a namespace", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + }, + "delete": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}/tables": { + "post": { + "summary": "Create a table in the given namespace", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["name", "schema"], + "properties": { + "name": { "type": "string" }, + "location": { "type": "string", "format": "uri", "nullable": true }, + "schema": { + "allOf": [ + { + "type": "object", + "required": ["type", "fields"], + "properties": { + "type": { "type": "string", "enum": ["struct"] }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["id", "name", "type", "required"], + "properties": { + "id": { "type": "integer" }, + "name": { "type": "string" }, + "type": { + "oneOf": [ + { "type": "string" }, + { + "type": "object", + "required": ["type", "fields"], + "properties": { + "type": { "type": "string", "enum": ["struct"] }, + "fields": { + "type": "array", + "items": { + "$comment": "recurse nested StructField definitions here" + } + } + } + }, + { + "type": "object", + "required": [ + "type", + "element-id", + "element", + "element-required" + ], + "properties": { + "type": { "type": "string", "enum": ["list"] }, + "element-id": { "type": "integer" }, + "element": { "$comment": "Type object (recurse)" }, + "element-required": { "type": "boolean" } + } + }, + { + "type": "object", + "required": [ + "type", + "key-id", + "key", + "value-id", + "value", + "value-required" + ], + "properties": { + "type": { "type": "string", "enum": ["map"] }, + "key-id": { "type": "integer" }, + "key": { "$comment": "Type object (recurse)" }, + "value-id": { "type": "integer" }, + "value": { "$comment": "Type object (recurse)" }, + "value-required": { "type": "boolean" } + } + } + ] + }, + "required": { "type": "boolean" }, + "doc": { "type": "string" } + } + } + } + } + }, + { + "type": "object", + "properties": { + "schema-id": { "type": "integer", "readOnly": true }, + "identifier-field-ids": { + "type": "array", + "items": { "type": "integer" } + } + } + } + ] + }, + "spec": { + "type": "object", + "required": ["fields"], + "properties": { + "spec-id": { "type": "integer", "readOnly": true }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["source-id", "transform", "name"], + "properties": { + "field-id": { "type": "integer" }, + "source-id": { "type": "integer" }, + "name": { "type": "string" }, + "transform": { "type": "string" } + } + } + } + } + }, + "properties": { "type": "object", "additionalProperties": { "type": "string" } }, + "stage-create": { "type": "boolean", "default": false }, + "write-order": { + "type": "object", + "nullable": true, + "required": ["fields"], + "properties": { + "order-id": { "type": "integer", "readOnly": true }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["source-id", "transform", "direction", "null-order"], + "properties": { + "source-id": { "type": "integer" }, + "transform": { "type": "string" }, + "direction": { "type": "string", "enum": ["asc", "desc"] }, + "null-order": { + "type": "string", + "enum": ["nulls-first", "nulls-last"] + } + } + } + } + } + } + } + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + }, + "get": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "parameters": [ + { "schema": { "type": "string" }, "in": "query", "name": "pageToken", "required": false }, + { "schema": { "type": "number" }, "in": "query", "name": "pageSize", "required": false }, + { "schema": { "type": "string" }, "in": "query", "name": "parent", "required": false }, + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}/tables/{table}": { + "get": { + "summary": "Load an Iceberg Table", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + }, + "post": { + "summary": "Commit updates to multiple tables in an atomic operation", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Commit updates to multiple tables in an atomic operation", + "properties": { + "requirements": { + "type": "array", + "description": "Assertions to validate before applying updates", + "items": { + "type": "object", + "description": "A requirement assertion", + "properties": { + "name": { + "type": "string", + "description": "Name of the requirement (e.g. assert-ref-snapshot-id)", + "examples": ["assert-ref-snapshot-id"] + }, + "args": { + "type": "object", + "description": "Arguments for the requirement", + "additionalProperties": true + } + } + } + }, + "updates": { + "type": "array", + "description": "Metadata updates to apply to the table", + "items": { + "type": "object", + "description": "A single update operation", + "properties": { + "name": { + "type": "string", + "description": "Name of the update operation (e.g. add-column)", + "examples": ["add-column"] + }, + "args": { + "type": "object", + "description": "Arguments for the update operation", + "additionalProperties": true + } + } + } + } + }, + "required": ["updates", "requirements"] + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + }, + "delete": { + "summary": "Drop a Table", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string", + "enum": ["true", "false", "True", "False"], + "default": "false" + }, + "in": "query", + "name": "purgeRequested", + "required": false, + "description": "If true, the table will be permanently deleted" + }, + { + "schema": { "type": "string" }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { "type": "string" }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { "200": { "description": "Default Response" } } + } } }, "tags": [ diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index e41c65a32ef..a9834a43420 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -1095,7 +1095,15 @@ functions: title: 'verifyOtp()' $ref: '@supabase/auth-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: `email`, `recovery`, `invite` or `email_change` (`signup` and `magiclink` types are deprecated). + - The `verifyOtp` method takes in different verification types. + - If a phone number is used, the type can either be: + 1. `sms` – Used when verifying a one-time password (OTP) sent via SMS during sign-up or sign-in. + 2. `phone_change` – Used when verifying an OTP sent to a new phone number during a phone number update process. + - If an email address is used, the type can be one of the following (note: `signup` and `magiclink` types are deprecated): + 1. `email` – Used when verifying an OTP sent to the user's email during sign-up or sign-in. + 2. `recovery` – Used when verifying an OTP sent for account recovery, typically after a password reset request. + 3. `invite` – Used when verifying an OTP sent as part of an invitation to join a project or organization. + 4. `email_change` – Used when verifying an OTP sent to a new email address during an email update process. - The verification type used should be determined based on the corresponding auth method called before `verifyOtp` to sign up / sign-in a user. - The `TokenHash` is contained in the [email templates](/docs/guides/auth/auth-email-templates) and can be used to sign in. You may wish to use the hash with Magic Links for the PKCE flow for Server Side Auth. See [this guide](/docs/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr) for more details. examples: @@ -1653,7 +1661,7 @@ functions: - Resends a signup confirmation, email change or phone change email to the user. - Passwordless sign-ins can be resent by calling the `signInWithOtp()` method again. - Password recovery emails can be resent by calling the `resetPasswordForEmail()` method again. - - This method will only resend an email or phone OTP to the user if there was an initial signup, email change or phone change request being made. + - This method will only resend an email or phone OTP to the user if there was an initial signup, email change or phone change request being made(note: For existing users signing in with OTP, you should use `signInWithOtp()` again to resend the OTP). - You can specify a redirect url when you resend an email link using the `emailRedirectTo` option. examples: - id: resend-email-signup-confirmation diff --git a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json index 3231de60004..3334dd4470b 100644 --- a/apps/docs/spec/transforms/api_v1_openapi_deparsed.json +++ b/apps/docs/spec/transforms/api_v1_openapi_deparsed.json @@ -1039,6 +1039,16 @@ "pattern": "^[\\w-]+$", "type": "string" } + }, + { + "name": "resource", + "required": false, + "in": "query", + "description": "Resource indicator for MCP (Model Context Protocol) clients", + "schema": { + "enum": ["https://api.supabase.io/mcp"], + "type": "string" + } } ], "responses": { @@ -1088,6 +1098,11 @@ }, "refresh_token": { "type": "string" + }, + "resource": { + "type": "string", + "enum": ["https://api.supabase.io/mcp"], + "description": "Resource indicator for MCP (Model Context Protocol) clients" } }, "additionalProperties": false @@ -1624,13 +1639,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -1710,13 +1719,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true } }, @@ -1763,13 +1766,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -1956,13 +1953,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true } } @@ -2008,13 +1999,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -2117,13 +2102,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -2243,13 +2222,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -4962,7 +4935,7 @@ "properties": { "postgres_version": { "type": "string", - "enum": ["15", "17", "17-oriole"] + "enum": ["13", "14", "15", "17", "17-oriole"] }, "release_channel": { "type": "string", @@ -14663,6 +14636,11 @@ }, "refresh_token": { "type": "string" + }, + "resource": { + "type": "string", + "enum": ["https://api.supabase.io/mcp"], + "description": "Resource indicator for MCP (Model Context Protocol) clients" } }, "additionalProperties": false @@ -14919,13 +14897,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true }, "inserted_at": { @@ -14969,13 +14941,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true } }, @@ -14996,13 +14962,7 @@ }, "secret_jwt_template": { "type": "object", - "properties": { - "role": { - "type": "string", - "minLength": 1 - } - }, - "required": ["role"], + "additionalProperties": {}, "nullable": true } } @@ -15581,7 +15541,7 @@ "properties": { "postgres_version": { "type": "string", - "enum": ["15", "17", "17-oriole"] + "enum": ["13", "14", "15", "17", "17-oriole"] }, "release_channel": { "type": "string", diff --git a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json index 642d78f9511..8c9a4953f64 100644 --- a/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json +++ b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json @@ -197,6 +197,10 @@ "type": "boolean", "examples": [false] }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "anyOf": [ { @@ -287,6 +291,53 @@ "summary": "Gets all buckets", "tags": ["bucket"], "parameters": [ + { + "schema": { + "type": "integer", + "minimum": 1 + }, + "example": 10, + "in": "query", + "name": "limit", + "required": false + }, + { + "schema": { + "type": "integer", + "minimum": 0 + }, + "example": 0, + "in": "query", + "name": "offset", + "required": false + }, + { + "schema": { + "type": "string", + "enum": ["id", "name", "created_at", "updated_at"] + }, + "in": "query", + "name": "sortColumn", + "required": false + }, + { + "schema": { + "type": "string", + "enum": ["asc", "desc"] + }, + "in": "query", + "name": "sortOrder", + "required": false + }, + { + "schema": { + "type": "string" + }, + "example": "my-bucket", + "in": "query", + "name": "search", + "required": false + }, { "schema": { "type": "string" @@ -317,9 +368,16 @@ "owner": { "type": "string" }, + "owner_id": { + "type": "string" + }, "public": { "type": "boolean" }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "type": ["null", "integer"] }, @@ -356,6 +414,7 @@ "example": [ { "id": "avatars", + "type": "STANDARD", "name": "avatars", "owner": "4d56e902-f0a0-4662-8448-a4d9e643c142", "public": false, @@ -430,7 +489,9 @@ "properties": { "message": { "type": "string", - "examples": ["Successfully emptied"] + "examples": [ + "Empty bucket has been queued. Completion may take up to an hour." + ] } } } @@ -506,9 +567,16 @@ "owner": { "type": "string" }, + "owner_id": { + "type": "string" + }, "public": { "type": "boolean" }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "type": ["null", "integer"] }, @@ -1165,9 +1233,16 @@ "owner": { "type": "string" }, + "owner_id": { + "type": "string" + }, "public": { "type": "boolean" }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "type": ["null", "integer"] }, @@ -2088,9 +2163,16 @@ "owner": { "type": "string" }, + "owner_id": { + "type": "string" + }, "public": { "type": "boolean" }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "type": ["null", "integer"] }, @@ -2448,9 +2530,16 @@ "owner": { "type": "string" }, + "owner_id": { + "type": "string" + }, "public": { "type": "boolean" }, + "type": { + "type": "string", + "enum": ["STANDARD", "ANALYTICS"] + }, "file_size_limit": { "type": ["null", "integer"] }, @@ -3019,6 +3108,84 @@ } } }, + "/cdn/{bucketName}/{wildcard}": { + "delete": { + "summary": "Purge cache for an object", + "tags": ["object"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "avatars", + "in": "path", + "name": "bucketName", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "folder/cat.png", + "in": "path", + "name": "*", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs", + "in": "header", + "name": "authorization", + "required": true + } + ], + "responses": { + "200": { + "description": "Successful response", + "content": { + "application/json": { + "schema": { + "description": "Successful response", + "type": "object", + "properties": { + "message": { + "type": "string", + "examples": ["success"] + } + } + } + } + } + }, + "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" + } + } + } + } + } + } + }, "/health/": { "get": { "summary": "healthcheck", @@ -3028,6 +3195,661 @@ } } } + }, + "/iceberg/v1/config": { + "get": { + "summary": "Get Iceberg catalog configuration", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "my-warehouse", + "in": "query", + "name": "warehouse", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } + }, + "/iceberg/v1/{prefix}/namespaces": { + "post": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "namespace": { + "type": "string", + "examples": ["namespace"] + } + }, + "required": ["namespace"] + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + }, + "get": { + "summary": "List namespaces", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "query", + "name": "pageToken", + "required": false + }, + { + "schema": { + "type": "number" + }, + "in": "query", + "name": "pageSize", + "required": false + }, + { + "schema": { + "type": "string" + }, + "in": "query", + "name": "parent", + "required": false + }, + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}": { + "get": { + "summary": "Load a namespace", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + }, + "delete": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}/tables": { + "post": { + "summary": "Create a table in the given namespace", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": ["name", "schema"], + "properties": { + "name": { + "type": "string" + }, + "location": { + "type": "string", + "format": "uri", + "nullable": true + }, + "schema": { + "allOf": [ + { + "type": "object", + "required": ["type", "fields"], + "properties": { + "type": { + "type": "string", + "enum": ["struct"] + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["id", "name", "type", "required"], + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "type": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "required": ["type", "fields"], + "properties": { + "type": { + "type": "string", + "enum": ["struct"] + }, + "fields": { + "type": "array", + "items": { + "$comment": "recurse nested StructField definitions here" + } + } + } + }, + { + "type": "object", + "required": [ + "type", + "element-id", + "element", + "element-required" + ], + "properties": { + "type": { + "type": "string", + "enum": ["list"] + }, + "element-id": { + "type": "integer" + }, + "element": { + "$comment": "Type object (recurse)" + }, + "element-required": { + "type": "boolean" + } + } + }, + { + "type": "object", + "required": [ + "type", + "key-id", + "key", + "value-id", + "value", + "value-required" + ], + "properties": { + "type": { + "type": "string", + "enum": ["map"] + }, + "key-id": { + "type": "integer" + }, + "key": { + "$comment": "Type object (recurse)" + }, + "value-id": { + "type": "integer" + }, + "value": { + "$comment": "Type object (recurse)" + }, + "value-required": { + "type": "boolean" + } + } + } + ] + }, + "required": { + "type": "boolean" + }, + "doc": { + "type": "string" + } + } + } + } + } + }, + { + "type": "object", + "properties": { + "schema-id": { + "type": "integer", + "readOnly": true + }, + "identifier-field-ids": { + "type": "array", + "items": { + "type": "integer" + } + } + } + } + ] + }, + "spec": { + "type": "object", + "required": ["fields"], + "properties": { + "spec-id": { + "type": "integer", + "readOnly": true + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["source-id", "transform", "name"], + "properties": { + "field-id": { + "type": "integer" + }, + "source-id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "transform": { + "type": "string" + } + } + } + } + } + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "stage-create": { + "type": "boolean", + "default": false + }, + "write-order": { + "type": "object", + "nullable": true, + "required": ["fields"], + "properties": { + "order-id": { + "type": "integer", + "readOnly": true + }, + "fields": { + "type": "array", + "items": { + "type": "object", + "required": ["source-id", "transform", "direction", "null-order"], + "properties": { + "source-id": { + "type": "integer" + }, + "transform": { + "type": "string" + }, + "direction": { + "type": "string", + "enum": ["asc", "desc"] + }, + "null-order": { + "type": "string", + "enum": ["nulls-first", "nulls-last"] + } + } + } + } + } + } + } + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + }, + "get": { + "summary": "Create a namespace", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "query", + "name": "pageToken", + "required": false + }, + { + "schema": { + "type": "number" + }, + "in": "query", + "name": "pageSize", + "required": false + }, + { + "schema": { + "type": "string" + }, + "in": "query", + "name": "parent", + "required": false + }, + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } + }, + "/iceberg/v1/{prefix}/namespaces/{namespace}/tables/{table}": { + "get": { + "summary": "Load an Iceberg Table", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + }, + "post": { + "summary": "Commit updates to multiple tables in an atomic operation", + "tags": ["iceberg"], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "Commit updates to multiple tables in an atomic operation", + "properties": { + "requirements": { + "type": "array", + "description": "Assertions to validate before applying updates", + "items": { + "type": "object", + "description": "A requirement assertion", + "properties": { + "name": { + "type": "string", + "description": "Name of the requirement (e.g. assert-ref-snapshot-id)", + "examples": ["assert-ref-snapshot-id"] + }, + "args": { + "type": "object", + "description": "Arguments for the requirement", + "additionalProperties": true + } + } + } + }, + "updates": { + "type": "array", + "description": "Metadata updates to apply to the table", + "items": { + "type": "object", + "description": "A single update operation", + "properties": { + "name": { + "type": "string", + "description": "Name of the update operation (e.g. add-column)", + "examples": ["add-column"] + }, + "args": { + "type": "object", + "description": "Arguments for the update operation", + "additionalProperties": true + } + } + } + } + }, + "required": ["updates", "requirements"] + } + } + }, + "required": true + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + }, + "delete": { + "summary": "Drop a Table", + "tags": ["iceberg"], + "parameters": [ + { + "schema": { + "type": "string", + "enum": ["true", "false", "True", "False"], + "default": "false" + }, + "in": "query", + "name": "purgeRequested", + "required": false, + "description": "If true, the table will be permanently deleted" + }, + { + "schema": { + "type": "string" + }, + "example": "prefix", + "in": "path", + "name": "prefix", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "namespace", + "in": "path", + "name": "namespace", + "required": true + }, + { + "schema": { + "type": "string" + }, + "example": "table", + "in": "path", + "name": "table", + "required": true + } + ], + "responses": { + "200": { + "description": "Default Response" + } + } + } } }, "components": { diff --git a/apps/docs/turbo.json b/apps/docs/turbo.json index 218e751f61b..1cf047c8b07 100644 --- a/apps/docs/turbo.json +++ b/apps/docs/turbo.json @@ -40,12 +40,16 @@ "ASSET_CDN_S3_ENDPOINT", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", + "CI", "DOCS_GITHUB_APP_ID", "DOCS_GITHUB_APP_INSTALLATION_ID", "DOCS_GITHUB_APP_PRIVATE_KEY", "DOCS_REVALIDATION_KEYS", "DOCS_REVALIDATION_OVERRIDE_KEYS", + "GITHUB_ACTIONS", "FORCE_ASSET_CDN", + "LOGFLARE_INGESTION_API_KEY", + "LOGFLARE_SOURCE_TOKEN", "OPENAI_API_KEY", "SITE_NAME", "SUPABASE_SECRET_KEY" diff --git a/apps/studio/components/grid/components/header/filter/FilterPopoverPrimitive.tsx b/apps/studio/components/grid/components/header/filter/FilterPopoverPrimitive.tsx index 8891ff8dcef..a36027b4610 100644 --- a/apps/studio/components/grid/components/header/filter/FilterPopoverPrimitive.tsx +++ b/apps/studio/components/grid/components/header/filter/FilterPopoverPrimitive.tsx @@ -109,7 +109,7 @@ export const FilterPopoverPrimitive = ({ ))} {localFilters.length == 0 && (
-
No filters applied to this view
+
No filters applied to this view

Add a column below to filter the view

diff --git a/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx b/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx index 7cba3696a96..943f60aaf25 100644 --- a/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx +++ b/apps/studio/components/grid/components/header/sort/SortPopoverPrimitive.tsx @@ -185,7 +185,7 @@ export const SortPopoverPrimitive = ({ ))} {localSorts.length === 0 && (
-
No sorts applied to this view
+
No sorts applied to this view

Add a column below to sort the view

)} diff --git a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx index 73d736d80a8..f9928a5b278 100644 --- a/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/AnalyticsSettings.tsx @@ -1,53 +1,8 @@ -import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_, Badge, Toggle } from 'ui' -import { ButtonTooltip } from 'components/ui/ButtonTooltip' -import { X } from 'lucide-react' +import { Toggle } from 'ui' import { toast } from 'sonner' - import { useConsentState } from 'common' import Panel from 'components/ui/Panel' import { useSendResetMutation } from 'data/telemetry/send-reset-mutation' -import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage' -import { LOCAL_STORAGE_KEYS } from 'common/constants/local-storage' - -export const TermsUpdateBanner = () => { - const [termsUpdateAcknowledged, setTermsUpdateAcknowledged] = useLocalStorageQuery( - LOCAL_STORAGE_KEYS.TERMS_OF_SERVICE_ACKNOWLEDGED, - false - ) - - if (termsUpdateAcknowledged) return null - - return ( - - - - NOTICE - - Terms of Service Update – Effective Aug 1, 2025 - - - We’ve updated our{' '} - - Terms of Service - - . The new terms take effect on August 1, 2025 and reflect changes to support our evolving - business, legal requirements, and a new arbitration-based dispute resolution process. - Questions? Contact{' '} - - our team - - . - - } - className="absolute top-2 right-2 px-1" - onClick={() => setTermsUpdateAcknowledged(true)} - tooltip={{ content: { side: 'bottom', text: 'Dismiss' } }} - /> - - ) -} export const AnalyticsSettings = () => { const { hasAccepted, acceptAll, denyAll, categories } = useConsentState() diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx index e915e23641d..c1fcb131674 100644 --- a/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx +++ b/apps/studio/components/interfaces/Auth/AuthProvidersForm/ProviderForm.tsx @@ -36,7 +36,7 @@ export const ProviderForm = ({ config, provider, isActive }: ProviderFormProps) const [open, setOpen] = useState(false) const { mutate: updateAuthConfig, isLoading: isUpdatingConfig } = useAuthConfigUpdateMutation() - const doubleNegativeKeys = ['MAILER_AUTOCONFIRM', 'SMS_AUTOCONFIRM'] + const doubleNegativeKeys = ['SMS_AUTOCONFIRM'] const canUpdateConfig: boolean = useCheckPermissions( PermissionAction.UPDATE, 'custom_config_gotrue' diff --git a/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx b/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx index 1931a49b408..0137a0685f3 100644 --- a/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx +++ b/apps/studio/components/interfaces/Auth/AuthProvidersFormValidation.tsx @@ -19,11 +19,6 @@ const PROVIDER_EMAIL = { description: 'This will enable Email based signup and login for your application', type: 'boolean', }, - MAILER_AUTOCONFIRM: { - title: 'Confirm email', - description: `Users will need to confirm their email address before signing in for the first time.`, - type: 'boolean', - }, MAILER_SECURE_EMAIL_CHANGE_ENABLED: { title: 'Secure email change', description: `Users will be required to confirm any email change on both the old email address and new email address. diff --git a/apps/studio/components/interfaces/Auth/BasicAuthSettingsForm/BasicAuthSettingsForm.tsx b/apps/studio/components/interfaces/Auth/BasicAuthSettingsForm/BasicAuthSettingsForm.tsx index 18623d0ab94..8961d29c60a 100644 --- a/apps/studio/components/interfaces/Auth/BasicAuthSettingsForm/BasicAuthSettingsForm.tsx +++ b/apps/studio/components/interfaces/Auth/BasicAuthSettingsForm/BasicAuthSettingsForm.tsx @@ -35,6 +35,7 @@ const schema = object({ DISABLE_SIGNUP: boolean().required(), EXTERNAL_ANONYMOUS_USERS_ENABLED: boolean().required(), SECURITY_MANUAL_LINKING_ENABLED: boolean().required(), + MAILER_AUTOCONFIRM: boolean().required(), SITE_URL: string().required('Must have a Site URL'), }) @@ -52,6 +53,7 @@ const BasicAuthSettingsForm = () => { DISABLE_SIGNUP: true, EXTERNAL_ANONYMOUS_USERS_ENABLED: false, SECURITY_MANUAL_LINKING_ENABLED: false, + MAILER_AUTOCONFIRM: true, SITE_URL: '', }, }) @@ -61,7 +63,9 @@ const BasicAuthSettingsForm = () => { form.reset({ DISABLE_SIGNUP: !authConfig.DISABLE_SIGNUP, EXTERNAL_ANONYMOUS_USERS_ENABLED: authConfig.EXTERNAL_ANONYMOUS_USERS_ENABLED, - SECURITY_MANUAL_LINKING_ENABLED: authConfig.SECURITY_MANUAL_LINKING_ENABLED || false, + SECURITY_MANUAL_LINKING_ENABLED: authConfig.SECURITY_MANUAL_LINKING_ENABLED, + // The backend uses false to represent that email confirmation is required + MAILER_AUTOCONFIRM: !authConfig.MAILER_AUTOCONFIRM, SITE_URL: authConfig.SITE_URL, }) } @@ -75,6 +79,9 @@ const BasicAuthSettingsForm = () => { payload.PASSWORD_REQUIRED_CHARACTERS = '' } + // The backend uses false to represent that email confirmation is required + payload.MAILER_AUTOCONFIRM = !values.MAILER_AUTOCONFIRM + updateAuthConfig( { projectRef: projectRef!, config: payload }, { @@ -250,6 +257,27 @@ const BasicAuthSettingsForm = () => { )} + + ( + + + + + + )} + /> + {form.formState.isDirty && (
-
+
{hasSpamWarning ? 'Email has a high probability of being marked as spam - review issues below to improve deliverability.' : 'Email content is unlikely to be marked as spam'} diff --git a/apps/studio/components/interfaces/Auth/Policies/Policies.tsx b/apps/studio/components/interfaces/Auth/Policies/Policies.tsx index ebb2a327ee1..2cb2d1d1516 100644 --- a/apps/studio/components/interfaces/Auth/Policies/Policies.tsx +++ b/apps/studio/components/interfaces/Auth/Policies/Policies.tsx @@ -10,7 +10,7 @@ import { PolicyTableRow, PolicyTableRowProps, } from 'components/interfaces/Auth/Policies/PolicyTableRow' -import ProtectedSchemaWarning from 'components/interfaces/Database/ProtectedSchemaWarning' +import { ProtectedSchemaWarning } from 'components/interfaces/Database/ProtectedSchemaWarning' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import NoSearchResults from 'components/to-be-cleaned/NoSearchResults' import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState' diff --git a/apps/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx b/apps/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx index 4e41b304bb7..795fc571114 100644 --- a/apps/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx +++ b/apps/studio/components/interfaces/Auth/Policies/PolicyTemplates/TemplatePreview.tsx @@ -15,7 +15,7 @@ const TemplatePreview = ({ selectedTemplate }: TemplatePreviewProps) => {
-

{templateName}

+

{templateName}

{description}

diff --git a/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx b/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx index ac1fee9298d..92c05be3e02 100644 --- a/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx +++ b/apps/studio/components/interfaces/Auth/Users/Users.utils.tsx @@ -1,6 +1,5 @@ import dayjs from 'dayjs' import { Clipboard, Trash, UserIcon } from 'lucide-react' -import { UIEvent } from 'react' import { Column, useRowSelection } from 'react-data-grid' import { User } from 'data/auth/users-infinite-query' @@ -22,10 +21,6 @@ import { HeaderCell } from './UsersGridComponents' const GITHUB_AVATAR_URL = 'https://avatars.githubusercontent.com' const SUPPORTED_CSP_AVATAR_URLS = [GITHUB_AVATAR_URL, 'https://lh3.googleusercontent.com'] -export const isAtBottom = ({ currentTarget }: UIEvent): boolean => { - return currentTarget.scrollTop + 10 >= currentTarget.scrollHeight - currentTarget.clientHeight -} - export const formatUsersData = (users: User[]) => { return users.map((user) => { const provider: string = (user.raw_app_meta_data?.provider as string) ?? '' diff --git a/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx b/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx index 0593a02a59b..2a142149b00 100644 --- a/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx +++ b/apps/studio/components/interfaces/Auth/Users/UsersV2.tsx @@ -18,6 +18,7 @@ import { useUserDeleteMutation } from 'data/auth/user-delete-mutation' import { useUsersCountQuery } from 'data/auth/users-count-query' import { User, useUsersInfiniteQuery } from 'data/auth/users-infinite-query' import { useLocalStorageQuery } from 'hooks/misc/useLocalStorage' +import { isAtBottom } from 'lib/helpers' import { Button, cn, @@ -51,7 +52,7 @@ import { PROVIDER_FILTER_OPTIONS, USERS_TABLE_COLUMNS, } from './Users.constants' -import { formatUserColumns, formatUsersData, isAtBottom } from './Users.utils' +import { formatUserColumns, formatUsersData } from './Users.utils' export type Filter = 'all' | 'verified' | 'unverified' | 'anonymous' diff --git a/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx b/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx index c232c4f070a..a4431644a0a 100644 --- a/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx +++ b/apps/studio/components/interfaces/Connect/ConnectionPanel.tsx @@ -144,7 +144,7 @@ export const ConnectionPanel = ({ >
- {isLocked && } + {isSchemaLocked && ( + + )} {isLoading && } @@ -140,7 +138,7 @@ const EnumeratedTypes = () => { {type.name} {type.enums.join(', ')} - {!isLocked && ( + {!isSchemaLocked && (
diff --git a/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx b/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx index f8b19680cc0..180631cb85b 100644 --- a/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx +++ b/apps/studio/components/interfaces/Database/Extensions/EnableExtensionModal.tsx @@ -122,7 +122,7 @@ const EnableExtensionModal = ({ visible, extension, onCancel }: EnableExtensionM size="small" header={
-
Confirm to enable
+
Confirm to enable
{extension.name}
} diff --git a/apps/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx b/apps/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx index c155b75005a..b68d93f3c97 100644 --- a/apps/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx +++ b/apps/studio/components/interfaces/Database/Extensions/ExtensionCard.tsx @@ -111,7 +111,7 @@ const ExtensionCard = ({ extension }: ExtensionCardProps) => {

{extension.comment}

-
+
{extensionMeta?.github_url && (
- {!isLocked && ( + {!isSchemaLocked && ( <>
- {isLocked && } + {isSchemaLocked && } diff --git a/apps/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx b/apps/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx index f809e700ad6..430f7008c21 100644 --- a/apps/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx +++ b/apps/studio/components/interfaces/Database/Hooks/EditHookPanel.tsx @@ -42,12 +42,48 @@ export const EditHookPanel = ({ visible, selectedHook, onClose }: EditHookPanelP // [Joshen] There seems to be some bug between Checkbox.Group within the Form component // hence why this external state as a temporary workaround - const [events, setEvents] = useState([]) + const [events, setEvents] = useState(selectedHook?.events ?? []) const [eventsError, setEventsError] = useState() // For HTTP request - const [httpHeaders, setHttpHeaders] = useState([]) - const [httpParameters, setHttpParameters] = useState([]) + const [httpHeaders, setHttpHeaders] = useState(() => { + if (typeof selectedHook === `undefined`) { + return [{ id: uuidv4(), name: 'Content-type', value: 'application/json' }] + } + const [_, __, headers] = selectedHook.function_args + let parsedHeaders: Record = {} + + try { + parsedHeaders = JSON.parse(headers.replace(/\\"/g, '"')) + } catch (e) { + parsedHeaders = {} + } + + return Object.entries(parsedHeaders).map(([name, value]) => ({ + id: uuidv4(), + name, + value, + })) + }) + const [httpParameters, setHttpParameters] = useState(() => { + if (typeof selectedHook === `undefined`) { + return [{ id: uuidv4(), name: '', value: '' }] + } + const [_, __, ___, parameters] = selectedHook.function_args + let parsedParameters: Record = {} + + try { + parsedParameters = JSON.parse(parameters.replace(/\\"/g, '"')) + } catch (e) { + parsedParameters = {} + } + + return Object.entries(parsedParameters).map(([name, value]) => ({ + id: uuidv4(), + name, + value, + })) + }) const { project } = useProjectContext() const { data } = useTablesQuery({ @@ -100,48 +136,8 @@ export const EditHookPanel = ({ visible, selectedHook, onClose }: EditHookPanelP if (visible) { setIsEdited(false) setIsClosingPanel(false) - - if (selectedHook !== undefined) { - setEvents(selectedHook.events) - - const [_, __, headers, parameters] = selectedHook.function_args - - let parsedParameters: Record = {} - - // Try to parse the parameters with escaped quotes - try { - parsedParameters = JSON.parse(parameters.replace(/\\"/g, '"')) - } catch (e) { - // If parsing still fails, fallback to an empty object - parsedParameters = {} - } - - let parsedHeaders: Record = {} - try { - parsedHeaders = JSON.parse(headers.replace(/\\"/g, '"')) - } catch (e) { - // If parsing still fails, fallback to an empty object - parsedHeaders = {} - } - - setHttpHeaders( - Object.keys(parsedHeaders).map((key) => { - return { id: uuidv4(), name: key, value: parsedHeaders[key] } - }) - ) - - setHttpParameters( - Object.keys(parsedParameters).map((key) => { - return { id: uuidv4(), name: key, value: parsedParameters[key] } - }) - ) - } else { - setEvents([]) - setHttpHeaders([{ id: uuidv4(), name: 'Content-type', value: 'application/json' }]) - setHttpParameters([{ id: uuidv4(), name: '', value: '' }]) - } } - }, [visible, selectedHook]) + }, [visible]) const onClosePanel = () => { if (isEdited) setIsClosingPanel(true) diff --git a/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx b/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx index 263d20bfd4d..742a04ace3b 100644 --- a/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx +++ b/apps/studio/components/interfaces/Database/Indexes/Indexes.tsx @@ -1,4 +1,4 @@ -import { partition, sortBy } from 'lodash' +import { sortBy } from 'lodash' import { AlertCircle, Search, Trash } from 'lucide-react' import { useEffect, useState } from 'react' import { toast } from 'sonner' @@ -14,10 +14,10 @@ import { useDatabaseIndexDeleteMutation } from 'data/database-indexes/index-dele import { DatabaseIndex, useIndexesQuery } from 'data/database-indexes/indexes-query' import { useSchemasQuery } from 'data/database/schemas-query' import { useQuerySchemaState } from 'hooks/misc/useSchemaQueryState' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' +import { useIsProtectedSchema } from 'hooks/useProtectedSchemas' import { Button, Input, SidePanel } from 'ui' import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' -import ProtectedSchemaWarning from '../ProtectedSchemaWarning' +import { ProtectedSchemaWarning } from '../ProtectedSchemaWarning' import CreateIndexSidePanel from './CreateIndexSidePanel' const Indexes = () => { @@ -58,11 +58,7 @@ const Indexes = () => { }, }) - const [protectedSchemas] = partition(schemas ?? [], (schema) => - PROTECTED_SCHEMAS.includes(schema?.name ?? '') - ) - const schema = schemas?.find((schema) => schema.name === selectedSchema) - const isLocked = protectedSchemas.some((s) => s.id === schema?.id) + const { isSchemaLocked } = useIsProtectedSchema({ schema: selectedSchema }) const sortedIndexes = sortBy(allIndexes ?? [], (index) => index.name.toLocaleLowerCase()) const indexes = @@ -122,7 +118,7 @@ const Indexes = () => { icon={} /> - {!isLocked && ( + {!isSchemaLocked && ( - {!isLocked && ( + {!isSchemaLocked && ( - - } - onCancel={() => onClose()} - > - + <> + + Schemas managed by Supabase + + +

The following schemas are managed by Supabase and are currently protected from write access through the dashboard.

- {PROTECTED_SCHEMAS.map((schema) => ( + {INTERNAL_SCHEMAS.map((schema) => ( {schema} @@ -45,32 +43,67 @@ export const ProtectedSchemaModal = ({ You can, however, still interact with those schemas through the SQL Editor although we advise you only do so if you know what you are doing.

- - - ) -} - -const ProtectedSchemaWarning = ({ schema, entity }: { schema: string; entity: string }) => { - const [showModal, setShowModal] = useState(false) - - return ( - <> - - - Currently viewing {entity} from a protected schema - -

- The {schema} schema is managed by Supabase and is - read-only through the dashboard. -

- -
-
- setShowModal(false)} /> +
+ ) } -export default ProtectedSchemaWarning +export const ProtectedSchemaWarning = ({ + size = 'md', + schema, + entity, +}: { + size?: 'sm' | 'md' + schema: string + entity: string +}) => { + const [showModal, setShowModal] = useState(false) + const { isSchemaLocked, reason } = useIsProtectedSchema({ schema }) + + if (!isSchemaLocked) return null + + return ( + div>p]:prose [&>div>p]:max-w-full [&>div>p]:!leading-normal', + size === 'sm' ? '[&>div>p]:text-xs' : '[&>div>p]:text-sm' + )} + > + {reason === 'fdw' ? ( +

+ The {schema} schema is used by Supabase to connect to + analytics buckets and is read-only through the dashboard. +

+ ) : ( + <> +

+ The {schema} schema is managed by Supabase and is + read-only through the dashboard. +

+ + + + + + setShowModal(false)} /> + + + + )} +
+ ) +} diff --git a/apps/studio/components/interfaces/Database/Publications/PublicationsTables.tsx b/apps/studio/components/interfaces/Database/Publications/PublicationsTables.tsx index fe0f306660f..a67ff1ea131 100644 --- a/apps/studio/components/interfaces/Database/Publications/PublicationsTables.tsx +++ b/apps/studio/components/interfaces/Database/Publications/PublicationsTables.tsx @@ -1,6 +1,6 @@ import type { PostgresPublication } from '@supabase/postgres-meta' import { PermissionAction } from '@supabase/shared-types/out/constants' -import { useState } from 'react' +import { useMemo, useState } from 'react' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import NoSearchResults from 'components/to-be-cleaned/NoSearchResults' @@ -10,10 +10,10 @@ import InformationBox from 'components/ui/InformationBox' import { Loading } from 'components/ui/Loading' import { useTablesQuery } from 'data/tables/tables-query' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' +import { useProtectedSchemas } from 'hooks/useProtectedSchemas' +import { AlertCircle, ChevronLeft, Search } from 'lucide-react' import { Button, Input } from 'ui' import PublicationsTableItem from './PublicationsTableItem' -import { ChevronLeft, Search, AlertCircle } from 'lucide-react' interface PublicationsTablesProps { selectedPublication: PostgresPublication @@ -29,27 +29,26 @@ const PublicationsTables = ({ selectedPublication, onSelectBack }: PublicationsT 'publications' ) + const { data: protectedSchemas } = useProtectedSchemas() + const { - data: tables, + data: tablesData, isLoading, isSuccess, isError, error, - } = useTablesQuery( - { - projectRef: project?.ref, - connectionString: project?.connectionString, - }, - { - select(tables) { - return tables.filter((table) => - filterString.length === 0 - ? !PROTECTED_SCHEMAS.includes(table.schema) - : !PROTECTED_SCHEMAS.includes(table.schema) && table.name.includes(filterString) - ) - }, - } - ) + } = useTablesQuery({ + projectRef: project?.ref, + connectionString: project?.connectionString, + }) + const tables = useMemo(() => { + return (tablesData || []).filter((table) => + filterString.length === 0 + ? !protectedSchemas.find((s) => s.name === table.schema) + : !protectedSchemas.find((s) => s.name === table.schema) && + table.name.includes(filterString) + ) + }, [tablesData, protectedSchemas, filterString]) return ( <> diff --git a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx index f60cc72a3d9..c3800ff4cc5 100644 --- a/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx +++ b/apps/studio/components/interfaces/Database/Schemas/SchemaTableNode.tsx @@ -39,7 +39,7 @@ const TableNode = ({ return ( <> {data.isForeign ? ( -
+
{data.name} {targetPosition && (
diff --git a/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx b/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx index c77fee04b4e..e3830b6680e 100644 --- a/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx +++ b/apps/studio/components/interfaces/Database/Tables/ColumnList.tsx @@ -14,7 +14,7 @@ import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' import { useTableEditorQuery } from 'data/table-editor/table-editor-query' import { isTableLike } from 'data/table-editor/table-editor-types' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' +import { useIsProtectedSchema } from 'hooks/useProtectedSchemas' import { Button, DropdownMenu, @@ -26,7 +26,7 @@ import { TooltipContent, TooltipTrigger, } from 'ui' -import ProtectedSchemaWarning from '../ProtectedSchemaWarning' +import { ProtectedSchemaWarning } from '../ProtectedSchemaWarning' interface ColumnListProps { onAddColumn: () => void @@ -63,7 +63,7 @@ const ColumnList = ({ ? selectedTable?.columns ?? [] : selectedTable?.columns?.filter((column) => column.name.includes(filterString))) ?? [] - const isLocked = PROTECTED_SCHEMAS.includes(selectedTable?.schema ?? '') + const { isSchemaLocked } = useIsProtectedSchema({ schema: selectedTable?.schema ?? '' }) const canUpdateColumns = useCheckPermissions(PermissionAction.TENANT_SQL_ADMIN_WRITE, 'columns') return ( @@ -81,7 +81,7 @@ const ColumnList = ({ icon={} /> - {!isLocked && isTableEntity && ( + {!isSchemaLocked && isTableEntity && ( } disabled={!canUpdateColumns} @@ -100,7 +100,9 @@ const ColumnList = ({ )} - {isLocked && } + {isSchemaLocked && ( + + )} {isLoading && } @@ -156,7 +158,7 @@ const ColumnList = ({ )} - {!isLocked && isTableEntity && ( + {!isSchemaLocked && isTableEntity && ( - {!isLocked && ( + {!isSchemaLocked && (
diff --git a/apps/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx b/apps/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx index 5a7ad40d0f1..b8c130e216e 100644 --- a/apps/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx +++ b/apps/studio/components/interfaces/Docs/Pages/Tables/Introduction.tsx @@ -68,7 +68,7 @@ const Introduction = ({ selectedLang }: IntroductionProps) => { If you still want to use GraphQL, you can. Supabase provides you with a full Postgres database, so as long as your middleware can connect to the database then you can still use the tools you love. You can find the database connection details{' '} - in the settings. + in the settings.

diff --git a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx index 50d259eb4e5..23a45c29043 100644 --- a/apps/studio/components/interfaces/Home/AdvisorWidget.tsx +++ b/apps/studio/components/interfaces/Home/AdvisorWidget.tsx @@ -81,7 +81,7 @@ export const AdvisorWidget = () => { let titleContent: React.ReactNode if (totalIssues === 0) { - titleContent =

No issues available

+ titleContent =

No issues available

} else { const issuesText = totalIssues === 1 ? 'issue' : 'issues' const numberDisplay = totalIssues.toString() @@ -94,7 +94,7 @@ export const AdvisorWidget = () => { } titleContent = ( -

+

{numberDisplay} {issuesText} need {totalIssues === 1 ? 's' : ''} attention

diff --git a/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx b/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx index 96bf3c8dc3b..f500af68809 100644 --- a/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx +++ b/apps/studio/components/interfaces/Home/NewProjectPanel/NewProjectPanel.tsx @@ -25,7 +25,7 @@ const NewProjectPanel = () => {
-

Welcome to your new project

+

Welcome to your new project

Your project has been deployed on its own instance, with its own API all set up and ready to use. @@ -36,9 +36,7 @@ const NewProjectPanel = () => {

-

- Get started by building out your database -

+

Get started by building out your database

Start building your app by creating tables and inserting data. Our Table Editor makes Postgres as easy to use as a spreadsheet, but there's also our SQL Editor if @@ -71,7 +69,7 @@ const NewProjectPanel = () => { {authEnabled && edgeFunctionsEnabled && storageEnabled && (

-

Explore our other products

+

Explore our other products

Supabase provides all the backend features you need to build a product. You can use it completely, or just the features you need. @@ -228,7 +226,7 @@ const NewProjectPanel = () => {

-

Connecting to your new project

+

Connecting to your new project

Interact with your database through the{' '} diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx index c821de8ccfa..4bc501ffe0b 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CreateCronJobSheet.tsx @@ -1,6 +1,7 @@ import { zodResolver } from '@hookform/resolvers/zod' import { PermissionAction } from '@supabase/shared-types/out/constants' import { toString as CronToString } from 'cronstrue' +import { parseAsString, useQueryState } from 'nuqs' import { useEffect, useState } from 'react' import { SubmitHandler, useForm } from 'react-hook-form' import { toast } from 'sonner' @@ -11,12 +12,13 @@ import { urlRegex } from 'components/interfaces/Auth/Auth.constants' import EnableExtensionModal from 'components/interfaces/Database/Extensions/EnableExtensionModal' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import { ButtonTooltip } from 'components/ui/ButtonTooltip' +import { getDatabaseCronJob } from 'data/database-cron-jobs/database-cron-job-query' import { useDatabaseCronJobCreateMutation } from 'data/database-cron-jobs/database-cron-jobs-create-mutation' -import { CronJob, useCronJobsQuery } from 'data/database-cron-jobs/database-cron-jobs-query' +import { CronJob } from 'data/database-cron-jobs/database-cron-jobs-infinite-query' import { useDatabaseExtensionsQuery } from 'data/database-extensions/database-extensions-query' import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' +import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization' import { Button, Form_Shadcn_, @@ -199,18 +201,23 @@ export const CreateCronJobSheet = ({ onClose, }: CreateCronJobSheetProps) => { const { project } = useProjectContext() - const org = useSelectedOrganization() - const isEditing = !!selectedCronJob?.jobname + const { data: org } = useSelectedOrganizationQuery() + const [searchQuery] = useQueryState('search', parseAsString.withDefault('')) + const [isLoadingGetCronJob, setIsLoadingGetCronJob] = useState(false) + const isEditing = !!selectedCronJob?.jobname const [showEnableExtensionModal, setShowEnableExtensionModal] = useState(false) - const { data: cronJobs } = useCronJobsQuery({ + const { data } = useDatabaseExtensionsQuery({ projectRef: project?.ref, connectionString: project?.connectionString, }) + const pgNetExtension = (data ?? []).find((ext) => ext.name === 'pg_net') + const pgNetExtensionInstalled = pgNetExtension?.installed_version != undefined const { mutate: sendEvent } = useSendEventMutation() - const { mutate: upsertCronJob, isLoading } = useDatabaseCronJobCreateMutation() + const { mutate: upsertCronJob, isLoading: isUpserting } = useDatabaseCronJobCreateMutation() + const isLoading = isLoadingGetCronJob || isUpserting const canToggleExtensions = useCheckPermissions( PermissionAction.TENANT_SQL_ADMIN_WRITE, @@ -230,11 +237,8 @@ export const CreateCronJobSheet = ({ }) const isEdited = form.formState.isDirty - // if the form hasn't been touched and the user clicked esc or the backdrop, close the sheet - if (!isEdited && isClosing) { - onClose() - } + if (!isEdited && isClosing) onClose() const onClosePanel = () => { if (isEdited) { @@ -286,6 +290,7 @@ export const CreateCronJobSheet = ({ if (command) { form.setValue('values.snippet', command) } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [ edgeFunctionName, endpoint, @@ -300,20 +305,32 @@ export const CreateCronJobSheet = ({ ]) const onSubmit: SubmitHandler = async ({ name, schedule, values }) => { - // job names should be unique - const nameExists = cronJobs?.some( - (job) => job.jobname === name && job.jobname !== selectedCronJob?.jobname - ) - if (nameExists) { - form.setError('name', { - type: 'manual', - message: 'A cron job with this name already exists', - }) - return + if (!project) return console.error('Project is required') + + if (!isEditing) { + try { + setIsLoadingGetCronJob(true) + const checkExistingJob = await getDatabaseCronJob({ + projectRef: project.ref, + connectionString: project.connectionString, + name, + }) + const nameExists = !!checkExistingJob + + if (nameExists) { + return form.setError('name', { + type: 'manual', + message: 'A cron job with this name already exists', + }) + } + } catch (error: any) { + toast.error(`Failed to validate cron job name: ${error.message}`) + } finally { + setIsLoadingGetCronJob(false) + } } - let command = `$$${values.snippet}$$` - + const command = `$$${values.snippet}$$` const query = buildCronQuery(name, schedule, command) upsertCronJob( @@ -321,6 +338,7 @@ export const CreateCronJobSheet = ({ projectRef: project!.ref, connectionString: project?.connectionString, query, + searchTerm: searchQuery, }, { onSuccess: () => { @@ -360,16 +378,9 @@ export const CreateCronJobSheet = ({ }, } ) + setIsLoadingGetCronJob(false) } - const { data } = useDatabaseExtensionsQuery({ - projectRef: project?.ref, - connectionString: project?.connectionString, - }) - - const pgNetExtension = (data ?? []).find((ext) => ext.name === 'pg_net') - const pgNetExtensionInstalled = pgNetExtension?.installed_version != undefined - return ( <>

diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobCard.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobCard.tsx deleted file mode 100644 index 22f57fd3754..00000000000 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobCard.tsx +++ /dev/null @@ -1,266 +0,0 @@ -import dayjs from 'dayjs' -import { Clock, History, Loader2, MoreVertical } from 'lucide-react' -import Link from 'next/link' -import { useState } from 'react' - -import { useParams } from 'common' -import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' -import { CronJob } from 'data/database-cron-jobs/database-cron-jobs-query' -import { useCronJobRunQuery } from 'data/database-cron-jobs/database-cron-jobs-run-query' -import { useDatabaseCronJobToggleMutation } from 'data/database-cron-jobs/database-cron-jobs-toggle-mutation' -import { useSendEventMutation } from 'data/telemetry/send-event-mutation' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import { - Badge, - Button, - cn, - CodeBlock, - DropdownMenu, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuSeparator, - DropdownMenuTrigger, - Label_Shadcn_, - Switch, - Tooltip, - TooltipContent, - TooltipTrigger, -} from 'ui' -import { TimestampInfo } from 'ui-patterns' -import { Input } from 'ui-patterns/DataInputs/Input' -import ConfirmationModal from 'ui-patterns/Dialogs/ConfirmationModal' -import { convertCronToString, getNextRun } from './CronJobs.utils' - -interface CronJobCardProps { - job: CronJob - onEditCronJob: (job: CronJob) => void - onDeleteCronJob: (job: CronJob) => void -} - -export const CronJobCard = ({ job, onEditCronJob, onDeleteCronJob }: CronJobCardProps) => { - const { ref } = useParams() - const org = useSelectedOrganization() - const { project: selectedProject } = useProjectContext() - - const [toggleConfirmationModalShown, showToggleConfirmationModal] = useState(false) - - const { data } = useCronJobRunQuery({ - projectRef: ref, - connectionString: selectedProject?.connectionString, - jobId: job.jobid, - }) - const lastRun = data?.start_time ? dayjs(data.start_time).valueOf() : undefined - const nextRun = getNextRun(job.schedule, data?.start_time) - const schedule = convertCronToString(job.schedule) - - const { mutate: sendEvent } = useSendEventMutation() - const { mutate: toggleDatabaseCronJob, isLoading } = useDatabaseCronJobToggleMutation() - - const onEdit = () => { - sendEvent({ - action: 'cron_job_update_clicked', - groups: { - project: selectedProject?.ref ?? 'Unknown', - organization: org?.slug ?? 'Unknown', - }, - }) - onEditCronJob(job) - } - - return ( - <> -
-
- -
-
-
- - {job.jobname || 'No name provided'} - -
- {isLoading ? ( - - ) : ( - - {job.active ? 'Active' : 'Inactive'} - - )} - showToggleConfirmationModal(true)} - /> - - - -
-
-
-
-
- Schedule -
- -
-
-
- Last run -
-
- {lastRun ? ( - <> - - {data?.status && ( - - {data.status} - - )} - - ) : ( - 'Job has not been run yet' - )} -
-
-
-
- Next run -
-
- {nextRun ? ( - - ) : ( - 'Unable to parse next run for job' - )} -
-
-
-
- Command -
- code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap min-h-11' - )} - /> -
-
-
-
-
-
- showToggleConfirmationModal(false)} - variant={job.active ? 'destructive' : undefined} - onConfirm={() => { - toggleDatabaseCronJob({ - projectRef: selectedProject?.ref!, - connectionString: selectedProject?.connectionString, - jobId: job.jobid, - active: !job.active, - }) - showToggleConfirmationModal(false) - }} - > -

- {`Are you sure you want to ${job.active ? 'disable' : 'enable'} the`}{' '} - {`${job?.jobname}`} - cron job? -

-
- - ) -} diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx new file mode 100644 index 00000000000..8ea872bb67a --- /dev/null +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobTableCell.tsx @@ -0,0 +1,282 @@ +import dayjs from 'dayjs' +import { Clipboard, Edit, MoreVertical, Trash } from 'lucide-react' +import { parseAsString, useQueryState } from 'nuqs' +import { useState } from 'react' +import { toast } from 'sonner' + +import { CronJob } from 'data/database-cron-jobs/database-cron-jobs-infinite-query' +import { useDatabaseCronJobToggleMutation } from 'data/database-cron-jobs/database-cron-jobs-toggle-mutation' +import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject' +import { + Badge, + Button, + cn, + CodeBlock, + ContextMenu_Shadcn_, + ContextMenuContent_Shadcn_, + ContextMenuItem_Shadcn_, + ContextMenuSeparator_Shadcn_, + ContextMenuTrigger_Shadcn_, + copyToClipboard, + Dialog, + DialogContent, + DialogFooter, + DialogHeader, + DialogSection, + DialogSectionSeparator, + DialogTitle, + DialogTrigger, + DropdownMenu, + DropdownMenuContent, + DropdownMenuItem, + DropdownMenuSeparator, + DropdownMenuTrigger, + HoverCard, + HoverCardContent, + HoverCardTrigger, + Switch, + Tooltip, + TooltipContent, + TooltipTrigger, +} from 'ui' +import { TimestampInfo } from 'ui-patterns' +import { getNextRun } from './CronJobs.utils' + +interface CronJobTableCellProps { + col: any + row: any + onSelectEdit: (job: CronJob) => void + onSelectDelete: (job: CronJob) => void +} + +export const CronJobTableCell = ({ + col, + row, + onSelectEdit, + onSelectDelete, +}: CronJobTableCellProps) => { + const { data: project } = useSelectedProjectQuery() + const [searchQuery] = useQueryState('search', parseAsString.withDefault('')) + + const [showToggleModal, setShowToggleModal] = useState(false) + + const value = row?.[col.id] + const { jobid, schedule, latest_run, status, active, jobname } = row + + const formattedValue = + col.id === 'jobname' && !jobname + ? 'No name provided' + : col.id === 'lastest_run' + ? !!value + ? dayjs(value).valueOf() + : undefined + : col.id === 'next_run' + ? getNextRun(schedule, latest_run) + : value + + const { mutate: toggleDatabaseCronJob, isLoading: isToggling } = useDatabaseCronJobToggleMutation( + { + onSuccess: () => { + toast.success('Successfully asdasd') + setShowToggleModal(false) + }, + } + ) + + const onConfirmToggle = () => { + toggleDatabaseCronJob({ + projectRef: project?.ref!, + connectionString: project?.connectionString, + jobId: jobid, + active: !active, + searchTerm: searchQuery, + }) + } + + if (col.id === 'actions') { + return ( +
+ + +
+ ) + } + + if (col.id === 'active') { + return ( + + e.stopPropagation()}> + + + e.stopPropagation()} + dialogOverlayProps={{ onClick: (e) => e.stopPropagation() }} + > + + {active ? 'Disable' : 'Enable'} cron job + + + +

+ Are you sure you want to {active ? 'disable' : 'enable'} the cron job "{jobname}"?{' '} +

+
+ + + + +
+
+ ) + } + + return ( + + +
+ {['latest_run', 'next_run'].includes(col.id) ? ( + col.id === 'latest_run' && formattedValue === null ? ( +

Job has not been run yet

+ ) : col.id === 'next_run' && !formattedValue ? ( +

Unable to parse next run for job

+ ) : ( + + ) + ) : col.id === 'command' ? ( + + +
+ {formattedValue} +
+
+ e.stopPropagation()} + > +

Command

+ code]:m-0 [&>code>span]:flex [&>code>span]:flex-wrap min-h-11', + '[&>code]:text-xs' + )} + /> +
+
+ ) : ( +

+ {formattedValue} +

+ )} + {col.id === 'latest_run' && !!status && ( + + {status} + + )} +
+
+ e.stopPropagation()}> + e.stopPropagation()} + onSelect={() => copyToClipboard(formattedValue)} + > + + Copy {col.name.toLowerCase()} + + + e.stopPropagation()} + onSelect={() => onSelectEdit(row)} + > + + +
+ + Edit job +
+
+ {!jobname && ( + + This cron job doesn’t have a name and can’t be edited. Create a new one and delete + this job. + + )} +
+
+ + + + e.stopPropagation()} + onSelect={() => onSelectDelete(row)} + > + + Delete job + +
+
+ ) +} diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.constants.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.constants.tsx index 470a2c97d4a..3399942fd45 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.constants.tsx +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.constants.tsx @@ -39,3 +39,13 @@ export const CRONJOB_DEFINITIONS = [ export type HTTPHeader = { name: string; value: string } export type HTTPParameter = { name: string; value: string } + +export const CRON_TABLE_COLUMNS = [ + { id: 'jobname', name: 'Name', minWidth: 0, width: 200 }, + { id: 'schedule', name: 'Schedule', width: 100 }, + { id: 'latest_run', name: 'Last run', width: 265 }, + { id: 'next_run', name: 'Next run', minWidth: 180 }, + { id: 'command', name: 'Command', minWidth: 320 }, + { id: 'active', name: 'Active', width: 70, minWidth: 70, maxWidth: 70 }, + { id: 'actions', name: '', minWidth: 75, width: 75 }, +] diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.test.ts b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.test.ts index fc7c9ffc289..08827113b60 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.test.ts +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.test.ts @@ -30,12 +30,20 @@ describe('parseCronJobCommand', () => { }) }) - it('should return a sql function command when the command is SELECT public.test_fn(1, 2)', () => { - const command = 'SELECT public.test_fn(1, 2)' + it('should return a sql function command when the command is SELECT auth.jwt () and ends with ;', () => { + const command = 'SELECT auth.jwt ();' expect(parseCronJobCommand(command, 'random_project_ref')).toStrictEqual({ type: 'sql_function', - schema: 'public', - functionName: 'test_fn', + schema: 'auth', + functionName: 'jwt', + snippet: command, + }) + }) + + it('should return a sql snippet command when the command is SELECT public.test_fn(1, 2)', () => { + const command = 'SELECT public.test_fn(1, 2)' + expect(parseCronJobCommand(command, 'random_project_ref')).toStrictEqual({ + type: 'sql_snippet', snippet: command, }) }) @@ -194,6 +202,14 @@ describe('parseCronJobCommand', () => { }) }) + it('should return SQL snippet type if the command is a HTTP request that cannot be parsed properly due to positional notationa', () => { + const command = `SELECT net.http_post( 'https://webhook.site/dacc2028-a588-462c-9597-c8968e61d0fa', '{"message":"Hello from Supabase"}'::jsonb, '{}'::jsonb, '{"Content-Type":"application/json"}'::jsonb );` + expect(parseCronJobCommand(command, 'random_project_ref')).toStrictEqual({ + type: 'sql_snippet', + snippet: command, + }) + }) + // Array of test cases for secondsPattern const secondsPatternTests = [ { description: '10 seconds', command: '10 seconds' }, diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.ts b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx similarity index 82% rename from apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.ts rename to apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx index 08bca3ff2de..c17360b7a0f 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.ts +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx @@ -1,9 +1,13 @@ import parser from 'cron-parser' import { toString as CronToString } from 'cronstrue' import dayjs from 'dayjs' +import { Column } from 'react-data-grid' +import { CronJob } from 'data/database-cron-jobs/database-cron-jobs-infinite-query' +import { cn } from 'ui' import { CronJobType } from './CreateCronJobSheet' -import { HTTPHeader } from './CronJobs.constants' +import { CRON_TABLE_COLUMNS, HTTPHeader } from './CronJobs.constants' +import { CronJobTableCell } from './CronJobTableCell' export function buildCronQuery(name: string, schedule: string, command: string) { const escapedName = name.replace(/'/g, "''") @@ -73,7 +77,7 @@ export const parseCronJobCommand = (originalCommand: string, projectRef: string) } } else { const headersStringMatch = command.match(/headers:='([^']*)'/i) - const headersString = headersStringMatch?.[1] || '' + const headersString = headersStringMatch?.[1] || '{}' try { const parsedHeaders = JSON.parse(headersString) headersObjs = Object.entries(parsedHeaders).map(([name, value]) => ({ @@ -112,22 +116,25 @@ export const parseCronJobCommand = (originalCommand: string, projectRef: string) } } - return { - type: 'http_request', - method: method === 'http_get' ? 'GET' : 'POST', - endpoint: url, - httpHeaders: headersObjs, - httpBody: body, - timeoutMs: Number(timeout ?? 1000), - snippet: originalCommand, + if (url !== '') { + return { + type: 'http_request', + method: method === 'http_get' ? 'GET' : 'POST', + endpoint: url, + httpHeaders: headersObjs, + httpBody: body, + timeoutMs: Number(timeout ?? 1000), + snippet: originalCommand, + } } } - const regexDBFunction = /select\s+[a-zA-Z-_]*\.?[a-zA-Z-_]*\s*\(.+/g + const regexDBFunction = /select\s+[a-zA-Z-_]*\.?[a-zA-Z-_]*\s*\(\)/g if (command.toLocaleLowerCase().match(regexDBFunction)) { const [schemaName, functionName] = command .replace('SELECT ', '') - .replace(/\(.*\)/, '') + .replace(/\(.*\);*/, '') + .trim() .split('.') @@ -260,3 +267,46 @@ export const getNextRun = (schedule: string, lastRun?: string) => { } } } + +export const formatCronJobColumns = ({ + onSelectEdit, + onSelectDelete, +}: { + onSelectEdit: (job: CronJob) => void + onSelectDelete: (job: CronJob) => void +}) => { + return CRON_TABLE_COLUMNS.map((col) => { + const res: Column = { + key: col.id, + name: col.name, + minWidth: col.minWidth ?? 100, + maxWidth: col.maxWidth, + width: col.width, + resizable: false, + sortable: false, + draggable: false, + headerCellClass: undefined, + renderHeaderCell: () => { + return ( +
+

{col.name}

+
+ ) + }, + renderCell: ({ row }) => ( + + ), + } + return res + }) +} diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.tsx index 097293ccfc5..aa26e641095 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.tsx +++ b/apps/studio/components/interfaces/Integrations/CronJobs/CronJobsTab.tsx @@ -1,30 +1,41 @@ -import { Search } from 'lucide-react' +import { Loader2, RefreshCw, Search, X } from 'lucide-react' +import { useRouter } from 'next/router' import { parseAsBoolean, parseAsString, useQueryState } from 'nuqs' -import { useState } from 'react' +import { UIEvent, useMemo, useRef, useState } from 'react' +import DataGrid, { DataGridHandle, Row } from 'react-data-grid' +import { useParams } from 'common' import { CreateCronJobSheet } from 'components/interfaces/Integrations/CronJobs/CreateCronJobSheet' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' +import AlertError from 'components/ui/AlertError' import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' -import { CronJob, useCronJobsQuery } from 'data/database-cron-jobs/database-cron-jobs-query' +import { useCronJobsCountQuery } from 'data/database-cron-jobs/database-cron-jobs-count-query' +import { + CronJob, + useCronJobsInfiniteQuery, +} from 'data/database-cron-jobs/database-cron-jobs-infinite-query' import { useDatabaseExtensionsQuery } from 'data/database-extensions/database-extensions-query' import { useSendEventMutation } from 'data/telemetry/send-event-mutation' -import { Button, Input, Sheet, SheetContent } from 'ui' -import { CronJobCard } from './CronJobCard' +import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization' +import { isAtBottom } from 'lib/helpers' +import { Button, cn, LoadingLine, Sheet, SheetContent } from 'ui' +import { Input } from 'ui-patterns/DataInputs/Input' +import { formatCronJobColumns } from './CronJobs.utils' import { DeleteCronJob } from './DeleteCronJob' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -const EMPTY_CRON_JOB = { - jobname: '', - schedule: '', - active: true, - command: '', -} +const EMPTY_CRON_JOB = { jobname: '', schedule: '', active: true, command: '' } export const CronjobsTab = () => { + const router = useRouter() + const { ref } = useParams() const { project } = useProjectContext() - const org = useSelectedOrganization() + const { data: org } = useSelectedOrganizationQuery() + + const xScroll = useRef(0) + const gridRef = useRef(null) const [searchQuery, setSearchQuery] = useQueryState('search', parseAsString.withDefault('')) + const [search, setSearch] = useState(searchQuery) const [createCronJobSheetShown, setCreateCronJobSheetShown] = useQueryState( 'dialog-shown', parseAsBoolean.withDefault(false).withOptions({ clearOnDefault: true }) @@ -37,34 +48,79 @@ export const CronjobsTab = () => { >() const [cronJobForDeletion, setCronJobForDeletion] = useState() - const { data: cronJobs, isLoading } = useCronJobsQuery({ + const { + data, + error, + isLoading, + isError, + isRefetching, + isFetchingNextPage, + hasNextPage, + refetch, + fetchNextPage, + } = useCronJobsInfiniteQuery( + { + projectRef: project?.ref, + connectionString: project?.connectionString, + searchTerm: searchQuery, + }, + { keepPreviousData: Boolean(searchQuery), staleTime: Infinity } + ) + const cronJobs = useMemo(() => data?.pages.flatMap((p) => p) || [], [data?.pages]) + + const { data: count, isLoading: isLoadingCount } = useCronJobsCountQuery({ projectRef: project?.ref, connectionString: project?.connectionString, }) - const { data: extensions } = useDatabaseExtensionsQuery({ + const { data: extensions = [] } = useDatabaseExtensionsQuery({ projectRef: project?.ref, connectionString: project?.connectionString, }) const { mutate: sendEvent } = useSendEventMutation() + const columns = useMemo(() => { + return formatCronJobColumns({ + onSelectEdit: (job: any) => { + sendEvent({ + action: 'cron_job_update_clicked', + groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' }, + }) + setCreateCronJobSheetShown(true) + setCronJobForEditing(job) + }, + onSelectDelete: (job: CronJob) => { + sendEvent({ + action: 'cron_job_delete_clicked', + groups: { project: ref ?? 'Unknown', organization: org?.slug ?? 'Unknown' }, + }) + setCronJobForDeletion(job) + }, + }) + }, [org?.slug, ref, sendEvent, setCreateCronJobSheetShown]) + // check pg_cron version to see if it supports seconds - const pgCronExtension = (extensions ?? []).find((ext) => ext.name === 'pg_cron') + const pgCronExtension = extensions.find((ext) => ext.name === 'pg_cron') const installedVersion = pgCronExtension?.installed_version const supportsSeconds = installedVersion ? parseFloat(installedVersion) >= 1.5 : false - if (isLoading) - return ( -
- -
- ) + const handleScroll = (event: UIEvent) => { + const isScrollingHorizontally = xScroll.current !== event.currentTarget.scrollLeft + xScroll.current = event.currentTarget.scrollLeft - const filteredCronJobs = - searchQuery.length > 0 - ? (cronJobs ?? []).filter((cj) => cj?.jobname?.includes(searchQuery || '')) - : cronJobs ?? [] + if ( + isLoading || + isFetchingNextPage || + isScrollingHorizontally || + !isAtBottom(event) || + !hasNextPage + ) { + return + } + + fetchNextPage() + } const onOpenCreateJobSheet = () => { sendEvent({ @@ -76,56 +132,132 @@ export const CronjobsTab = () => { return ( <> -
- {(cronJobs ?? []).length == 0 ? ( -
-

No cron jobs created yet

- -
- ) : ( -
-
- } - value={searchQuery || ''} - className="w-64" - onChange={(e) => setSearchQuery(e.target.value)} - /> +
+
+
+ } + value={search ?? ''} + onChange={(e) => setSearch(e.target.value)} + onKeyDown={(e) => { + if (e.code === 'Enter') setSearchQuery(search.trim()) + }} + actions={[ + search && ( +
- {filteredCronJobs.length === 0 ? ( -
-

No results found

-

- Your search for "{searchQuery}" did not return any results -

-
- ) : isLoading ? ( -
+
+ + + + row.id} + rowClass={() => { + return cn( + 'cursor-pointer', + '[&>.rdg-cell]:border-box [&>.rdg-cell]:outline-none [&>.rdg-cell]:shadow-none', + '[&>.rdg-cell:first-child>div]:ml-8' + ) + }} + onScroll={handleScroll} + renderers={{ + renderRow(key, props) { + return ( + { + const { jobid, jobname } = props.row + const url = `/project/${ref}/integrations/cron/jobs/${jobid}?child-label=${encodeURIComponent(jobname || `Job #${jobid}`)}` + + sendEvent({ + action: 'cron_job_history_clicked', + groups: { + project: ref ?? 'Unknown', + organization: org?.slug ?? 'Unknown', + }, + }) + + if (e.metaKey) { + window.open(url, '_blank') + } else { + router.push(url) + } + }} + /> + ) + }, + }} + /> + + {/* [Joshen] Render 0 rows state outside of the grid so that their position isn't relative to the grid scroll position */} + {cronJobs.length === 0 ? ( + isLoading ? ( +
+ ) : isError ? ( +
+ +
) : ( - filteredCronJobs.map((job) => ( - { - setCronJobForEditing(job) - setCreateCronJobSheetShown(true) - }} - onDeleteCronJob={(job) => setCronJobForDeletion(job)} - /> - )) +
+
+

+ {!!searchQuery ? 'No cron jobs found' : 'No cron jobs in your project'} +

+

+ {!!searchQuery + ? 'There are currently no cron jobs based on the search applied' + : 'There are currently no cron jobs created yet in your project'} +

+
+
+ ) + ) : null} + +
+ {isLoadingCount ? ( + + Loading... + + ) : ( + `Total: ${count} jobs` )}
- )} +
{ const { project } = useProjectContext() - const org = useSelectedOrganization() + const { data: org } = useSelectedOrganizationQuery() + const [searchQuery] = useQueryState('search', parseAsString.withDefault('')) const { mutate: sendEvent } = useSendEventMutation() const { mutate: deleteDatabaseCronJob, isLoading } = useDatabaseCronJobDeleteMutation({ @@ -37,6 +39,7 @@ export const DeleteCronJob = ({ cronJob, visible, onClose }: DeleteCronJobProps) jobId: cronJob.jobid, projectRef: project.ref, connectionString: project.connectionString, + searchTerm: searchQuery, }) } diff --git a/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx b/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx index 844caa46664..b94f6ca2a4c 100644 --- a/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx +++ b/apps/studio/components/interfaces/Integrations/CronJobs/PreviousRunsTab.tsx @@ -6,7 +6,7 @@ import DataGrid, { Column, Row } from 'react-data-grid' import { useParams } from 'common' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' -import { useCronJobsQuery } from 'data/database-cron-jobs/database-cron-jobs-query' +import { useCronJobQuery } from 'data/database-cron-jobs/database-cron-job-query' import { CronJobRun, useCronJobRunsInfiniteQuery, @@ -138,9 +138,10 @@ export const PreviousRunsTab = () => { const jobId = Number(childId) - const { data: cronJobs, isLoading: isLoadingCronJobs } = useCronJobsQuery({ + const { data: job, isLoading: isLoadingCronJobs } = useCronJobQuery({ projectRef: project?.ref, connectionString: project?.connectionString, + id: jobId, }) const { @@ -177,7 +178,6 @@ export const PreviousRunsTab = () => { [fetchNextPage, isLoadingCronJobRuns] ) - const currentJobState = cronJobs?.find((job) => job.jobid === jobId) const cronJobRuns = useMemo(() => data?.pages.flatMap((p) => p) || [], [data?.pages]) return ( @@ -223,15 +223,13 @@ export const PreviousRunsTab = () => {

Schedule

- {currentJobState?.schedule ? ( + {job?.schedule ? ( <> - - {currentJobState.schedule.toLocaleLowerCase()} - + {job.schedule.toLocaleLowerCase()}

- {isSecondsFormat(currentJobState.schedule) + {isSecondsFormat(job.schedule) ? '' - : CronToString(currentJobState.schedule.toLowerCase())} + : CronToString(job.schedule.toLowerCase())}

) : ( @@ -249,7 +247,7 @@ export const PreviousRunsTab = () => { className="sql" parentClassName=" [&>div>span]:text-xs bg-alternative-200 !p-2 rounded-md" > - {currentJobState?.command} + {job?.command}
@@ -259,7 +257,7 @@ export const PreviousRunsTab = () => { className="sql" parentClassName=" [&>div>span]:text-xs bg-alternative-200 !p-2 rounded-md" > - {currentJobState?.command} + {job?.command} diff --git a/apps/studio/components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx b/apps/studio/components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx index 790babb0bc9..a7d1b024d3f 100644 --- a/apps/studio/components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx +++ b/apps/studio/components/interfaces/Integrations/GraphQL/GraphiQLTab.tsx @@ -91,11 +91,11 @@ export const GraphiQLTab = () => {
-

Enable the GraphQL Extension

-

+

Enable the GraphQL Extension

+

Toggle the switch below to enable the GraphQL extension. You can then use the GraphQL API with your Supabase Database. - +

diff --git a/apps/studio/components/interfaces/Integrations/Webhooks/ListTab.tsx b/apps/studio/components/interfaces/Integrations/Webhooks/ListTab.tsx index adc735b52e5..9212fe94801 100644 --- a/apps/studio/components/interfaces/Integrations/Webhooks/ListTab.tsx +++ b/apps/studio/components/interfaces/Integrations/Webhooks/ListTab.tsx @@ -38,6 +38,7 @@ export const WebhooksListTab = () => {
setShowCreateHookForm(false)} diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx index 25c9659027e..9d22737a437 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateIcebergWrapperSheet.tsx @@ -337,7 +337,7 @@ export const CreateIcebergWrapperSheet = ({ />

A new schema will be created. For security purposes, the wrapper tables - from the foreign schema cannot be created within an existing schema + from the foreign schema cannot be created within an existing schema.

diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx index 73b2ce54d26..54cd8ce1247 100644 --- a/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx +++ b/apps/studio/components/interfaces/Integrations/Wrappers/CreateWrapperSheet.tsx @@ -144,16 +144,16 @@ export const CreateWrapperSheet = ({ } setFormErrors(errors) - if (!isEmpty(errors)) { - return - } + if (!isEmpty(errors)) return try { - await createSchema({ - projectRef: project?.ref, - connectionString: project?.connectionString, - name: values.target_schema, - }) + if (selectedMode === 'schema') { + await createSchema({ + projectRef: project?.ref, + connectionString: project?.connectionString, + name: values.target_schema, + }) + } await createFDW({ projectRef: project?.ref, @@ -440,7 +440,7 @@ export const CreateWrapperSheet = ({ />

A new schema will be created. For security purposes, the wrapper tables - from the foreign schema cannot be created within an existing schema + from the foreign schema cannot be created within an existing schema.

diff --git a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx index 52227d9be6a..368b1d68388 100644 --- a/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx +++ b/apps/studio/components/interfaces/JwtSecrets/jwt-secret-keys-table/index.tsx @@ -258,7 +258,7 @@ export default function JWTSecretKeysTable() {
-

Previously used keys

+

Previously used keys

These JWT signing keys are still used to{' '} verify tokens that are yet to expire. @@ -326,7 +326,7 @@ export default function JWTSecretKeysTable() { {revokedKeys.length > 0 && (

-

Revoked keys

+

Revoked keys

These keys are no longer used to verify or sign JWTs.

diff --git a/apps/studio/components/interfaces/Linter/Linter.utils.tsx b/apps/studio/components/interfaces/Linter/Linter.utils.tsx index 234092e34fe..a74ba2b5473 100644 --- a/apps/studio/components/interfaces/Linter/Linter.utils.tsx +++ b/apps/studio/components/interfaces/Linter/Linter.utils.tsx @@ -222,7 +222,7 @@ export const lintInfoMap: LintInfo[] = [ name: 'ssl_not_enforced', title: 'SSL not enforced', icon: , - link: ({ projectRef }) => `/project/${projectRef}/settings/database`, + link: ({ projectRef }) => `/project/${projectRef}/database/settings`, linkText: 'View settings', docsLink: 'https://supabase.com/docs/guides/platform/ssl-enforcement', category: 'security', @@ -231,7 +231,7 @@ export const lintInfoMap: LintInfo[] = [ name: 'network_restrictions_not_set', title: 'No network restrictions', icon: , - link: ({ projectRef }) => `/project/${projectRef}/settings/database`, + link: ({ projectRef }) => `/project/${projectRef}/database/settings`, linkText: 'View settings', docsLink: 'https://supabase.com/docs/guides/platform/network-restrictions', category: 'security', diff --git a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx index 1b5b6d36e9c..5bffac5f3cd 100644 --- a/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx +++ b/apps/studio/components/interfaces/LogDrains/LogDrainDestinationSheetForm.tsx @@ -8,6 +8,7 @@ import { z } from 'zod' import { useParams } from 'common' import { LogDrainData, useLogDrainsQuery } from 'data/log-drains/log-drains-query' +import { DocsButton } from 'components/ui/DocsButton' import { Button, Form_Shadcn_, @@ -38,7 +39,6 @@ import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' import { InfoTooltip } from 'ui-patterns/info-tooltip' import { urlRegex } from '../Auth/Auth.constants' import { DATADOG_REGIONS, LOG_DRAIN_TYPES, LogDrainType } from './LogDrains.constants' -import { DocsButton } from 'components/ui/DocsButton' const FORM_ID = 'log-drain-destination-form' @@ -456,7 +456,7 @@ export function LogDrainDestinationSheetForm({ <>
-

Custom Headers

+

Custom Headers

{getHeadersSectionDescription()}

diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/CreditBalance.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/CreditBalance.tsx index bb5344693d4..cfb8a013dff 100644 --- a/apps/studio/components/interfaces/Organization/BillingSettings/CreditBalance.tsx +++ b/apps/studio/components/interfaces/Organization/BillingSettings/CreditBalance.tsx @@ -69,7 +69,7 @@ const CreditBalance = () => {
{isDebt &&

-

}

$

-

{balance}

+

{balance}

{isCredit &&

/credits

}
diff --git a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx index 88892c72e4b..cc82d7fc1bf 100644 --- a/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx +++ b/apps/studio/components/interfaces/Organization/BillingSettings/Subscription/SubscriptionPlanUpdateDialog.tsx @@ -3,6 +3,10 @@ import Link from 'next/link' import { useMemo, useRef, useState } from 'react' import { toast } from 'sonner' +import { Elements } from '@stripe/react-stripe-js' +import { loadStripe, PaymentIntentResult, StripeElementsOptions } from '@stripe/stripe-js' +import { getStripeElementsAppearanceOptions } from 'components/interfaces/Billing/Payment/Payment.utils' +import { PaymentConfirmation } from 'components/interfaces/Billing/Payment/PaymentConfirmation' import { billingPartnerLabel, getPlanChangeType, @@ -11,25 +15,19 @@ import AlertError from 'components/ui/AlertError' import ShimmeringLoader from 'components/ui/ShimmeringLoader' import { OrganizationBillingSubscriptionPreviewResponse } from 'data/organizations/organization-billing-subscription-preview' import { ProjectInfo } from 'data/projects/projects-query' +import { useConfirmPendingSubscriptionChangeMutation } from 'data/subscriptions/org-subscription-confirm-pending-change' import { useOrgSubscriptionUpdateMutation } from 'data/subscriptions/org-subscription-update-mutation' import { SubscriptionTier } from 'data/subscriptions/types' +import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization' import { PRICING_TIER_PRODUCT_IDS, PROJECT_STATUS, STRIPE_PUBLIC_KEY } from 'lib/constants' import { formatCurrency } from 'lib/helpers' +import { useTheme } from 'next-themes' +import { plans as subscriptionsPlans } from 'shared-data/plans' import { Button, Dialog, DialogContent, Table, TableBody, TableCell, TableRow } from 'ui' import { Admonition } from 'ui-patterns' import { InfoTooltip } from 'ui-patterns/info-tooltip' -import PaymentMethodSelection from './PaymentMethodSelection' -import { useConfirmPendingSubscriptionChangeMutation } from 'data/subscriptions/org-subscription-confirm-pending-change' -import { PaymentConfirmation } from 'components/interfaces/Billing/Payment/PaymentConfirmation' -import { Elements } from '@stripe/react-stripe-js' -import { loadStripe, StripeElementsOptions } from '@stripe/stripe-js' -import { useTheme } from 'next-themes' -import { PaymentIntentResult } from '@stripe/stripe-js' -import { getStripeElementsAppearanceOptions } from 'components/interfaces/Billing/Payment/Payment.utils' -import { plans as subscriptionsPlans } from 'shared-data/plans' import type { PaymentMethodElementRef } from '../PaymentMethods/NewPaymentMethodElement' -import { useParams } from 'common' -import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization' +import PaymentMethodSelection from './PaymentMethodSelection' const stripePromise = loadStripe(STRIPE_PUBLIC_KEY) @@ -347,7 +345,7 @@ export const SubscriptionPlanUpdateDialog = ({ Monthly invoice estimate
-

Your new monthly invoice

+

Your new monthly invoice

Paid projects run 24/7 without pausing. First project uses Compute Credits; additional projects start at $10 @@ -616,7 +614,7 @@ export const SubscriptionPlanUpdateDialog = ({ {/* Right Column */}

-

+

{changeType === 'downgrade' ? 'Downgrade' : 'Upgrade'}{' '} {selectedOrganization?.name} to{' '} {changeType === 'downgrade' diff --git a/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx b/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx index 51d711b12a1..112f830292f 100644 --- a/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx +++ b/apps/studio/components/interfaces/Organization/TeamSettings/MemberActions.tsx @@ -5,6 +5,7 @@ import { toast } from 'sonner' import { useParams } from 'common' import { ButtonTooltip } from 'components/ui/ButtonTooltip' +import { DropdownMenuItemTooltip } from 'components/ui/DropdownMenuItemTooltip' import { useOrganizationCreateInvitationMutation } from 'data/organization-members/organization-invitation-create-mutation' import { useOrganizationDeleteInvitationMutation } from 'data/organization-members/organization-invitation-delete-mutation' import { useOrganizationRolesV2Query } from 'data/organization-members/organization-roles-query' @@ -17,13 +18,12 @@ import { usePermissionsQuery } from 'data/permissions/permissions-query' import { useProjectsQuery } from 'data/projects/projects-query' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' +import { useSelectedOrganizationQuery } from 'hooks/misc/useSelectedOrganization' import { useProfile } from 'lib/profile' import { Button, DropdownMenu, DropdownMenuContent, - DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from 'ui' @@ -43,7 +43,7 @@ export const MemberActions = ({ member }: MemberActionsProps) => { const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false) const organizationMembersDeletionEnabled = useIsFeatureEnabled('organization_members:delete') - const selectedOrganization = useSelectedOrganization() + const { data: selectedOrganization } = useSelectedOrganizationQuery() const { data: permissions } = usePermissionsQuery() const { data: allProjects } = useProjectsQuery() const { data: members } = useOrganizationMembersQuery({ slug }) @@ -186,47 +186,54 @@ export const MemberActions = ({ member }: MemberActionsProps) => { icon={} /> - + <> {isPendingInviteAcceptance ? ( <> - {canRevokeInvite && ( - handleRevokeInvitation(member)}> -
-

Cancel invitation

-

Revoke this invitation.

-
-
- )} - {canResendInvite && ( - <> - - handleResendInvite(member)}> -
-

Resend invitation

-

Invites expire after 24hrs.

-
-
- - )} + handleRevokeInvitation(member)} + tooltip={{ + content: { + side: 'left', + text: 'Additional permissions required to cancel invitation', + }, + }} + > +

Cancel invitation

+
+ + handleResendInvite(member)} + tooltip={{ + content: { + side: 'left', + text: 'Additional permissions required to resend invitation', + }, + }} + > +

Resend invitation

+
) : ( organizationMembersDeletionEnabled && ( - { - setIsDeleteModalOpen(true) + onClick={() => setIsDeleteModalOpen(true)} + tooltip={{ + content: { + side: 'left', + text: 'Additional permissions required to remove member', + }, }} > - -
-

Remove member

- {!canRemoveMember && ( -

Additional permissions required

- )} -
-
+ +

Remove member

+ ) )} diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx index 6b7e6e8e804..d2d17faa3b8 100644 --- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx +++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Bucket.tsx @@ -25,7 +25,7 @@ const Bucket = ({ language, apikey, endpoint }: ContentProps) => {
-

{bucket.name}

+

{bucket.name}

{bucket.public ? 'Public' : 'Private'} diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/EdgeFunction.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/EdgeFunction.tsx index dca7cce0c52..9ff1d705b45 100644 --- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/EdgeFunction.tsx +++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/EdgeFunction.tsx @@ -21,7 +21,7 @@ const Bucket = ({ language, apikey = 'API_KEY', endpoint }: ContentProps) => {
-

{edgeFunction.name}

+

{edgeFunction.name}

diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx index fda909b7295..1cd6064f7fb 100644 --- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx +++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/Entity.tsx @@ -4,11 +4,11 @@ import { useEffect } from 'react' import Table from 'components/to-be-cleaned/Table' import { useProjectJsonSchemaQuery } from 'data/docs/project-json-schema-query' import { useAppStateSnapshot } from 'state/app-state' +import LanguageSelector from '../LanguageSelector' import { DOCS_RESOURCE_CONTENT } from '../ProjectAPIDocs.constants' import ResourceContent from '../ResourceContent' import type { ContentProps } from './Content.types' import { tempRemovePostgrestText } from './Content.utils' -import LanguageSelector from '../LanguageSelector' function getColumnType(type: string, format: string) { // json and jsonb both have type=undefined, so check format instead @@ -57,7 +57,7 @@ const Entity = ({ language, apikey = '', endpoint = '' }: ContentProps) => {
-

{resource}

+

{resource}

{definition?.description ?? 'No description available'}

diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/Content/RPC.tsx b/apps/studio/components/interfaces/ProjectAPIDocs/Content/RPC.tsx index 24553a7c1ae..8f13ca96ea4 100644 --- a/apps/studio/components/interfaces/ProjectAPIDocs/Content/RPC.tsx +++ b/apps/studio/components/interfaces/ProjectAPIDocs/Content/RPC.tsx @@ -57,7 +57,7 @@ export const RPC = ({ language }: ContentProps) => { return (
-

{rpc.name}

+

{rpc.name}

{summary ?? 'No description available'}

diff --git a/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts b/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts index a0e9929114f..ab8c0f564d2 100644 --- a/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts +++ b/apps/studio/components/interfaces/ProjectAPIDocs/ProjectAPIDocs.constants.ts @@ -410,7 +410,7 @@ You can generate types from your database either through the [Supabase CLI](http If you have a GraphQL background, you might be wondering if you can fetch your data in a single round-trip. The answer is yes! The syntax is very similar. This example shows how you might achieve the same thing with Apollo GraphQL and Supabase. Still want GraphQL? -If you still want to use GraphQL, you can. Supabase provides you with a full Postgres database, so as long as your middleware can connect to the database then you can still use the tools you love. You can find the database connection details [in the settings](/project/[ref]/settings/database). +If you still want to use GraphQL, you can. Supabase provides you with a full Postgres database, so as long as your middleware can connect to the database then you can still use the tools you love. You can find the database connection details [in the settings](/project/[ref]/database/settings). `, js: (apikey?: string, endpoint?: string) => ` // With Apollo GraphQL diff --git a/apps/studio/components/interfaces/Reports/ReportChart.tsx b/apps/studio/components/interfaces/Reports/ReportChart.tsx index c24edbc1ef6..9d5726fb889 100644 --- a/apps/studio/components/interfaces/Reports/ReportChart.tsx +++ b/apps/studio/components/interfaces/Reports/ReportChart.tsx @@ -110,11 +110,11 @@ const ReportChart = ({ if (!isAvailable && !isLoading) { return ( {chart.label}

} + title={

{chart.label}

} className={cn('h-[260px] relative', className)} >
-

{chart.label}

+

{chart.label}

This chart is available from{' '} diff --git a/apps/studio/components/interfaces/Reports/ReportHeader.tsx b/apps/studio/components/interfaces/Reports/ReportHeader.tsx index 0f4ff52c5c5..394f37762ed 100644 --- a/apps/studio/components/interfaces/Reports/ReportHeader.tsx +++ b/apps/studio/components/interfaces/Reports/ReportHeader.tsx @@ -15,7 +15,7 @@ const ReportHeader = ({ title, showDatabaseSelector }: ReportHeaderProps) => { return (

-

{title}

+

{title}

{showDatabaseSelector && ( { diff --git a/apps/studio/components/interfaces/Reports/Reports.tsx b/apps/studio/components/interfaces/Reports/Reports.tsx index 53685bfdb1d..ddc85aca621 100644 --- a/apps/studio/components/interfaces/Reports/Reports.tsx +++ b/apps/studio/components/interfaces/Reports/Reports.tsx @@ -364,7 +364,7 @@ const Reports = () => {
-

{currentReport?.name || 'Reports'}

+

{currentReport?.name || 'Reports'}

{currentReport?.description}

{hasEdits && ( diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationSelector.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationSelector.tsx index 80a35929e36..98aff096501 100644 --- a/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationSelector.tsx +++ b/apps/studio/components/interfaces/RoleImpersonationSelector/RoleImpersonationSelector.tsx @@ -59,7 +59,7 @@ const RoleImpersonationSelector = ({ return ( <>
-

Database role settings

+

Database role settings

{ diff --git a/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx b/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx index edc0e0c753c..d22edb156ce 100644 --- a/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx +++ b/apps/studio/components/interfaces/RoleImpersonationSelector/UserImpersonationSelector.tsx @@ -175,9 +175,9 @@ const UserImpersonationSelector = () => { return ( <>
-

+

{displayName ? `Impersonating ${displayName}` : 'Impersonate a User'} -

+

{!impersonatingUser && !isExternalAuthImpersonating ? "Select a user to respect your database's Row-Level Security policies for that particular user." diff --git a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx index a98c4ac0a2b..f4316b09b04 100644 --- a/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx +++ b/apps/studio/components/interfaces/SQLEditor/MonacoEditor.tsx @@ -32,6 +32,7 @@ export type MonacoEditorProps = { startLineNumber: number endLineNumber: number }) => void + placeholder?: string } const MonacoEditor = ({ @@ -39,6 +40,7 @@ const MonacoEditor = ({ editorRef, monacoRef, autoFocus = true, + placeholder = '', className, executeQuery, onHasSelection, @@ -204,6 +206,7 @@ const MonacoEditor = ({ options={{ tabSize: 2, fontSize: 13, + placeholder, lineDecorationsWidth: 0, readOnly: disableEdit, minimap: { enabled: false }, diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx index 0efecee1d43..708e72eb52b 100644 --- a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx +++ b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx @@ -718,6 +718,13 @@ export const SQLEditor = () => {

{ endLineNumber={promptState.endLineNumber} /> )} - - {!promptState.isOpen && !editorRef.current?.getValue() && ( - - Hit {os === 'macos' ? : `CTRL+`}K to edit with the - Assistant - - )} -
)} diff --git a/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx b/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx index 4aec1576724..49d4428342f 100644 --- a/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx +++ b/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLQuickstarts.tsx @@ -63,7 +63,7 @@ const SQLQuickstarts = () => {
-

Quickstarts

+

Quickstarts

Click on any script to fill the query box, modify the script, then click Run. diff --git a/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx b/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx index f5f8d1fd6f2..6ac7e907f49 100644 --- a/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx +++ b/apps/studio/components/interfaces/SQLEditor/SQLTemplates/SQLTemplates.tsx @@ -63,7 +63,7 @@ const SQLTemplates = () => {

-

Scripts

+

Scripts

Quick scripts to run on your database.

Click on any script to fill the query box, modify the script, then click diff --git a/apps/studio/components/interfaces/Settings/API/ApiKeysMoved.tsx b/apps/studio/components/interfaces/Settings/API/ApiKeysMoved.tsx deleted file mode 100644 index bf00d51029c..00000000000 --- a/apps/studio/components/interfaces/Settings/API/ApiKeysMoved.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import { useParams } from 'common' -import Link from 'next/link' -import { Button, Badge, Menu } from 'ui' -import { ArrowUpRight } from 'lucide-react' -import { ProductMenu } from 'components/ui/ProductMenu' -import type { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types' -import { Sidebar } from 'components/interfaces/Sidebar' - -export const ApiKeysMoved = () => { - const { ref: projectRef } = useParams() - - // Create menu structure matching the ProductMenu expected format - const mockMenu: ProductMenuGroup[] = [ - { - title: 'Project Settings', - items: [ - { name: 'General', key: 'general', url: '#' }, - { name: 'Compute and Disk', key: 'compute-and-disk', url: '#' }, - { name: 'Infrastructure', key: 'infrastructure', url: '#' }, - { name: 'Integrations', key: 'integrations', url: '#' }, - { name: 'API Keys', key: 'api-keys', url: '#', label: 'NEW' }, - { name: 'JWT Keys', key: 'jwt-keys', url: '#', label: 'NEW' }, - { name: 'Add Ons', key: 'addons', url: '#' }, - { - name: 'Vault', - key: 'vault', - url: '#', - label: 'Alpha', - rightIcon: , - }, - ], - }, - { - title: 'Configuration', - items: [{ name: 'Database', key: 'database', url: '#' }], - }, - ] - - return ( -

-
-

API keys and JWT settings have moved

-

- They can now be found in their own respective pages. -

-
- - - - - - -
-
- - {/* Menu illustration using the actual ProductMenu component */} - -
-
- -
-
- -
- -
-
-
- ) -} diff --git a/apps/studio/components/interfaces/Settings/API/ServiceList.tsx b/apps/studio/components/interfaces/Settings/API/ServiceList.tsx index 0b1ed99ab3a..e76b3db209e 100644 --- a/apps/studio/components/interfaces/Settings/API/ServiceList.tsx +++ b/apps/studio/components/interfaces/Settings/API/ServiceList.tsx @@ -15,7 +15,6 @@ import { useReadReplicasQuery } from 'data/read-replicas/replicas-query' import { PROJECT_STATUS } from 'lib/constants' import { useDatabaseSelectorStateSnapshot } from 'state/database-selector' import { Badge, Input } from 'ui' -import { ApiKeysMoved } from './ApiKeysMoved' import { PostgrestConfig } from './PostgrestConfig' const ServiceList = () => { @@ -106,10 +105,6 @@ const ServiceList = () => { -
- -
-
diff --git a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx index af56adf36cd..fae1eb8662c 100644 --- a/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx +++ b/apps/studio/components/interfaces/Settings/Addons/IPv4SidePanel.tsx @@ -136,7 +136,7 @@ const IPv4SidePanel = () => {

If you are connecting via the Shared connection pooler, you do not need this add-on as our pooler resolves to IPv4 addresses. You can check your connection info in your{' '} - + project database settings . diff --git a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx index 29493fe9edc..939ab6486cb 100644 --- a/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx +++ b/apps/studio/components/interfaces/Settings/Database/DatabaseSettings/ResetDbPassword.tsx @@ -124,7 +124,7 @@ const ResetDbPassword = ({ disabled = false }) => { Reset database password} + header={

Reset database password
} confirmText="Reset password" size="medium" visible={showResetDbPass} diff --git a/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx b/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx index 28d6fa67cd4..09da373613b 100644 --- a/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx +++ b/apps/studio/components/interfaces/Settings/Database/DiskSizeConfiguration.tsx @@ -98,13 +98,13 @@ const DiskSizeConfiguration = ({ disabled = false }: DiskSizeConfigurationProps)
-
Space used
+
Space used
{formatBytes(databaseSizeBytesUsed, 2, 'GB')}
-
Total size
+
Total size
{currentDiskSize} GB
diff --git a/apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx b/apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx index 29e67a85e57..5937daaddf5 100644 --- a/apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx +++ b/apps/studio/components/interfaces/Settings/Infrastructure/UpgradeWarnings.tsx @@ -1,3 +1,5 @@ +import { useParams } from 'common' +import Link from 'next/link' import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_, Button } from 'ui' export const ReadReplicasWarning = ({ latestPgVersion }: { latestPgVersion: string }) => { @@ -27,7 +29,7 @@ export const ObjectsToBeDroppedWarning = ({ A new version of Postgres is available
-

You'll need to remove the following objects before upgrading:

+

The following objects have to be removed before upgrading:

    {objectsToBeDropped.map((obj) => ( @@ -59,6 +61,8 @@ export const UnsupportedExtensionsWarning = ({ }: { unsupportedExtensions: string[] }) => { + const { ref } = useParams() + return ( A new version of Postgres is available
    -

    You'll need to remove the following extensions before upgrading:

    +

    The following extensions have to be removed before upgrading:

      {unsupportedExtensions.map((obj: string) => (
    • - {obj} + + {obj} +
    • ))}
    diff --git a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx index 68c21d2ed21..63fb03aa3f3 100644 --- a/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx +++ b/apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx @@ -10,6 +10,8 @@ import type { IntegrationProjectConnection, } from 'data/integrations/integrations.types' import { useVercelConnectionUpdateMutation } from 'data/integrations/vercel-connection-update-mutate' +import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' +import Link from 'next/link' import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, @@ -24,8 +26,6 @@ import { Input_Shadcn_, Switch, } from 'ui' -import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import Link from 'next/link' const VercelIntegrationConnectionForm = ({ disabled, @@ -120,7 +120,7 @@ const VercelIntegrationConnectionForm = ({ ) : (
    -
    +
    Sync environment variables for selected target environments
    @@ -193,9 +193,7 @@ const VercelIntegrationConnectionForm = ({
    )}
    -
    - Customize public environment variable prefix -
    +
    Customize public environment variable prefix
    -

    No data

    +

    No data

    It may take up to 24 hours for data to refresh

    diff --git a/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx b/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx index d08489cf2e0..dc8aafaa9eb 100644 --- a/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx +++ b/apps/studio/components/interfaces/Storage/AnalyticBucketDetails/SimpleConfigurationDetails.tsx @@ -24,7 +24,7 @@ export const SimpleConfigurationDetails = ({ bucketName }: { bucketName: string const { data: apiKeys } = useAPIKeysQuery({ projectRef: project?.ref }) const { data: settings } = useProjectSettingsV2Query({ projectRef: project?.ref }) const protocol = settings?.app_config?.protocol ?? 'https' - const endpoint = settings?.app_config?.endpoint + const endpoint = settings?.app_config?.storage_endpoint || settings?.app_config?.endpoint const { serviceKey } = getKeys(apiKeys) const serviceApiKey = serviceKey?.api_key ?? 'SUPABASE_CLIENT_SERVICE_KEY' @@ -50,7 +50,7 @@ export const SimpleConfigurationDetails = ({ bucketName }: { bucketName: string

    To get AWS credentials, you can create them using the{' '} - + S3 Access Keys {' '} feature. diff --git a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx index 75911012462..8fd84dcebc2 100644 --- a/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx +++ b/apps/studio/components/interfaces/Storage/CreateBucketModal.tsx @@ -383,7 +383,7 @@ const CreateBucketModal = ({ visible, onClose }: CreateBucketModalProps) => {

    Note: Individual bucket uploads will still be capped at the{' '} global upload limit diff --git a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx index 5a9ff0ea2a9..ba9cb5b9a51 100644 --- a/apps/studio/components/interfaces/Storage/EditBucketModal.tsx +++ b/apps/studio/components/interfaces/Storage/EditBucketModal.tsx @@ -228,7 +228,7 @@ const EditBucketModal = ({ visible, bucket, onClose }: EditBucketModalProps) =>

    Note: Individual bucket upload will still be capped at the{' '} global upload limit diff --git a/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx index c54d1e3bd45..d7371c08591 100644 --- a/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx +++ b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.tsx @@ -107,7 +107,7 @@ export const ImportForeignSchemaDialog = ({ const serverOptions = await getDecryptedParameters({ ref: project?.ref, connectionString: project?.connectionString ?? undefined, - serverName, + wrapper, }) const formValues: Record = { @@ -158,11 +158,7 @@ export const ImportForeignSchemaDialog = ({ hideFooter visible={visible} size="medium" - header={ - - Connect namespace {namespace} - - } + header={Connect namespace "{namespace}"} onCancel={() => onClose()} > @@ -173,9 +169,9 @@ export const ImportForeignSchemaDialog = ({ name="targetSchema" render={({ field }) => ( diff --git a/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.utils.ts b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.utils.ts index 923e41ae733..1b1f6d51720 100644 --- a/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.utils.ts +++ b/apps/studio/components/interfaces/Storage/ImportForeignSchemaDialog.utils.ts @@ -1,4 +1,4 @@ -import { getFDWs } from 'data/fdw/fdws-query' +import { type FDW } from 'data/fdw/fdws-query' import { getDecryptedValues } from 'data/vault/vault-secret-decrypted-value-query' import { INTEGRATIONS } from '../Integrations/Landing/Integrations.constants' import { WrapperMeta } from '../Integrations/Wrappers/Wrappers.types' @@ -7,18 +7,16 @@ import { convertKVStringArrayToJson } from '../Integrations/Wrappers/Wrappers.ut export const getDecryptedParameters = async ({ ref, connectionString, - serverName, + wrapper, }: { ref?: string connectionString?: string - serverName: string + wrapper: FDW }) => { const integration = INTEGRATIONS.find((i) => i.id === 'iceberg_wrapper' && i.type === 'wrapper') const wrapperMeta = (integration?.type === 'wrapper' && integration.meta) as WrapperMeta const wrapperServerOptions = wrapperMeta.server.options - const FDWs = await getFDWs({ projectRef: ref, connectionString: connectionString }) - const wrapper = FDWs.find((fdw) => fdw.server_name === serverName) const serverOptions = convertKVStringArrayToJson(wrapper?.server_options ?? []) const paramsToBeDecrypted = Object.fromEntries( diff --git a/apps/studio/components/interfaces/Storage/Storage.constants.ts b/apps/studio/components/interfaces/Storage/Storage.constants.ts index 0ef1aac67aa..674153a2cc0 100644 --- a/apps/studio/components/interfaces/Storage/Storage.constants.ts +++ b/apps/studio/components/interfaces/Storage/Storage.constants.ts @@ -16,6 +16,11 @@ export enum STORAGE_SORT_BY { LAST_ACCESSED_AT = 'last_accessed_at', } +export enum STORAGE_BUCKET_SORT { + ALPHABETICAL = 'alphabetical', + CREATED_AT = 'created_at', +} + export enum STORAGE_SORT_BY_ORDER { ASC = 'asc', DESC = 'desc', diff --git a/apps/studio/components/interfaces/Storage/StorageMenu.tsx b/apps/studio/components/interfaces/Storage/StorageMenu.tsx index 152fa8ed735..9683bbe95d9 100644 --- a/apps/studio/components/interfaces/Storage/StorageMenu.tsx +++ b/apps/studio/components/interfaces/Storage/StorageMenu.tsx @@ -1,20 +1,20 @@ import { PermissionAction } from '@supabase/shared-types/out/constants' -import { useLocalStorage } from '@uidotdev/usehooks' -import { ArrowUpRight, Edit } from 'lucide-react' +import { Edit } from 'lucide-react' import Link from 'next/link' import { useRouter } from 'next/router' import { useState } from 'react' import { useParams } from 'common' +import { DeleteBucketModal } from 'components/interfaces/Storage' import CreateBucketModal from 'components/interfaces/Storage/CreateBucketModal' import EditBucketModal from 'components/interfaces/Storage/EditBucketModal' -import { DeleteBucketModal } from 'components/interfaces/Storage' import { EmptyBucketModal } from 'components/interfaces/Storage/EmptyBucketModal' import { ButtonTooltip } from 'components/ui/ButtonTooltip' import ShimmeringLoader from 'components/ui/ShimmeringLoader' import { Bucket, useBucketsQuery } from 'data/storage/buckets-query' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { useSelectedProject } from 'hooks/misc/useSelectedProject' +import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject' +import { useStorageExplorerStateSnapshot } from 'state/storage-explorer' import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_, Menu } from 'ui' import { InnerSideBarEmptyPanel, @@ -28,8 +28,9 @@ import BucketRow from './BucketRow' const StorageMenu = () => { const router = useRouter() const { ref, bucketId } = useParams() - const projectDetails = useSelectedProject() - const isBranch = projectDetails?.parent_project_ref !== undefined + const { data: project } = useSelectedProjectQuery() + const snap = useStorageExplorerStateSnapshot() + const isBranch = project?.parent_project_ref !== undefined const [searchText, setSearchText] = useState('') const [showCreateBucketModal, setShowCreateBucketModal] = useState(false) @@ -38,11 +39,6 @@ const StorageMenu = () => { const [selectedBucketToDelete, setSelectedBucketToDelete] = useState() const canCreateBuckets = useCheckPermissions(PermissionAction.STORAGE_WRITE, '*') - const [sort, setSort] = useLocalStorage<'alphabetical' | 'created-at'>( - 'storage-explorer-sort', - 'created-at' - ) - const page = router.pathname.split('/')[4] as | undefined | 'policies' @@ -58,7 +54,7 @@ const StorageMenu = () => { isSuccess, } = useBucketsQuery({ projectRef: ref }) const sortedBuckets = - sort === 'alphabetical' + snap.sortBucket === 'alphabetical' ? buckets.sort((a, b) => a.name.toLowerCase().trim().localeCompare(b.name.toLowerCase().trim()) ) @@ -103,8 +99,8 @@ const StorageMenu = () => { }} > setSort(value)} + value={snap.sortBucket} + onValueChange={(value: any) => snap.setSortBucket(value)} > {

    Policies

    - - -
    -

    Settings

    - -
    + + +

    Settings

    diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx index 4368ee7dd82..69b2e4d297c 100644 --- a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx +++ b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx @@ -80,7 +80,7 @@ export const S3Connection = () => { }) const protocol = settings?.app_config?.protocol ?? 'https' - const endpoint = settings?.app_config?.endpoint + const endpoint = settings?.app_config?.storage_endpoint || settings?.app_config?.endpoint const hasStorageCreds = storageCreds?.data && storageCreds.data.length > 0 const s3connectionUrl = getConnectionURL(projectRef ?? '', protocol, endpoint) diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.utils.ts b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.utils.ts index e57efdba891..60c104e641e 100644 --- a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.utils.ts +++ b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.utils.ts @@ -26,7 +26,9 @@ export const convertToBytes = (size: number, unit: StorageSizeUnits = StorageSiz } function getStorageURL(projectRef: string, protocol: string, endpoint?: string) { - const projUrl = endpoint ? `${protocol}://${endpoint}` : `https://${projectRef}.supabase.co` + const projUrl = endpoint + ? `${protocol}://${endpoint}` + : `https://${projectRef}.storage.supabase.co` const url = new URL(projUrl) return url } diff --git a/apps/studio/components/interfaces/Support/SupportFormV2.tsx b/apps/studio/components/interfaces/Support/SupportFormV2.tsx index 7571151668c..9ee139f7cd9 100644 --- a/apps/studio/components/interfaces/Support/SupportFormV2.tsx +++ b/apps/studio/components/interfaces/Support/SupportFormV2.tsx @@ -532,7 +532,7 @@ export const SupportFormV2 = ({ {docsResults.length > 0 && hasResults && ( <>
    -
    AI Suggested resources
    +
    AI Suggested resources
    {searchState.status === 'loading' && (
    diff --git a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx index a14889e5736..f32a66bb37a 100644 --- a/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx +++ b/apps/studio/components/interfaces/TableGridEditor/GridHeaderActions.tsx @@ -25,7 +25,7 @@ import { useSendEventMutation } from 'data/telemetry/send-event-mutation' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' import { useIsFeatureEnabled } from 'hooks/misc/useIsFeatureEnabled' import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' +import { useIsProtectedSchema } from 'hooks/useProtectedSchemas' import { useTableEditorTableStateSnapshot } from 'state/table-editor-table' import { Button, @@ -60,7 +60,7 @@ const GridHeaderActions = ({ table }: GridHeaderActionsProps) => { const isMaterializedView = isTableLikeMaterializedView(table) const realtimeEnabled = useIsFeatureEnabled('realtime:all') - const isLocked = PROTECTED_SCHEMAS.includes(table.schema) + const { isSchemaLocked } = useIsProtectedSchema({ schema: table.schema }) const { mutate: updateTable } = useTableUpdateMutation({ onError: (error) => { @@ -200,10 +200,10 @@ const GridHeaderActions = ({ table }: GridHeaderActionsProps) => { )} - {isTable && !isLocked ? ( + {isTable && !isSchemaLocked ? ( table.rls_enabled ? ( <> - {policies.length < 1 && !isLocked ? ( + {policies.length < 1 && !isSchemaLocked ? ( { ) : ( - - + )}
    @@ -282,7 +254,7 @@ const TableEditorMenu = () => { itemProps={{ projectRef: project?.ref!, id: Number(id), - isLocked, + isSchemaLocked, onExportCLI: () => { const entity = entityTypes?.find((x) => x.id === id) if (!entity) return @@ -308,7 +280,6 @@ const TableEditorMenu = () => { if (!open) setTableToExport(undefined) }} /> - setShowModal(false)} /> ) } diff --git a/apps/studio/components/layouts/Tabs/SortableTab.tsx b/apps/studio/components/layouts/Tabs/SortableTab.tsx index 4f03c326c8d..b763b61a6ff 100644 --- a/apps/studio/components/layouts/Tabs/SortableTab.tsx +++ b/apps/studio/components/layouts/Tabs/SortableTab.tsx @@ -2,12 +2,13 @@ import { useSortable } from '@dnd-kit/sortable' import { CSS } from '@dnd-kit/utilities' import { AnimatePresence, motion } from 'framer-motion' import { X } from 'lucide-react' -import { useRouter } from 'next/router' import { useMemo } from 'react' import { EntityTypeIcon } from 'components/ui/EntityTypeIcon' +import { useQuerySchemaState } from 'hooks/misc/useSchemaQueryState' import { useTabsStateSnapshot, type Tab } from 'state/tabs' import { cn, TabsTrigger_Shadcn_ } from 'ui' +import { useEditorType } from '../editors/EditorsLayout.hooks' /** * Individual draggable tab component that handles: @@ -28,9 +29,9 @@ export const SortableTab = ({ openTabs: Tab[] onClose: (id: string) => void }) => { - const router = useRouter() - const currentSchema = (router.query.schema as string) || 'public' + const editor = useEditorType() const tabs = useTabsStateSnapshot() + const { selectedSchema: currentSchema } = useQuerySchemaState() const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({ id: tab.id, }) @@ -45,16 +46,8 @@ export const SortableTab = ({ const shouldShowSchema = useMemo(() => { // For both table and schema tabs, show schema if: // Any tab has a different schema than the current schema parameter - if (tab.type === 'r') { - const anyTabHasDifferentSchema = openTabs - .filter((t) => t.type === 'r') - .some((t) => t.metadata?.schema !== currentSchema) - - return anyTabHasDifferentSchema - } - - return false - }, [openTabs, currentSchema, tab.type]) + return openTabs.some((t) => editor === 'table' && t.metadata?.schema !== currentSchema) + }, [openTabs, currentSchema, editor]) // Create a motion version of TabsTrigger while preserving all functionality // const MotionTabsTrigger = motion(TabsTrigger_Shadcn_) diff --git a/apps/studio/components/ui/AIAssistantPanel/AssistantChatForm.tsx b/apps/studio/components/ui/AIAssistantPanel/AssistantChatForm.tsx index b8ed66480cc..52fadfb9d00 100644 --- a/apps/studio/components/ui/AIAssistantPanel/AssistantChatForm.tsx +++ b/apps/studio/components/ui/AIAssistantPanel/AssistantChatForm.tsx @@ -127,7 +127,7 @@ const AssistantChatFormComponent = React.forwardRef( disabled={!canSubmit} className={cn( 'w-7 h-7 rounded-full p-0 text-center flex items-center justify-center', - !canSubmit ? 'text-muted opacity-50' : 'text-default opacity-100', + !canSubmit ? 'opacity-50' : 'opacity-100', loading && 'hidden' )} /> diff --git a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx index 5702eff4188..a6716b5d012 100644 --- a/apps/studio/components/ui/EditorPanel/EditorPanel.tsx +++ b/apps/studio/components/ui/EditorPanel/EditorPanel.tsx @@ -1,7 +1,7 @@ -import { debounce } from 'lodash' import { Book, Save, X } from 'lucide-react' -import { useCallback, useEffect, useState } from 'react' +import { useEffect, useState } from 'react' import { toast } from 'sonner' +import { useForm } from 'react-hook-form' import { useParams } from 'common' import { @@ -13,11 +13,10 @@ import { SqlRunButton } from 'components/interfaces/SQLEditor/UtilityPanel/RunBu import { useSqlTitleGenerateMutation } from 'data/ai/sql-title-mutation' import { QueryResponseError, useExecuteSqlMutation } from 'data/sql/execute-sql-mutation' import { useOrgAiOptInLevel } from 'hooks/misc/useOrgOptedIntoAi' -import { useSelectedProject } from 'hooks/misc/useSelectedProject' +import { useSelectedProjectQuery } from 'hooks/misc/useSelectedProject' import { BASE_PATH } from 'lib/constants' import { uuidv4 } from 'lib/helpers' import { useProfile } from 'lib/profile' -import { useAppStateSnapshot } from 'state/app-state' import { useSqlEditorV2StateSnapshot } from 'state/sql-editor-v2' import { Button, @@ -29,6 +28,8 @@ import { CommandInput_Shadcn_, CommandItem_Shadcn_, CommandList_Shadcn_, + FormField_Shadcn_, + Form_Shadcn_, HoverCard_Shadcn_, HoverCardContent_Shadcn_, HoverCardTrigger_Shadcn_, @@ -36,7 +37,12 @@ import { Popover_Shadcn_, PopoverContent_Shadcn_, PopoverTrigger_Shadcn_, + Sheet, + SheetContent, + SheetHeader, + SheetTitle, SQL_ICON, + SheetDescription, } from 'ui' import { Admonition } from 'ui-patterns' import { containsUnknownFunction, isReadOnlySelect } from '../AIAssistantPanel/AIAssistant.utils' @@ -45,14 +51,44 @@ import { ButtonTooltip } from '../ButtonTooltip' import { InlineLink } from '../InlineLink' import SqlWarningAdmonition from '../SqlWarningAdmonition' +type Template = { + name: string + description: string + content: string +} + interface EditorPanelProps { + open: boolean + onClose: () => void + initialValue?: string + label?: string + saveLabel?: string + saveValue?: string + onSave?: (value: string) => void + onRunSuccess?: (value: any[]) => void + onRunError?: (value: any) => void + functionName?: string + templates?: Template[] + initialPrompt?: string onChange?: (value: string) => void } -export const EditorPanel = ({ onChange }: EditorPanelProps) => { +export const EditorPanel = ({ + open, + onClose, + initialValue = '', + label = '', + saveLabel = 'Save', + saveValue = '', + onSave, + onRunSuccess, + onRunError, + templates = [], + initialPrompt = '', + onChange, +}: EditorPanelProps) => { const { ref } = useParams() - const project = useSelectedProject() - const { editorPanel, setEditorPanel } = useAppStateSnapshot() + const { data: project } = useSelectedProjectQuery() const { profile } = useProfile() const snapV2 = useSqlEditorV2StateSnapshot() const { mutateAsync: generateSqlTitle } = useSqlTitleGenerateMutation() @@ -62,13 +98,16 @@ export const EditorPanel = ({ onChange }: EditorPanelProps) => { const [error, setError] = useState() const [results, setResults] = useState(undefined) const [showWarning, setShowWarning] = useState<'hasWriteOperation' | 'hasUnknownFunctions'>() - const [currentValue, setCurrentValue] = useState(editorPanel.initialValue || '') - const [name, setName] = useState('') - const [savedCode, setSavedCode] = useState('') - const [isPreviewingTemplate, setIsPreviewingTemplate] = useState(false) + const [currentValue, setCurrentValue] = useState(initialValue) const [showResults, setShowResults] = useState(true) const [isTemplatesOpen, setIsTemplatesOpen] = useState(false) + const saveForm = useForm({ + defaultValues: { + saveValue: saveValue || '', + }, + }) + const errorHeader = error?.formattedError?.split('\n')?.filter((x: string) => x.length > 0)?.[0] const errorContent = error?.formattedError @@ -79,10 +118,16 @@ export const EditorPanel = ({ onChange }: EditorPanelProps) => { const { mutate: executeSql, isLoading: isExecuting } = useExecuteSqlMutation({ onSuccess: async (res) => { setResults(res.result) + if (onRunSuccess) { + onRunSuccess(res.result) + } }, onError: (error) => { setError(error) setResults([]) + if (onRunError) { + onRunError(error) + } }, }) @@ -100,11 +145,6 @@ export const EditorPanel = ({ onChange }: EditorPanelProps) => { return } } - - if (editorPanel.onRun) { - editorPanel.onRun(currentValue) - } - executeSql({ sql: suffixWithLimit(currentValue, 100), projectRef: project?.ref, @@ -126,267 +166,277 @@ export const EditorPanel = ({ onChange }: EditorPanelProps) => { setIsTemplatesOpen(false) } - // Create a debounced version of the revert code function - const debouncedRevertCode = useCallback( - debounce(() => { - setIsPreviewingTemplate(false) - handleChange(savedCode) - }, 300), - [savedCode] - ) - - // Cleanup debounce on unmount useEffect(() => { - return () => { - debouncedRevertCode.cancel() + if (initialValue !== undefined && initialValue !== currentValue) { + setCurrentValue(initialValue) + setResults(undefined) + setError(undefined) + setShowWarning(undefined) } - }, [debouncedRevertCode]) + }, [initialValue]) useEffect(() => { - if (editorPanel.initialValue !== undefined && editorPanel.initialValue !== currentValue) { - setCurrentValue(editorPanel.initialValue) - } - }, [editorPanel.initialValue]) - - useEffect(() => { - if (editorPanel.initialValue !== currentValue) { - setEditorPanel({ - initialValue: currentValue, - }) - } - }, [currentValue, setEditorPanel]) + saveForm.reset({ + saveValue: saveValue || '', + }) + }, [saveValue, saveForm]) return ( -
    -
    - {editorPanel.label} -
    - - - - - - - - - No templates found. - - {editorPanel.templates?.map((template) => ( - - - onSelectTemplate(template.content)} - className="cursor-pointer" - > -
    - !open && onClose()}> + + +
    + SQL Editor + {label && {label}} +
    +
    + {templates.length > 0 && ( + + + + + + + + + No templates found. + + {templates.map((template) => ( + + + onSelectTemplate(template.content)} + className="cursor-pointer" + > +
    + +
    +

    {template.name}

    +

    + {template.description} +

    +
    +
    +
    +
    + + -
    -

    {template.name}

    -

    - {template.description} -

    -
    -
    - - - - - - - ))} - - - - - - } - onClick={async () => { - if (!ref) return console.error('Project ref is required') - if (!project) return console.error('Project is required') - if (!profile) return console.error('Profile is required') + + + ))} + + + + + + )} + } + onClick={async () => { + if (!ref) return console.error('Project ref is required') + if (!project) return console.error('Project is required') + if (!profile) return console.error('Profile is required') - try { - setIsSaving(true) - const { title: name } = await generateSqlTitle({ - sql: currentValue, - }) - const snippet = createSqlSnippetSkeletonV2({ - id: uuidv4(), - name, - sql: currentValue, - owner_id: profile.id, - project_id: project.id, - }) - snapV2.addSnippet({ projectRef: ref, snippet }) - snapV2.addNeedsSaving(snippet.id) - toast.success( -
    - Saved snippet! View it{' '} - here -
    - ) - } catch (error: any) { - toast.error(`Failed to create new query: ${error.message}`) - } finally { - setIsSaving(false) - } - }} - /> + try { + setIsSaving(true) + const { title: name } = await generateSqlTitle({ + sql: currentValue, + }) + const snippet = createSqlSnippetSkeletonV2({ + id: uuidv4(), + name, + sql: currentValue, + owner_id: profile.id, + project_id: project.id, + }) + snapV2.addSnippet({ projectRef: ref, snippet }) + snapV2.addNeedsSaving(snippet.id) + toast.success( +
    + Saved snippet! View it{' '} + here +
    + ) + } catch (error: any) { + toast.error(`Failed to create new query: ${error.message}`) + } finally { + setIsSaving(false) + } + }} + /> -
    -
    - -
    -
    - -
    - - {error !== undefined && ( -
    - - {errorContent.length > 0 ? ( - errorContent.map((errorText: string, i: number) => ( -
    -                        {errorText}
    -                      
    - )) - ) : ( -

    {error.error}

    - )} -
    - } +
    - )} + - {showWarning && ( - setShowWarning(undefined)} - onConfirm={() => { - setShowWarning(undefined) - onExecuteSql(true) - }} - /> - )} - - {results !== undefined && results.length > 0 && ( -
    - {showResults && ( -
    - -
    - )} -

    - - {results.length} rows{results.length >= 100 && ` (Limited to only 100 rows)`} - - -

    +
    +
    +
    - )} - {results !== undefined && results.length === 0 && ( -
    -

    - Success. No rows returned. -

    -
    - )} -
    - {editorPanel.onSave && ( -
    - setName(e.target.value)} - placeholder="Name" + {error !== undefined && ( +
    + + {errorContent.length > 0 ? ( + errorContent.map((errorText: string, i: number) => ( +
    +                          {errorText}
    +                        
    + )) + ) : ( +

    {error.error}

    + )} +
    + } /> -
    )} - + + {showWarning && ( + setShowWarning(undefined)} + onConfirm={() => { + setShowWarning(undefined) + onExecuteSql(true) + }} + /> + )} + + {results !== undefined && results.length > 0 && ( +
    + {showResults && ( +
    + +
    + )} +

    + + {results.length} rows{results.length >= 100 && ` (Limited to only 100 rows)`} + + +

    +
    + )} + {results !== undefined && results.length === 0 && ( +
    +

    + Success. No rows returned. +

    +
    + )} + +
    + {onSave && ( + + { + onSave(values.saveValue) + })} + className="flex items-center gap-2" + > + {saveValue && ( + ( + + )} + /> + )} + + + + )} + +
    -
    -
    + + ) } diff --git a/apps/studio/components/ui/Forms/FormsContainer.tsx b/apps/studio/components/ui/Forms/FormsContainer.tsx deleted file mode 100644 index 8ba379ca248..00000000000 --- a/apps/studio/components/ui/Forms/FormsContainer.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { cn } from 'ui' - -function FormsContainer(props: { children: React.ReactNode; header?: string; className?: string }) { - return ( -
    - {props.header &&

    {props.header}

    } -
    {props.children}
    -
    - ) -} - -export { FormsContainer } diff --git a/apps/studio/components/ui/InfoPill.tsx b/apps/studio/components/ui/InfoPill.tsx index d88beae7ebf..d1ff71ae968 100644 --- a/apps/studio/components/ui/InfoPill.tsx +++ b/apps/studio/components/ui/InfoPill.tsx @@ -39,7 +39,7 @@ export const InfoPill = ({ label, icon, title, description, links }: InfoPillPro })}
    -

    {title}

    +

    {title}

    {description}

    {links && links.length > 0 && (
    diff --git a/apps/studio/components/ui/InformationBox.tsx b/apps/studio/components/ui/InformationBox.tsx index 702d832fecb..c79f3d52319 100644 --- a/apps/studio/components/ui/InformationBox.tsx +++ b/apps/studio/components/ui/InformationBox.tsx @@ -1,6 +1,6 @@ import { ExternalLink, Maximize2, Minimize2 } from 'lucide-react' import Link from 'next/link' -import { ReactNode, useState, forwardRef } from 'react' +import { forwardRef, ReactNode, useState } from 'react' import { Button } from 'ui' @@ -47,7 +47,7 @@ const InformationBox = forwardRef(
    {icon && {icon}}
    -
    {title}
    +
    {title}
    {description && !hideCollapse ? ( diff --git a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx index ae32da4ba62..6dc87be2204 100644 --- a/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx +++ b/apps/studio/components/ui/Logs/LogsExplorerHeader.tsx @@ -27,15 +27,11 @@ const LogsExplorerHeader = ({ subtitle }: LogsExplorerHeaderProps) => {
    -
    +
    -

    Logs Explorer

    +

    Logs Explorer

    {subtitle && {subtitle}}
    diff --git a/apps/studio/components/ui/QueryBlock/EditQueryButton.tsx b/apps/studio/components/ui/QueryBlock/EditQueryButton.tsx index 19cabf19ab1..5f05b778d8e 100644 --- a/apps/studio/components/ui/QueryBlock/EditQueryButton.tsx +++ b/apps/studio/components/ui/QueryBlock/EditQueryButton.tsx @@ -10,7 +10,6 @@ import { useSelectedOrganization } from 'hooks/misc/useSelectedOrganization' import Link from 'next/link' import { ComponentProps } from 'react' import { useAiAssistantStateSnapshot } from 'state/ai-assistant-state' -import { useAppStateSnapshot } from 'state/app-state' import { useSqlEditorV2StateSnapshot } from 'state/sql-editor-v2' import { cn, @@ -42,7 +41,6 @@ export const EditQueryButton = ({ const { newQuery } = useNewQuery() const sqlEditorSnap = useSqlEditorV2StateSnapshot() - const { setEditorPanel } = useAppStateSnapshot() const snap = useAiAssistantStateSnapshot() const isInSQLEditor = router.pathname.includes('/sql') @@ -78,10 +76,9 @@ export const EditQueryButton = ({ icon={} onClick={() => { if (isInlineEditorEnabled) { - setEditorPanel({ - open: true, - initialValue: sql, - }) + // This component needs to be updated to work with local EditorPanel state + // For now, fall back to creating a new query + if (sql) newQuery(sql, title) snap.closeAssistant() } else { if (sql) newQuery(sql, title) diff --git a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts index 398a5160ac8..ac022df0ea5 100644 --- a/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts +++ b/apps/studio/components/ui/ResourceExhaustionWarningBanner/ResourceExhaustionWarningBanner.constants.ts @@ -79,12 +79,12 @@ export const RESOURCE_WARNING_MESSAGES: Record = title: 'Your project is about to exhaust its available disk space, and may become unresponsive once fully exhausted', description: - 'You can opt to increase your disk size up to 200GB on the database settings page.', + 'You can opt to increase your disk size up to 200GB on the Database Settings page.', }, critical: { title: 'Your project has exhausted its available disk space, and may become unresponsive', description: - 'You can opt to increase your disk size up to 200GB on the database settings page.', + 'You can opt to increase your disk size up to 200GB on the Database Settings page.', }, }, cardContent: { diff --git a/apps/studio/data/database-cron-jobs/database-cron-job-query.ts b/apps/studio/data/database-cron-jobs/database-cron-job-query.ts new file mode 100644 index 00000000000..cb78d893d65 --- /dev/null +++ b/apps/studio/data/database-cron-jobs/database-cron-job-query.ts @@ -0,0 +1,55 @@ +import { useQuery, UseQueryOptions } from '@tanstack/react-query' + +import { executeSql } from 'data/sql/execute-sql-query' +import { ResponseError } from 'types' +import { CronJob } from './database-cron-jobs-infinite-query' +import { databaseCronJobsKeys } from './keys' + +export type DatabaseCronJobVariables = { + projectRef?: string + connectionString?: string | null + id?: number + name?: string +} + +export async function getDatabaseCronJob({ + projectRef, + connectionString, + id, + name, +}: DatabaseCronJobVariables) { + if (!projectRef) throw new Error('Project ref is required') + + const { result } = await executeSql({ + projectRef, + connectionString, + sql: !!id + ? `SELECT * FROM cron.job where jobid = ${id};` + : `SELECT * FROM cron.job where jobname = '${name}';`, + queryKey: ['cron-job', id], + }) + + return result[0] +} + +export type DatabaseCronJobData = CronJob +export type DatabaseCronJobError = ResponseError + +export const useCronJobQuery = ( + { projectRef, connectionString, id, name }: DatabaseCronJobVariables, + { + enabled = true, + ...options + }: UseQueryOptions = {} +) => + useQuery( + databaseCronJobsKeys.job(projectRef, id ?? name), + () => getDatabaseCronJob({ projectRef, connectionString, id }), + { + enabled: + enabled && + typeof projectRef !== 'undefined' && + (typeof id !== 'undefined' || typeof name !== 'undefined'), + ...options, + } + ) diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-query.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-count-query.ts similarity index 52% rename from apps/studio/data/database-cron-jobs/database-cron-jobs-query.ts rename to apps/studio/data/database-cron-jobs/database-cron-jobs-count-query.ts index 0217f664301..70ad18caa62 100644 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-query.ts +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-count-query.ts @@ -3,52 +3,41 @@ import { executeSql } from 'data/sql/execute-sql-query' import { ResponseError } from 'types' import { databaseCronJobsKeys } from './keys' -export type DatabaseCronJobsVariables = { +type DatabaseCronJobsCountVariables = { projectRef?: string connectionString?: string | null } -export type CronJob = { - jobid: number - schedule: string - command: string - nodename: string - nodeport: number - database: string - username: string - active: boolean - jobname: string | null -} +const cronJobCountSql = `select count(jobid) from cron.job;`.trim() -const cronJobSqlQuery = `select * from cron.job order by jobid;` - -export async function getDatabaseCronJobs({ +export async function getDatabaseCronJobsCount({ projectRef, connectionString, -}: DatabaseCronJobsVariables) { +}: DatabaseCronJobsCountVariables) { if (!projectRef) throw new Error('Project ref is required') const { result } = await executeSql({ projectRef, connectionString, - sql: cronJobSqlQuery, + sql: cronJobCountSql, + queryKey: ['cron-jobs-count'], }) - return result + return result[0].count } -export type DatabaseCronJobData = CronJob[] +export type DatabaseCronJobData = number export type DatabaseCronJobError = ResponseError -export const useCronJobsQuery = ( - { projectRef, connectionString }: DatabaseCronJobsVariables, +export const useCronJobsCountQuery = ( + { projectRef, connectionString }: DatabaseCronJobsCountVariables, { enabled = true, ...options }: UseQueryOptions = {} ) => useQuery( - databaseCronJobsKeys.list(projectRef), - () => getDatabaseCronJobs({ projectRef, connectionString }), + databaseCronJobsKeys.count(projectRef), + () => getDatabaseCronJobsCount({ projectRef, connectionString }), { enabled: enabled && typeof projectRef !== 'undefined', ...options, diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-create-mutation.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-create-mutation.ts index 0424703a2dc..2e7b2396856 100644 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-create-mutation.ts +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-create-mutation.ts @@ -9,6 +9,7 @@ export type DatabaseCronJobCreateVariables = { projectRef: string connectionString?: string | null query: string + searchTerm?: string } export async function createDatabaseCronJob({ @@ -42,8 +43,10 @@ export const useDatabaseCronJobCreateMutation = ({ (vars) => createDatabaseCronJob(vars), { async onSuccess(data, variables, context) { - const { projectRef } = variables - await queryClient.invalidateQueries(databaseCronJobsKeys.list(projectRef)) + const { projectRef, searchTerm } = variables + await queryClient.invalidateQueries( + databaseCronJobsKeys.listInfinite(projectRef, searchTerm) + ) await onSuccess?.(data, variables, context) }, async onError(data, variables, context) { diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-delete-mutation.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-delete-mutation.ts index 13fa2686e41..d38414ec968 100644 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-delete-mutation.ts +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-delete-mutation.ts @@ -9,6 +9,7 @@ export type DatabaseCronJobDeleteVariables = { projectRef: string connectionString?: string | null jobId: number + searchTerm?: string } export async function deleteDatabaseCronJob({ @@ -42,8 +43,10 @@ export const useDatabaseCronJobDeleteMutation = ({ (vars) => deleteDatabaseCronJob(vars), { async onSuccess(data, variables, context) { - const { projectRef } = variables - await queryClient.invalidateQueries(databaseCronJobsKeys.list(projectRef)) + const { projectRef, searchTerm } = variables + await queryClient.invalidateQueries( + databaseCronJobsKeys.listInfinite(projectRef, searchTerm) + ) await onSuccess?.(data, variables, context) }, async onError(data, variables, context) { diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-infinite-query.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-infinite-query.ts new file mode 100644 index 00000000000..f54b37e3886 --- /dev/null +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-infinite-query.ts @@ -0,0 +1,117 @@ +import { UseInfiniteQueryOptions, useInfiniteQuery } from '@tanstack/react-query' + +import { executeSql } from 'data/sql/execute-sql-query' +import { ResponseError } from 'types' +import { databaseCronJobsKeys } from './keys' + +const CRON_JOBS_PAGE_LIMIT = 20 + +type DatabaseCronJobRunsVariables = { + projectRef?: string + connectionString?: string | null + searchTerm?: string +} + +export type CronJob = { + jobid: number + jobname: string | null + active: boolean + command: string + latest_run: string + schedule: string + status: string +} + +// [Joshen] Just to call out that I had AI help me with this, so please let me know if this can be optimized +const getCronJobSql = ({ searchTerm, page }: { searchTerm?: string; page: number }) => + ` +WITH latest_runs AS ( + SELECT + jobid, + status, + MAX(start_time) AS latest_run + FROM cron.job_run_details + GROUP BY jobid, status +), most_recent_runs AS ( + SELECT + jobid, + status, + latest_run + FROM latest_runs lr1 + WHERE latest_run = ( + SELECT MAX(latest_run) + FROM latest_runs lr2 + WHERE lr2.jobid = lr1.jobid + ) +) +SELECT + job.jobid, + job.jobname, + job.schedule, + job.command, + job.active, + mr.latest_run, + mr.status +FROM + cron.job job +LEFT JOIN most_recent_runs mr ON job.jobid = mr.jobid +ORDER BY job.jobid +${!!searchTerm ? `WHERE job.jobname ILIKE '%${searchTerm}%'` : ''} +LIMIT ${CRON_JOBS_PAGE_LIMIT} +OFFSET ${page * CRON_JOBS_PAGE_LIMIT}; +`.trim() + +export async function getDatabaseCronJobs({ + projectRef, + connectionString, + searchTerm, + page = 0, +}: DatabaseCronJobRunsVariables & { page: number }) { + if (!projectRef) throw new Error('Project ref is required') + + const { result } = await executeSql({ + projectRef, + connectionString, + sql: getCronJobSql({ searchTerm, page }), + queryKey: ['cron-jobs'], + }) + + return result +} + +type DatabaseCronJobsInfiniteData = CronJob[] +type DatabaseCronJobsInfiniteError = ResponseError + +export const useCronJobsInfiniteQuery = ( + { projectRef, connectionString, searchTerm }: DatabaseCronJobRunsVariables, + { + enabled = true, + ...options + }: UseInfiniteQueryOptions< + DatabaseCronJobsInfiniteData, + DatabaseCronJobsInfiniteError, + TData + > = {} +) => + useInfiniteQuery( + databaseCronJobsKeys.listInfinite(projectRef, searchTerm), + ({ pageParam }) => { + return getDatabaseCronJobs({ + projectRef, + connectionString, + searchTerm, + page: pageParam, + }) + }, + { + staleTime: 0, + enabled: enabled && typeof projectRef !== 'undefined', + getNextPageParam(lastPage, pages) { + const page = pages.length + const hasNextPage = lastPage.length >= CRON_JOBS_PAGE_LIMIT + if (!hasNextPage) return undefined + return page + }, + ...options, + } + ) diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-run-query.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-run-query.ts deleted file mode 100644 index 04d935db667..00000000000 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-run-query.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { useQuery, UseQueryOptions } from '@tanstack/react-query' - -import { executeSql } from 'data/sql/execute-sql-query' -import { ResponseError } from 'types' -import { CronJobRun } from './database-cron-jobs-runs-infinite-query' -import { databaseCronJobsKeys } from './keys' - -export type DatabaseCronJobRunVariables = { - projectRef?: string - connectionString?: string | null - jobId: number -} - -export async function getDatabaseCronJobRun({ - projectRef, - connectionString, - jobId, -}: DatabaseCronJobRunVariables) { - if (!projectRef) throw new Error('Project ref is required') - - const query = ` - SELECT * FROM cron.job_run_details - WHERE jobid = '${jobId}' - ORDER BY start_time DESC - LIMIT 1` - - const { result } = await executeSql({ - projectRef, - connectionString, - sql: query, - }) - - return result[0] ?? null -} - -export type DatabaseCronJobRunData = CronJobRun | null -export type DatabaseCronJobRunError = ResponseError - -export const useCronJobRunQuery = ( - { projectRef, connectionString, jobId }: DatabaseCronJobRunVariables, - { - enabled = true, - ...options - }: UseQueryOptions = {} -) => - useQuery( - databaseCronJobsKeys.run(projectRef, jobId), - () => getDatabaseCronJobRun({ projectRef, connectionString, jobId }), - { - enabled: enabled && typeof projectRef !== 'undefined', - ...options, - } - ) diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-runs-infinite-query.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-runs-infinite-query.ts index 680ac4a5562..d7fb6aee2af 100644 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-runs-infinite-query.ts +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-runs-infinite-query.ts @@ -51,17 +51,17 @@ export async function getDatabaseCronJobRuns({ return result } -export type DatabaseCronJobData = CronJobRun[] -export type DatabaseCronJobError = ResponseError +type DatabaseCronJobRunData = CronJobRun[] +type DatabaseCronJobError = ResponseError -export const useCronJobRunsInfiniteQuery = ( +export const useCronJobRunsInfiniteQuery = ( { projectRef, connectionString, jobId }: DatabaseCronJobRunsVariables, { enabled = true, ...options - }: UseInfiniteQueryOptions = {} + }: UseInfiniteQueryOptions = {} ) => - useInfiniteQuery( + useInfiniteQuery( databaseCronJobsKeys.runsInfinite(projectRef, jobId, { status }), ({ pageParam }) => { return getDatabaseCronJobRuns({ diff --git a/apps/studio/data/database-cron-jobs/database-cron-jobs-toggle-mutation.ts b/apps/studio/data/database-cron-jobs/database-cron-jobs-toggle-mutation.ts index b7f8471bafe..da8ec6780fd 100644 --- a/apps/studio/data/database-cron-jobs/database-cron-jobs-toggle-mutation.ts +++ b/apps/studio/data/database-cron-jobs/database-cron-jobs-toggle-mutation.ts @@ -10,6 +10,7 @@ export type DatabaseCronJobToggleVariables = { connectionString?: string | null jobId: number active: boolean + searchTerm?: string } export async function toggleDatabaseCronJob({ @@ -44,8 +45,10 @@ export const useDatabaseCronJobToggleMutation = ({ (vars) => toggleDatabaseCronJob(vars), { async onSuccess(data, variables, context) { - const { projectRef } = variables - await queryClient.invalidateQueries(databaseCronJobsKeys.list(projectRef)) + const { projectRef, searchTerm } = variables + await queryClient.invalidateQueries( + databaseCronJobsKeys.listInfinite(projectRef, searchTerm) + ) await onSuccess?.(data, variables, context) }, async onError(data, variables, context) { diff --git a/apps/studio/data/database-cron-jobs/keys.ts b/apps/studio/data/database-cron-jobs/keys.ts index 60f75b20a65..6a6505fb085 100644 --- a/apps/studio/data/database-cron-jobs/keys.ts +++ b/apps/studio/data/database-cron-jobs/keys.ts @@ -2,7 +2,12 @@ export const databaseCronJobsKeys = { create: () => ['cron-jobs', 'create'] as const, delete: () => ['cron-jobs', 'delete'] as const, alter: () => ['cronjobs', 'alter'] as const, - list: (projectRef: string | undefined) => ['projects', projectRef, 'cron-jobs'] as const, + job: (projectRef: string | undefined, identifier: number | string | undefined) => + ['projects', projectRef, 'cron-jobs', identifier] as const, + listInfinite: (projectRef: string | undefined, searchTerm: string | undefined) => + ['projects', projectRef, 'cron-jobs', { searchTerm }] as const, + count: (projectRef: string | undefined) => + ['projects', projectRef, 'cron-jobs', 'count'] as const, run: (projectRef: string | undefined, jobId: number) => [ 'projects', projectRef, diff --git a/apps/studio/data/database-extensions/database-extension-disable-mutation.ts b/apps/studio/data/database-extensions/database-extension-disable-mutation.ts index 241be5740bd..7f1723db365 100644 --- a/apps/studio/data/database-extensions/database-extension-disable-mutation.ts +++ b/apps/studio/data/database-extensions/database-extension-disable-mutation.ts @@ -2,6 +2,7 @@ import pgMeta from '@supabase/pg-meta' import { useMutation, UseMutationOptions, useQueryClient } from '@tanstack/react-query' import { toast } from 'sonner' +import { configKeys } from 'data/config/keys' import { executeSql } from 'data/sql/execute-sql-query' import type { ResponseError } from 'types' import { databaseExtensionsKeys } from './keys' @@ -56,7 +57,10 @@ export const useDatabaseExtensionDisableMutation = ({ >((vars) => disableDatabaseExtension(vars), { async onSuccess(data, variables, context) { const { projectRef } = variables - await queryClient.invalidateQueries(databaseExtensionsKeys.list(projectRef)) + await Promise.all([ + queryClient.invalidateQueries(databaseExtensionsKeys.list(projectRef)), + queryClient.invalidateQueries(configKeys.upgradeEligibility(projectRef)), + ]) await onSuccess?.(data, variables, context) }, async onError(data, variables, context) { diff --git a/apps/studio/data/fdw/fdw-create-mutation.ts b/apps/studio/data/fdw/fdw-create-mutation.ts index c0962350421..4947c2b67ff 100644 --- a/apps/studio/data/fdw/fdw-create-mutation.ts +++ b/apps/studio/data/fdw/fdw-create-mutation.ts @@ -118,8 +118,9 @@ export function getCreateFDWSql({ .map((option) => `${option.name} ''%s''`) const unencryptedOptionsSqlArray = unencryptedOptions .filter((option) => formState[option.name]) - // wrap all options in double quotes, some option names have dots in them - .map((option) => `"${option.name}" ''${formState[option.name]}''`) + // wrap all option names in double quotes to handle dots + // wrap all options values in single quotes, replace single quotes with 4 single quotes to escape them in SQL past the execute format + .map((option) => `"${option.name}" ''${formState[option.name].replace(/'/g, `''''`)}''`) const optionsSqlArray = [...encryptedOptionsSqlArray, ...unencryptedOptionsSqlArray].join(',') const createServerSql = /* SQL */ ` diff --git a/apps/studio/data/fdw/fdw-delete-mutation.ts b/apps/studio/data/fdw/fdw-delete-mutation.ts index 19e2778c8f1..37cd3030c46 100644 --- a/apps/studio/data/fdw/fdw-delete-mutation.ts +++ b/apps/studio/data/fdw/fdw-delete-mutation.ts @@ -73,7 +73,7 @@ export const getDeleteFDWSql = ({ const deleteEncryptedSecretsSql = deleteEncryptedSecretsSqlArray.join('\n') const sql = /* SQL */ ` - drop foreign data wrapper if exists ${wrapper.name} cascade; + drop foreign data wrapper if exists "${wrapper.name}" cascade; ${deleteEncryptedSecretsSql} ` diff --git a/apps/studio/data/storage/iceberg-wrapper-create-mutation.ts b/apps/studio/data/storage/iceberg-wrapper-create-mutation.ts index b2d558fbddc..254297a3ca0 100644 --- a/apps/studio/data/storage/iceberg-wrapper-create-mutation.ts +++ b/apps/studio/data/storage/iceberg-wrapper-create-mutation.ts @@ -1,4 +1,5 @@ import { PermissionAction } from '@supabase/shared-types/out/constants' +import { snakeCase } from 'lodash' import { WRAPPERS } from 'components/interfaces/Integrations/Wrappers/Wrappers.constants' import { @@ -8,10 +9,8 @@ import { import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import { getKeys, useAPIKeysQuery } from 'data/api-keys/api-keys-query' import { useProjectSettingsV2Query } from 'data/config/project-settings-v2-query' -import { useProjectStorageConfigQuery } from 'data/config/project-storage-config-query' import { FDWCreateVariables, useFDWCreateMutation } from 'data/fdw/fdw-create-mutation' import { useCheckPermissions } from 'hooks/misc/useCheckPermissions' -import { snakeCase } from 'lodash' import { useS3AccessKeyCreateMutation } from './s3-access-key-create-mutation' export const useIcebergWrapperCreateMutation = () => { @@ -22,7 +21,7 @@ export const useIcebergWrapperCreateMutation = () => { const { data: settings } = useProjectSettingsV2Query({ projectRef: project?.ref }) const protocol = settings?.app_config?.protocol ?? 'https' - const endpoint = settings?.app_config?.endpoint + const endpoint = settings?.app_config?.storage_endpoint || settings?.app_config?.endpoint const apiKey = secretKey?.api_key ?? serviceKey?.api_key ?? 'SUPABASE_CLIENT_API_KEY' @@ -30,8 +29,6 @@ export const useIcebergWrapperCreateMutation = () => { const canCreateCredentials = useCheckPermissions(PermissionAction.STORAGE_ADMIN_WRITE, '*') - const { data: config } = useProjectStorageConfigQuery({ projectRef: project?.ref }) - const { mutateAsync: createS3AccessKey, isLoading: isCreatingS3AccessKey } = useS3AccessKeyCreateMutation() diff --git a/apps/studio/hooks/misc/useSchemaQueryState.ts b/apps/studio/hooks/misc/useSchemaQueryState.ts index f981ac44951..12ab49493aa 100644 --- a/apps/studio/hooks/misc/useSchemaQueryState.ts +++ b/apps/studio/hooks/misc/useSchemaQueryState.ts @@ -12,7 +12,12 @@ const useIsomorphicUseQueryState = (defaultSchema: string) => { return [defaultSchema, () => {}] as const } else { // eslint-disable-next-line react-hooks/rules-of-hooks - return useQueryState('schema', parseAsString.withDefault(defaultSchema)) + return useQueryState( + 'schema', + parseAsString.withDefault(defaultSchema).withOptions({ + clearOnDefault: false, + }) + ) } } diff --git a/apps/studio/hooks/useProtectedSchemas.ts b/apps/studio/hooks/useProtectedSchemas.ts new file mode 100644 index 00000000000..92dfcf9625d --- /dev/null +++ b/apps/studio/hooks/useProtectedSchemas.ts @@ -0,0 +1,112 @@ +import { uniq } from 'lodash' +import { useMemo } from 'react' + +import { WRAPPER_HANDLERS } from 'components/interfaces/Integrations/Wrappers/Wrappers.constants' +import { + convertKVStringArrayToJson, + wrapperMetaComparator, +} from 'components/interfaces/Integrations/Wrappers/Wrappers.utils' +import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' +import { QUEUES_SCHEMA } from 'data/database-queues/database-queues-toggle-postgrest-mutation' +import { useFDWsQuery } from 'data/fdw/fdws-query' + +/** + * A list of system schemas that users should not interact with + */ +export const INTERNAL_SCHEMAS = [ + 'auth', + 'cron', + 'extensions', + 'information_schema', + 'net', + 'pgsodium', + 'pgsodium_masks', + 'pgbouncer', + 'pgtle', + 'realtime', + 'storage', + 'supabase_functions', + 'supabase_migrations', + 'vault', + 'graphql', + 'graphql_public', + QUEUES_SCHEMA, +] + +/** + * Get the list of schemas used by IcebergFDWs + */ +const useIcebergFdwSchemasQuery = () => { + const { project } = useProjectContext() + const result = useFDWsQuery({ + projectRef: project?.ref, + connectionString: project?.connectionString, + }) + + const schemas = useMemo(() => { + const icebergFDWs = result.data?.filter((wrapper) => + wrapperMetaComparator( + { handlerName: WRAPPER_HANDLERS.ICEBERG, server: { options: [] } }, + wrapper + ) + ) + + const fdwSchemas = icebergFDWs + ?.map((fdw) => convertKVStringArrayToJson(fdw.server_options)) + .map((options) => options['supabase_target_schema']) + .flatMap((s) => s?.split(',')) + .filter(Boolean) + + return uniq(fdwSchemas) + }, [result.data]) + + return { ...result, data: schemas } +} + +/** + * Returns a list of schemas that are protected by Supabase (internal schemas or schemas used by Iceberg FDWs). + */ +export const useProtectedSchemas = ({ + excludeSchemas = [], +}: { excludeSchemas?: string[] } = {}) => { + // Stabilize the excludeSchemas array to prevent unnecessary re-computations + // eslint-disable-next-line react-hooks/exhaustive-deps + const stableExcludeSchemas = useMemo(() => excludeSchemas, [JSON.stringify(excludeSchemas)]) + + const result = useIcebergFdwSchemasQuery() + + const schemas = useMemo<{ name: string; type: 'fdw' | 'internal' }[]>(() => { + const internalSchemas = INTERNAL_SCHEMAS.map((s) => ({ name: s, type: 'internal' as const })) + const icebergFdwSchemas = result.data?.map((s) => ({ name: s, type: 'fdw' as const })) + + const schemas = uniq([...internalSchemas, ...icebergFdwSchemas]) + return schemas.filter((schema) => !stableExcludeSchemas.includes(schema.name)) + }, [result.data, stableExcludeSchemas]) + + return { ...result, data: schemas } +} + +/** + * Returns whether a given schema is protected by Supabase (internal schema or schema used by Iceberg FDWs). + */ +export const useIsProtectedSchema = ({ + schema, + excludedSchemas = [], +}: { + schema: string + excludedSchemas?: string[] +}): + | { isSchemaLocked: false; reason: undefined } + | { isSchemaLocked: true; reason: 'fdw' | 'internal' } => { + const { data: schemas } = useProtectedSchemas({ excludeSchemas: excludedSchemas }) + + const foundSchema = schemas.find((s) => s.name === schema) + + if (foundSchema) { + return { + isSchemaLocked: true, + reason: foundSchema.type, + } + } + return { isSchemaLocked: false, reason: undefined } +} diff --git a/apps/studio/lib/constants/schemas.ts b/apps/studio/lib/constants/schemas.ts deleted file mode 100644 index 0d15f8ff19a..00000000000 --- a/apps/studio/lib/constants/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { QUEUES_SCHEMA } from 'data/database-queues/database-queues-toggle-postgrest-mutation' - -/** - * A list of system schemas that users should not interact with - */ -export const PROTECTED_SCHEMAS = [ - 'auth', - 'cron', - 'extensions', - 'information_schema', - 'net', - 'pgsodium', - 'pgsodium_masks', - 'pgbouncer', - 'pgtle', - 'realtime', - 'storage', - 'supabase_functions', - 'supabase_migrations', - 'vault', - 'graphql', - 'graphql_public', - QUEUES_SCHEMA, -] - -export const PROTECTED_SCHEMAS_WITHOUT_EXTENSIONS = PROTECTED_SCHEMAS.filter( - (x) => x !== 'extensions' -) diff --git a/apps/studio/lib/helpers.ts b/apps/studio/lib/helpers.ts index d645e90be8f..2fab08b83d5 100644 --- a/apps/studio/lib/helpers.ts +++ b/apps/studio/lib/helpers.ts @@ -1,7 +1,12 @@ export { default as passwordStrength } from './password-strength' export { default as uuidv4 } from './uuid' +import { UIEvent } from 'react' import type { TablesData } from '../data/tables/tables-query' +export const isAtBottom = ({ currentTarget }: UIEvent): boolean => { + return currentTarget.scrollTop + 10 >= currentTarget.scrollHeight - currentTarget.clientHeight +} + export const tryParseJson = (jsonString: any) => { try { const parsed = JSON.parse(jsonString) diff --git a/apps/studio/next.config.js b/apps/studio/next.config.js index 758d6f7f0c1..4645351dbf4 100644 --- a/apps/studio/next.config.js +++ b/apps/studio/next.config.js @@ -144,6 +144,16 @@ const nextConfig = { destination: '/project/:ref/storage/buckets', permanent: true, }, + { + source: '/project/:ref/settings/storage', + destination: '/project/:ref/storage/settings', + permanent: true, + }, + { + source: '/project/:ref/settings/database', + destination: '/project/:ref/database/settings', + permanent: true, + }, { source: '/project/:ref/settings', destination: '/project/:ref/settings/general', diff --git a/apps/studio/pages/_app.tsx b/apps/studio/pages/_app.tsx index 671af91dc79..b062e684053 100644 --- a/apps/studio/pages/_app.tsx +++ b/apps/studio/pages/_app.tsx @@ -13,6 +13,7 @@ import 'styles/reactflow.scss' import 'styles/storage.scss' import 'styles/stripe.scss' import 'styles/toast.scss' +import 'styles/typography.scss' import 'styles/ui.scss' import 'ui/build/css/themes/dark.css' import 'ui/build/css/themes/light.css' diff --git a/apps/studio/pages/api/platform/projects/[ref]/analytics/endpoints/[name].ts b/apps/studio/pages/api/platform/projects/[ref]/analytics/endpoints/[name].ts index 1646996989f..eee1aff5d8e 100644 --- a/apps/studio/pages/api/platform/projects/[ref]/analytics/endpoints/[name].ts +++ b/apps/studio/pages/api/platform/projects/[ref]/analytics/endpoints/[name].ts @@ -30,14 +30,13 @@ async function handler(req: NextApiRequest, res: NextApiResponse) { } const proxyRequest = async (req: NextApiRequest) => { - const { name, ...toForward } = req.query - const project_tier = 'ENTERPRISE' + const { name, ref: project, ...toForward } = req.query if (req.method === 'GET') { - const payload = { ...toForward, project_tier } + const payload = { ...toForward, project } return retrieveAnalyticsData(name as string, payload) } else if (req.method === 'POST') { - const payload = { ...req.body, project_tier } + const payload = { ...req.body, project } return retrieveAnalyticsData(name as string, payload) } } diff --git a/apps/studio/pages/api/platform/projects/[ref]/settings.ts b/apps/studio/pages/api/platform/projects/[ref]/settings.ts index c0ed53f99df..192d8506cd9 100644 --- a/apps/studio/pages/api/platform/projects/[ref]/settings.ts +++ b/apps/studio/pages/api/platform/projects/[ref]/settings.ts @@ -30,6 +30,7 @@ const handleGetAll = async (req: NextApiRequest, res: NextApiResponse) => { app_config: { db_schema: 'public', endpoint: PROJECT_ENDPOINT, + storage_endpoint: PROJECT_ENDPOINT, // manually added to force the frontend to use the correct URL protocol: PROJECT_ENDPOINT_PROTOCOL, }, diff --git a/apps/studio/pages/cli/login.tsx b/apps/studio/pages/cli/login.tsx index a41d77b70bd..b31eb20c54f 100644 --- a/apps/studio/pages/cli/login.tsx +++ b/apps/studio/pages/cli/login.tsx @@ -50,9 +50,7 @@ const CliLoginPage: NextPageWithLayout = () => {
    {device_code ? ( <> -

    - Your Supabase Account is being used to login on Supabase CLI. -

    +

    Your Supabase Account is being used to login on Supabase CLI.

    Enter this verification code on Supabase CLI to authorize login.

    diff --git a/apps/studio/pages/integrations/github/authorize.tsx b/apps/studio/pages/integrations/github/authorize.tsx index ff50e56a5c3..6e5ebe28246 100644 --- a/apps/studio/pages/integrations/github/authorize.tsx +++ b/apps/studio/pages/integrations/github/authorize.tsx @@ -22,7 +22,7 @@ const GitHubIntegrationAuthorize = () => { return (
    -

    Completing GitHub Authorization...

    +

    Completing GitHub Authorization...

    {isSuccess &&

    You can now close this window.

    } {isLoading &&

    Authorizing...

    } diff --git a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx index f656892e94e..01b7f9e074e 100644 --- a/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx +++ b/apps/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx @@ -31,7 +31,7 @@ const VercelIntegration: NextPageWithLayout = () => {
    -

    New project

    +

    New project

    {
    -

    Create your first Project Connection

    +

    Create your first Project Connection

    { <> -

    Choose organization

    +

    Choose organization

    <> { const org = useSelectedOrganization() @@ -39,7 +38,6 @@ const ProjectsPage: NextPageWithLayout = () => { ) : (
    - { const router = useRouter() @@ -64,7 +63,6 @@ const OrganizationsPage: NextPageWithLayout = () => { )} - Your Organizations {organizations.length === 0 && orgNotFound && ( diff --git a/apps/studio/pages/project/[ref]/auth/policies.tsx b/apps/studio/pages/project/[ref]/auth/policies.tsx index 8cf5cd173a6..856176df28b 100644 --- a/apps/studio/pages/project/[ref]/auth/policies.tsx +++ b/apps/studio/pages/project/[ref]/auth/policies.tsx @@ -1,6 +1,5 @@ import type { PostgresPolicy, PostgresTable } from '@supabase/postgres-meta' import { PermissionAction } from '@supabase/shared-types/out/constants' -import { partition } from 'lodash' import { Search } from 'lucide-react' import { useState } from 'react' @@ -14,16 +13,15 @@ import DefaultLayout from 'components/layouts/DefaultLayout' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' import AlertError from 'components/ui/AlertError' import { DocsButton } from 'components/ui/DocsButton' +import { EditorPanel } from 'components/ui/EditorPanel/EditorPanel' import NoPermission from 'components/ui/NoPermission' import SchemaSelector from 'components/ui/SchemaSelector' import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader' import { useDatabasePoliciesQuery } from 'data/database-policies/database-policies-query' -import { useSchemasQuery } from 'data/database/schemas-query' import { useTablesQuery } from 'data/tables/tables-query' import { useCheckPermissions, usePermissionsLoaded } from 'hooks/misc/useCheckPermissions' import { useUrlState } from 'hooks/ui/useUrlState' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' -import { useAppStateSnapshot } from 'state/app-state' +import { useIsProtectedSchema } from 'hooks/useProtectedSchemas' import type { NextPageWithLayout } from 'types' import { Input } from 'ui' @@ -69,23 +67,16 @@ const AuthPoliciesPage: NextPageWithLayout = () => { }>() const { schema = 'public', search: searchString = '' } = params const { project } = useProjectContext() - const { setEditorPanel } = useAppStateSnapshot() const isInlineEditorEnabled = useIsInlineEditorEnabled() const [selectedTable, setSelectedTable] = useState() const [showPolicyAiEditor, setShowPolicyAiEditor] = useState(false) const [selectedPolicyToEdit, setSelectedPolicyToEdit] = useState() - const { data: schemas } = useSchemasQuery({ - projectRef: project?.ref, - connectionString: project?.connectionString, - }) - const [protectedSchemas] = partition( - schemas, - (schema) => schema?.name !== 'realtime' && PROTECTED_SCHEMAS.includes(schema?.name ?? '') - ) - const selectedSchema = schemas?.find((s) => s.name === schema) - const isLocked = protectedSchemas.some((s) => s.id === selectedSchema?.id) + // Local editor panel state + const [editorPanelOpen, setEditorPanelOpen] = useState(false) + + const { isSchemaLocked } = useIsProtectedSchema({ schema: schema, excludedSchemas: ['realtime'] }) const { data: policies } = useDatabasePoliciesQuery({ projectRef: project?.ref, @@ -151,45 +142,22 @@ const AuthPoliciesPage: NextPageWithLayout = () => { schema={schema} tables={filteredTables} hasTables={tables.length > 0} - isLocked={isLocked} + isLocked={isSchemaLocked} onSelectCreatePolicy={(table: string) => { + setSelectedTable(table) + setSelectedPolicyToEdit(undefined) if (isInlineEditorEnabled) { - setEditorPanel({ - open: true, - initialValue: `create policy "replace_with_policy_name" - on ${schema}.${table} - for select - to authenticated - using ( - true -- Write your policy condition here -);`, - label: `Create new RLS policy on "${table}"`, - saveLabel: 'Create policy', - initialPrompt: `Create and name a entirely new RLS policy for the "${table}" table in the ${schema} schema. The policy should...`, - }) + setEditorPanelOpen(true) } else { - setSelectedTable(table) setShowPolicyAiEditor(true) } }} onSelectEditPolicy={(policy) => { + setSelectedPolicyToEdit(policy) + setSelectedTable(undefined) if (isInlineEditorEnabled) { - const sql = generatePolicyUpdateSQL(policy) - const templates = getGeneralPolicyTemplates(policy.schema, policy.table) - setEditorPanel({ - open: true, - initialValue: sql, - label: `Edit policy "${policy.name}"`, - saveLabel: 'Update policy', - templates: templates.map((template) => ({ - name: template.templateName, - description: template.description, - content: template.statement, - })), - initialPrompt: `Update the policy with name "${policy.name}" in the ${policy.schema} schema on the ${policy.table} table. It should...`, - }) + setEditorPanelOpen(true) } else { - setSelectedPolicyToEdit(policy) setShowPolicyAiEditor(true) } }} @@ -209,6 +177,59 @@ const AuthPoliciesPage: NextPageWithLayout = () => { }} authContext="database" /> + + { + setEditorPanelOpen(false) + setSelectedPolicyToEdit(undefined) + setSelectedTable(undefined) + }} + onRunSuccess={() => { + setEditorPanelOpen(false) + setSelectedPolicyToEdit(undefined) + setSelectedTable(undefined) + }} + initialValue={ + selectedPolicyToEdit + ? generatePolicyUpdateSQL(selectedPolicyToEdit) + : selectedTable + ? `create policy "replace_with_policy_name" + on ${schema}.${selectedTable} + for select + to authenticated + using ( + true -- Write your policy condition here +);` + : '' + } + label={ + selectedPolicyToEdit + ? 'RLS policies are just SQL statements that you can alter' + : selectedTable + ? `Create new RLS policy on "${selectedTable}"` + : '' + } + initialPrompt={ + selectedPolicyToEdit + ? `Update the policy with name "${selectedPolicyToEdit.name}" in the ${selectedPolicyToEdit.schema} schema on the ${selectedPolicyToEdit.table} table. It should...` + : selectedTable + ? `Create and name a entirely new RLS policy for the "${selectedTable}" table in the ${schema} schema. The policy should...` + : '' + } + templates={ + selectedPolicyToEdit + ? getGeneralPolicyTemplates( + selectedPolicyToEdit.schema, + selectedPolicyToEdit.table + ).map((template) => ({ + name: template.templateName, + description: template.description, + content: template.statement, + })) + : [] + } + />
    ) } diff --git a/apps/studio/pages/project/[ref]/database/column-privileges.tsx b/apps/studio/pages/project/[ref]/database/column-privileges.tsx index abbd13827b3..0d78688c571 100644 --- a/apps/studio/pages/project/[ref]/database/column-privileges.tsx +++ b/apps/studio/pages/project/[ref]/database/column-privileges.tsx @@ -16,7 +16,7 @@ import { } from 'components/interfaces/Database/Privileges/Privileges.utils' import PrivilegesHead from 'components/interfaces/Database/Privileges/PrivilegesHead' import PrivilegesTable from 'components/interfaces/Database/Privileges/PrivilegesTable' -import ProtectedSchemaWarning from 'components/interfaces/Database/ProtectedSchemaWarning' +import { ProtectedSchemaWarning } from 'components/interfaces/Database/ProtectedSchemaWarning' import DatabaseLayout from 'components/layouts/DatabaseLayout/DatabaseLayout' import DefaultLayout from 'components/layouts/DefaultLayout' import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext' @@ -30,7 +30,7 @@ import { useTablePrivilegesQuery } from 'data/privileges/table-privileges-query' import { useTablesQuery } from 'data/tables/tables-query' import { useLocalStorage } from 'hooks/misc/useLocalStorage' import { useQuerySchemaState } from 'hooks/misc/useSchemaQueryState' -import { PROTECTED_SCHEMAS } from 'lib/constants/schemas' +import { useIsProtectedSchema } from 'hooks/useProtectedSchemas' import type { NextPageWithLayout } from 'types' import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, Button } from 'ui' @@ -132,7 +132,7 @@ const PrivilegesPage: NextPageWithLayout = () => { const table = tableList?.find( (table) => table.schema === selectedSchema && table.name === selectedTable ) - const isLocked = PROTECTED_SCHEMAS.includes(selectedSchema) + const { isSchemaLocked } = useIsProtectedSchema({ schema: selectedSchema }) const { tableCheckedStates, @@ -286,7 +286,7 @@ const PrivilegesPage: NextPageWithLayout = () => { )} { hasChanges={hasChanges} isApplyingChanges={isApplyingChanges} /> - {isLocked && ( + {isSchemaLocked && ( )} {isLoading ? ( @@ -310,7 +310,7 @@ const PrivilegesPage: NextPageWithLayout = () => { ) : table && tablePrivilege ? (
    { const [selectedFunction, setSelectedFunction] = useState() const [showCreateFunctionForm, setShowCreateFunctionForm] = useState(false) const [showDeleteFunctionForm, setShowDeleteFunctionForm] = useState(false) - const { setEditorPanel } = useAppStateSnapshot() const isInlineEditorEnabled = useIsInlineEditorEnabled() + // Local editor panel state + const [editorPanelOpen, setEditorPanelOpen] = useState(false) + const [selectedFunctionForEditor, setSelectedFunctionForEditor] = useState< + DatabaseFunction | undefined + >() + const canReadFunctions = useCheckPermissions(PermissionAction.TENANT_SQL_ADMIN_READ, 'functions') const isPermissionsLoaded = usePermissionsLoaded() const createFunction = () => { if (isInlineEditorEnabled) { - setEditorPanel({ - open: true, - initialValue: `create function function_name() -returns void -language plpgsql -as $$ -begin - -- Write your function logic here -end; -$$;`, - label: 'Create new database function', - saveLabel: 'Create function', - initialPrompt: 'Create a new database function that...', - }) + setSelectedFunctionForEditor(undefined) + setEditorPanelOpen(true) } else { setSelectedFunction(undefined) setShowCreateFunctionForm(true) @@ -48,13 +41,8 @@ $$;`, const editFunction = (fn: DatabaseFunction) => { if (isInlineEditorEnabled) { - setEditorPanel({ - open: true, - initialValue: fn.complete_statement, - label: `Edit function "${fn.name}"`, - saveLabel: 'Update function', - initialPrompt: `Update the database function "${fn.name}" to...`, - }) + setSelectedFunctionForEditor(fn) + setEditorPanelOpen(true) } else { setSelectedFunction(fn) setShowCreateFunctionForm(true) @@ -97,6 +85,40 @@ $$;`, visible={showDeleteFunctionForm} setVisible={setShowDeleteFunctionForm} /> + + { + setEditorPanelOpen(false) + setSelectedFunctionForEditor(undefined) + }} + onClose={() => { + setEditorPanelOpen(false) + setSelectedFunctionForEditor(undefined) + }} + initialValue={ + selectedFunctionForEditor + ? selectedFunctionForEditor.complete_statement + : `create function function_name() +returns void +language plpgsql +as $$ +begin + -- Write your function logic here +end; +$$;` + } + label={ + selectedFunctionForEditor + ? `Edit function "${selectedFunctionForEditor.name}"` + : 'Create new database function' + } + initialPrompt={ + selectedFunctionForEditor + ? `Update the database function "${selectedFunctionForEditor.name}" to...` + : 'Create a new database function that...' + } + /> ) } diff --git a/apps/studio/pages/project/[ref]/settings/database.tsx b/apps/studio/pages/project/[ref]/database/settings.tsx similarity index 94% rename from apps/studio/pages/project/[ref]/settings/database.tsx rename to apps/studio/pages/project/[ref]/database/settings.tsx index fe8c2558322..a44f04db2d4 100644 --- a/apps/studio/pages/project/[ref]/settings/database.tsx +++ b/apps/studio/pages/project/[ref]/database/settings.tsx @@ -8,7 +8,7 @@ import DiskSizeConfiguration from 'components/interfaces/Settings/Database/DiskS import { PoolingModesModal } from 'components/interfaces/Settings/Database/PoolingModesModal' import SSLConfiguration from 'components/interfaces/Settings/Database/SSLConfiguration' import DefaultLayout from 'components/layouts/DefaultLayout' -import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout' +import DatabaseLayout from 'components/layouts/DatabaseLayout/DatabaseLayout' import { ScaffoldContainer, ScaffoldHeader, ScaffoldTitle } from 'components/layouts/Scaffold' import { useIsAwsCloudProvider, useIsAwsK8sCloudProvider } from 'hooks/misc/useSelectedProject' import type { NextPageWithLayout } from 'types' @@ -53,7 +53,7 @@ const ProjectSettings: NextPageWithLayout = () => { ProjectSettings.getLayout = (page) => ( - {page} + {page} ) diff --git a/apps/studio/pages/project/[ref]/database/triggers.tsx b/apps/studio/pages/project/[ref]/database/triggers.tsx index 890b49919cd..587f409b39d 100644 --- a/apps/studio/pages/project/[ref]/database/triggers.tsx +++ b/apps/studio/pages/project/[ref]/database/triggers.tsx @@ -10,35 +10,30 @@ import TriggersList from 'components/interfaces/Database/Triggers/TriggersList/T import DatabaseLayout from 'components/layouts/DatabaseLayout/DatabaseLayout' import DefaultLayout from 'components/layouts/DefaultLayout' import { ScaffoldContainer, ScaffoldSection } from 'components/layouts/Scaffold' +import { EditorPanel } from 'components/ui/EditorPanel/EditorPanel' import { FormHeader } from 'components/ui/Forms/FormHeader' import NoPermission from 'components/ui/NoPermission' import { useCheckPermissions, usePermissionsLoaded } from 'hooks/misc/useCheckPermissions' -import { useAppStateSnapshot } from 'state/app-state' import type { NextPageWithLayout } from 'types' const TriggersPage: NextPageWithLayout = () => { - const { setEditorPanel } = useAppStateSnapshot() const isInlineEditorEnabled = useIsInlineEditorEnabled() const [selectedTrigger, setSelectedTrigger] = useState() const [showCreateTriggerForm, setShowCreateTriggerForm] = useState(false) const [showDeleteTriggerForm, setShowDeleteTriggerForm] = useState(false) + // Local editor panel state + const [editorPanelOpen, setEditorPanelOpen] = useState(false) + const [selectedTriggerForEditor, setSelectedTriggerForEditor] = useState() + const canReadTriggers = useCheckPermissions(PermissionAction.TENANT_SQL_ADMIN_READ, 'triggers') const isPermissionsLoaded = usePermissionsLoaded() const createTrigger = () => { if (isInlineEditorEnabled) { - setEditorPanel({ - open: true, - initialValue: `create trigger trigger_name -after insert or update or delete on table_name -for each row -execute function function_name();`, - label: 'Create new database trigger', - saveLabel: 'Create trigger', - initialPrompt: 'Create a new database trigger that...', - }) + setSelectedTriggerForEditor(undefined) + setEditorPanelOpen(true) } else { setSelectedTrigger(undefined) setShowCreateTriggerForm(true) @@ -47,14 +42,8 @@ execute function function_name();`, const editTrigger = (trigger: PostgresTrigger) => { if (isInlineEditorEnabled) { - const sql = generateTriggerCreateSQL(trigger) - setEditorPanel({ - open: true, - initialValue: sql, - label: `Edit trigger "${trigger.name}"`, - saveLabel: 'Update trigger', - initialPrompt: `Update the database trigger "${trigger.name}" to...`, - }) + setSelectedTriggerForEditor(trigger) + setEditorPanelOpen(true) } else { setSelectedTrigger(trigger) setShowCreateTriggerForm(true) @@ -98,6 +87,36 @@ execute function function_name();`, visible={showDeleteTriggerForm} setVisible={setShowDeleteTriggerForm} /> + + { + setEditorPanelOpen(false) + setSelectedTriggerForEditor(undefined) + }} + onClose={() => { + setEditorPanelOpen(false) + setSelectedTriggerForEditor(undefined) + }} + initialValue={ + selectedTriggerForEditor + ? generateTriggerCreateSQL(selectedTriggerForEditor) + : `create trigger trigger_name +after insert or update or delete on table_name +for each row +execute function function_name();` + } + label={ + selectedTriggerForEditor + ? `Edit trigger "${selectedTriggerForEditor.name}"` + : 'Create new database trigger' + } + initialPrompt={ + selectedTriggerForEditor + ? `Update the database trigger "${selectedTriggerForEditor.name}" to...` + : 'Create a new database trigger that...' + } + /> ) } diff --git a/apps/studio/pages/project/[ref]/index.tsx b/apps/studio/pages/project/[ref]/index.tsx index 9f555e26cc9..4a35f4f01db 100644 --- a/apps/studio/pages/project/[ref]/index.tsx +++ b/apps/studio/pages/project/[ref]/index.tsx @@ -14,6 +14,7 @@ import { ProjectLayoutWithAuth } from 'components/layouts/ProjectLayout/ProjectL import { ComputeBadgeWrapper } from 'components/ui/ComputeBadgeWrapper' import { InlineLink } from 'components/ui/InlineLink' import { ProjectUpgradeFailedBanner } from 'components/ui/ProjectUpgradeFailedBanner' +import { useBranchesQuery } from 'data/branches/branches-query' import { useEdgeFunctionsQuery } from 'data/edge-functions/edge-functions-query' import { useReadReplicasQuery } from 'data/read-replicas/replicas-query' import { useTablesQuery } from 'data/tables/tables-query' @@ -34,7 +35,6 @@ import { TooltipTrigger, } from 'ui' import ShimmeringLoader from 'ui-patterns/ShimmeringLoader' -import { useBranchesQuery } from 'data/branches/branches-query' const Home: NextPageWithLayout = () => { const organization = useSelectedOrganization() diff --git a/apps/studio/pages/project/[ref]/reports/database.tsx b/apps/studio/pages/project/[ref]/reports/database.tsx index 7193534022e..2352e82a66d 100644 --- a/apps/studio/pages/project/[ref]/reports/database.tsx +++ b/apps/studio/pages/project/[ref]/reports/database.tsx @@ -321,11 +321,11 @@ const DatabaseUsage = () => {
    -
    Space used
    +
    Space used
    {formatBytes(databaseSizeBytes, 2, 'GB')}
    -
    Provisioned disk size
    +
    Provisioned disk size
    {currentDiskSize} GB
    diff --git a/apps/studio/pages/project/[ref]/settings/api.tsx b/apps/studio/pages/project/[ref]/settings/api.tsx index 1892bf682e5..2b0ad1b5c19 100644 --- a/apps/studio/pages/project/[ref]/settings/api.tsx +++ b/apps/studio/pages/project/[ref]/settings/api.tsx @@ -1,4 +1,3 @@ -import { ApiKeysMoved } from 'components/interfaces/Settings/API/ApiKeysMoved' import ServiceList from 'components/interfaces/Settings/API/ServiceList' import DefaultLayout from 'components/layouts/DefaultLayout' import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout' diff --git a/apps/studio/pages/project/[ref]/settings/auth.tsx b/apps/studio/pages/project/[ref]/settings/auth.tsx index 3fe47ca02fc..9869b02e6f0 100644 --- a/apps/studio/pages/project/[ref]/settings/auth.tsx +++ b/apps/studio/pages/project/[ref]/settings/auth.tsx @@ -13,8 +13,7 @@ const ProjectSettings: NextPageWithLayout = () => {

    - All settings are now under configuration within the Authentication page. All other product - settings will follow in the coming weeks. + All settings are now under configuration within the Authentication page.

    { Access token expiry diff --git a/apps/studio/pages/project/[ref]/sql/index.tsx b/apps/studio/pages/project/[ref]/sql/index.tsx index b76303b8010..893eee8c440 100644 --- a/apps/studio/pages/project/[ref]/sql/index.tsx +++ b/apps/studio/pages/project/[ref]/sql/index.tsx @@ -6,7 +6,6 @@ import DefaultLayout from 'components/layouts/DefaultLayout' import { EditorBaseLayout } from 'components/layouts/editors/EditorBaseLayout' import SQLEditorLayout from 'components/layouts/SQLEditorLayout/SQLEditorLayout' import { SQLEditorMenu } from 'components/layouts/SQLEditorLayout/SQLEditorMenu' -import { NewTab } from 'components/layouts/Tabs/NewTab' import { useAppStateSnapshot } from 'state/app-state' import { useTabsStateSnapshot } from 'state/tabs' import type { NextPageWithLayout } from 'types' @@ -26,10 +25,13 @@ const TableEditorPage: NextPageWithLayout = () => { } else if (lastTabId) { const lastTab = store.tabsMap[lastTabId] if (lastTab) router.push(`/project/${projectRef}/sql/${lastTab.id.replace('sql-', '')}`) + } else { + router.push(`/project/${projectRef}/sql/new`) } + // eslint-disable-next-line react-hooks/exhaustive-deps }, []) - return + return null } TableEditorPage.getLayout = (page) => ( diff --git a/apps/studio/pages/project/[ref]/settings/storage.tsx b/apps/studio/pages/project/[ref]/storage/settings.tsx similarity index 87% rename from apps/studio/pages/project/[ref]/settings/storage.tsx rename to apps/studio/pages/project/[ref]/storage/settings.tsx index b07d9931f5b..c8a6d2ea3e1 100644 --- a/apps/studio/pages/project/[ref]/settings/storage.tsx +++ b/apps/studio/pages/project/[ref]/storage/settings.tsx @@ -1,5 +1,5 @@ import DefaultLayout from 'components/layouts/DefaultLayout' -import SettingsLayout from 'components/layouts/ProjectSettingsLayout/SettingsLayout' +import StorageLayout from 'components/layouts/StorageLayout/StorageLayout' import { ScaffoldContainer, ScaffoldDescription, @@ -29,7 +29,7 @@ const PageLayout: NextPageWithLayout = () => { PageLayout.getLayout = (page) => ( - {page} + {page} ) export default PageLayout diff --git a/apps/studio/pages/project/_/[[...routeSlug]].tsx b/apps/studio/pages/project/_/[[...routeSlug]].tsx index e65fbb6469b..d48253f4971 100644 --- a/apps/studio/pages/project/_/[[...routeSlug]].tsx +++ b/apps/studio/pages/project/_/[[...routeSlug]].tsx @@ -85,7 +85,7 @@ const GenericProjectPage: NextPage = () => { <>
    -

    Select a project to continue

    +

    Select a project to continue

    {
    -

    Supabase support

    +

    Supabase support

    diff --git a/apps/studio/state/app-state.ts b/apps/studio/state/app-state.ts index 46ad255b896..0cba8f42faf 100644 --- a/apps/studio/state/app-state.ts +++ b/apps/studio/state/app-state.ts @@ -1,81 +1,18 @@ import { proxy, snapshot, subscribe, useSnapshot } from 'valtio' import { LOCAL_STORAGE_KEYS as COMMON_LOCAL_STORAGE_KEYS, LOCAL_STORAGE_KEYS } from 'common' -import { SQL_TEMPLATES } from 'components/interfaces/SQLEditor/SQLEditor.queries' - -export type Template = { - name: string - description: string - content: string -} - -type EditorPanelType = { - open: boolean - initialValue?: string - label?: string - saveLabel?: string - onSave?: (value: string, name: string) => void - onRun?: (value: string) => void - functionName?: string - templates?: Template[] - initialPrompt?: string -} - type DashboardHistoryType = { sql?: string editor?: string } -const INITIAL_EDITOR_PANEL: EditorPanelType = { - open: false, - initialValue: '', - label: '', - saveLabel: '', - initialPrompt: '', - templates: SQL_TEMPLATES.filter((template) => template.type === 'template').map((template) => ({ - name: template.title, - description: template.description, - content: template.sql, - })), -} - const EMPTY_DASHBOARD_HISTORY: DashboardHistoryType = { sql: undefined, editor: undefined, } const getInitialState = () => { - if (typeof window === 'undefined') { - return { - editorPanel: INITIAL_EDITOR_PANEL, - dashboardHistory: EMPTY_DASHBOARD_HISTORY, - activeDocsSection: ['introduction'], - docsLanguage: 'js', - showProjectApiDocs: false, - showCreateBranchModal: false, - showAiSettingsModal: false, - showConnectDialog: false, - ongoingQueriesPanelOpen: false, - mobileMenuOpen: false, - showSidebar: true, - lastRouteBeforeVisitingAccountPage: '', - } - } - - const storedEditor = localStorage.getItem(LOCAL_STORAGE_KEYS.EDITOR_PANEL_STATE) - - let parsedEditorPanel = INITIAL_EDITOR_PANEL - - try { - if (storedEditor) { - parsedEditorPanel = JSON.parse(storedEditor) - } - } catch { - // Ignore parsing errors - } - return { - editorPanel: parsedEditorPanel, dashboardHistory: EMPTY_DASHBOARD_HISTORY, activeDocsSection: ['introduction'], docsLanguage: 'js', @@ -86,6 +23,7 @@ const getInitialState = () => { ongoingQueriesPanelOpen: false, mobileMenuOpen: false, showSidebar: true, + showEditorPanel: false, lastRouteBeforeVisitingAccountPage: '', } } @@ -149,24 +87,9 @@ export const appState = proxy({ appState.ongoingQueriesPanelOpen = value }, - setEditorPanel: (value: Partial) => { - // Reset templates to initial if initialValue is empty - if (value.initialValue === '') { - value.templates = INITIAL_EDITOR_PANEL.templates - } - - if (!value.open) { - value.initialPrompt = INITIAL_EDITOR_PANEL.initialPrompt - } - - appState.editorPanel = { - ...appState.editorPanel, - ...value, - } - }, - - toggleEditorPanel: (value?: boolean) => { - appState.editorPanel.open = value ?? !appState.editorPanel.open + showEditorPanel: false, + setShowEditorPanel: (value: boolean) => { + appState.showEditorPanel = value }, mobileMenuOpen: false, @@ -180,15 +103,6 @@ export const appState = proxy({ }, }) -// Set up localStorage subscriptions -if (typeof window !== 'undefined') { - subscribe(appState, () => { - localStorage.setItem( - LOCAL_STORAGE_KEYS.EDITOR_PANEL_STATE, - JSON.stringify(appState.editorPanel) - ) - }) -} export const getAppStateSnapshot = () => snapshot(appState) diff --git a/apps/studio/state/storage-explorer.tsx b/apps/studio/state/storage-explorer.tsx index 046f39ebbe8..35b1886f025 100644 --- a/apps/studio/state/storage-explorer.tsx +++ b/apps/studio/state/storage-explorer.tsx @@ -9,6 +9,7 @@ import { createClient, SupabaseClient } from '@supabase/supabase-js' import { BlobReader, BlobWriter, ZipWriter } from '@zip.js/zip.js' import { LOCAL_STORAGE_KEYS } from 'common' import { + STORAGE_BUCKET_SORT, STORAGE_ROW_STATUS, STORAGE_ROW_TYPES, STORAGE_SORT_BY, @@ -63,6 +64,7 @@ const DEFAULT_PREFERENCES = { view: STORAGE_VIEWS.COLUMNS, sortBy: STORAGE_SORT_BY.NAME, sortByOrder: STORAGE_SORT_BY_ORDER.ASC, + sortBucket: STORAGE_BUCKET_SORT.CREATED_AT, } const STORAGE_PROGRESS_INFO_TEXT = "Do not close the browser until it's completed" @@ -83,7 +85,7 @@ function createStorageExplorerState({ supabaseClient?: SupabaseClient }) { const localStorageKey = LOCAL_STORAGE_KEYS.STORAGE_PREFERENCE(projectRef) - const { view, sortBy, sortByOrder } = + const { view, sortBy, sortByOrder, sortBucket } = (typeof window !== 'undefined' && tryParseJson(localStorage?.getItem(localStorageKey))) || DEFAULT_PREFERENCES @@ -177,6 +179,12 @@ function createStorageExplorerState({ state.updateExplorerPreference() }, + sortBucket, + setSortBucket: async (value: STORAGE_BUCKET_SORT) => { + state.sortBucket = value + state.updateExplorerPreference() + }, + sortBy, setSortBy: async (value: STORAGE_SORT_BY) => { state.sortBy = value @@ -204,8 +212,11 @@ function createStorageExplorerState({ updateExplorerPreference: () => { const localStorageKey = LOCAL_STORAGE_KEYS.STORAGE_PREFERENCE(projectRef) - const { view, sortBy, sortByOrder } = state - localStorage.setItem(localStorageKey, JSON.stringify({ view, sortBy, sortByOrder })) + const { view, sortBy, sortByOrder, sortBucket } = state + localStorage.setItem( + localStorageKey, + JSON.stringify({ view, sortBy, sortByOrder, sortBucket }) + ) }, // Functions that manage the UI of the Storage Explorer @@ -971,7 +982,7 @@ function createStorageExplorerState({

    You can change the global file size upload limit in{' '} - + Storage settings . diff --git a/apps/studio/styles/typography.scss b/apps/studio/styles/typography.scss new file mode 100644 index 00000000000..8a050348bec --- /dev/null +++ b/apps/studio/styles/typography.scss @@ -0,0 +1,78 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + body { + @apply text-default; + } + h1 { + @apply heading-title; + } + h2 { + @apply heading-section; + } + h3 { + @apply heading-subSection; + } + h4 { + @apply heading-default; + } + h5 { + @apply heading-default; + } + h6 { + @apply heading-compact; + } + small { + @apply text-compact; + } + strong { + @apply font-medium; + } +} + +@layer utilities { + /* Heading */ + .heading-title { + @apply scroll-m-20 text-2xl tracking-tight text-foreground; + } + + .heading-section { + @apply scroll-m-20 text-xl text-foreground; + } + + .heading-subSection { + @apply scroll-m-20 text-base text-foreground; + } + + .heading-default { + @apply scroll-m-20 text-sm font-medium text-foreground; + } + + .heading-compact { + @apply scroll-m-20 text-xs font-medium text-foreground; + } + + .heading-meta { + @apply text-xs font-mono uppercase tracking-wider font-medium text-foreground; + } + + /* Text */ + .text-default { + @apply text-base text-foreground-light; + } + + .text-subTitle { + @apply text-lg; + } + + .text-compact { + @apply text-xs; + } + + /* Link */ + .text-link { + @apply text-foreground-light underline underline-offset-4 decoration-border hover:decoration-foreground transition-colors hover:text-foreground; + } +} diff --git a/apps/ui-library/.env b/apps/ui-library/.env index 47ab9bf34ed..93da796409a 100644 --- a/apps/ui-library/.env +++ b/apps/ui-library/.env @@ -1,5 +1,5 @@ # Default to local supabase for local development NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321 -NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 +NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0 NEXT_PUBLIC_BASE_PATH=/ui NEXT_PUBLIC_API_URL="http://localhost:8080/platform" \ No newline at end of file diff --git a/apps/ui-library/content/docs/nextjs/client.mdx b/apps/ui-library/content/docs/nextjs/client.mdx index 6a98134b516..8d3a11ef966 100644 --- a/apps/ui-library/content/docs/nextjs/client.mdx +++ b/apps/ui-library/content/docs/nextjs/client.mdx @@ -19,11 +19,11 @@ If you've already set up your Supabase client—either using the `npx create-nex ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env NEXT_PUBLIC_SUPABASE_URL= -NEXT_PUBLIC_SUPABASE_ANON_KEY= +NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/nextjs/password-based-auth.mdx b/apps/ui-library/content/docs/nextjs/password-based-auth.mdx index 4dfa417f6a3..3b529b6554e 100644 --- a/apps/ui-library/content/docs/nextjs/password-based-auth.mdx +++ b/apps/ui-library/content/docs/nextjs/password-based-auth.mdx @@ -24,11 +24,11 @@ Once you install the block in your Next.js project, you'll get all the necessary ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env NEXT_PUBLIC_SUPABASE_URL= -NEXT_PUBLIC_SUPABASE_ANON_KEY= +NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/nextjs/social-auth.mdx b/apps/ui-library/content/docs/nextjs/social-auth.mdx index f4b63cdc2bf..e2290f27ab8 100644 --- a/apps/ui-library/content/docs/nextjs/social-auth.mdx +++ b/apps/ui-library/content/docs/nextjs/social-auth.mdx @@ -26,11 +26,11 @@ Once you install the block in your Next.js project, you'll get all the necessary ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env NEXT_PUBLIC_SUPABASE_URL= -NEXT_PUBLIC_SUPABASE_ANON_KEY= +NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react-router/client.mdx b/apps/ui-library/content/docs/react-router/client.mdx index 981860d022d..36292711683 100644 --- a/apps/ui-library/content/docs/react-router/client.mdx +++ b/apps/ui-library/content/docs/react-router/client.mdx @@ -19,11 +19,11 @@ If you've already set up Supabase clients in your project, you can just continue ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react-router/password-based-auth.mdx b/apps/ui-library/content/docs/react-router/password-based-auth.mdx index bbe62934e6a..b52f35afdaf 100644 --- a/apps/ui-library/content/docs/react-router/password-based-auth.mdx +++ b/apps/ui-library/content/docs/react-router/password-based-auth.mdx @@ -24,11 +24,11 @@ Once you install the block in your React Router project, you'll get all the nece ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react-router/social-auth.mdx b/apps/ui-library/content/docs/react-router/social-auth.mdx index b45ddcb24ac..3767e4d7e63 100644 --- a/apps/ui-library/content/docs/react-router/social-auth.mdx +++ b/apps/ui-library/content/docs/react-router/social-auth.mdx @@ -29,11 +29,11 @@ Once you install the block in your React Router project, you'll get all the nece ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react/client.mdx b/apps/ui-library/content/docs/react/client.mdx index 53a23ed0e21..717f0282deb 100644 --- a/apps/ui-library/content/docs/react/client.mdx +++ b/apps/ui-library/content/docs/react/client.mdx @@ -19,11 +19,11 @@ If you've already set up a Supabase client in your project, you can just continu ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react/password-based-auth.mdx b/apps/ui-library/content/docs/react/password-based-auth.mdx index d1030167403..7544dc1bebf 100644 --- a/apps/ui-library/content/docs/react/password-based-auth.mdx +++ b/apps/ui-library/content/docs/react/password-based-auth.mdx @@ -24,11 +24,11 @@ Once you install the block in your React project, you'll get all the necessary p ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/react/social-auth.mdx b/apps/ui-library/content/docs/react/social-auth.mdx index 79c596f5cd1..62d3747b839 100644 --- a/apps/ui-library/content/docs/react/social-auth.mdx +++ b/apps/ui-library/content/docs/react/social-auth.mdx @@ -26,11 +26,11 @@ Once you install the block in your React project, you'll get all the necessary p ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/tanstack/client.mdx b/apps/ui-library/content/docs/tanstack/client.mdx index db80ba69be7..69f9a96e6a7 100644 --- a/apps/ui-library/content/docs/tanstack/client.mdx +++ b/apps/ui-library/content/docs/tanstack/client.mdx @@ -21,11 +21,11 @@ If you've already set up a Supabase client in your project, you can just continu ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/tanstack/password-based-auth.mdx b/apps/ui-library/content/docs/tanstack/password-based-auth.mdx index 8410a4b5100..be01cf14ed1 100644 --- a/apps/ui-library/content/docs/tanstack/password-based-auth.mdx +++ b/apps/ui-library/content/docs/tanstack/password-based-auth.mdx @@ -21,11 +21,11 @@ Once you install the block in your TanStack Start project, you'll get all the ne ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/content/docs/tanstack/social-auth.mdx b/apps/ui-library/content/docs/tanstack/social-auth.mdx index 06a584149d6..94c98d39d18 100644 --- a/apps/ui-library/content/docs/tanstack/social-auth.mdx +++ b/apps/ui-library/content/docs/tanstack/social-auth.mdx @@ -26,11 +26,11 @@ Once you install the block in your Tanstack Start project, you'll get all the ne ### Getting started -First, add a `.env` file to your project with the following environment variables: +After installing the block, you'll have the following environment variables in your `.env.local` file: ```env VITE_SUPABASE_URL= -VITE_SUPABASE_ANON_KEY= +VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY= ``` - If you're using supabase.com, you can find these values in the [Connect modal](https://supabase.com/dashboard/project/_?showConnect=true) under App Frameworks or in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api). diff --git a/apps/ui-library/package.json b/apps/ui-library/package.json index b47da318fa6..8886abb7a9d 100644 --- a/apps/ui-library/package.json +++ b/apps/ui-library/package.json @@ -105,7 +105,7 @@ "react-dropzone": "^14.3.8", "react-router": "^7.5.2", "rimraf": "^4.1.3", - "shadcn": "2.4.0-canary.16", + "shadcn": "^2.10.0", "shiki": "^1.1.7", "tailwindcss": "^3.3.0", "tsconfig": "workspace:*", diff --git a/apps/ui-library/public/r/ai-editor-rules.json b/apps/ui-library/public/r/ai-editor-rules.json index 764d88974c1..d2aef7edfca 100644 --- a/apps/ui-library/public/r/ai-editor-rules.json +++ b/apps/ui-library/public/r/ai-editor-rules.json @@ -33,7 +33,7 @@ }, { "path": "registry/default/ai-editor-rules/writing-supabase-edge-functions.mdc", - "content": "---\ndescription: Coding rules for Supabase Edge Functions\nalwaysApply: false\n---\n\n# Writing Supabase Edge Functions\n\nYou're an expert in writing TypeScript and Deno JavaScript runtime. Generate **high-quality Supabase Edge Functions** that adhere to the following best practices:\n\n## Guidelines\n\n1. Try to use Web APIs and Deno’s core APIs instead of external dependencies (eg: use fetch instead of Axios, use WebSockets API instead of node-ws)\n2. If you are reusing utility methods between Edge Functions, add them to `supabase/functions/_shared` and import using a relative path. Do NOT have cross dependencies between Edge Functions.\n3. Do NOT use bare specifiers when importing dependecnies. If you need to use an external dependency, make sure it's prefixed with either `npm:` or `jsr:`. For example, `@supabase/supabase-js` should be written as `npm:@supabase/supabase-js`.\n4. For external imports, always define a version. For example, `npm:@express` should be written as `npm:express@4.18.2`.\n5. For external dependencies, importing via `npm:` and `jsr:` is preferred. Minimize the use of imports from @`deno.land/x` , `esm.sh` and @`unpkg.com` . If you have a package from one of those CDNs, you can replace the CDN hostname with `npm:` specifier.\n6. You can also use Node built-in APIs. You will need to import them using `node:` specifier. For example, to import Node process: `import process from \"node:process\". Use Node APIs when you find gaps in Deno APIs.\n7. Do NOT use `import { serve } from \"https://deno.land/std@0.168.0/http/server.ts\"`. Instead use the built-in `Deno.serve`.\n8. Following environment variables (ie. secrets) are pre-populated in both local and hosted Supabase environments. Users don't need to manually set them:\n - SUPABASE_URL\n - SUPABASE_ANON_KEY\n - SUPABASE_SERVICE_ROLE_KEY\n - SUPABASE_DB_URL\n9. To set other environment variables (ie. secrets) users can put them in a env file and run the `supabase secrets set --env-file path/to/env-file`\n10. A single Edge Function can handle multiple routes. It is recommended to use a library like Express or Hono to handle the routes as it's easier for developer to understand and maintain. Each route must be prefixed with `/function-name` so they are routed correctly.\n11. File write operations are ONLY permitted on `/tmp` directory. You can use either Deno or Node File APIs.\n12. Use `EdgeRuntime.waitUntil(promise)` static method to run long-running tasks in the background without blocking response to a request. Do NOT assume it is available in the request / execution context.\n\n## Example Templates\n\n### Simple Hello World Function\n\n```tsx\ninterface reqPayload {\n name: string\n}\n\nconsole.info('server started')\n\nDeno.serve(async (req: Request) => {\n const { name }: reqPayload = await req.json()\n const data = {\n message: `Hello ${name} from foo!`,\n }\n\n return new Response(JSON.stringify(data), {\n headers: { 'Content-Type': 'application/json', Connection: 'keep-alive' },\n })\n})\n```\n\n### Example Function using Node built-in API\n\n```tsx\nimport { randomBytes } from 'node:crypto'\nimport { createServer } from 'node:http'\nimport process from 'node:process'\n\nconst generateRandomString = (length) => {\n const buffer = randomBytes(length)\n return buffer.toString('hex')\n}\n\nconst randomString = generateRandomString(10)\nconsole.log(randomString)\n\nconst server = createServer((req, res) => {\n const message = `Hello`\n res.end(message)\n})\n\nserver.listen(9999)\n```\n\n### Using npm packages in Functions\n\n```tsx\nimport express from 'npm:express@4.18.2'\n\nconst app = express()\n\napp.get(/(.*)/, (req, res) => {\n res.send('Welcome to Supabase')\n})\n\napp.listen(8000)\n```\n\n### Generate embeddings using built-in @Supabase.ai API\n\n```tsx\nconst model = new Supabase.ai.Session('gte-small')\n\nDeno.serve(async (req: Request) => {\n const params = new URL(req.url).searchParams\n const input = params.get('text')\n const output = await model.run(input, { mean_pool: true, normalize: true })\n return new Response(JSON.stringify(output), {\n headers: {\n 'Content-Type': 'application/json',\n Connection: 'keep-alive',\n },\n })\n})\n```\n", + "content": "---\ndescription: Coding rules for Supabase Edge Functions\nalwaysApply: false\n---\n\n# Writing Supabase Edge Functions\n\nYou're an expert in writing TypeScript and Deno JavaScript runtime. Generate **high-quality Supabase Edge Functions** that adhere to the following best practices:\n\n## Guidelines\n\n1. Try to use Web APIs and Deno’s core APIs instead of external dependencies (eg: use fetch instead of Axios, use WebSockets API instead of node-ws)\n2. If you are reusing utility methods between Edge Functions, add them to `supabase/functions/_shared` and import using a relative path. Do NOT have cross dependencies between Edge Functions.\n3. Do NOT use bare specifiers when importing dependecnies. If you need to use an external dependency, make sure it's prefixed with either `npm:` or `jsr:`. For example, `@supabase/supabase-js` should be written as `npm:@supabase/supabase-js`.\n4. For external imports, always define a version. For example, `npm:@express` should be written as `npm:express@4.18.2`.\n5. For external dependencies, importing via `npm:` and `jsr:` is preferred. Minimize the use of imports from @`deno.land/x` , `esm.sh` and @`unpkg.com` . If you have a package from one of those CDNs, you can replace the CDN hostname with `npm:` specifier.\n6. You can also use Node built-in APIs. You will need to import them using `node:` specifier. For example, to import Node process: `import process from \"node:process\". Use Node APIs when you find gaps in Deno APIs.\n7. Do NOT use `import { serve } from \"https://deno.land/std@0.168.0/http/server.ts\"`. Instead use the built-in `Deno.serve`.\n8. Following environment variables (ie. secrets) are pre-populated in both local and hosted Supabase environments. Users don't need to manually set them:\n - SUPABASE_URL\n - SUPABASE_PUBLISHABLE_OR_ANON_KEY\n - SUPABASE_SERVICE_ROLE_KEY\n - SUPABASE_DB_URL\n9. To set other environment variables (ie. secrets) users can put them in a env file and run the `supabase secrets set --env-file path/to/env-file`\n10. A single Edge Function can handle multiple routes. It is recommended to use a library like Express or Hono to handle the routes as it's easier for developer to understand and maintain. Each route must be prefixed with `/function-name` so they are routed correctly.\n11. File write operations are ONLY permitted on `/tmp` directory. You can use either Deno or Node File APIs.\n12. Use `EdgeRuntime.waitUntil(promise)` static method to run long-running tasks in the background without blocking response to a request. Do NOT assume it is available in the request / execution context.\n\n## Example Templates\n\n### Simple Hello World Function\n\n```tsx\ninterface reqPayload {\n name: string\n}\n\nconsole.info('server started')\n\nDeno.serve(async (req: Request) => {\n const { name }: reqPayload = await req.json()\n const data = {\n message: `Hello ${name} from foo!`,\n }\n\n return new Response(JSON.stringify(data), {\n headers: { 'Content-Type': 'application/json', Connection: 'keep-alive' },\n })\n})\n```\n\n### Example Function using Node built-in API\n\n```tsx\nimport { randomBytes } from 'node:crypto'\nimport { createServer } from 'node:http'\nimport process from 'node:process'\n\nconst generateRandomString = (length) => {\n const buffer = randomBytes(length)\n return buffer.toString('hex')\n}\n\nconst randomString = generateRandomString(10)\nconsole.log(randomString)\n\nconst server = createServer((req, res) => {\n const message = `Hello`\n res.end(message)\n})\n\nserver.listen(9999)\n```\n\n### Using npm packages in Functions\n\n```tsx\nimport express from 'npm:express@4.18.2'\n\nconst app = express()\n\napp.get(/(.*)/, (req, res) => {\n res.send('Welcome to Supabase')\n})\n\napp.listen(8000)\n```\n\n### Generate embeddings using built-in @Supabase.ai API\n\n```tsx\nconst model = new Supabase.ai.Session('gte-small')\n\nDeno.serve(async (req: Request) => {\n const params = new URL(req.url).searchParams\n const input = params.get('text')\n const output = await model.run(input, { mean_pool: true, normalize: true })\n return new Response(JSON.stringify(output), {\n headers: {\n 'Content-Type': 'application/json',\n Connection: 'keep-alive',\n },\n })\n})\n```\n", "type": "registry:file", "target": "~/.cursor/rules/writing-supabase-edge-functions.mdc" } diff --git a/apps/ui-library/public/r/current-user-avatar-nextjs.json b/apps/ui-library/public/r/current-user-avatar-nextjs.json index 56ef21e7661..f02a20e9f3f 100644 --- a/apps/ui-library/public/r/current-user-avatar-nextjs.json +++ b/apps/ui-library/public/r/current-user-avatar-nextjs.json @@ -29,18 +29,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/current-user-avatar-react-router.json b/apps/ui-library/public/r/current-user-avatar-react-router.json index b05d1eff09e..896e80355e6 100644 --- a/apps/ui-library/public/r/current-user-avatar-react-router.json +++ b/apps/ui-library/public/r/current-user-avatar-react-router.json @@ -29,13 +29,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/current-user-avatar-react.json b/apps/ui-library/public/r/current-user-avatar-react.json index f506572f7e4..72b36ef6e06 100644 --- a/apps/ui-library/public/r/current-user-avatar-react.json +++ b/apps/ui-library/public/r/current-user-avatar-react.json @@ -28,8 +28,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/current-user-avatar-tanstack.json b/apps/ui-library/public/r/current-user-avatar-tanstack.json index 8038da79e5c..87709f96d8e 100644 --- a/apps/ui-library/public/r/current-user-avatar-tanstack.json +++ b/apps/ui-library/public/r/current-user-avatar-tanstack.json @@ -29,13 +29,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/dropzone-nextjs.json b/apps/ui-library/public/r/dropzone-nextjs.json index fe37124b6dd..fc941070c3f 100644 --- a/apps/ui-library/public/r/dropzone-nextjs.json +++ b/apps/ui-library/public/r/dropzone-nextjs.json @@ -26,18 +26,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/dropzone-react-router.json b/apps/ui-library/public/r/dropzone-react-router.json index 5e2c55a0da7..5ae33b305e2 100644 --- a/apps/ui-library/public/r/dropzone-react-router.json +++ b/apps/ui-library/public/r/dropzone-react-router.json @@ -26,13 +26,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/dropzone-react.json b/apps/ui-library/public/r/dropzone-react.json index 96a316458f7..90c6882d4ae 100644 --- a/apps/ui-library/public/r/dropzone-react.json +++ b/apps/ui-library/public/r/dropzone-react.json @@ -25,8 +25,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/dropzone-tanstack.json b/apps/ui-library/public/r/dropzone-tanstack.json index 077c9a4d964..42a97708f3a 100644 --- a/apps/ui-library/public/r/dropzone-tanstack.json +++ b/apps/ui-library/public/r/dropzone-tanstack.json @@ -26,13 +26,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/password-based-auth-nextjs.json b/apps/ui-library/public/r/password-based-auth-nextjs.json index 918a6e9d4a6..f5c48585d09 100644 --- a/apps/ui-library/public/r/password-based-auth-nextjs.json +++ b/apps/ui-library/public/r/password-based-auth-nextjs.json @@ -29,7 +29,7 @@ }, { "path": "registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx", - "content": "import { redirect } from 'next/navigation'\n\nimport { LogoutButton } from '@/registry/default/blocks/password-based-auth-nextjs/components/logout-button'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\n\nexport default async function ProtectedPage() {\n const supabase = await createClient()\n\n const { data, error } = await supabase.auth.getUser()\n if (error || !data?.user) {\n redirect('/auth/login')\n }\n\n return (\n

    \n

    \n Hello {data.user.email}\n

    \n \n
    \n )\n}\n", + "content": "import { redirect } from 'next/navigation'\n\nimport { LogoutButton } from '@/registry/default/blocks/password-based-auth-nextjs/components/logout-button'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\n\nexport default async function ProtectedPage() {\n const supabase = await createClient()\n\n const { data, error } = await supabase.auth.getClaims()\n if (error || !data?.claims) {\n redirect('/auth/login')\n }\n\n return (\n
    \n

    \n Hello {data.claims.email}\n

    \n \n
    \n )\n}\n", "type": "registry:page", "target": "app/protected/page.tsx" }, @@ -46,7 +46,7 @@ }, { "path": "registry/default/blocks/password-based-auth-nextjs/middleware.ts", - "content": "import { updateSession } from '@/registry/default/clients/nextjs/lib/supabase/middleware'\nimport { type NextRequest } from 'next/server'\n\nexport async function middleware(request: NextRequest) {\n return await updateSession(request)\n}\n\nexport const config = {\n matcher: [\n /*\n * Match all request paths except for the ones starting with:\n * - _next/static (static files)\n * - _next/image (image optimization files)\n * - favicon.ico (favicon file)\n * Feel free to modify this pattern to include more paths.\n */\n '/((?!_next/static|_next/image|favicon.ico|.*\\\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',\n ],\n}\n", + "content": "import { updateSession } from '@/registry/default/clients/nextjs/lib/supabase/middleware'\nimport { type NextRequest } from 'next/server'\n\nexport async function middleware(request: NextRequest) {\n return await updateSession(request)\n}\n\nexport const config = {\n matcher: [\n /*\n * Match all request paths except:\n * - _next/static (static files)\n * - _next/image (image optimization files)\n * - favicon.ico (favicon file)\n * - images - .svg, .png, .jpg, .jpeg, .gif, .webp\n * Feel free to modify this pattern to include more paths.\n */\n '/((?!_next/static|_next/image|favicon.ico|.*\\\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)',\n ],\n}\n", "type": "registry:file", "target": "middleware.ts" }, @@ -96,18 +96,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/password-based-auth-react-router.json b/apps/ui-library/public/r/password-based-auth-react-router.json index c79c349f388..5f24bcffc3e 100644 --- a/apps/ui-library/public/r/password-based-auth-react-router.json +++ b/apps/ui-library/public/r/password-based-auth-react-router.json @@ -73,13 +73,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/password-based-auth-react.json b/apps/ui-library/public/r/password-based-auth-react.json index 5158eef8207..a50604835e8 100644 --- a/apps/ui-library/public/r/password-based-auth-react.json +++ b/apps/ui-library/public/r/password-based-auth-react.json @@ -36,8 +36,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/password-based-auth-tanstack.json b/apps/ui-library/public/r/password-based-auth-tanstack.json index 91223e367e7..0d84095b204 100644 --- a/apps/ui-library/public/r/password-based-auth-tanstack.json +++ b/apps/ui-library/public/r/password-based-auth-tanstack.json @@ -96,13 +96,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json b/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json index bd218a3c416..d94f19ce758 100644 --- a/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json +++ b/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json @@ -40,18 +40,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-avatar-stack-react-router.json b/apps/ui-library/public/r/realtime-avatar-stack-react-router.json index aa104595204..7d6a86a2287 100644 --- a/apps/ui-library/public/r/realtime-avatar-stack-react-router.json +++ b/apps/ui-library/public/r/realtime-avatar-stack-react-router.json @@ -40,13 +40,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-avatar-stack-react.json b/apps/ui-library/public/r/realtime-avatar-stack-react.json index ad3a5e35cc0..f1226adc1f1 100644 --- a/apps/ui-library/public/r/realtime-avatar-stack-react.json +++ b/apps/ui-library/public/r/realtime-avatar-stack-react.json @@ -39,8 +39,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-avatar-stack-tanstack.json b/apps/ui-library/public/r/realtime-avatar-stack-tanstack.json index 3b8d2fc7ecd..b3ae60f1bf9 100644 --- a/apps/ui-library/public/r/realtime-avatar-stack-tanstack.json +++ b/apps/ui-library/public/r/realtime-avatar-stack-tanstack.json @@ -40,13 +40,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-chat-nextjs.json b/apps/ui-library/public/r/realtime-chat-nextjs.json index 0653a4ee3a9..1f2e020b5c8 100644 --- a/apps/ui-library/public/r/realtime-chat-nextjs.json +++ b/apps/ui-library/public/r/realtime-chat-nextjs.json @@ -36,18 +36,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-chat-react-router.json b/apps/ui-library/public/r/realtime-chat-react-router.json index 52d8ba92370..fd34e8cc7db 100644 --- a/apps/ui-library/public/r/realtime-chat-react-router.json +++ b/apps/ui-library/public/r/realtime-chat-react-router.json @@ -36,13 +36,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-chat-react.json b/apps/ui-library/public/r/realtime-chat-react.json index fea8451ae61..14651ea7dcf 100644 --- a/apps/ui-library/public/r/realtime-chat-react.json +++ b/apps/ui-library/public/r/realtime-chat-react.json @@ -35,8 +35,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-chat-tanstack.json b/apps/ui-library/public/r/realtime-chat-tanstack.json index b784d6c4d71..5912fb76085 100644 --- a/apps/ui-library/public/r/realtime-chat-tanstack.json +++ b/apps/ui-library/public/r/realtime-chat-tanstack.json @@ -36,13 +36,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-cursor-nextjs.json b/apps/ui-library/public/r/realtime-cursor-nextjs.json index 344a3bdc1c3..e2477cbeb94 100644 --- a/apps/ui-library/public/r/realtime-cursor-nextjs.json +++ b/apps/ui-library/public/r/realtime-cursor-nextjs.json @@ -28,18 +28,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-cursor-react-router.json b/apps/ui-library/public/r/realtime-cursor-react-router.json index 9f130b0fbee..cb7b916dced 100644 --- a/apps/ui-library/public/r/realtime-cursor-react-router.json +++ b/apps/ui-library/public/r/realtime-cursor-react-router.json @@ -28,13 +28,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-cursor-react.json b/apps/ui-library/public/r/realtime-cursor-react.json index 09fb557af73..0f338c78581 100644 --- a/apps/ui-library/public/r/realtime-cursor-react.json +++ b/apps/ui-library/public/r/realtime-cursor-react.json @@ -27,8 +27,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/realtime-cursor-tanstack.json b/apps/ui-library/public/r/realtime-cursor-tanstack.json index 75bc242645b..cd72d8d7e1d 100644 --- a/apps/ui-library/public/r/realtime-cursor-tanstack.json +++ b/apps/ui-library/public/r/realtime-cursor-tanstack.json @@ -28,13 +28,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/social-auth-nextjs.json b/apps/ui-library/public/r/social-auth-nextjs.json index bb44f71ea43..1720d82de5d 100644 --- a/apps/ui-library/public/r/social-auth-nextjs.json +++ b/apps/ui-library/public/r/social-auth-nextjs.json @@ -55,18 +55,23 @@ }, { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/social-auth-react-router.json b/apps/ui-library/public/r/social-auth-react-router.json index 38cbbc8bd39..23038bd9e1f 100644 --- a/apps/ui-library/public/r/social-auth-react-router.json +++ b/apps/ui-library/public/r/social-auth-react-router.json @@ -53,13 +53,18 @@ }, { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/social-auth-react.json b/apps/ui-library/public/r/social-auth-react.json index 8e9a18e5a09..890d6a6e308 100644 --- a/apps/ui-library/public/r/social-auth-react.json +++ b/apps/ui-library/public/r/social-auth-react.json @@ -19,8 +19,13 @@ }, { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/social-auth-tanstack.json b/apps/ui-library/public/r/social-auth-tanstack.json index ccc42a24aae..b03c3d7251d 100644 --- a/apps/ui-library/public/r/social-auth-tanstack.json +++ b/apps/ui-library/public/r/social-auth-tanstack.json @@ -55,13 +55,18 @@ }, { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } - ] + ], + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/supabase-client-nextjs.json b/apps/ui-library/public/r/supabase-client-nextjs.json index fab3bb20c72..79aecf0b75b 100644 --- a/apps/ui-library/public/r/supabase-client-nextjs.json +++ b/apps/ui-library/public/r/supabase-client-nextjs.json @@ -12,19 +12,23 @@ "files": [ { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", - "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/middleware.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getClaims()\n const { data } = await supabase.auth.getClaims()\n\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n // With Fluid compute, don't put this client in a global environment\n // variable. Always create a new one on each request.\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getClaims(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: If you remove getClaims() and you use server-side rendering\n // with the Supabase client, your users may be randomly logged out.\n const { data } = await supabase.auth.getClaims()\n const user = data?.claims\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/nextjs/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { cookies } from 'next/headers'\n\n/**\n * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each\n * function when using it.\n */\nexport async function createClient() {\n const cookieStore = await cookies()\n\n return createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return cookieStore.getAll()\n },\n setAll(cookiesToSet) {\n try {\n cookiesToSet.forEach(({ name, value, options }) =>\n cookieStore.set(name, value, options)\n )\n } catch {\n // The `setAll` method was called from a Server Component.\n // This can be ignored if you have middleware refreshing\n // user sessions.\n }\n },\n },\n }\n )\n}\n", "type": "registry:lib" } ], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY`." + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/supabase-client-react-router.json b/apps/ui-library/public/r/supabase-client-react-router.json index 9819cc7e320..f8f716f37f6 100644 --- a/apps/ui-library/public/r/supabase-client-react-router.json +++ b/apps/ui-library/public/r/supabase-client-react-router.json @@ -12,14 +12,18 @@ "files": [ { "path": "registry/default/clients/react-router/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/react-router/lib/supabase/server.ts", - "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", + "content": "import { createServerClient, parseCookieHeader, serializeCookieHeader } from '@supabase/ssr'\n\nexport function createClient(request: Request) {\n const headers = new Headers()\n\n const supabase = createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return parseCookieHeader(request.headers.get('Cookie') ?? '') as {\n name: string\n value: string\n }[]\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value, options }) =>\n headers.append('Set-Cookie', serializeCookieHeader(name, value, options))\n )\n },\n },\n }\n )\n\n return { supabase, headers }\n}\n", "type": "registry:lib" } ], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`." + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/supabase-client-react.json b/apps/ui-library/public/r/supabase-client-react.json index 1878fd2215d..992f3105f73 100644 --- a/apps/ui-library/public/r/supabase-client-react.json +++ b/apps/ui-library/public/r/supabase-client-react.json @@ -11,9 +11,13 @@ "files": [ { "path": "registry/default/clients/react/lib/supabase/client.ts", - "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "import { createClient as createSupabaseClient } from '@supabase/supabase-js'\n\nexport function createClient() {\n return createSupabaseClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" } ], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`." + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/public/r/supabase-client-tanstack.json b/apps/ui-library/public/r/supabase-client-tanstack.json index b89f1ee6957..f78f51a1fdb 100644 --- a/apps/ui-library/public/r/supabase-client-tanstack.json +++ b/apps/ui-library/public/r/supabase-client-tanstack.json @@ -12,14 +12,18 @@ "files": [ { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", - "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_ANON_KEY!\n )\n}\n", + "content": "/// \nimport { createBrowserClient } from '@supabase/ssr'\n\nexport function createClient() {\n return createBrowserClient(\n import.meta.env.VITE_SUPABASE_URL!,\n import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!\n )\n}\n", "type": "registry:lib" }, { "path": "registry/default/clients/tanstack/lib/supabase/server.ts", - "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n })\n}\n", + "content": "import { createServerClient } from '@supabase/ssr'\nimport { parseCookies, setCookie } from '@tanstack/react-start/server'\n\nexport function createClient() {\n return createServerClient(\n process.env.VITE_SUPABASE_URL!,\n process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return Object.entries(parseCookies()).map(\n ([name, value]) =>\n ({\n name,\n value,\n }) as { name: string; value: string }\n )\n },\n setAll(cookies) {\n cookies.forEach((cookie) => {\n setCookie(cookie.name, cookie.value)\n })\n },\n },\n }\n )\n}\n", "type": "registry:lib" } ], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`." + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`." } \ No newline at end of file diff --git a/apps/ui-library/registry.json b/apps/ui-library/registry.json index a7458fc4414..cd103eebb1b 100644 --- a/apps/ui-library/registry.json +++ b/apps/ui-library/registry.json @@ -88,7 +88,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "password-based-auth-react", @@ -118,7 +123,12 @@ "type": "registry:lib" } ], - "dependencies": ["@supabase/supabase-js@latest"] + "dependencies": ["@supabase/supabase-js@latest"], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "password-based-auth-react-router", @@ -186,7 +196,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "password-based-auth-tanstack", @@ -269,7 +284,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "social-auth-nextjs", @@ -324,7 +344,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "social-auth-react", @@ -342,7 +367,12 @@ "type": "registry:lib" } ], - "dependencies": ["@supabase/supabase-js@latest"] + "dependencies": ["@supabase/supabase-js@latest"], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "social-auth-react-router", @@ -395,7 +425,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "name": "social-auth-tanstack", @@ -446,7 +481,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -482,7 +522,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -505,7 +550,12 @@ "path": "registry/default/clients/react/lib/supabase/client.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -537,7 +587,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -569,7 +624,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -604,7 +664,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -631,7 +696,12 @@ "path": "registry/default/clients/react/lib/supabase/client.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -662,7 +732,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -693,7 +768,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -728,7 +808,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -755,7 +840,12 @@ "path": "registry/default/clients/react/lib/supabase/client.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -786,7 +876,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -817,7 +912,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -860,7 +960,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -895,7 +1000,12 @@ "path": "registry/default/clients/react/lib/supabase/client.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -934,7 +1044,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -973,7 +1088,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -1012,7 +1132,12 @@ "path": "registry/default/clients/nextjs/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -1043,7 +1168,12 @@ "path": "registry/default/clients/react/lib/supabase/client.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -1078,7 +1208,12 @@ "path": "registry/default/clients/react-router/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -1113,7 +1248,12 @@ "path": "registry/default/clients/tanstack/lib/supabase/server.ts", "type": "registry:lib" } - ] + ], + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + } }, { "$schema": "https://ui.shadcn.com/schema/registry-item.json", @@ -1138,7 +1278,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", @@ -1162,7 +1306,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/react/lib/supabase/client.ts", @@ -1178,7 +1326,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/react-router/lib/supabase/client.ts", @@ -1198,7 +1350,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", diff --git a/apps/ui-library/registry/default/ai-editor-rules/writing-supabase-edge-functions.mdc b/apps/ui-library/registry/default/ai-editor-rules/writing-supabase-edge-functions.mdc index eb08df027c7..da32e700013 100644 --- a/apps/ui-library/registry/default/ai-editor-rules/writing-supabase-edge-functions.mdc +++ b/apps/ui-library/registry/default/ai-editor-rules/writing-supabase-edge-functions.mdc @@ -18,7 +18,7 @@ You're an expert in writing TypeScript and Deno JavaScript runtime. Generate **h 7. Do NOT use `import { serve } from "https://deno.land/std@0.168.0/http/server.ts"`. Instead use the built-in `Deno.serve`. 8. Following environment variables (ie. secrets) are pre-populated in both local and hosted Supabase environments. Users don't need to manually set them: - SUPABASE_URL - - SUPABASE_ANON_KEY + - SUPABASE_PUBLISHABLE_OR_ANON_KEY - SUPABASE_SERVICE_ROLE_KEY - SUPABASE_DB_URL 9. To set other environment variables (ie. secrets) users can put them in a env file and run the `supabase secrets set --env-file path/to/env-file` diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx index 33bb0ecc8e6..f84213f2771 100644 --- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx +++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx @@ -6,15 +6,15 @@ import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/ser export default async function ProtectedPage() { const supabase = await createClient() - const { data, error } = await supabase.auth.getUser() - if (error || !data?.user) { + const { data, error } = await supabase.auth.getClaims() + if (error || !data?.claims) { redirect('/auth/login') } return (

    - Hello {data.user.email} + Hello {data.claims.email}

    diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/middleware.ts b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/middleware.ts index c04d54bc883..71fac6460bd 100644 --- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/middleware.ts +++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/middleware.ts @@ -8,10 +8,11 @@ export async function middleware(request: NextRequest) { export const config = { matcher: [ /* - * Match all request paths except for the ones starting with: + * Match all request paths except: * - _next/static (static files) * - _next/image (image optimization files) * - favicon.ico (favicon file) + * - images - .svg, .png, .jpg, .jpeg, .gif, .webp * Feel free to modify this pattern to include more paths. */ '/((?!_next/static|_next/image|favicon.ico|.*\\.(?:svg|png|jpg|jpeg|gif|webp)$).*)', diff --git a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/client.ts b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/client.ts index 792b4570b2c..ccc8cf2e900 100644 --- a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/client.ts +++ b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/client.ts @@ -3,6 +3,6 @@ import { createBrowserClient } from '@supabase/ssr' export function createClient() { return createBrowserClient( process.env.NEXT_PUBLIC_SUPABASE_URL!, - process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY! + process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY! ) } diff --git a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts index 1a9abb5f0a9..7a07f440f7c 100644 --- a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts +++ b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts @@ -6,9 +6,11 @@ export async function updateSession(request: NextRequest) { request, }) + // With Fluid compute, don't put this client in a global environment + // variable. Always create a new one on each request. const supabase = createServerClient( process.env.NEXT_PUBLIC_SUPABASE_URL!, - process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!, + process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!, { cookies: { getAll() { @@ -31,9 +33,9 @@ export async function updateSession(request: NextRequest) { // supabase.auth.getClaims(). A simple mistake could make it very hard to debug // issues with users being randomly logged out. - // IMPORTANT: DO NOT REMOVE auth.getClaims() + // IMPORTANT: If you remove getClaims() and you use server-side rendering + // with the Supabase client, your users may be randomly logged out. const { data } = await supabase.auth.getClaims() - const user = data?.claims if ( diff --git a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/server.ts b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/server.ts index 40633b0c5b8..3d42f5f99e2 100644 --- a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/server.ts +++ b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/server.ts @@ -1,12 +1,16 @@ import { createServerClient } from '@supabase/ssr' import { cookies } from 'next/headers' +/** + * If using Fluid compute: Don't put this client in a global variable. Always create a new client within each + * function when using it. + */ export async function createClient() { const cookieStore = await cookies() return createServerClient( process.env.NEXT_PUBLIC_SUPABASE_URL!, - process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!, + process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY!, { cookies: { getAll() { diff --git a/apps/ui-library/registry/default/clients/nextjs/registry-item.json b/apps/ui-library/registry/default/clients/nextjs/registry-item.json index cd630de3f86..95d2fe595d4 100644 --- a/apps/ui-library/registry/default/clients/nextjs/registry-item.json +++ b/apps/ui-library/registry/default/clients/nextjs/registry-item.json @@ -6,7 +6,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "NEXT_PUBLIC_SUPABASE_URL": "", + "NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/nextjs/lib/supabase/client.ts", diff --git a/apps/ui-library/registry/default/clients/react-router/lib/supabase/client.ts b/apps/ui-library/registry/default/clients/react-router/lib/supabase/client.ts index 3c171dbcaca..2377b970a8b 100644 --- a/apps/ui-library/registry/default/clients/react-router/lib/supabase/client.ts +++ b/apps/ui-library/registry/default/clients/react-router/lib/supabase/client.ts @@ -4,6 +4,6 @@ import { createBrowserClient } from '@supabase/ssr' export function createClient() { return createBrowserClient( import.meta.env.VITE_SUPABASE_URL!, - import.meta.env.VITE_SUPABASE_ANON_KEY! + import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY! ) } diff --git a/apps/ui-library/registry/default/clients/react-router/lib/supabase/server.ts b/apps/ui-library/registry/default/clients/react-router/lib/supabase/server.ts index daa676045bc..28985885f37 100644 --- a/apps/ui-library/registry/default/clients/react-router/lib/supabase/server.ts +++ b/apps/ui-library/registry/default/clients/react-router/lib/supabase/server.ts @@ -5,7 +5,7 @@ export function createClient(request: Request) { const supabase = createServerClient( process.env.VITE_SUPABASE_URL!, - process.env.VITE_SUPABASE_ANON_KEY!, + process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!, { cookies: { getAll() { diff --git a/apps/ui-library/registry/default/clients/react-router/registry-item.json b/apps/ui-library/registry/default/clients/react-router/registry-item.json index ef46880ac1f..fdb7f8f60b9 100644 --- a/apps/ui-library/registry/default/clients/react-router/registry-item.json +++ b/apps/ui-library/registry/default/clients/react-router/registry-item.json @@ -6,7 +6,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/react-router/lib/supabase/client.ts", diff --git a/apps/ui-library/registry/default/clients/react/lib/supabase/client.ts b/apps/ui-library/registry/default/clients/react/lib/supabase/client.ts index c9001f54099..c4ea49d065b 100644 --- a/apps/ui-library/registry/default/clients/react/lib/supabase/client.ts +++ b/apps/ui-library/registry/default/clients/react/lib/supabase/client.ts @@ -3,6 +3,6 @@ import { createClient as createSupabaseClient } from '@supabase/supabase-js' export function createClient() { return createSupabaseClient( import.meta.env.VITE_SUPABASE_URL!, - import.meta.env.VITE_SUPABASE_ANON_KEY! + import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY! ) } diff --git a/apps/ui-library/registry/default/clients/react/registry-item.json b/apps/ui-library/registry/default/clients/react/registry-item.json index b8e429862d2..0e85cea12bf 100644 --- a/apps/ui-library/registry/default/clients/react/registry-item.json +++ b/apps/ui-library/registry/default/clients/react/registry-item.json @@ -6,7 +6,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/react/lib/supabase/client.ts", diff --git a/apps/ui-library/registry/default/clients/tanstack/lib/supabase/client.ts b/apps/ui-library/registry/default/clients/tanstack/lib/supabase/client.ts index 3c171dbcaca..2377b970a8b 100644 --- a/apps/ui-library/registry/default/clients/tanstack/lib/supabase/client.ts +++ b/apps/ui-library/registry/default/clients/tanstack/lib/supabase/client.ts @@ -4,6 +4,6 @@ import { createBrowserClient } from '@supabase/ssr' export function createClient() { return createBrowserClient( import.meta.env.VITE_SUPABASE_URL!, - import.meta.env.VITE_SUPABASE_ANON_KEY! + import.meta.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY! ) } diff --git a/apps/ui-library/registry/default/clients/tanstack/lib/supabase/server.ts b/apps/ui-library/registry/default/clients/tanstack/lib/supabase/server.ts index 33f11832d5d..3409f227cb2 100644 --- a/apps/ui-library/registry/default/clients/tanstack/lib/supabase/server.ts +++ b/apps/ui-library/registry/default/clients/tanstack/lib/supabase/server.ts @@ -2,22 +2,26 @@ import { createServerClient } from '@supabase/ssr' import { parseCookies, setCookie } from '@tanstack/react-start/server' export function createClient() { - return createServerClient(process.env.VITE_SUPABASE_URL!, process.env.VITE_SUPABASE_ANON_KEY!, { - cookies: { - getAll() { - return Object.entries(parseCookies()).map( - ([name, value]) => - ({ - name, - value, - }) as { name: string; value: string } - ) + return createServerClient( + process.env.VITE_SUPABASE_URL!, + process.env.VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY!, + { + cookies: { + getAll() { + return Object.entries(parseCookies()).map( + ([name, value]) => + ({ + name, + value, + }) as { name: string; value: string } + ) + }, + setAll(cookies) { + cookies.forEach((cookie) => { + setCookie(cookie.name, cookie.value) + }) + }, }, - setAll(cookies) { - cookies.forEach((cookie) => { - setCookie(cookie.name, cookie.value) - }) - }, - }, - }) + } + ) } diff --git a/apps/ui-library/registry/default/clients/tanstack/registry-item.json b/apps/ui-library/registry/default/clients/tanstack/registry-item.json index 6effeca667f..c2b4cd25725 100644 --- a/apps/ui-library/registry/default/clients/tanstack/registry-item.json +++ b/apps/ui-library/registry/default/clients/tanstack/registry-item.json @@ -6,7 +6,11 @@ "description": "", "registryDependencies": [], "dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"], - "docs": "You'll need to add a `.env` file with the following environment variables to your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_ANON_KEY`.", + "docs": "You'll need to set the following environment variables in your project: `VITE_SUPABASE_URL` and `VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY`.", + "envVars": { + "VITE_SUPABASE_URL": "", + "VITE_SUPABASE_PUBLISHABLE_OR_ANON_KEY": "" + }, "files": [ { "path": "registry/default/clients/tanstack/lib/supabase/client.ts", diff --git a/apps/ui-library/registry/default/fixtures/lib/supabase/client.ts b/apps/ui-library/registry/default/fixtures/lib/supabase/client.ts index 2600d32f54f..8a07ca81a1d 100644 --- a/apps/ui-library/registry/default/fixtures/lib/supabase/client.ts +++ b/apps/ui-library/registry/default/fixtures/lib/supabase/client.ts @@ -4,6 +4,6 @@ import { Database } from '../../database.types' export function createClient() { return createBrowserClient( process.env.NEXT_PUBLIC_SUPABASE_URL!, - process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY! + process.env.NEXT_PUBLIC_SUPABASE_PUBLISHABLE_OR_ANON_KEY! ) } diff --git a/apps/ui-library/registry/utils.ts b/apps/ui-library/registry/utils.ts index b4c0f8d6599..c5a7c171c22 100644 --- a/apps/ui-library/registry/utils.ts +++ b/apps/ui-library/registry/utils.ts @@ -15,6 +15,12 @@ const registryItemAppend = (item: Registry['items'][number], items: Registry['it registryDependencies: uniq(neededRegDependencies), dependencies: uniq(neededDependencies), files: uniqBy(neededFiles, (file) => file?.path), + docs: (item.docs, items.flatMap((i) => i.docs)).filter(Boolean).join('\n\n'), + // merge all environment variables + envVars: { + ...item.envVars, + ...items.reduce((acc, i) => ({ ...acc, ...i.envVars }), {}), + }, } return registryBlock diff --git a/apps/www/_blog/2024-01-22-laravel-postgres.mdx b/apps/www/_blog/2024-01-22-laravel-postgres.mdx index 11962d78cd8..0faeabeb68b 100644 --- a/apps/www/_blog/2024-01-22-laravel-postgres.mdx +++ b/apps/www/_blog/2024-01-22-laravel-postgres.mdx @@ -67,7 +67,7 @@ Go to [database.new](https://database.new) and create a new Supabase project. Sa When your project is up and running, navigate to the [project connect page](/dashboard/project/_?showConnect=true) to find the URI connection string. -Laravel ships with a Postgres adapter out of the box, you can simply configure it via the environment variables. You can find the database URL in your [Supabase Dashboard](/dashboard/project/_/settings/database). +Laravel ships with a Postgres adapter out of the box, you can simply configure it via the environment variables. You can find the database URL in your [Supabase Dashboard](/dashboard/project/_/database/settings). ```bash .env DB_CONNECTION=pgsql diff --git a/apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx b/apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx index 691ca78b820..1cb36510eca 100644 --- a/apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx +++ b/apps/www/_blog/2024-01-29-ruby-on-rails-postgres.mdx @@ -56,7 +56,7 @@ Go to [database.new](https://database.new) and create a new Supabase project. Sa When your project is up and running, navigate to the [project connect page](https://supabase.com/dashboard/project/_?showConnect=true) to find the URI connection string. -Rails ships with a Postgres adapter included, you can simply configure it via the environment variables. You can find the database URL in your [Supabase Dashboard](/dashboard/project/_/settings/database). +Rails ships with a Postgres adapter included, you can simply configure it via the environment variables. You can find the database URL in your [Supabase Dashboard](/dashboard/project/_/database/settings). ```bash Terminal export DATABASE_URL=postgres://postgres.xxxx:password@xxxx.pooler.supabase.com:5432/postgres diff --git a/apps/www/_blog/2024-01-31-nosql-mongodb-compatibility-with-ferretdb-and-flydotio.mdx b/apps/www/_blog/2024-01-31-nosql-mongodb-compatibility-with-ferretdb-and-flydotio.mdx index 1c61422f99d..afbbb315708 100644 --- a/apps/www/_blog/2024-01-31-nosql-mongodb-compatibility-with-ferretdb-and-flydotio.mdx +++ b/apps/www/_blog/2024-01-31-nosql-mongodb-compatibility-with-ferretdb-and-flydotio.mdx @@ -41,7 +41,7 @@ If you prefer video guide, you can follow along below. And make sure to subscrib FerretDB provides a [Docker image](https://github.com/ferretdb/FerretDB/pkgs/container/ferretdb) allowing us to run it locally, for example via [Orbstack](https://orbstack.dev/), with a couple simple commands. -FerretDB only requires the Postgres database URI to be provided as the `FERRETDB_POSTGRESQL_URL` environment variable. Every Supabase project comes with a full Postgres database. You can find the connection URI string in your [Supabase Dashboard](https://supabase.com/dashboard/project/_/settings/database). +FerretDB only requires the Postgres database URI to be provided as the `FERRETDB_POSTGRESQL_URL` environment variable. Every Supabase project comes with a full Postgres database. You can find the connection URI string in your [Supabase Dashboard](https://supabase.com/dashboard/project/_/database/settings). Make sure **Use connection pooling** is checked and **Session mode** is selected. Then copy the URI. Replace the password placeholder with your saved database password. diff --git a/apps/www/_blog/2024-04-11-postgres-roles-and-privileges.mdx b/apps/www/_blog/2024-04-11-postgres-roles-and-privileges.mdx index c876a6f2700..85e23887fec 100644 --- a/apps/www/_blog/2024-04-11-postgres-roles-and-privileges.mdx +++ b/apps/www/_blog/2024-04-11-postgres-roles-and-privileges.mdx @@ -39,7 +39,7 @@ With these basic terms defined, let's take a look at the permissions model in Po # Setting Up -Create a new Supabase project (or use an existing one) and copy its connection string URI from the [Database Settings page](https://supabase.com/dashboard/project/_/settings/database). The URI looks like the following: +Create a new Supabase project (or use an existing one) and copy its connection string URI from the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). The URI looks like the following: ```bash postgres://[USER].[YOUR-PROJECT-REF]:[YOUR-PASSWORD]@[REGION-SUBDOMAIN].pooler.supabase.com:5432/postgres diff --git a/apps/www/_blog/2024-04-18-s3-compatible-storage.mdx b/apps/www/_blog/2024-04-18-s3-compatible-storage.mdx index 0772dff9c8d..93e9f37baad 100644 --- a/apps/www/_blog/2024-04-18-s3-compatible-storage.mdx +++ b/apps/www/_blog/2024-04-18-s3-compatible-storage.mdx @@ -44,7 +44,7 @@ The protocol works on the cloud, local development, and self-hosting. Check out To authenticate with Supabase S3 you have 2 options: -1. **The standard `access_key` and `secret_key` credentials.** You can generate these from the [storage settings page](/dashboard/project/_/settings/storage). This authentication method is widely compatible with tools supporting the S3 protocol. It is also meant to be used _exclusively serverside_ since it provides full access to your Storage resources. +1. **The standard `access_key` and `secret_key` credentials.** You can generate these from the [storage settings page](/dashboard/project/_/storage/settings). This authentication method is widely compatible with tools supporting the S3 protocol. It is also meant to be used _exclusively serverside_ since it provides full access to your Storage resources. We will add scoped access key credentials in the near future which can have access to specific buckets. diff --git a/apps/www/_blog/2024-08-16-vec2pg.mdx b/apps/www/_blog/2024-08-16-vec2pg.mdx index d77c59c9424..08a248b73fa 100644 --- a/apps/www/_blog/2024-08-16-vec2pg.mdx +++ b/apps/www/_blog/2024-08-16-vec2pg.mdx @@ -34,7 +34,7 @@ Our goal with https://github.com/supabase-community/vec2pg is to create an easy Once loaded, the data can be manipulated using SQL to transform it into your preferred schema. -When migrating, be sure to increase your Supabase project's [disk size](https://supabase.com/dashboard/project/_/settings/database) so there is enough space for the vectors. +When migrating, be sure to increase your Supabase project's [disk size](https://supabase.com/dashboard/project/_/database/settings) so there is enough space for the vectors. ## Vendors diff --git a/apps/www/_blog/2024-12-06-restore-to-a-new-project.mdx b/apps/www/_blog/2024-12-06-restore-to-a-new-project.mdx index ac9f0949fcf..ce4df274fd4 100644 --- a/apps/www/_blog/2024-12-06-restore-to-a-new-project.mdx +++ b/apps/www/_blog/2024-12-06-restore-to-a-new-project.mdx @@ -15,7 +15,7 @@ toc_depth: 3 launchweek: '13' --- -Today we’re adding [Restore to a New Project](https://supabase.com/docs/guides/platform/backups#restore-to-a-new-project). +Today we’re adding [Restore to a New Project](https://supabase.com/docs/guides/platform/clone-project). You can use this new tool to copy data easily from an existing Supabase project to a new one. **Restore to a New Project** integrates seamlessly with daily physical backups and Point-in-Time Recovery (PITR) to provide flexible restoration options. diff --git a/apps/www/_blog/2025-07-18-storage-500gb-uploads-cheaper-egress-pricing.mdx b/apps/www/_blog/2025-07-18-storage-500gb-uploads-cheaper-egress-pricing.mdx index 2b68daa9f02..32819e870e6 100644 --- a/apps/www/_blog/2025-07-18-storage-500gb-uploads-cheaper-egress-pricing.mdx +++ b/apps/www/_blog/2025-07-18-storage-500gb-uploads-cheaper-egress-pricing.mdx @@ -28,7 +28,7 @@ Our community has asked for better support for increasingly large files, from hi We have made several optimizations to our platform infrastructure and API gateway to ensure reliable handling of very large files, allowing us to increase the limit from 50 GB to 500 GB for all paid plans. -Once it's released next week, you can take advantage of this feature by setting the new upload size limit [here](/dashboard/project/_/settings/storage) and use the new storage-specific hostname for your uploads. You can do this by adding `storage` after your project ref in the standard Supabase url. Replace `project-ref.supabase.co` with `project-ref.storage.supabase.co`. The older URL format will continue to work. +Once it's released next week, you can take advantage of this feature by setting the new upload size limit [here](/dashboard/project/_/storage/settings) and use the new storage-specific hostname for your uploads. You can do this by adding `storage` after your project ref in the standard Supabase url. Replace `project-ref.supabase.co` with `project-ref.storage.supabase.co`. The older URL format will continue to work. For uploading large files, we recommend using one of our multipart upload options: diff --git a/examples/ai/aws_bedrock_image_search/README.md b/examples/ai/aws_bedrock_image_search/README.md index 705e2d7625b..1a72736e9b5 100644 --- a/examples/ai/aws_bedrock_image_search/README.md +++ b/examples/ai/aws_bedrock_image_search/README.md @@ -28,7 +28,7 @@ We're implementing two methods in the [`/image_search/main.py` file](/image_sear ## Run on hosted Supabase project -- Set `DB_CONNECTION` with the connection string from your hosted Supabase Dashboard: https://supabase.com/dashboard/project/_/settings/database > Connection string > URI +- Set `DB_CONNECTION` with the connection string from your hosted Supabase Dashboard: https://supabase.com/dashboard/project/_/database/settings > Connection string > URI ## Attributions diff --git a/examples/ai/image_search/README.md b/examples/ai/image_search/README.md index 8f41ffd77c3..969c45bbe28 100644 --- a/examples/ai/image_search/README.md +++ b/examples/ai/image_search/README.md @@ -3,12 +3,14 @@ In this example we're implementing image search using the [OpenAI CLIP Model](https://github.com/openai/CLIP), which was trained on a variety of (image, text)-pairs. We're implementing two methods in the [`/image_search/main.py` file](/image_search/main.py): + 1. The `seed` method generates embeddings for the images in the `images` folder and upserts them into a collection in Supabase Vector. 2. The `search` method generates an embedding from the search query and performs a vector similarity search query. ## Prerequisites Before running this example, ensure you have: + - Python 3.8 or higher installed - A Supabase account (sign up at https://supabase.com) - Poetry package manager @@ -27,6 +29,7 @@ Before running this example, ensure you have: ## Run locally ### Generate the embeddings and seed the collection + - `supabase start` - `poetry run seed` - Check the embeddings stored in the local Supabase Dashboard: http://localhost:54323/project/default/editor > schema: vecs @@ -34,16 +37,19 @@ Before running this example, ensure you have: **What to expect:** The seed command will process all images in the `images` folder and generate vector embeddings for each one. ### Perform a search + - `poetry run search "bike in front of red brick wall"` **What to expect:** The search will return a list of images ranked by similarity to your search query, along with similarity scores. ## Run on hosted Supabase project -- Set `DB_CONNECTION` with the connection string from your hosted Supabase Dashboard: https://supabase.com/dashboard/project/_/settings/database > Connection string > URI + +- Set `DB_CONNECTION` with the connection string from your hosted Supabase Dashboard: https://supabase.com/dashboard/project/_/database/settings > Connection string > URI ## Example Search Queries Try these search queries to test the image search functionality: + - `"bike in front of red brick wall"` - `"person walking in park"` - `"blue sky with clouds"` @@ -52,6 +58,7 @@ Try these search queries to test the image search functionality: ## Troubleshooting **Common Issues:** + - **Poetry not found:** Make sure Poetry is installed with `pip install poetry` - **Connection errors:** Verify your Supabase connection string is correct - **No search results:** Ensure you've run the seed command first to populate the database @@ -60,6 +67,7 @@ Try these search queries to test the image search functionality: ## How It Works This example uses the CLIP (Contrastive Language-Image Pre-training) model to: + 1. Convert images into high-dimensional vector representations (embeddings) 2. Convert text search queries into similar vector representations 3. Find images with embeddings most similar to the search query embedding @@ -68,7 +76,9 @@ This example uses the CLIP (Contrastive Language-Image Pre-training) model to: ## Attributions ### Models + [clip-ViT-B-32](https://www.sbert.net/examples/applications/image-search/README.html) via [Hugging Face](https://huggingface.co/sentence-transformers/clip-ViT-B-32) ### Images + Images from https://unsplash.com/license via https://picsum.photos/ diff --git a/examples/ai/llamaindex/llamaindex.ipynb b/examples/ai/llamaindex/llamaindex.ipynb index 435b13cd01c..950fe275907 100644 --- a/examples/ai/llamaindex/llamaindex.ipynb +++ b/examples/ai/llamaindex/llamaindex.ipynb @@ -116,7 +116,7 @@ "source": [ "## Create an index in Supabase\n", "\n", - "Let's store Paul Graham's essays in Supabase. You can find the Postgres connection string in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database) of your Supabase project.\n", + "Let's store Paul Graham's essays in Supabase. You can find the Postgres connection string in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) of your Supabase project.\n", "\n", "> **Note:** SQLAlchemy requires the connection string to start with `postgresql://` (instead of `postgres://`). Don't forget to rename this after copying the string from the dashboard.\n", "\n", diff --git a/examples/ai/semantic_text_deduplication.ipynb b/examples/ai/semantic_text_deduplication.ipynb index f05fdf4f56f..c8df674302b 100644 --- a/examples/ai/semantic_text_deduplication.ipynb +++ b/examples/ai/semantic_text_deduplication.ipynb @@ -140,7 +140,7 @@ "The [`vecs`](https://supabase.github.io/vecs/api/) library wraps a pythonic interface around PostgreSQL and pgvector.\n", "A collection in `vecs` maps 1:1 with a PostgreSQL table.\n", "\n", - "First you will need to establish a connection to your database. You can find the Postgres connection string in the [Database Settings](https://supabase.com/dashboard/project/_/settings/database) of your Supabase project.\n", + "First you will need to establish a connection to your database. You can find the Postgres connection string in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) of your Supabase project.\n", "\n", "> **Note:** SQLAlchemy requires the connection string to start with `postgresql://` (instead of `postgres://`). Don't forget to rename this after copying the string from the dashboard.\n", "\n", diff --git a/examples/edge-functions/supabase/.env.local.example b/examples/edge-functions/supabase/.env.local.example index 6099e5cc37e..7b1461f17bb 100644 --- a/examples/edge-functions/supabase/.env.local.example +++ b/examples/edge-functions/supabase/.env.local.example @@ -16,7 +16,7 @@ OPENAI_API_KEY="" # postgres-on-the-edge & kysely-postgres # get your DB params and cert from the project dashboard -# https://supabase.com/dashboard/project/_/settings/database +# https://supabase.com/dashboard/project/_/database/settings # enable `Use connection pooling` and use `Transaction` mode DB_HOSTNAME= DB_PASSWORD= diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.ts index 82460ece3f9..c313b16a5dd 100644 --- a/packages/api-types/types/platform.d.ts +++ b/packages/api-types/types/platform.d.ts @@ -7225,6 +7225,7 @@ export interface components { app_config?: { db_schema: string endpoint: string + storage_endpoint: string } cloud_provider: string db_dns_name: string diff --git a/packages/common/constants/local-storage.ts b/packages/common/constants/local-storage.ts index a374533acc3..449ea259bb9 100644 --- a/packages/common/constants/local-storage.ts +++ b/packages/common/constants/local-storage.ts @@ -18,7 +18,6 @@ export const LOCAL_STORAGE_KEYS = { NEW_LAYOUT_NOTICE_ACKNOWLEDGED: 'new-layout-notice-acknowledge', TABS_INTERFACE_ACKNOWLEDGED: 'tabs-interface-acknowledge', - TERMS_OF_SERVICE_ACKNOWLEDGED: 'terms-of-service-acknowledged', AI_ASSISTANT_MCP_OPT_IN: 'ai-assistant-mcp-opt-in', DASHBOARD_HISTORY: (ref: string) => `dashboard-history-${ref}`, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20afe3bccee..0f53cdb760d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -332,7 +332,7 @@ importers: version: 1.0.3(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@sentry/nextjs': specifier: ^9.15.0 - version: 9.15.0(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0)(supports-color@8.1.1))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@15.3.3(@babel/core@7.26.10(supports-color@8.1.1))(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4))(react@18.3.1)(supports-color@8.1.1)(webpack@5.94.0) + version: 9.15.0(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0)(supports-color@8.1.1))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4))(react@18.3.1)(supports-color@8.1.1)(webpack@5.94.0) '@supabase/supabase-js': specifier: 'catalog:' version: 2.49.3 @@ -452,7 +452,7 @@ importers: version: 0.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) nuqs: specifier: ^1.19.1 - version: 1.19.1(next@15.3.3(@babel/core@7.26.10(supports-color@8.1.1))(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4)) + version: 1.19.1(next@15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4)) openai: specifier: ^4.20.1 version: 4.71.1(encoding@0.1.13)(zod@3.23.8) @@ -534,7 +534,7 @@ importers: devDependencies: '@graphiql/toolkit': specifier: ^0.9.1 - version: 0.9.1(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0) + version: 0.9.1(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0) '@graphql-codegen/cli': specifier: 5.0.5 version: 5.0.5(@parcel/watcher@2.5.1)(@types/node@22.13.14)(encoding@0.1.13)(graphql-sock@1.0.1(graphql@16.11.0))(graphql@16.11.0)(supports-color@8.1.1)(typescript@5.5.2) @@ -606,7 +606,7 @@ importers: version: 13.2.2 graphiql: specifier: ^4.0.2 - version: 4.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 4.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) openapi-types: specifier: ^12.1.3 version: 12.1.3 @@ -1438,8 +1438,8 @@ importers: specifier: ^4.1.3 version: 4.4.1 shadcn: - specifier: 2.4.0-canary.16 - version: 2.4.0-canary.16(@types/node@22.13.14)(supports-color@8.1.1)(typescript@5.5.2) + specifier: ^2.10.0 + version: 2.10.0(@types/node@22.13.14)(supports-color@8.1.1)(typescript@5.5.2) shiki: specifier: ^1.1.7 version: 1.6.0 @@ -16388,8 +16388,8 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - shadcn@2.4.0-canary.16: - resolution: {integrity: sha512-HajpBYMB5P1iFoHrQ+bbfjuBtHfeQ0IVQWJIOsM4NgqymhMT0BpvOkncMf6Y0ttFc/CvhoZle5OJYkgA2oNzdA==} + shadcn@2.10.0: + resolution: {integrity: sha512-/zxjmHGbaYVFtI6bUridFVV7VFStIv3vU/w1h7xenhz7KRzc9pqHsyFvcExZprG7dlA5kW9knRgv8+Cl/H7w9w==} hasBin: true shallowequal@1.1.0: @@ -20841,9 +20841,9 @@ snapshots: '@gar/promisify@1.1.3': {} - '@graphiql/plugin-doc-explorer@0.0.1(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@graphiql/plugin-doc-explorer@0.0.1(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@headlessui/react': 2.2.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) graphql: 16.11.0 react: 18.3.1 @@ -20857,10 +20857,10 @@ snapshots: - '@types/react-dom' - graphql-ws - '@graphiql/plugin-history@0.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@graphiql/plugin-history@0.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@graphiql/toolkit': 0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0) + '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@graphiql/toolkit': 0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0) react: 18.3.1 react-compiler-runtime: 19.1.0-rc.1(react@18.3.1) react-dom: 18.3.1(react@18.3.1) @@ -20900,9 +20900,9 @@ snapshots: - '@types/react-dom' - graphql-ws - '@graphiql/react@0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@graphiql/react@0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@graphiql/toolkit': 0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0) + '@graphiql/toolkit': 0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0) '@radix-ui/react-dialog': 1.1.11(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-dropdown-menu': 2.1.12(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@radix-ui/react-tooltip': 1.2.4(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -20929,13 +20929,13 @@ snapshots: - '@types/react-dom' - graphql-ws - '@graphiql/toolkit@0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)': + '@graphiql/toolkit@0.11.2(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)': dependencies: '@n1ru4l/push-pull-async-iterable-iterator': 3.2.0 graphql: 16.11.0 meros: 1.3.0(@types/node@22.13.14) optionalDependencies: - graphql-ws: 6.0.4(graphql@16.11.0)(ws@8.18.1) + graphql-ws: 6.0.4(graphql@16.11.0)(ws@8.18.3) transitivePeerDependencies: - '@types/node' @@ -20949,13 +20949,13 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@graphiql/toolkit@0.9.1(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)': + '@graphiql/toolkit@0.9.1(@types/node@22.13.14)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)': dependencies: '@n1ru4l/push-pull-async-iterable-iterator': 3.2.0 graphql: 16.11.0 meros: 1.3.0(@types/node@22.13.14) optionalDependencies: - graphql-ws: 6.0.4(graphql@16.11.0)(ws@8.18.1) + graphql-ws: 6.0.4(graphql@16.11.0)(ws@8.18.3) transitivePeerDependencies: - '@types/node' @@ -25661,7 +25661,7 @@ snapshots: - supports-color - webpack - '@sentry/nextjs@9.15.0(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0)(supports-color@8.1.1))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@15.3.3(@babel/core@7.26.10(supports-color@8.1.1))(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4))(react@18.3.1)(supports-color@8.1.1)(webpack@5.94.0)': + '@sentry/nextjs@9.15.0(@opentelemetry/context-async-hooks@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.57.2(@opentelemetry/api@1.9.0)(supports-color@8.1.1))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(encoding@0.1.13)(next@15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4))(react@18.3.1)(supports-color@8.1.1)(webpack@5.94.0)': dependencies: '@opentelemetry/api': 1.9.0 '@opentelemetry/semantic-conventions': 1.32.0 @@ -31516,11 +31516,11 @@ snapshots: graphemer@1.4.0: {} - graphiql@4.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + graphiql@4.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@graphiql/plugin-doc-explorer': 0.0.1(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@graphiql/plugin-history': 0.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@graphiql/plugin-doc-explorer': 0.0.1(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@graphiql/plugin-history': 0.0.2(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@graphiql/react': 0.32.0(@codemirror/language@6.11.0)(@emotion/is-prop-valid@1.2.1)(@types/node@22.13.14)(@types/react-dom@18.3.0)(@types/react@18.3.3)(graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3))(graphql@16.11.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) graphql: 16.11.0 react: 18.3.1 react-compiler-runtime: 19.1.0-rc.1(react@18.3.1) @@ -31607,13 +31607,6 @@ snapshots: dependencies: graphql: 16.11.0 - graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.1): - dependencies: - graphql: 16.11.0 - optionalDependencies: - ws: 8.18.1 - optional: true - graphql-ws@6.0.4(graphql@16.11.0)(ws@8.18.3): dependencies: graphql: 16.11.0 @@ -32065,7 +32058,7 @@ snapshots: https-proxy-agent@6.2.1(supports-color@8.1.1): dependencies: - agent-base: 7.1.1(supports-color@8.1.1) + agent-base: 7.1.3 debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -34922,7 +34915,7 @@ snapshots: number-flow@0.3.7: {} - nuqs@1.19.1(next@15.3.3(@babel/core@7.26.10(supports-color@8.1.1))(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4)): + nuqs@1.19.1(next@15.3.3(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4)): dependencies: mitt: 3.0.1 next: 15.3.3(@babel/core@7.26.10(supports-color@8.1.1))(@opentelemetry/api@1.9.0)(@playwright/test@1.53.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.77.4) @@ -37257,18 +37250,19 @@ snapshots: setprototypeof@1.2.0: {} - shadcn@2.4.0-canary.16(@types/node@22.13.14)(supports-color@8.1.1)(typescript@5.5.2): + shadcn@2.10.0(@types/node@22.13.14)(supports-color@8.1.1)(typescript@5.5.2): dependencies: '@antfu/ni': 23.3.1 '@babel/core': 7.26.10(supports-color@8.1.1) - '@babel/parser': 7.26.10 + '@babel/parser': 7.27.0 '@babel/plugin-transform-typescript': 7.27.0(@babel/core@7.26.10(supports-color@8.1.1))(supports-color@8.1.1) + '@modelcontextprotocol/sdk': 1.12.1(supports-color@8.1.1) commander: 10.0.1 cosmiconfig: 8.3.6(typescript@5.5.2) deepmerge: 4.3.1 - diff: 5.1.0 + diff: 5.2.0 execa: 7.2.0 - fast-glob: 3.3.2 + fast-glob: 3.3.3 fs-extra: 11.3.0 https-proxy-agent: 6.2.1(supports-color@8.1.1) kleur: 4.1.5 @@ -37282,6 +37276,7 @@ snapshots: ts-morph: 18.0.0 tsconfig-paths: 4.2.0 zod: 3.23.8 + zod-to-json-schema: 3.24.5(zod@3.23.8) transitivePeerDependencies: - '@types/node' - supports-color